Tsw |
This class will trigger SigChange, ButtonStateChange and DeviceExtenderSigChange events.
public sealed class Tsw570 : TswXX70Base
The Tsw570 type exposes the following members.
| Name | Description | |
|---|---|---|
| BooleanInput |
Collection of Boolean Inputs sent to the device.
(Inherited from BasicTriList) | |
| BooleanOutput |
Collection of Boolean Outputs received from the device.
(Inherited from BasicTriList) | |
| Button |
Get the collection of the Button objects for this device.
(Inherited from TswXX70Base) | |
| 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) | |
| Description |
Get/Set the description of this device.
(Inherited from GenericBase) | |
| Disposed |
Property to indicate if the device has been disposed.
(Inherited from GenericDevice) | |
| Down |
Get the Button object corresponding to the Down button for this device.
(Inherited from TswXX70Base) | |
| ExtenderApplicationControlReservedSigs |
Property to access the Application Control functionality of the Tsw570,
Tsw570P, Tsw770, Tsw770GV, Tsw770P,
Tsw1070, Tsw1070P, Tsw1070GV, Ts570,
Ts770, Ts770GV, Ts1070 and Ts1070GV
family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in Tswxx70ApplicationControlReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderAudioReservedSigs |
Property to access the Audio functionality of Tsw770, Tsw770GV,
Tsw770P, Tsw1070, Tsw1070P, Tsw1070GV,
Ts770, Ts770GV, Ts1070 and Ts1070GV
family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in TsxCcsUcCodec100AudioReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderAuthenticationReservedSigs |
Property to access the Authentication functionality of Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in TswAuthenticationReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderAutoUpdateReservedSigs |
Property to access the Auto Update functionality of Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070, Tst1080,
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in AutoUpdateReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderButtonToolbarReservedSigs |
Property to access the Button Toolbar functionality of Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in Tswxx70ButtonToolbarReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderEthernetReservedSigs |
Property to access the Ethernet functionality of the Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in TsxCcsUcCodec100EthernetReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderIntegratedLightBarReservedSigs |
Property to access the Integrated Light Bar functionality of the "TS-XX70" Family of Touch Panels.
This property will trigger DeviceExtenderSigChange for sigs defined in Tsxx70IntegratedLightBarReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderRfReaderReservedSigs |
Property to access the RF Reader functionality of the "TS-XX70" Family of Touch Panels.
This property will trigger DeviceExtenderSigChange for sigs defined in Tswxx70RfReaderReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderScreenSaverReservedSigs |
Property to access the Screen Saver functionality of Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in Tswxx70ScreenSaverReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderSystem2ReservedSigs |
Property to access the System2 functionality of Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in Tswxx60System2ReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderSystem3ReservedSigs |
Property to access the System3 functionality of the Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in Tswx60System3ReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderSystem4ReservedSigs |
Property to access the System4 functionality of the Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in Tswxx70System4ReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderSystemReservedSigs |
Property to access the System functionality of Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in Tswxx70SystemReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderTouchDetectionReservedSigs |
Property to access the Touch Detection functionality of the Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in TswTouchDetectionReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderUsbLedAccessoryControlReservedSigs |
Property to access the USB Led functionality of the Tsw570, Tsw570P,
Tsw770, Tsw770GV, Tsw770P, Tsw1070, Tsw1070P,
Tsw1070GV, Ts570, Ts770, Ts770GV, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in TswX60UsbLedAccessoryControlReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderVoiceControlReservedSigs |
Property to access the Voice Control functionality of Tsw770, Tsw770P,
Tsw1070, Tsw1070P, Ts770, Ts1070
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in TsxVoiceControlReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderVoipReservedSigs |
Property to access the VOIP functionality of the Tsw770, Tsw770P,
Tsw1070, Tsw1070P, Ts770, Ts1070Tsw770GV, Tsw1070GV, Ts770GV
and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in Tss752VoipReservedSigs. (Inherited from TswXX70Base) | |
| ExtenderZoomRoomAppReservedSigs |
Property to access the Zoom Room App functionality of Tsw770,
Tsw770P, Tsw1070, Tsw1070P,
Ts770, Ts1070 and Ts1070GV family of touch panel devices.
This property will trigger DeviceExtenderSigChange for sigs defined in Tswxx70ZoomRoomAppReservedSigs. (Inherited from TswXX70Base) | |
| Home |
Get the Button object corresponding to the Home button for this device.
(Inherited from TswXX70Base) | |
| ID |
Property to get the ID of the device.
(Inherited from GenericDevice) | |
| IsOnline |
Property to get the current online state of the device.
(Inherited from GenericDevice) | |
| Lights |
Get the Button object corresponding to the Lights button for this device.
(Inherited from TswXX70Base) | |
| Microphone |
Get the Button object corresponding to the Microphone button for this device.
This property is not available in Tsw570, Tsw770GV,
Tsw1070GV, Ts770GV, Ts1070GV.
(Inherited from TswXX70Base) | |
| Name |
Get the name of this device.
(Inherited from GenericBase) | |
| Parent |
The parent that a given object was added to.
(Inherited from GenericBase) | |
| Power |
Get the Button object corresponding to the Power button for this device.
(Inherited from TswXX70Base) | |
| 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) | |
| SIMPLDeviceImplementation |
Internal protected member used for actual device control.
(Inherited from GenericDevice) | |
| SleepWakeManager |
Sleep wake manager.
(Inherited from TswXX70Base) | |
| SmartObjects |
Collection containing the loaded SmartObjects of this device.
(Inherited from BasicTriListWithSmartObject) | |
| StringInput |
Collection of String Inputs sent to the device.
(Inherited from BasicTriList) | |
| StringOutput |
Collection of String Outputs received from the device.
(Inherited from BasicTriList) | |
| 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) | |
| Up |
Get the Button object corresponding to the Up button for this device.
(Inherited from TswXX70Base) | |
| UserSpecifiedObject |
Can be assigned anything that user wants.
(Inherited from GenericBase) | |
| UShortInput |
Collection of Integer Inputs sent to the device.
(Inherited from BasicTriList) | |
| UShortOutput |
Collection of Integer Outputs received from the device.
(Inherited from BasicTriList) | |
| 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) | |
| LoadSmartObjects(ISmartObject) |
Load the smart objects to this device that are already loaded for the specified device.
(Inherited from BasicTriListWithSmartObject) | |
| LoadSmartObjects(Stream) |
Load a smart object given a reference to a stream for the SGD file.
(Inherited from BasicTriListWithSmartObject) | |
| LoadSmartObjects(String) |
Load a smart object given a SGD Filename with an absolute path.
(Inherited from BasicTriListWithSmartObject) | |
| 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) | |
| 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) | |
| ButtonStateChange |
Event triggered when the Button reports information to the Control System.
Valid Button States are available in eButtonState. (Inherited from TswXX70Base) | |
| 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) | |
| SigChange |
Event triggered when cue information is received from a device.
When processing this event, it will hold off other cues from being received from the device.
If one desires to continue processing the data and receive more information, launch a new thread
and allow this event to exit.
(Inherited from BasicTriList) |
public class ControlSystemTswxx70 : CrestronControlSystem { public ControlSystemTswxx70() { //Register console commands CrestronConsole.AddNewConsoleCommand(CreateDeviceCmd, "CreateDevice", "This is a Tswxx70 CreateDevice command", ConsoleAccessLevelEnum.AccessOperator); } public void CreateDeviceCmd(String args) { uint extenderSlotCount = 1; //Initialize the Tsw570 device _tswxx70 = new Tsw570(0x11, this); CrestronConsole.PrintLine("Inizializing {0} extenders", _tswxx70.Name); try { if (_tswxx70.ExtenderApplicationControlReservedSigs != null) { _tswxx70.ExtenderApplicationControlReservedSigs.Use(); _tswxx70.ExtenderApplicationControlReservedSigs.DeviceExtenderSigChange += ExtenderApplicationControlReservedSigs_DeviceExtenderSigChange; } } catch (Exception e) { CrestronConsole.PrintLine("\tException {0} occured", e.Message); } //Register the Tswxx70 with the Control System //This will enable the gateway connection ("127.0.0.1") in the system at the //ID specified above that the Tswxx60 will connect to. _tswxx70.Register(); _tswxx70.SigChange += Tswxx70ObjSigChange; _tswxx70.ButtonStateChange += Tswxx70ObjButtonChange; if (_tswxx70.Registered == true) { CrestronConsole.PrintLine("{0} device registered successfully.", _tswxx70); } else { CrestronConsole.PrintLine("{0} device registeration failed.", _tswxx70); } } static void ExtenderApplicationControlReservedSigs_DeviceExtenderSigChange(DeviceExtender currentdeviceextender, SigEventArgs args) { CrestronConsole.PrintLine("Application Control Reserved Sig {0}", args.Sig.Number); //Sig change for the extender switch (args.Sig.Type) { case eSigType.Bool: { if (args.Sig.Number == _tswxx70.ExtenderApplicationControlReservedSigs.HideOpenApplicationFeedback.Number) { CrestronConsole.PrintLine("HideOpenApplicationFeedback: {0}", args.Sig.BoolValue); } break; } } } }