Represents a single device. Part of the Facade pattern example. More...
Public Member Functions | |
DeviceNode (string name, uint idcode, DeviceTypes tapType, bool initiallyVisible) | |
Constructor. | |
Public Attributes | |
bool | Visible |
Whether the device is visible in the device chain. | |
string | Name |
Name of this device. | |
uint | Idcode |
The idcode for this device. | |
DeviceTypes | DeviceType |
A value from the DeviceTypes enumeration identifying the type of the device. | |
Represents a single device. Part of the Facade pattern example.
Definition at line 48 of file Facade_ComplicatedSubSystem.cs.
|
inline |
Constructor.
name | Name to use. |
idcode | idcode for the device. |
tapType | Value from the DeviceTypes enumeration. |
initiallyVisible | true if initially visible; otherwise false. |
Definition at line 78 of file Facade_ComplicatedSubSystem.cs.
References DeviceNode.DeviceType, DeviceNode.Idcode, DeviceNode.Name, and DeviceNode.Visible.
DeviceTypes DeviceType |
A value from the DeviceTypes enumeration identifying the type of the device.
Definition at line 69 of file Facade_ComplicatedSubSystem.cs.
Referenced by DeviceChain.AddNode(), DeviceNode.DeviceNode(), and DeviceChain.ResetVisibility().
uint Idcode |
The idcode for this device.
Definition at line 63 of file Facade_ComplicatedSubSystem.cs.
Referenced by DeviceNode.DeviceNode(), and DeviceChain.GetIdCodesForVisibleNodes().
string Name |
Name of this device.
Definition at line 58 of file Facade_ComplicatedSubSystem.cs.
Referenced by DeviceNode.DeviceNode(), Visitor_Shop.PickupOrder(), Visitor_Shop.PlaceOrder(), and EntryInformation.ToString().
bool Visible |
Whether the device is visible in the device chain.
Definition at line 53 of file Facade_ComplicatedSubSystem.cs.
Referenced by DeviceNode.DeviceNode(), and DeviceChain.GetIdCodesForVisibleNodes().