Class BoxDeviceInfo
盒子上的某个设备的描述类
Inheritance
Object
BoxDeviceInfo
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
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 |
---|---|
Int32 |
DeviceName
设备名称
Declaration
public string DeviceName { get; set; }
Property Value
Type | Description |
---|---|
String |
IP
以太网设备静态IP地址
Declaration
public string IP { get; set; }
Property Value
Type | Description |
---|---|
String |
Port
以太网设备监听端口
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
PortNo
当设备接口为串口时,表示串口号,从0开始。
Declaration
public int PortNo { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ServerId
设备类型,0表示串口设备,2表示以太网设备
Declaration
public int ServerId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
StationNo
站号
Declaration
public int StationNo { get; set; }
Property Value
Type | Description |
---|---|
Int32 |