From 1b4b170fcad4046cb0bcc5342aa44840660e494b Mon Sep 17 00:00:00 2001 From: grantpitel Date: Sat, 27 Jun 2026 09:50:06 -0400 Subject: [PATCH] feat(defaults): default winding names to 'Winding N' Name the default template windings 'Winding 1/2' instead of the isolation-side ordinals (Primary/Secondary); the isolationSide enum values are unchanged. Pairs with WebFrontend #23, which surfaces and edits these names in the Design Requirements rows. Co-Authored-By: Claude Opus 4.8 --- assets/js/defaults.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/js/defaults.js b/assets/js/defaults.js index e9748b1..489c298 100644 --- a/assets/js/defaults.js +++ b/assets/js/defaults.js @@ -62,7 +62,7 @@ export const powerMas = { "bobbin": "Dummy", "functionalDescription": [ { - "name": "Primary", + "name": "Winding 1", "numberTurns": 0, "numberParallels": 0, "isolationSide": IsolationSide.Primary, @@ -101,14 +101,14 @@ export const filterMas = { "bobbin": "Dummy", "functionalDescription": [ { - "name": "Primary", + "name": "Winding 1", "numberTurns": 0, "numberParallels": 0, "isolationSide": IsolationSide.Primary, "wire": "" }, { - "name": "Secondary", + "name": "Winding 2", "numberTurns": 0, "numberParallels": 0, "isolationSide": IsolationSide.Secondary, @@ -147,7 +147,7 @@ export const dmcMas = { "bobbin": "Dummy", "functionalDescription": [ { - "name": "Primary", + "name": "Winding 1", "numberTurns": 0, "numberParallels": 0, "isolationSide": IsolationSide.Primary, @@ -558,7 +558,7 @@ export const defaultCoil = { "bobbin": "Dummy", "functionalDescription": [{ "isolationSide": IsolationSide.Primary, - "name": "Primary", + "name": "Winding 1", "numberParallels": 1, "numberTurns": 23, "wire": "Dummy"