Skip to content

Commit

Permalink
#184 - 700 Models; All enums now use 0 based indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
shelcrow committed Jan 11, 2021
1 parent aaeee09 commit 6f332a2
Show file tree
Hide file tree
Showing 9 changed files with 74 additions and 74 deletions.
30 changes: 15 additions & 15 deletions json/model_701.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@
"label": "Single Phase",
"name": "SINGLE_PHASE",
"notes": "",
"value": 1
"value": 0
},
{
"label": "Split Phase",
"name": "SPLIT_PHASE",
"notes": "",
"value": 2
"value": 1
},
{
"label": "Three Phase",
"name": "THREE_PHASE",
"notes": "",
"value": 3
"value": 2
}
],
"type": "enum16"
Expand All @@ -69,13 +69,13 @@
"label": "Off",
"name": "OFF",
"notes": "",
"value": 1
"value": 0
},
{
"label": "On",
"name": "ON",
"notes": "",
"value": 2
"value": 1
}
],
"type": "enum16"
Expand All @@ -92,42 +92,42 @@
{
"name": "OFF",
"notes": "",
"value": 1
"value": 0
},
{
"name": "SLEEPING",
"notes": "",
"value": 2
"value": 1
},
{
"name": "STARTING",
"notes": "",
"value": 3
"value": 2
},
{
"name": "MPPT",
"notes": "",
"value": 4
"value": 3
},
{
"name": "THROTTLED",
"notes": "",
"value": 5
"value": 4
},
{
"name": "SHUTTING_DOWN",
"notes": "",
"value": 6
"value": 5
},
{
"name": "FAULT",
"notes": "",
"value": 7
"value": 6
},
{
"name": "STANDBY",
"notes": "",
"value": 8
"value": 7
}
],
"type": "enum16"
Expand All @@ -146,14 +146,14 @@
"label": "Disconnected",
"name": "DISCONNECTED",
"notes": "",
"value": 1
"value": 0
},
{
"desc": "Connected to the grid.",
"label": "Connected",
"name": "CONNECTED",
"notes": "",
"value": 2
"value": 1
}
],
"type": "enum16"
Expand Down
10 changes: 5 additions & 5 deletions json/model_702.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,12 @@
{
"name": "CAT_A",
"notes": "",
"value": 1
"value": 0
},
{
"name": "CAT_B",
"notes": "",
"value": 2
"value": 1
}
],
"type": "enum16"
Expand All @@ -223,17 +223,17 @@
{
"name": "CAT_1",
"notes": "",
"value": 1
"value": 0
},
{
"name": "CAT_2",
"notes": "",
"value": 2
"value": 1
},
{
"name": "CAT_3",
"notes": "",
"value": 3
"value": 2
}
],
"type": "enum16"
Expand Down
26 changes: 13 additions & 13 deletions json/model_704.json
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,14 @@
"label": "Active Power As Max Percent",
"name": "W_MAX_PCT",
"notes": "",
"value": 1
"value": 0
},
{
"desc": "Active power setting is in watts.",
"label": "Active Power As Watts",
"name": "WATTS",
"notes": "",
"value": 2
"value": 1
}
],
"type": "enum16"
Expand Down Expand Up @@ -593,28 +593,28 @@
"label": "Reactive Power As Watt Max Pct",
"name": "W_MAX_PCT",
"notes": "",
"value": 1
"value": 0
},
{
"desc": "Reactive power setting is percent of maximum reactive power.",
"label": "Reactive Power As Var Max Pct",
"name": "VAR_MAX_PCT",
"notes": "",
"value": 2
"value": 1
},
{
"desc": "Reactive power setting is percent of available reactive power.",
"label": "Reactive Power As Var Avail Pct",
"name": "VAR_AVAIL_PCT",
"notes": "",
"value": 3
"value": 2
},
{
"desc": "Reactive power is in vars.",
"label": "Reactive Power As Vars",
"name": "VARS",
"notes": "",
"value": 4
"value": 3
}
],
"type": "enum16"
Expand All @@ -631,35 +631,35 @@
"label": "Active Power Priority",
"name": "ACTIVE",
"notes": "",
"value": 1
"value": 0
},
{
"desc": "Reactive power priority.",
"label": "Reactive Power Priority",
"name": "REACTIVE",
"notes": "",
"value": 2
"value": 1
},
{
"desc": "IEEE 1547-2018 power priority mode.",
"label": "IEEE 1547 Power Priority",
"name": "IEEE_1547",
"notes": "",
"value": 3
"value": 2
},
{
"desc": "Track PF setting derived from current active and reactive power settings.",
"label": "PF Power Priority",
"name": "PF",
"notes": "",
"value": 4
"value": 3
},
{
"desc": "Power priority is vendor specific mode.",
"label": "Vendor Power Priority",
"name": "VENDOR",
"notes": "",
"value": 5
"value": 4
}
],
"type": "enum16"
Expand Down Expand Up @@ -769,14 +769,14 @@
"label": "Max Current Ramp",
"name": "A_MAX",
"notes": "",
"value": 1
"value": 0
},
{
"desc": "Ramp based on percent of max active power per second.",
"label": "Max Active Power Ramp",
"name": "W_MAX",
"notes": "",
"value": 2
"value": 1
}
],
"type": "enum16"
Expand Down
18 changes: 9 additions & 9 deletions json/model_705.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,25 @@
"label": "Percent Max Watts",
"name": "W_MAX_PCT",
"notes": "",
"value": 1
"value": 0
},
{
"label": "Percent Max Vars",
"name": "VAR_MAX_PCT",
"notes": "",
"value": 2
"value": 1
},
{
"label": "Percent Available Vars",
"name": "VAR_AVAL_PCT",
"notes": "",
"value": 3
"value": 2
},
{
"label": "Percent Max Apparent Power",
"name": "VA_MAX_PCT",
"notes": "",
"value": 4
"value": 3
}
],
"type": "enum16"
Expand All @@ -101,35 +101,35 @@
"label": "Active Power Priority",
"name": "ACTIVE",
"notes": "",
"value": 1
"value": 0
},
{
"desc": "Reactive power priority.",
"label": "Reactive Power Priority",
"name": "REACTIVE",
"notes": "",
"value": 2
"value": 1
},
{
"desc": "IEEE 1547-2018 power priority mode.",
"label": "IEEE 1547 Power Priority",
"name": "IEEE_1547",
"notes": "",
"value": 3
"value": 2
},
{
"desc": "Track PF setting derived from current active and reactive power settings.",
"label": "PF Power Priority",
"name": "PF",
"notes": "",
"value": 4
"value": 3
},
{
"desc": "Power priority is vendor specific mode.",
"label": "Vendor Power Priority",
"name": "VENDOR",
"notes": "",
"value": 5
"value": 4
}
],
"type": "enum16"
Expand Down
4 changes: 2 additions & 2 deletions json/model_706.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@
{
"name": "W_MAX_PCT",
"notes": "",
"value": 1
"value": 0
},
{
"name": "W_AVAL_PCT",
"notes": "",
"value": 2
"value": 1
}
],
"type": "enum16"
Expand Down
12 changes: 6 additions & 6 deletions json/model_712.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,25 @@
"label": "Percent Max Watts",
"name": "W_MAX_PCT",
"notes": "",
"value": 1
"value": 0
},
{
"label": "Percent Max Vars",
"name": "VAR_MAX_PCT",
"notes": "",
"value": 2
"value": 1
},
{
"label": "Percent Available Vars",
"name": "VAR_AVAL_PCT",
"notes": "",
"value": 3
"value": 2
},
{
"label": "Percent Max Apparent Power",
"name": "VA_MAX_PCT",
"notes": "",
"value": 4
"value": 3
}
],
"type": "enum16"
Expand All @@ -99,12 +99,12 @@
{
"name": "ACTIVE",
"notes": "",
"value": 1
"value": 0
},
{
"name": "REACTIVE",
"notes": "",
"value": 2
"value": 1
}
],
"type": "enum16"
Expand Down
Loading

0 comments on commit 6f332a2

Please sign in to comment.