public HMIP_SWDO(XMLAPI.DeviceList.Device d, XMLAPI.Client CGIClient, DeviceManager dm) : base(d, CGIClient, dm) { Config_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["CONFIG_PENDING"]); Duty_Cycle = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["DUTY_CYCLE"]); Error_Code = new TypedDatapoint <String>(base.Channels[0].Datapoints["ERROR_CODE"]); Low_Bat = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["LOW_BAT"]); Operating_Voltage = new TypedDatapoint <System.Decimal>(base.Channels[0].Datapoints["OPERATING_VOLTAGE"]); Operating_Voltage_Status = new TypedDatapoint <csharpmatic.Interfaces.IHmIP_Operating_Voltage_Status_Enum>(base.Channels[0].Datapoints["OPERATING_VOLTAGE_STATUS"]); Rssi_Device = new TypedDatapoint <System.String>(base.Channels[0].Datapoints["RSSI_DEVICE"]); Rssi_Peer = new TypedDatapoint <System.String>(base.Channels[0].Datapoints["RSSI_PEER"]); Sabotage = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["SABOTAGE"]); Unreach = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UNREACH"]); Update_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UPDATE_PENDING"]); State = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["STATE"]); }
public HMIP_SWSD(XMLAPI.DeviceList.Device d, XMLAPI.Client CGIClient, DeviceManager dm) : base(d, CGIClient, dm) { Config_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["CONFIG_PENDING"]); Duty_Cycle = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["DUTY_CYCLE"]); Low_Bat = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["LOW_BAT"]); Rssi_Device = new TypedDatapoint <System.Int32>(base.Channels[0].Datapoints["RSSI_DEVICE"]); Rssi_Peer = new TypedDatapoint <System.Int32>(base.Channels[0].Datapoints["RSSI_PEER"]); Time_Of_Operation = new TypedDatapoint <String>(base.Channels[0].Datapoints["TIME_OF_OPERATION"]); Time_Of_Operation_Status = new TypedDatapoint <Int32>(base.Channels[0].Datapoints["TIME_OF_OPERATION_STATUS"]); Unreach = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UNREACH"]); Update_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UPDATE_PENDING"]); Error_Code = new TypedDatapoint <System.Int32>(base.Channels[1].Datapoints["ERROR_CODE"]); Smoke_Detector_Alarm_Status = new TypedDatapoint <csharpmatic.Interfaces.ISmokeDetectorDevice_Smoke_Detector_Alarm_Status_Enum>(base.Channels[1].Datapoints["SMOKE_DETECTOR_ALARM_STATUS"]); Smoke_Detector_Command = new TypedDatapoint <csharpmatic.Interfaces.ISmokeDetectorDevice_Smoke_Detector_Command_Enum>(base.Channels[1].Datapoints["SMOKE_DETECTOR_COMMAND"]); Smoke_Detector_Test_Result = new TypedDatapoint <csharpmatic.Interfaces.ISmokeDetectorDevice_Smoke_Detector_Test_Result_Enum>(base.Channels[1].Datapoints["SMOKE_DETECTOR_TEST_RESULT"]); }
public static Device CreateInstance(XMLAPI.DeviceList.Device d, XMLAPI.Client CGIClient, DeviceManager dm) { Type t = GetInterfaceDeviceType(d); Device newDev = Activator.CreateInstance(t, d, CGIClient, dm) as Device; return(newDev); }
public HMIP_PSM(XMLAPI.DeviceList.Device d, XMLAPI.Client CGIClient, DeviceManager dm) : base(d, CGIClient, dm) { Actuator_Actual_Temperature = new TypedDatapoint <System.Decimal>(base.Channels[0].Datapoints["ACTUATOR_ACTUAL_TEMPERATURE"]); Actuator_Actual_Temperature_Status = new TypedDatapoint <System.Int32>(base.Channels[0].Datapoints["ACTUATOR_ACTUAL_TEMPERATURE_STATUS"]); Config_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["CONFIG_PENDING"]); Duty_Cycle = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["DUTY_CYCLE"]); Error_Code = new TypedDatapoint <String>(base.Channels[0].Datapoints["ERROR_CODE"]); Error_Overheat = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["ERROR_OVERHEAT"]); Operating_Voltage = new TypedDatapoint <System.Decimal>(base.Channels[0].Datapoints["OPERATING_VOLTAGE"]); Operating_Voltage_Status = new TypedDatapoint <csharpmatic.Interfaces.IHmIP_Operating_Voltage_Status_Enum>(base.Channels[0].Datapoints["OPERATING_VOLTAGE_STATUS"]); Rssi_Device = new TypedDatapoint <System.String>(base.Channels[0].Datapoints["RSSI_DEVICE"]); Rssi_Peer = new TypedDatapoint <System.String>(base.Channels[0].Datapoints["RSSI_PEER"]); Unreach = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UNREACH"]); Update_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UPDATE_PENDING"]); Press_Long = new TypedDatapoint <Boolean>(base.Channels[1].Datapoints["PRESS_LONG"]); Press_Short = new TypedDatapoint <Boolean>(base.Channels[1].Datapoints["PRESS_SHORT"]); Process = new TypedDatapoint <csharpmatic.Interfaces.ISingleSwitchControlDevice_Process>(base.Channels[3].Datapoints["PROCESS"]); Section = new TypedDatapoint <System.Int32>(base.Channels[3].Datapoints["SECTION"]); Section_Status = new TypedDatapoint <csharpmatic.Interfaces.ISingleSwitchControlDevice_Section_Status>(base.Channels[3].Datapoints["SECTION_STATUS"]); State = new TypedDatapoint <System.Boolean>(base.Channels[3].Datapoints["STATE"]); Current = new TypedDatapoint <Decimal>(base.Channels[6].Datapoints["CURRENT"]); Current_Status = new TypedDatapoint <Int32>(base.Channels[6].Datapoints["CURRENT_STATUS"]); Energy_Counter = new TypedDatapoint <Decimal>(base.Channels[6].Datapoints["ENERGY_COUNTER"]); Energy_Counter_Overflow = new TypedDatapoint <Boolean>(base.Channels[6].Datapoints["ENERGY_COUNTER_OVERFLOW"]); Frequency = new TypedDatapoint <Decimal>(base.Channels[6].Datapoints["FREQUENCY"]); Frequency_Status = new TypedDatapoint <Int32>(base.Channels[6].Datapoints["FREQUENCY_STATUS"]); Power = new TypedDatapoint <Decimal>(base.Channels[6].Datapoints["POWER"]); Power_Status = new TypedDatapoint <Int32>(base.Channels[6].Datapoints["POWER_STATUS"]); Voltage = new TypedDatapoint <Decimal>(base.Channels[6].Datapoints["VOLTAGE"]); Voltage_Status = new TypedDatapoint <Int32>(base.Channels[6].Datapoints["VOLTAGE_STATUS"]); }
public Device(XMLAPI.DeviceList.Device d, XMLAPI.Client CGIClient, DeviceManager dm) { DeviceManager = dm; FillFromDeviceListDevice(d); FillFromRoomList(CGIClient.RoomList); FillFromFunctionList(CGIClient.FunctionList); FillFromStateList(CGIClient.StateList); FillFromMasterValueList(CGIClient.MasterValueListByChannel); InitDatapointLookups(); }
public HMIP_BDT(XMLAPI.DeviceList.Device d, XMLAPI.Client CGIClient, DeviceManager dm) : base(d, CGIClient, dm) { Actuator_Actual_Temperature = new TypedDatapoint <Decimal>(base.Channels[0].Datapoints["ACTUATOR_ACTUAL_TEMPERATURE"]); Actuator_Actual_Temperature_Status = new TypedDatapoint <Int32>(base.Channels[0].Datapoints["ACTUATOR_ACTUAL_TEMPERATURE_STATUS"]); Config_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["CONFIG_PENDING"]); Duty_Cycle = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["DUTY_CYCLE"]); Error_Code = new TypedDatapoint <String>(base.Channels[0].Datapoints["ERROR_CODE"]); Error_Overheat = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["ERROR_OVERHEAT"]); Error_Overload = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["ERROR_OVERLOAD"]); Error_Update = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["ERROR_UPDATE"]); Operating_Voltage = new TypedDatapoint <System.Decimal>(base.Channels[0].Datapoints["OPERATING_VOLTAGE"]); Operating_Voltage_Status = new TypedDatapoint <csharpmatic.Interfaces.IHmIP_Operating_Voltage_Status_Enum>(base.Channels[0].Datapoints["OPERATING_VOLTAGE_STATUS"]); Rssi_Device = new TypedDatapoint <System.String>(base.Channels[0].Datapoints["RSSI_DEVICE"]); Rssi_Peer = new TypedDatapoint <System.String>(base.Channels[0].Datapoints["RSSI_PEER"]); Unreach = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UNREACH"]); Update_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UPDATE_PENDING"]); Activity_State = new TypedDatapoint <Int32>(base.Channels[4].Datapoints["ACTIVITY_STATE"]); Level = new TypedDatapoint <System.Decimal>(base.Channels[4].Datapoints["LEVEL"]); Level_Status = new TypedDatapoint <csharpmatic.Interfaces.IDimmerDevice_Level_Status>(base.Channels[4].Datapoints["LEVEL_STATUS"]); Process = new TypedDatapoint <Int32>(base.Channels[4].Datapoints["PROCESS"]); Section = new TypedDatapoint <Int32>(base.Channels[4].Datapoints["SECTION"]); Section_Status = new TypedDatapoint <Int32>(base.Channels[4].Datapoints["SECTION_STATUS"]); Ramp_Time = new TypedDatapoint <System.Decimal>(base.Channels[4].Datapoints["RAMP_TIME"]); Week_Program_Channel_Locks = new TypedDatapoint <Int32>(base.Channels[7].Datapoints["WEEK_PROGRAM_CHANNEL_LOCKS"]); Week_Program_Target_Channel_Lock = new TypedDatapoint <Int32>(base.Channels[7].Datapoints["WEEK_PROGRAM_TARGET_CHANNEL_LOCK"]); Week_Program_Target_Channel_Locks = new TypedDatapoint <Int32>(base.Channels[7].Datapoints["WEEK_PROGRAM_TARGET_CHANNEL_LOCKS"]); }
public HMIP_PS(XMLAPI.DeviceList.Device d, XMLAPI.Client CGIClient, DeviceManager dm) : base(d, CGIClient, dm) { Actuator_Actual_Temperature = new TypedDatapoint <System.Decimal>(base.Channels[0].Datapoints["ACTUATOR_ACTUAL_TEMPERATURE"]); Actuator_Actual_Temperature_Status = new TypedDatapoint <System.Int32>(base.Channels[0].Datapoints["ACTUATOR_ACTUAL_TEMPERATURE_STATUS"]); Config_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["CONFIG_PENDING"]); Duty_Cycle = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["DUTY_CYCLE"]); Error_Code = new TypedDatapoint <String>(base.Channels[0].Datapoints["ERROR_CODE"]); Error_Overheat = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["ERROR_OVERHEAT"]); Operating_Voltage = new TypedDatapoint <System.Decimal>(base.Channels[0].Datapoints["OPERATING_VOLTAGE"]); Operating_Voltage_Status = new TypedDatapoint <csharpmatic.Interfaces.IOperating_Voltage_Status_Enum>(base.Channels[0].Datapoints["OPERATING_VOLTAGE_STATUS"]); Rssi_Device = new TypedDatapoint <System.Int32>(base.Channels[0].Datapoints["RSSI_DEVICE"]); Rssi_Peer = new TypedDatapoint <System.Int32>(base.Channels[0].Datapoints["RSSI_PEER"]); Unreach = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UNREACH"]); Update_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UPDATE_PENDING"]); Press_Long = new TypedDatapoint <Boolean>(base.Channels[1].Datapoints["PRESS_LONG"]); Press_Short = new TypedDatapoint <Boolean>(base.Channels[1].Datapoints["PRESS_SHORT"]); Process = new TypedDatapoint <csharpmatic.Interfaces.ISingleSwitchControlDevice_Process>(base.Channels[3].Datapoints["PROCESS"]); Section = new TypedDatapoint <System.Int32>(base.Channels[3].Datapoints["SECTION"]); Section_Status = new TypedDatapoint <csharpmatic.Interfaces.ISingleSwitchControlDevice_Section_Status>(base.Channels[3].Datapoints["SECTION_STATUS"]); State = new TypedDatapoint <System.Boolean>(base.Channels[3].Datapoints["STATE"]); Week_Program_Channel_Locks = new TypedDatapoint <Int32>(base.Channels[6].Datapoints["WEEK_PROGRAM_CHANNEL_LOCKS"]); Week_Program_Target_Channel_Lock = new TypedDatapoint <Int32>(base.Channels[6].Datapoints["WEEK_PROGRAM_TARGET_CHANNEL_LOCK"]); Week_Program_Target_Channel_Locks = new TypedDatapoint <Int32>(base.Channels[6].Datapoints["WEEK_PROGRAM_TARGET_CHANNEL_LOCKS"]); }
private void FillFromDeviceListDevice(XMLAPI.DeviceList.Device d) { Name = d.Name; ISEID = d.Ise_id; Address = d.Address; Interface = d.Interface; DeviceType = d.Device_type; ChannelByISEID = new Dictionary <string, Channel>(); Channels = new Channel[d.Channel.Count]; for (int i = 0; i < Channels.Length; i++) { Channels[i] = new Channel(d.Channel[i], this); if (!ChannelByISEID.ContainsKey(Channels[i].ISEID)) { ChannelByISEID.Add(Channels[i].ISEID, Channels[i]); } else { throw new Exception(String.Format("Duplicated channel iseid {0} on device {1}.", Channels[i].ISEID, d.Name)); } } }
public HMIP_HEATING(XMLAPI.DeviceList.Device d, XMLAPI.Client CGIClient, DeviceManager dm) : base(d, CGIClient, dm) { Actuator_Actual_Temperature_Status = new TypedDatapoint <Int32>(base.Channels[0].Datapoints["ACTUATOR_ACTUAL_TEMPERATURE_STATUS"]); Config_Pending = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["CONFIG_PENDING"]); Duty_Cycle = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["DUTY_CYCLE"]); Error_Code = new TypedDatapoint <String>(base.Channels[0].Datapoints["ERROR_CODE"]); Error_Overheat = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["ERROR_OVERHEAT"]); Low_Bat = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["LOW_BAT"]); Operating_Voltage_Status = new TypedDatapoint <Int32>(base.Channels[0].Datapoints["OPERATING_VOLTAGE_STATUS"]); Sabotage = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["SABOTAGE"]); Unreach = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["UNREACH"]); Update_Pending = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["UPDATE_PENDING"]); Active_Profile = new TypedDatapoint <System.Int32>(base.Channels[1].Datapoints["ACTIVE_PROFILE"]); Actual_Temperature = new TypedDatapoint <System.Decimal>(base.Channels[1].Datapoints["ACTUAL_TEMPERATURE"]); Actual_Temperature_Status = new TypedDatapoint <csharpmatic.Interfaces.ITempControl_Actual_Temperature_Status>(base.Channels[1].Datapoints["ACTUAL_TEMPERATURE_STATUS"]); Boost_Mode = new TypedDatapoint <System.Boolean>(base.Channels[1].Datapoints["BOOST_MODE"]); Boost_Time = new TypedDatapoint <System.Int32>(base.Channels[1].Datapoints["BOOST_TIME"]); Control_Differential_Temperature = new TypedDatapoint <Decimal>(base.Channels[1].Datapoints["CONTROL_DIFFERENTIAL_TEMPERATURE"]); Control_Mode = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["CONTROL_MODE"]); Duration_Unit = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["DURATION_UNIT"]); Duration_Value = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["DURATION_VALUE"]); Frost_Protection = new TypedDatapoint <System.Boolean>(base.Channels[1].Datapoints["FROST_PROTECTION"]); Heating_Cooling = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["HEATING_COOLING"]); Humidity = new TypedDatapoint <System.Int32>(base.Channels[1].Datapoints["HUMIDITY"]); Humidity_Status = new TypedDatapoint <csharpmatic.Interfaces.IHumidityControl_Humidity_Status_Enum>(base.Channels[1].Datapoints["HUMIDITY_STATUS"]); Level = new TypedDatapoint <System.Decimal>(base.Channels[1].Datapoints["LEVEL"]); Level_Status = new TypedDatapoint <csharpmatic.Interfaces.IValveControlDevice_Level_Status>(base.Channels[1].Datapoints["LEVEL_STATUS"]); Party_Mode = new TypedDatapoint <Boolean>(base.Channels[1].Datapoints["PARTY_MODE"]); Party_Set_Point_Temperature = new TypedDatapoint <Decimal>(base.Channels[1].Datapoints["PARTY_SET_POINT_TEMPERATURE"]); Party_Time_End = new TypedDatapoint <DateTime>(base.Channels[1].Datapoints["PARTY_TIME_END"]); Party_Time_Start = new TypedDatapoint <DateTime>(base.Channels[1].Datapoints["PARTY_TIME_START"]); Quick_Veto_Time = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["QUICK_VETO_TIME"]); Set_Point_Mode = new TypedDatapoint <System.Int32>(base.Channels[1].Datapoints["SET_POINT_MODE"]); Set_Point_Temperature = new TypedDatapoint <System.Decimal>(base.Channels[1].Datapoints["SET_POINT_TEMPERATURE"]); Switch_Point_Occured = new TypedDatapoint <System.Boolean>(base.Channels[1].Datapoints["SWITCH_POINT_OCCURED"]); Valve_Adaption = new TypedDatapoint <System.Boolean>(base.Channels[1].Datapoints["VALVE_ADAPTION"]); Valve_State = new TypedDatapoint <csharpmatic.Interfaces.IValveControl_Valve_State_Enum>(base.Channels[1].Datapoints["VALVE_STATE"]); Window_State = new TypedDatapoint <csharpmatic.Interfaces.ITempControl_Windows_State_Enum>(base.Channels[1].Datapoints["WINDOW_STATE"]); Handle_State = new TypedDatapoint <Int32>(base.Channels[3].Datapoints["HANDLE_STATE"]); Process = new TypedDatapoint <Int32>(base.Channels[4].Datapoints["PROCESS"]); Section = new TypedDatapoint <Int32>(base.Channels[4].Datapoints["SECTION"]); Section_Status = new TypedDatapoint <Int32>(base.Channels[4].Datapoints["SECTION_STATUS"]); Relay_State = new TypedDatapoint <Boolean>(base.Channels[4].Datapoints["RELAY_STATE"]); }
public HMIP_WTH_2(XMLAPI.DeviceList.Device d, XMLAPI.Client CGIClient, DeviceManager dm) : base(d, CGIClient, dm) { Config_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["CONFIG_PENDING"]); Duty_Cycle = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["DUTY_CYCLE"]); Low_Bat = new TypedDatapoint <Boolean>(base.Channels[0].Datapoints["LOW_BAT"]); Operating_Voltage = new TypedDatapoint <System.Decimal>(base.Channels[0].Datapoints["OPERATING_VOLTAGE"]); Operating_Voltage_Status = new TypedDatapoint <csharpmatic.Interfaces.IHmIP_Operating_Voltage_Status_Enum>(base.Channels[0].Datapoints["OPERATING_VOLTAGE_STATUS"]); Rssi_Device = new TypedDatapoint <System.String>(base.Channels[0].Datapoints["RSSI_DEVICE"]); Rssi_Peer = new TypedDatapoint <System.String>(base.Channels[0].Datapoints["RSSI_PEER"]); Unreach = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UNREACH"]); Update_Pending = new TypedDatapoint <System.Boolean>(base.Channels[0].Datapoints["UPDATE_PENDING"]); Active_Profile = new TypedDatapoint <System.Int32>(base.Channels[1].Datapoints["ACTIVE_PROFILE"]); Actual_Temperature = new TypedDatapoint <System.Decimal>(base.Channels[1].Datapoints["ACTUAL_TEMPERATURE"]); Actual_Temperature_Status = new TypedDatapoint <csharpmatic.Interfaces.ITempControl_Actual_Temperature_Status>(base.Channels[1].Datapoints["ACTUAL_TEMPERATURE_STATUS"]); Boost_Mode = new TypedDatapoint <System.Boolean>(base.Channels[1].Datapoints["BOOST_MODE"]); Boost_Time = new TypedDatapoint <System.Int32>(base.Channels[1].Datapoints["BOOST_TIME"]); Control_Differential_Temperature = new TypedDatapoint <Decimal>(base.Channels[1].Datapoints["CONTROL_DIFFERENTIAL_TEMPERATURE"]); Control_Mode = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["CONTROL_MODE"]); Duration_Unit = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["DURATION_UNIT"]); Duration_Value = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["DURATION_VALUE"]); Frost_Protection = new TypedDatapoint <System.Boolean>(base.Channels[1].Datapoints["FROST_PROTECTION"]); Heating_Cooling = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["HEATING_COOLING"]); Humidity = new TypedDatapoint <System.Int32>(base.Channels[1].Datapoints["HUMIDITY"]); Humidity_Status = new TypedDatapoint <csharpmatic.Interfaces.IHumidityControl_Humidity_Status_Enum>(base.Channels[1].Datapoints["HUMIDITY_STATUS"]); Party_Mode = new TypedDatapoint <Boolean>(base.Channels[1].Datapoints["PARTY_MODE"]); Party_Set_Point_Temperature = new TypedDatapoint <Decimal>(base.Channels[1].Datapoints["PARTY_SET_POINT_TEMPERATURE"]); Party_Time_End = new TypedDatapoint <DateTime>(base.Channels[1].Datapoints["PARTY_TIME_END"]); Party_Time_Start = new TypedDatapoint <DateTime>(base.Channels[1].Datapoints["PARTY_TIME_START"]); Quick_Veto_Time = new TypedDatapoint <Int32>(base.Channels[1].Datapoints["QUICK_VETO_TIME"]); Set_Point_Mode = new TypedDatapoint <System.Int32>(base.Channels[1].Datapoints["SET_POINT_MODE"]); Set_Point_Temperature = new TypedDatapoint <System.Decimal>(base.Channels[1].Datapoints["SET_POINT_TEMPERATURE"]); Switch_Point_Occured = new TypedDatapoint <System.Boolean>(base.Channels[1].Datapoints["SWITCH_POINT_OCCURED"]); Window_State = new TypedDatapoint <csharpmatic.Interfaces.ITempControl_Windows_State_Enum>(base.Channels[1].Datapoints["WINDOW_STATE"]); }
public static Type GetInterfaceDeviceType(XMLAPI.DeviceList.Device d) { return(GetInterfaceDeviceType(d.Device_type)); }