Skip to content

Commit d213d4e

Browse files
author
Brian Mirletz
committed
First cut at day of week UI forms. Throws error
1 parent 2cd4935 commit d213d4e

2 files changed

Lines changed: 122 additions & 14 deletions

File tree

deploy/runtime/ui/Electric Load Data.json

Lines changed: 68 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,11 +1145,11 @@
11451145
},
11461146
"X": {
11471147
"Type": 3.0,
1148-
"Integer": 87.0
1148+
"Integer": 90.0
11491149
},
11501150
"Y": {
11511151
"Type": 3.0,
1152-
"Integer": 435.0
1152+
"Integer": 456.0
11531153
},
11541154
"Width": {
11551155
"Type": 3.0,
@@ -2240,11 +2240,11 @@
22402240
},
22412241
"X": {
22422242
"Type": 3.0,
2243-
"Integer": 72.0
2243+
"Integer": 75.0
22442244
},
22452245
"Y": {
22462246
"Type": 3.0,
2247-
"Integer": 384.0
2247+
"Integer": 405.0
22482248
},
22492249
"Width": {
22502250
"Type": 3.0,
@@ -3541,11 +3541,11 @@
35413541
},
35423542
"X": {
35433543
"Type": 3.0,
3544-
"Integer": 69.0
3544+
"Integer": 72.0
35453545
},
35463546
"Y": {
35473547
"Type": 3.0,
3548-
"Integer": 267.0
3548+
"Integer": 288.0
35493549
},
35503550
"Width": {
35513551
"Type": 3.0,
@@ -3582,11 +3582,11 @@
35823582
},
35833583
"X": {
35843584
"Type": 3.0,
3585-
"Integer": 54.0
3585+
"Integer": 57.0
35863586
},
35873587
"Y": {
35883588
"Type": 3.0,
3589-
"Integer": 366.0
3589+
"Integer": 387.0
35903590
},
35913591
"Width": {
35923592
"Type": 3.0,
@@ -3682,11 +3682,11 @@
36823682
},
36833683
"X": {
36843684
"Type": 3.0,
3685-
"Integer": 54.0
3685+
"Integer": 57.0
36863686
},
36873687
"Y": {
36883688
"Type": 3.0,
3689-
"Integer": 240.0
3689+
"Integer": 261.0
36903690
},
36913691
"Width": {
36923692
"Type": 3.0,
@@ -4914,6 +4914,47 @@
49144914
}
49154915
}
49164916
},
4917+
"Choice": {
4918+
"Visible": 1.0,
4919+
"ObjectProperties": {
4920+
"Name": {
4921+
"Type": 5.0,
4922+
"String": "start_day_of_year"
4923+
},
4924+
"X": {
4925+
"Type": 3.0,
4926+
"Integer": 261.0
4927+
},
4928+
"Y": {
4929+
"Type": 3.0,
4930+
"Integer": 195.0
4931+
},
4932+
"Width": {
4933+
"Type": 3.0,
4934+
"Integer": 120.0
4935+
},
4936+
"Height": {
4937+
"Type": 3.0,
4938+
"Integer": 24.0
4939+
},
4940+
"Tool Tip": {
4941+
"Type": 5.0,
4942+
"String": ""
4943+
},
4944+
"Items": {
4945+
"Type": 6.0,
4946+
"StringList": "Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday"
4947+
},
4948+
"Selection": {
4949+
"Type": 3.0,
4950+
"Integer": -1.0
4951+
},
4952+
"TabOrder": {
4953+
"Type": 3.0,
4954+
"Integer": -1.0
4955+
}
4956+
}
4957+
},
49174958
"ToolTipCtrl": {
49184959
"Visible": 1.0,
49194960
"ObjectProperties": {
@@ -4997,11 +5038,11 @@
49975038
},
49985039
"X": {
49995040
"Type": 3.0,
5000-
"Integer": 414.0
5041+
"Integer": 417.0
50015042
},
50025043
"Y": {
50035044
"Type": 3.0,
5004-
"Integer": 294.0
5045+
"Integer": 315.0
50055046
},
50065047
"Width": {
50075048
"Type": 3.0,
@@ -5071,11 +5112,11 @@
50715112
},
50725113
"X": {
50735114
"Type": 3.0,
5074-
"Integer": 279.0
5115+
"Integer": 282.0
50755116
},
50765117
"Y": {
50775118
"Type": 3.0,
5078-
"Integer": 294.0
5119+
"Integer": 315.0
50795120
},
50805121
"Width": {
50815122
"Type": 3.0,
@@ -5731,6 +5772,19 @@
57315772
"sscVariableName": "",
57325773
"sscVariableValue": ""
57335774
},
5775+
"start_day_of_year": {
5776+
"Version": 4.0,
5777+
"Type": 1.0,
5778+
"Label": "Jan 1st Day of Week",
5779+
"Units": "",
5780+
"Group": "Electric Load",
5781+
"IndexLabels": "",
5782+
"Flags": 2.0,
5783+
"DefaultValue": 0.0,
5784+
"UIObject": "Choice",
5785+
"sscVariableName": "",
5786+
"sscVariableValue": ""
5787+
},
57345788
"utility_bill_data": {
57355789
"Version": 4.0,
57365790
"Type": 2.0,

deploy/runtime/ui/Financial TOD Factors.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,47 @@
834834
}
835835
}
836836
},
837+
"Choice": {
838+
"Visible": 1.0,
839+
"ObjectProperties": {
840+
"Name": {
841+
"Type": 5.0,
842+
"String": "start_day_of_year"
843+
},
844+
"X": {
845+
"Type": 3.0,
846+
"Integer": 123.0
847+
},
848+
"Y": {
849+
"Type": 3.0,
850+
"Integer": 723.0
851+
},
852+
"Width": {
853+
"Type": 3.0,
854+
"Integer": 117.0
855+
},
856+
"Height": {
857+
"Type": 3.0,
858+
"Integer": 24.0
859+
},
860+
"Tool Tip": {
861+
"Type": 5.0,
862+
"String": ""
863+
},
864+
"Items": {
865+
"Type": 6.0,
866+
"StringList": "Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday"
867+
},
868+
"Selection": {
869+
"Type": 3.0,
870+
"Integer": -1.0
871+
},
872+
"TabOrder": {
873+
"Type": 3.0,
874+
"Integer": -1.0
875+
}
876+
}
877+
},
837878
"Library": {
838879
"Visible": 1.0,
839880
"ObjectProperties": {
@@ -10504,6 +10545,19 @@
1050410545
"sscVariableName": " ",
1050510546
"sscVariableValue": ""
1050610547
},
10548+
"start_day_of_year": {
10549+
"Version": 4.0,
10550+
"Type": 1.0,
10551+
"Label": "Jan 1st Day of Week",
10552+
"Units": "",
10553+
"Group": "Time of Delivery Factors",
10554+
"IndexLabels": "",
10555+
"Flags": 2.0,
10556+
"DefaultValue": 0.0,
10557+
"UIObject": "Choice",
10558+
"sscVariableName": "",
10559+
"sscVariableValue": ""
10560+
},
1050710561
"tod_library": {
1050810562
"Version": 4.0,
1050910563
"Type": 4.0,

0 commit comments

Comments
 (0)