Class PlcDevice
Inheritance
System.Object
PlcDevice
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 PlcDevice
Properties
BroadcastNo
默认广播站号
Declaration
public int BroadcastNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ByteOrderSettings
Declaration
[JsonProperty("byteOrders")]
public ByteOrderSettings ByteOrderSettings { get; set; }
Property Value
Type | Description |
---|---|
ByteOrderSettings |
Class
设备类型
Declaration
public DeviceClass Class { get; set; }
Property Value
Type | Description |
---|---|
DeviceClass |
DefaultStationNo
默认站号
Declaration
public int DefaultStationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DeviceConnectionType
连接方式 DeviceConnectionType
Declaration
[JsonProperty("connType")]
public DeviceConnectionType DeviceConnectionType { get; set; }
Property Value
Type | Description |
---|---|
DeviceConnectionType |
EthernetSettings
Declaration
[JsonProperty("ethParams")]
public EthernetSettingsV1 EthernetSettings { get; set; }
Property Value
Type | Description |
---|---|
EthernetSettingsV1 |
Id
设备ID (不唯一)
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Manufacturer
厂家
Declaration
[JsonProperty("mfr")]
public string Manufacturer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaxStationNo
最大站号
Declaration
public int MaxStationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MiniDrivers
mini驱动
Declaration
public IList<MiniDeviceDriverInfo> MiniDrivers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<MiniDeviceDriverInfo> |
MinStationNo
最小站号
Declaration
public int MinStationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
设备名称
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Registers
寄存器列表
Declaration
[JsonProperty("regs")]
public IList<RegisterInfo> Registers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<RegisterInfo> |
SerialPortSettings
串口通讯默认参数
Declaration
[JsonProperty("comPortParams")]
public SerialPortSettingsV1 SerialPortSettings { get; set; }
Property Value
Type | Description |
---|---|
SerialPortSettingsV1 |
SupportedPlcs
支持的PLC类型
Declaration
public IList<string> SupportedPlcs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |