/// <summary> /// Initializes a new instance of the NAStationModule class. /// </summary> /// <param name="type">Included in every device or module. It defines /// the type of the device/module. Its values are among : /// NAMain : for the base station /// NAModule1 : for the outdoor module /// NAModule4 : for the additionnal indoor module /// NAModule3 : for the rain gauge module /// NAPlug : for the thermostat relay/plug /// NATherm1 : for the thermostat module /// </param> /// <param name="dashboardData">It contains all the measurements that /// can be displayed on the dashboard</param> /// <param name="batteryVp">It contains the current battery status. The /// threshold depends on the kind of module, below is the list of the /// different threshold to take into account according the module type. /// "Indoor module Battery range: 6000 ... 4200" | /// INDOOR_BATTERY_LEVEL_FULL = 5640 /// INDOOR_BATTERY_LEVEL_HIGH = 5280 /// INDOOR_BATTERY_LEVEL_MEDIUM = 4920 /// INDOOR_BATTERY_LEVEL_LOW = 4560 /// "Below 4560: very low" | /// /// "Raingauge and outdoor module Battery range: 6000 ... 3600" | /// BATTERY_LEVEL_FULL = 5500 /// BATTERY_LEVEL_HIGH = 5000 /// BATTERY_LEVEL_MEDIUM = 4500 /// BATTERY_LEVEL_LOW = 4000 /// "Below 4000: very low" | /// /// "Thermostat Battery range: 4500 ... 3000" | /// THERMOSTAT_BATTERY_LEVEL_FULL = 4100 /// THERMOSTAT_BATTERY_LEVEL_HIGH = 3600 /// THERMOSTAT_BATTERY_LEVEL_MEDIUM = 3300 /// THERMOSTAT_BATTERY_LEVEL_LOW = 3000 /// "Below 3000: very low" /// </param> /// <param name="batteryPercent">It contains the current battery level /// in percentage.</param> /// <param name="rfStatus">"It contains the current radio status. The /// different thresholds to take into account are :" | /// RADIO_THRESHOLD_SIGNAL_LOW = 90 /// RADIO_THRESHOLD_SIGNAL_MEDIUM = 80 /// RADIO_THRESHOLD_SIGNAL_HIGH = 70 /// RADIO_THRESHOLD_SIGNAL_FULL = 60 /// </param> public NAStationModule(string _id = default(string), string type = default(string), int?lastMessage = default(int?), int?lastSeen = default(int?), NADashboardData dashboardData = default(NADashboardData), IList <string> dataType = default(IList <string>), string moduleName = default(string), int?lastSetup = default(int?), int?batteryVp = default(int?), int?batteryPercent = default(int?), int?rfStatus = default(int?), int?firmware = default(int?)) { this._id = _id; Type = type; LastMessage = lastMessage; LastSeen = lastSeen; DashboardData = dashboardData; DataType = dataType; ModuleName = moduleName; LastSetup = lastSetup; BatteryVp = batteryVp; BatteryPercent = batteryPercent; RfStatus = rfStatus; Firmware = firmware; CustomInit(); }
/// <summary> /// Initializes a new instance of the NAHealthyHomeCoach class. /// </summary> /// <param name="type">Included in every device or module. It defines /// the type of the device/module. Its values are among : /// NHC: Healthy Home Coach /// </param> /// <param name="dashboardData">It contains all the measurements that /// can be displayed on the dashboard</param> /// <param name="wifiStatus">It contains the current wifi status. The /// different thresholds to take into account are /// RSSI_THRESHOLD_0 = 86 bad signal /// RSSI_THRESHOLD_1 = 71 middle quality signal /// RSSI_THRESHOLD_2 = 56 good signal /// </param> public NAHealthyHomeCoach(string _id = default(string), string cipherId = default(string), int?lastStatusStore = default(int?), NAPlace place = default(NAPlace), string type = default(string), NADashboardData dashboardData = default(NADashboardData), IList <string> dataType = default(IList <string>), bool?co2Calibrating = default(bool?), int?dateSetup = default(int?), int?lastSetup = default(int?), int?firmware = default(int?), int?lastUpgrade = default(int?), int?wifiStatus = default(int?), string name = default(string)) { this._id = _id; CipherId = cipherId; LastStatusStore = lastStatusStore; Place = place; Type = type; DashboardData = dashboardData; DataType = dataType; Co2Calibrating = co2Calibrating; DateSetup = dateSetup; LastSetup = lastSetup; Firmware = firmware; LastUpgrade = lastUpgrade; WifiStatus = wifiStatus; Name = name; CustomInit(); }
/// <summary> /// Initializes a new instance of the NAModule class. /// </summary> /// <param name="type">Included in every device or module. It defines /// the type of the device/module. Its values are among : /// NAMain : for the base station /// NAModule1 : for the outdoor module /// NAModule4 : for the additionnal indoor module /// NAModule3 : for the rain gauge module /// NAPlug : for the thermostat relay/plug /// NATherm1 : for the thermostat module /// </param> /// <param name="rfStatus">"It contains the current radio status. The /// different thresholds to take into account are :" | /// RADIO_THRESHOLD_SIGNAL_LOW = 90 /// RADIO_THRESHOLD_SIGNAL_MEDIUM = 80 /// RADIO_THRESHOLD_SIGNAL_HIGH = 70 /// RADIO_THRESHOLD_SIGNAL_FULL = 60 /// </param> /// <param name="batteryVp">It contains the current battery status. The /// threshold depends on the kind of module, below is the list of the /// different threshold to take into account according the module type. /// "Indoor module Battery range: 6000 ... 4200" | /// INDOOR_BATTERY_LEVEL_FULL = 5640 /// INDOOR_BATTERY_LEVEL_HIGH = 5280 /// INDOOR_BATTERY_LEVEL_MEDIUM = 4920 /// INDOOR_BATTERY_LEVEL_LOW = 4560 /// "Below 4560: very low" | /// /// "Raingauge and outdoor module Battery range: 6000 ... 3600" | /// BATTERY_LEVEL_FULL = 5500 /// BATTERY_LEVEL_HIGH = 5000 /// BATTERY_LEVEL_MEDIUM = 4500 /// BATTERY_LEVEL_LOW = 4000 /// "Below 4000: very low" | /// /// "Thermostat Battery range: 4500 ... 3000" | /// THERMOSTAT_BATTERY_LEVEL_FULL = 4100 /// THERMOSTAT_BATTERY_LEVEL_HIGH = 3600 /// THERMOSTAT_BATTERY_LEVEL_MEDIUM = 3300 /// THERMOSTAT_BATTERY_LEVEL_LOW = 3000 /// "Below 3000: very low" /// </param> /// <param name="dashboardData">It contains all the measurements that /// can be displayed on the dashboard</param> public NAModule(string _id = default(string), NADate dateSetup = default(NADate), int?firmware = default(int?), string type = default(string), string moduleName = default(string), string mainDevice = default(string), int?lastMessage = default(int?), int?lastSeen = default(int?), bool?publicExtData = default(bool?), int?rfStatus = default(int?), int?batteryVp = default(int?), int?thermOrientation = default(int?), int?thermRelayCmd = default(int?), NADashboardData dashboardData = default(NADashboardData), IList <string> dataType = default(IList <string>)) { this._id = _id; DateSetup = dateSetup; Firmware = firmware; Type = type; ModuleName = moduleName; MainDevice = mainDevice; LastMessage = lastMessage; LastSeen = lastSeen; PublicExtData = publicExtData; RfStatus = rfStatus; BatteryVp = batteryVp; ThermOrientation = thermOrientation; ThermRelayCmd = thermRelayCmd; DashboardData = dashboardData; DataType = dataType; CustomInit(); }
/// <summary> /// Initializes a new instance of the NAMain class. /// </summary> /// <param name="type">Included in every device or module. It defines /// the type of the device/module. Its values are among : /// NAMain : for the base station /// NAModule1 : for the outdoor module /// NAModule4 : for the additionnal indoor module /// NAModule3 : for the rain gauge module /// NAPlug : for the thermostat relay/plug /// NATherm1 : for the thermostat module /// </param> /// <param name="dashboardData">It contains all the measurements that /// can be displayed on the dashboard</param> /// <param name="wifiStatus">It contains the current wifi status. The /// different thresholds to take into account are /// RSSI_THRESHOLD_0 = 86 bad signal /// RSSI_THRESHOLD_1 = 71 middle quality signal /// RSSI_THRESHOLD_2 = 56 good signal /// </param> public NAMain(string _id = default(string), string cipherId = default(string), int?lastStatusStore = default(int?), IList <NAStationModule> modules = default(IList <NAStationModule>), NAPlace place = default(NAPlace), string stationName = default(string), string type = default(string), NADashboardData dashboardData = default(NADashboardData), IList <string> dataType = default(IList <string>), bool?co2Calibrating = default(bool?), int?dateSetup = default(int?), int?lastSetup = default(int?), string moduleName = default(string), int?firmware = default(int?), int?lastUpgrade = default(int?), int?wifiStatus = default(int?)) { this._id = _id; CipherId = cipherId; LastStatusStore = lastStatusStore; Modules = modules; Place = place; StationName = stationName; Type = type; DashboardData = dashboardData; DataType = dataType; Co2Calibrating = co2Calibrating; DateSetup = dateSetup; LastSetup = lastSetup; ModuleName = moduleName; Firmware = firmware; LastUpgrade = lastUpgrade; WifiStatus = wifiStatus; CustomInit(); }
/// <summary> /// Initializes a new instance of the NADevice class. /// </summary> /// <param name="modules">It lists which modules are linked with this /// device</param> /// <param name="type">Included in every device or module. It defines /// the type of the device/module. Its values are among : /// NAMain : for the base station /// NAModule1 : for the outdoor module /// NAModule4 : for the additionnal indoor module /// NAModule3 : for the rain gauge module /// NAPlug : for the thermostat relay/plug /// NATherm1 : for the thermostat module /// </param> /// <param name="wifiStatus">It contains the current wifi status. The /// different thresholds to take into account are /// RSSI_THRESHOLD_0 = 86 bad signal /// RSSI_THRESHOLD_1 = 71 middle quality signal /// RSSI_THRESHOLD_2 = 56 good signal /// </param> /// <param name="dashboardData">It contains all the measurements that /// can be displayed on the dashboard</param> public NADevice(string _id = default(string), int?behavior = default(int?), string cipherId = default(string), NADate dateSetup = default(NADate), int?firmware = default(int?), int?hwVersion = default(int?), NAHeatingSystem heatingSystem = default(NAHeatingSystem), NAHouseModel houseModel = default(NAHouseModel), string ip = default(string), int?lastFwUpdate = default(int?), int?lastRadioStore = default(int?), int?lastStatusStore = default(int?), int?lastUpgrade = default(int?), string moduleName = default(string), IList <string> modules = default(IList <string>), NAPlace place = default(NAPlace), object setpoint = default(object), int?setpointDefaultDuration = default(int?), IDictionary <string, IList <NAObject> > setpointOrder = default(IDictionary <string, IList <NAObject> >), bool?publicExtData = default(bool?), string stationName = default(string), IDictionary <string, NAThermProgram> thermProgram = default(IDictionary <string, NAThermProgram>), IDictionary <string, IList <NAThermProgram> > thermProgramBackup = default(IDictionary <string, IList <NAThermProgram> >), IDictionary <string, IList <NAObject> > thermProgramOrder = default(IDictionary <string, IList <NAObject> >), string type = default(string), IList <string> userOwner = default(IList <string>), bool?udpConn = default(bool?), int?wifiStatus = default(int?), bool?newFeatureAvail = default(bool?), bool?firstPidAvail = default(bool?), NADashboardData dashboardData = default(NADashboardData), IList <string> dataType = default(IList <string>)) { this._id = _id; Behavior = behavior; CipherId = cipherId; DateSetup = dateSetup; Firmware = firmware; HwVersion = hwVersion; HeatingSystem = heatingSystem; HouseModel = houseModel; Ip = ip; LastFwUpdate = lastFwUpdate; LastRadioStore = lastRadioStore; LastStatusStore = lastStatusStore; LastUpgrade = lastUpgrade; ModuleName = moduleName; Modules = modules; Place = place; Setpoint = setpoint; SetpointDefaultDuration = setpointDefaultDuration; SetpointOrder = setpointOrder; PublicExtData = publicExtData; StationName = stationName; ThermProgram = thermProgram; ThermProgramBackup = thermProgramBackup; ThermProgramOrder = thermProgramOrder; Type = type; UserOwner = userOwner; UdpConn = udpConn; WifiStatus = wifiStatus; NewFeatureAvail = newFeatureAvail; FirstPidAvail = firstPidAvail; DashboardData = dashboardData; DataType = dataType; CustomInit(); }