Click or drag to resize

DinTstatFcu Class

A universal fan coil controller designed for use in two-pipe applications. It includes the versatility to allow the device to be used in various types of applications.

This class will trigger BaseEvent, StateChange events.

Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpProGenericBase
    Crestron.SimplSharpProGenericDevice
      Crestron.SimplSharpPro.ThermostatsDinTstatFcu

Namespace: Crestron.SimplSharpPro.Thermostats
Assembly: Crestron.SimplSharpPro.Thermostats (in Crestron.SimplSharpPro.Thermostats.dll) Version: 2.21.121
Syntax
C#
public sealed class DinTstatFcu : GenericDevice, 
	IDigitalInputPorts

The DinTstatFcu type exposes the following members.

Constructors
 NameDescription
Public methodDinTstatFcu(UInt32, CrestronControlSystem) Constructor to create a new DIN-TSTAT-FCU.
Public methodDinTstatFcu(UInt32, IDeviceBranch) Constructor to create a new DIN-TSTAT-FCU.
Top
Properties
 NameDescription
Public propertyAuxiliaryHeaterFeedback 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.

Public propertyConnectedIpList 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)
Public propertyCurrentFanModeFeedback Property to indicate the current Fan Mode.

The BaseEvent event will trigger with FanModeChangedEventId for this property.

Public propertyCode exampleDescription Get/Set the description of this device.
(Inherited from GenericBase)
Public propertyDigitalInputPorts Array of digital input on the device.
Public propertyDisposed Property to indicate if the device has been disposed.
(Inherited from GenericDevice)
Public propertyExternalTemperature Property to set temperature of the external device connected to the DIN-STAT-FCU device.
Public propertyExternalTemperatureFeedback 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.

Public propertyFanMode Property to set the current Fan Mode.
Public propertyFanModeFeedbackObsolete.
Property to indicate the current Fan Mode.

The BaseEvent event will trigger with FanModeChangedEventId for this property.

Public propertyFanSpeedFeedback Property to indicate the current Fan Speed.

The BaseEvent event will trigger with FanSpeedChangedEventId for this property.

Public propertyFcuTypeFeedback 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.

Public propertyID Property to get the ID of the device.
(Inherited from GenericDevice)
Public propertyIsCoolingFeedback 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.

Public propertyIsHeatingFeedback 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.

Public propertyIsOnline Property to get the current online state of the device.
(Inherited from GenericDevice)
Public propertyMaximumCoolSetPointFeedback 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.

Public propertyMaximumHeatSetPointFeedback 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.

Public propertyMinimumCoolSetPointFeedback 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.

Public propertyMinimumHeatSetPointFeedback 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.

Public propertyModeCoolFeedback 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.

Public propertyModeHeatFeedback 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.

Public propertyModeOffFeedback 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.

Public propertyName Get the name of this device.
(Inherited from GenericBase)
Public propertyNumberOfDigitalInputPorts Number of digital inputs this device supports.
Public propertyParent The parent that a given object was added to.
(Inherited from GenericBase)
Public propertyRegisterable Property to indicate that this device can be registered.
(Inherited from GenericDevice)
Public propertyRegistered Property to get the current registration state of the device.
(Inherited from GenericDevice)
Public propertyRegistrationFailureReason Property to get the Registration Failure Reason, this will match the return value from the call to register.
(Inherited from GenericDevice)
Public propertySetPoint Property to set the main temperature setpoint. Default setpoint value is 21 degree Celsius.
Public propertySetPointFeedback Property to report the main temperature setpoint.

The BaseEvent event will trigger with SetPointFeedbackEventId for this property.

Protected propertySIMPLDeviceImplementation Internal protected member used for actual device control.
(Inherited from GenericDevice)
Public propertyTemperatureFeedback Property to indicate temperature feedback.

The BaseEvent event will trigger with TemperatureFeedbackEventId for this property and Index gives the index into the TemperatureFeedback collection.

Public propertyType Property to determine to type of device this is.
(Inherited from GenericDevice)
Public propertyUnRegistrationFailureReason Property to get the Unregistration Failure Reason, this will match the return value from the call to unregister.
(Inherited from GenericDevice)
Public propertyUserSpecifiedObject Can be assigned anything that user wants.
(Inherited from GenericBase)
Protected propertyXioEndpointStubSIMPLDevice 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)
Top
Methods
 NameDescription
Public methodDispose Clean up of resources.
(Inherited from GenericBase)
Protected methodDispose(Boolean) Method to perform the actual disposing of the device.
(Inherited from GenericDevice)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Destructor of the device.
(Inherited from GenericDevice)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLowerSetPoint Method to lower the temperature setpoint.
Public methodModeCool Method to enable cooling mode.
Public methodModeHeat Method to enable heating mode.
Public methodModeOff Method to turn off heating/cooling.
Protected methodOnBaseEvent(Int32) Protected member used to fire the BaseEvent with the default extended information.
(Inherited from GenericBase)
Protected methodOnBaseEvent(Int32, UInt16) Protected member used to fine the BaseEvent with extended event information.
(Inherited from GenericBase)
Public methodRaiseSetPoint Method to raise the temperature setpoint.
Public methodRegister Register this device with the system.
(Inherited from GenericDevice)
Public methodToString Return the name of the device.
(Inherited from GenericDevice)
Public methodUnRegister 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)
Top
Events
 NameDescription
Public eventBaseEvent Generic base event, triggered when the there are no other handlers available for a specific EventID.
(Inherited from GenericBase)
Public eventIpInformationChange 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)
Public eventOnlineStatusChange Event triggered when the Online status of the device changes.
(Inherited from GenericDevice)
Top
Fields
 NameDescription
Public fieldStatic memberAuxiliaryHeaterFeedbackEventId The value of AuxiliaryHeaterFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberExternalTemperatureFeedbackEventId 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.

Public fieldStatic memberFanModeChangedEventId The state of FanModeFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberFanSpeedChangedEventId The value of FanSpeedFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberFcuTypeFeedbackEventId The value of FcuTypeFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberIsCoolingFeedbackEventId The state of IsCoolingFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberIsHeatingFeedbackEventId The state of IsHeatingFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberMaximumCoolSetPointFeedbackEventId The value of MaximumCoolSetPointFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberMaximumHeatSetPointFeedbackEventId The value of MaximumHeatSetPointFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberMinimumCoolSetPointFeedbackEventId The value of MinimumCoolSetPointFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberMinimumHeatSetPointFeedbackEventId The value of MinimumHeatSetPointFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberModeCoolFeedbackEventId The state of ModeCoolFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberModeHeatFeedbackEventId The state of ModeHeatFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberModeOffFeedbackEventId The state of ModeOffFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberSetPointFeedbackEventId The value of SetPointFeedback has changed.

The BaseEvent event will trigger for this event id.

Public fieldStatic memberTemperatureFeedbackEventId The value of TemperatureFeedback has changed.

The BaseEvent event will trigger for this event id.

Top
Example
C#
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);
  }
}

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also