Din |
This class will trigger BaseEvent, StateChange events.
public sealed class DinTstatFcu : GenericDevice, IDigitalInputPorts
The DinTstatFcu type exposes the following members.
| Name | Description | |
|---|---|---|
| DinTstatFcu(UInt32, CrestronControlSystem) | Constructor to create a new DIN-TSTAT-FCU. | |
| DinTstatFcu(UInt32, IDeviceBranch) | Constructor to create a new DIN-TSTAT-FCU. |
| Name | Description | |
|---|---|---|
| AuxiliaryHeaterFeedback |
Property to indicate that the Auxiliary Heater connected to the system.
True = Auxiliary Heater connected; False = Auxiliary Heater not connected.
The BaseEvent event will trigger with AuxiliaryHeaterFeedbackEventId for this property. | |
| ConnectedIpList |
A property containing the list of the ConnectedIpInformation objects which contain information about the devices that are connected to this IP ID.
This property is only valid for an ethernet device. If this is not an ethernet device, then this property will return null.
If this is an ethernet device, the list will be non-null. It will be empty if no devices are connected.
The order of items in this list is not guaranteed.
(Inherited from GenericDevice) | |
| CurrentFanModeFeedback |
Property to indicate the current Fan Mode.
The BaseEvent event will trigger with FanModeChangedEventId for this property. | |
| Description |
Get/Set the description of this device.
(Inherited from GenericBase) | |
| DigitalInputPorts | Array of digital input on the device. | |
| Disposed |
Property to indicate if the device has been disposed.
(Inherited from GenericDevice) | |
| ExternalTemperature | Property to set temperature of the external device connected to the DIN-STAT-FCU device. | |
| ExternalTemperatureFeedback |
Property to indicate temperature value sent to the device connected to the DIN-STAT-FCU device.
The BaseEvent event will trigger with ExternalTemperatureFeedbackEventId for this property and Index gives the index into the ExternalTemperatureFeedback collection. | |
| FanMode | Property to set the current Fan Mode. | |
| FanModeFeedback | Obsolete. Property to indicate the current Fan Mode. The BaseEvent event will trigger with FanModeChangedEventId for this property. | |
| FanSpeedFeedback |
Property to indicate the current Fan Speed.
The BaseEvent event will trigger with FanSpeedChangedEventId for this property. | |
| FcuTypeFeedback |
Property to report the value that describes the type of FCU(fan coil Unit) being used.
Fcutype value ranges from 1 to 6. Additional values to be defined without 5/8 for possible errors including Temp prob error,regulation parameter error.
The BaseEvent event will trigger with FcuTypeFeedbackEventId for this property. | |
| ID |
Property to get the ID of the device.
(Inherited from GenericDevice) | |
| IsCoolingFeedback |
Property to indicate cooling is active.
True = Cooling is active ; False = Cooling is not active.
The BaseEvent event will trigger with IsCoolingFeedbackEventId for this property. | |
| IsHeatingFeedback |
Property to indicate heating is active.
True = Heating is active; False = Heating is not active.
The BaseEvent event will trigger with IsHeatingFeedbackEventId for this property. | |
| IsOnline |
Property to get the current online state of the device.
(Inherited from GenericDevice) | |
| MaximumCoolSetPointFeedback |
Property to report maximum cool setpoint.
Maximum valid cool setpoint value is 16 degree Celsius.
The BaseEvent event will trigger with MaximumCoolSetPointFeedbackEventId for this property. | |
| MaximumHeatSetPointFeedback |
Property to report maximum heat setpoint.
Maximum valid set point is value 30 degree Celsius.
The BaseEvent event will trigger with MaximumHeatSetPointFeedbackEventId for this property. | |
| MinimumCoolSetPointFeedback |
Property to report minimum cool setpoint.
Minimum valid cool setpoint value is 30 degree Celsius.
The BaseEvent event will trigger with MinimumCoolSetPointFeedbackEventId for this property. | |
| MinimumHeatSetPointFeedback |
Property to report minimum heat setpoint.
Minimum valid heat setpoint value is 16 degree Celsius.
The BaseEvent event will trigger with MinimumHeatSetPointFeedbackEventId for this property. | |
| ModeCoolFeedback |
Property to indicate that cooling mode is enabled.
True = Cooling mode is enabled ; False = Cooling mode is not enabled.
The BaseEvent event will trigger with ModeCoolFeedbackEventId for this property. | |
| ModeHeatFeedback |
Property to indicate that heating mode is enabled.
True = Heating mode is enabled ; False = Heating mode is not enabled.
The BaseEvent event will trigger with ModeHeatFeedbackEventId for this property. | |
| ModeOffFeedback |
Property to indicate the heating/cooling is off.
True = Mode is off ;False = Mode is not off.
The BaseEvent event will trigger with ModeOffFeedbackEventId for this property. | |
| Name |
Get the name of this device.
(Inherited from GenericBase) | |
| NumberOfDigitalInputPorts | Number of digital inputs this device supports. | |
| Parent |
The parent that a given object was added to.
(Inherited from GenericBase) | |
| Registerable |
Property to indicate that this device can be registered.
(Inherited from GenericDevice) | |
| Registered |
Property to get the current registration state of the device.
(Inherited from GenericDevice) | |
| RegistrationFailureReason |
Property to get the Registration Failure Reason, this will match the return value from the call to register.
(Inherited from GenericDevice) | |
| SetPoint | Property to set the main temperature setpoint. Default setpoint value is 21 degree Celsius. | |
| SetPointFeedback |
Property to report the main temperature setpoint.
The BaseEvent event will trigger with SetPointFeedbackEventId for this property. | |
| SIMPLDeviceImplementation |
Internal protected member used for actual device control.
(Inherited from GenericDevice) | |
| TemperatureFeedback |
Property to indicate temperature feedback.
The BaseEvent event will trigger with TemperatureFeedbackEventId for this property and Index gives the index into the TemperatureFeedback collection. | |
| Type |
Property to determine to type of device this is.
(Inherited from GenericDevice) | |
| UnRegistrationFailureReason |
Property to get the Unregistration Failure Reason, this will match the return value from the call to unregister.
(Inherited from GenericDevice) | |
| UserSpecifiedObject |
Can be assigned anything that user wants.
(Inherited from GenericBase) | |
| XioEndpointStubSIMPLDevice |
The SIMPL "stub" Device that the XiO Director creates for an endpoint to send the 1C/0E to the
correct place in hierarchy.
(Inherited from GenericDevice) |
| Name | Description | |
|---|---|---|
| Dispose |
Clean up of resources.
(Inherited from GenericBase) | |
| Dispose(Boolean) |
Method to perform the actual disposing of the device.
(Inherited from GenericDevice) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Destructor of the device.
(Inherited from GenericDevice) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| LowerSetPoint | Method to lower the temperature setpoint. | |
| ModeCool | Method to enable cooling mode. | |
| ModeHeat | Method to enable heating mode. | |
| ModeOff | Method to turn off heating/cooling. | |
| OnBaseEvent(Int32) |
Protected member used to fire the BaseEvent with the default extended information.
(Inherited from GenericBase) | |
| OnBaseEvent(Int32, UInt16) |
Protected member used to fine the BaseEvent with extended event information.
(Inherited from GenericBase) | |
| RaiseSetPoint | Method to raise the temperature setpoint. | |
| Register |
Register this device with the system.
(Inherited from GenericDevice) | |
| ToString |
Return the name of the device.
(Inherited from GenericDevice) | |
| UnRegister |
Unregister this device with the system. This function can not be called from the device's own SigChange event handler.
On successful unregistration, if this device supports the OnlineStatusChange event, it will trigger indicating the device when offline. (Inherited from GenericDevice) |
| Name | Description | |
|---|---|---|
| BaseEvent |
Generic base event, triggered when the there are no other handlers available
for a specific EventID.
(Inherited from GenericBase) | |
| IpInformationChange |
Event that tells what IP Address is connected/disconnected from an IP ID for a non-UDP device.
This is only valid for an Ethernet device. An exception will be thrown if it is not.
(Inherited from GenericDevice) | |
| OnlineStatusChange |
Event triggered when the Online status of the device changes.
(Inherited from GenericDevice) |
| Name | Description | |
|---|---|---|
| AuxiliaryHeaterFeedbackEventId |
The value of AuxiliaryHeaterFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| ExternalTemperatureFeedbackEventId |
The value of ExternalTemperatureFeedback has changed.
The BaseEvent event will trigger for this event id and Index will indicate the index into the ExternalTemperatureFeedback collection. | |
| FanModeChangedEventId |
The state of FanModeFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| FanSpeedChangedEventId |
The value of FanSpeedFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| FcuTypeFeedbackEventId |
The value of FcuTypeFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| IsCoolingFeedbackEventId |
The state of IsCoolingFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| IsHeatingFeedbackEventId |
The state of IsHeatingFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| MaximumCoolSetPointFeedbackEventId |
The value of MaximumCoolSetPointFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| MaximumHeatSetPointFeedbackEventId |
The value of MaximumHeatSetPointFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| MinimumCoolSetPointFeedbackEventId |
The value of MinimumCoolSetPointFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| MinimumHeatSetPointFeedbackEventId |
The value of MinimumHeatSetPointFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| ModeCoolFeedbackEventId |
The state of ModeCoolFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| ModeHeatFeedbackEventId |
The state of ModeHeatFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| ModeOffFeedbackEventId |
The state of ModeOffFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| SetPointFeedbackEventId |
The value of SetPointFeedback has changed.
The BaseEvent event will trigger for this event id. | |
| TemperatureFeedbackEventId |
The value of TemperatureFeedback has changed.
The BaseEvent event will trigger for this event id. |
DinTstatFcu myDinTstatFcu; public ControlSystemDinTstatFcu() { CrestronConsole.AddNewConsoleCommand(CreateDeviceCmd, "CreateDevice", "This is an DIN-TSTAT-FCU CreateDevice command", ConsoleAccessLevelEnum.AccessOperator); } //Function to create the device object public void CreateDeviceCmd(String args) { myDinTstatFcu = new DinTstatFcu(0x15,this); myDinTstatFcu.Register(); myDinTstatFcu.BaseEvent += new BaseEventHandler(_dinTstatFcu_BaseEvent); myDinTstatFcu.DigitalInputPorts[i].StateChange += DigitalInputStateChangeEventHandler; CrestronConsole.ConsoleCommandResponse("{0} device successfully registered\r\n", myDinTstatFcu.ToString()); } //Function to handle the digital input state change events public void DigitalInputStateChangeEventHandler(DigitalInput digitalInput, DigitalInputEventArgs args) { CrestronConsole.PrintLine("Digital Input State changed for port {0}, to {1}", 1, myDinTstatFcu.DigitalInputPorts[1].State); } //Function to handle Din-Tstat-FCU base events public void _dinTstatFcu_BaseEvent(GenericBase device, BaseEventArgs args) { if (args.EventId == DinTstatFcu.ModeHeatFeedbackEventId) { CrestronConsole.PrintLine("Mode Heat Feedback event occurred {0}.\r\n",myDinTstatFcu.ModeHeatFeedback); } }