Class WindowsPCFactory
Factory for creating Windows PC devices.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.WindowsPC.dll
Syntax
public sealed class WindowsPCFactory : DeviceFactoryBase, IDeviceFactory
Constructors
View SourceWindowsPCFactory(IPhoenixLogger, IEventAggregator)
Initializes a new instance of the WindowsPCFactory class.
Declaration
public WindowsPCFactory(IPhoenixLogger logger, IEventAggregator events)
Parameters
Type | Name | Description |
---|---|---|
IPhoenixLogger | logger | The current logger. |
IEventAggregator | events | The event aggregate service. |
Fields
View SourceFactoryDeviceDisplayName
The device type display name for this factory.
Declaration
public const string FactoryDeviceDisplayName = "Windows PC"
Field Value
Type | Description |
---|---|
System.String |
FactoryDeviceName
The device type name for this factory.
Declaration
public const string FactoryDeviceName = "Windows PC"
Field Value
Type | Description |
---|---|
System.String |
Methods
View SourceCreateDeviceInstance(IPAddress, String, String, String, String, String, Guid)
Creates an instance of a Windows PC device.
Declaration
public override IDevice CreateDeviceInstance(IPAddress address, string name, string alias, string configType, string configuration, string deviceId, Guid phoenixId)
Parameters
Type | Name | Description |
---|---|---|
System.Net.IPAddress | address | The IP of the device. |
System.String | name | The name of the device if known. |
System.String | alias | The alias of the device if known. |
System.String | configType | Device specific configuration type. |
System.String | configuration | Device specific configuration string. |
System.String | deviceId | The expected device id that will be matched to the id the device provides. |
System.Guid | phoenixId | The id for the device |
Returns
Type | Description |
---|---|
IDevice | A Windows PC device. |