mirror of
https://github.com/parnic/node-intellicenter.git
synced 2025-06-17 02:21:53 -05:00
No idea if this will be the best way to represent this stuff long-term, but it's working at the moment. I have some reservations about attempting to list all the possible ResponseParam keys, but I'm already this far in and it would be nice if it worked out...
38 lines
810 B
JavaScript
38 lines
810 B
JavaScript
import { GetRequest, ICRequestObj } from "./request.js";
|
|
export function GetSystemInfoRequest() {
|
|
const req = GetRequest();
|
|
req.command = "GETPARAMLIST";
|
|
req.condition = "";
|
|
req.objectList = [];
|
|
const reqObj = new ICRequestObj();
|
|
reqObj.objnam = "_5451";
|
|
reqObj.keys = [
|
|
"VER",
|
|
"MODE",
|
|
"ZIP",
|
|
"TIMZON",
|
|
"PROPNAME",
|
|
"NAME",
|
|
"ADDRESS",
|
|
"CITY",
|
|
"STATE",
|
|
"PHONE",
|
|
"PHONE2",
|
|
"EMAIL",
|
|
"EMAIL2",
|
|
"COUNTRY",
|
|
"PHONE",
|
|
"LOCX",
|
|
"LOCY",
|
|
"AVAIL",
|
|
"SERVICE",
|
|
"UPDATE",
|
|
"PROGRESS",
|
|
"IN",
|
|
"VALVE",
|
|
"HEATING",
|
|
];
|
|
req.objectList.push(reqObj);
|
|
return req;
|
|
}
|
|
//# sourceMappingURL=system-info.js.map
|