-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparam.ts
128 lines (128 loc) · 4.99 KB
/
param.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
export class ICParam {
// "": "PROGRESS";
public ABSMAX?: string;
public ABSMIN?: string;
public ACT?: string;
public ACT1?: string;
public ACT2?: string;
public ACT3?: string;
public ACT4?: string;
public ADDRESS?: string;
public ALK?: string;
public AVAIL?: "AVAIL" | "ON" | "OFF";
public BADGE?: string;
public BODY?: string;
public BOOST?: string;
public CALC?: string;
public CALIB?: string;
public CHILD?: string;
public CIRCUIT?: string;
public CITY?: string;
public CLK24A?: string;
public COMUART?: string;
public COOL?: string;
public COOLING?: string;
public COUNT?: string;
public COUNTRY?: string;
public CYACID?: string;
public DAY?: string; // list of characters for each day. MTWRFAU: M=Monday, T=Tuesday, W=Wednesday, R=Thursday, F=Friday, A=Saturday, U=Sunday. could be empty to mean "no days assigned"
public DLSTIM?: "DLSTIM" | "ON" | "OFF";
public DLY?: string;
public DNTSTP?: string;
public EMAIL?: string;
public EMAIL2?: string;
public ENABLE?: "ENABLE" | "ON" | "OFF";
public FEATR?: string;
public FILTER?: string;
public FREEZE?: string;
public GPM?: string;
public GROUP?: string;
public HEATER?: string; // name of a heater circuit, e.g. "H0001". "00000" means unset/none. also seen to contain the string "HOLD" in some contexts such as when retrieving scheduling information.
public HEATING?: "HEATING" | "ON" | "OFF";
public HITMP?: string; // high temperature threshold in whatever units the system is set to. "78" means 78 degrees fahrenheit for a system in F, "30" means 30 degrees celsius for a system in C
public HNAME?: string;
public HTMODE?: string;
public HTSRC?: string;
public IN?: string;
public LIMIT?: string;
public LISTORD?: string; // sorting order. "2", "3", "4", etc.
public LOCX?: string;
public LOCY?: string;
public LOTMP?: string;
public LSTTMP?: string;
public MANHT?: "MANHT" | "ON" | "OFF";
public MANOVR?: "MANOVR" | "ON" | "OFF";
public MANUAL?: string;
public MAX?: string;
public MAXF?: string;
public MIN?: string;
public MINF?: string;
public MODE?: string; // seems to be a number, e.g. "0"
public NAME?: string;
public OBJLIST?: ICParam[];
public OBJNAM?: string;
public OBJTYP?: string;
public OFFSET?: string;
public ORPSET?: string;
public ORPTNK?: string;
public ORPVAL?: string;
public PARENT?: string;
public PARTY?: string;
public PASSWRD?: string;
public PERMIT?: string;
public PHONE?: string;
public PHONE2?: string;
public PHSET?: string;
public PHTNK?: string;
public PHVAL?: string;
public PRIM?: string;
public PRIMFLO?: string;
public PRIMTIM?: string;
public PRIOR?: string;
public PROBE?: string;
public PROPNAME?: string;
public PWR?: string;
public QUALTY?: string;
public READY?: string;
public RLY?: string;
public RPM?: string;
public SALT?: string;
public SEC?: string;
public SELECT?: string;
public SERVICE?: "SERVICE" | "AUTO" | "TIMEOUT";
public SETTMP?: string;
public SETTMPNC?: string;
public SHARE?: string;
public SHOMNU?: string;
public SINDEX?: string;
public SINGLE?: "SINGLE" | "ON" | "OFF";
public SNAME?: string; // friendly name for a circuit, e.g. "Pool"
public SOURCE?: string;
public SMTSRT?: string; // stringified 16-bit bitfield, maybe? "65535"
public SPEED?: string;
public SRIS?: string;
public SSET?: string;
public START?: string; // seems to be very context-sensitive start value. sometimes a hint for how to interpret the TIME field ("ABSTIM"), other times as a single number ("6", in Heater response), and others as perhaps a date (in format "MM,DD,YY" where leading 0s are replaced with spaces, e.g. "12,30,24" vs " 1, 6,25")
public STATE?: string;
public STATIC?: string;
public STATUS?: string; // seen values for this: "STATUS", "ON", "OFF", "OK", and numbers ("4", "1", etc.);
public STOP?: string; // seems to be very context-sensitive stop value. sometimes a hint for how to interpret the TIME field ("ABSTIM"), other times as a single number ("3", in Heater response), and others as perhaps a date (in format "MM,DD,YY" where leading 0s are replaced with spaces, e.g. "12,30,24" vs " 1, 6,25")
public SUBTYP?: string;
public SUPER?: "SUPER" | "ON" | "OFF";
public SWIM?: string;
public SYNC?: string;
public SYSTIM?: string;
public TEMP?: string;
public TIME?: string; // start time in "hh,mm,ss" format (24hr)
public TIMOUT?: string; // seems to sometimes be end time in "hh,mm,ss" format (24hr), i guess that means "timeout" as in "time that this runs out" or something; other times a duration as number of seconds, e.g. "86400"
public TIMZON?: string; // timezone offset from UTC, e.g. "-6"
public UPDATE?: string; // seems to be a date in "MM/DD/YY" format
public USAGE?: string;
public USE?: string;
public VACFLO?: "VACFLO" | "ON" | "OFF"; // vacation...flow?
public VACTIM?: "VACTIM" | "ON" | "OFF"; // vacation time?
public VALVE?: "VALVE" | "ON" | "OFF";
public VER?: string;
public VOL?: string;
public ZIP?: string;
}