Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the NAPublicData class.
 /// </summary>
 /// <param name="_id">id of the station</param>
 /// <param name="place">Information about the station location
 /// (latitude/longitude of the station, altitude (meters),
 /// timezone)</param>
 /// <param name="moduleTypes">Latest measurements of the station,
 /// organized by module</param>
 public NAPublicData(string _id = default(string), NAPlace place = default(NAPlace), int?mark = default(int?), IList <string> modules = default(IList <string>), IDictionary <string, string> moduleTypes = default(IDictionary <string, string>), IDictionary <string, NAMeasure> measures = default(IDictionary <string, NAMeasure>))
 {
     this._id    = _id;
     Place       = place;
     Mark        = mark;
     Modules     = modules;
     ModuleTypes = moduleTypes;
     Measures    = measures;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the NAPlug 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="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 NAPlug(string _id = default(string), int?firmware = default(int?), int?lastStatusStore = default(int?), NAPlace place = default(NAPlace), string stationName = default(string), string type = default(string), int?wifiStatus = default(int?), int?plugConnectedBoiler = default(int?), bool?udpConn = default(bool?), int?lastPlugSeen = default(int?), NAYearMonth lastBilan = default(NAYearMonth), IList <NAThermostat> modules = default(IList <NAThermostat>), bool?syncing = default(bool?))
 {
     this._id            = _id;
     Firmware            = firmware;
     LastStatusStore     = lastStatusStore;
     Place               = place;
     StationName         = stationName;
     Type                = type;
     WifiStatus          = wifiStatus;
     PlugConnectedBoiler = plugConnectedBoiler;
     UdpConn             = udpConn;
     LastPlugSeen        = lastPlugSeen;
     LastBilan           = lastBilan;
     Modules             = modules;
     Syncing             = syncing;
     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();
 }
Exemplo n.º 4
0
 /// <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();
 }
Exemplo n.º 5
0
 /// <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();
 }