Class BoxDeviceInfo
盒子上的某个设备的描述类
Inheritance
System.Object
BoxDeviceInfo
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: FBoxClientDriver.Contract
Assembly: FBoxClientDriver.Contract.dll
Syntax
public class BoxDeviceInfo
Properties
DeviceId
设备ID
Declaration
public int DeviceId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DeviceName
设备名称
Declaration
public string DeviceName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IP
以太网设备静态IP地址
Declaration
public string IP { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Port
以太网设备监听端口
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PortNo
当设备接口为串口时,表示串口号,从0开始。
Declaration
public int PortNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ServerId
设备类型,0表示串口设备,2表示以太网设备
Declaration
public int ServerId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StationNo
站号
Declaration
public int StationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |