Class AddOrUpdatePlcDeviceV2
PLC驱动设备V2
Inheritance
System.Object
AddOrUpdatePlcDeviceV2
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 AddOrUpdatePlcDeviceV2
Properties
Alias
别名
Declaration
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BaudRate
波特率
Declaration
public int BaudRate { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
BroadcastStationNo
广播站号
Declaration
public int BroadcastStationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Class
设备类型
Declaration
public PlcClass Class { get; set; }
Property Value
Type | Description |
---|---|
PlcClass |
DataBits
数据位
Declaration
public int DataBits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DefaultStationNo
默认站号
Declaration
public int DefaultStationNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
EnableBroadcast
是否启用广播站号
Declaration
public bool EnableBroadcast { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Interface
串口接口类型 DeviceInterfaceTypes
Declaration
public DeviceInterfaceTypes Interface { get; set; }
Property Value
Type | Description |
---|---|
DeviceInterfaceTypes |
Ip
网络设备IP地址
Declaration
public string Ip { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParityType
校验位
Declaration
public ParityType ParityType { get; set; }
Property Value
Type | Description |
---|---|
ParityType |
PlcAdvancedSettings
高级参数 PlcAdvancedSettings
Declaration
[JsonProperty("advanced")]
public PlcAdvancedSettings PlcAdvancedSettings { get; set; }
Property Value
Type | Description |
---|---|
PlcAdvancedSettings |
PlcId
PLC Id(不唯一)
Declaration
public int PlcId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PlcName
PLC名称
Declaration
public string PlcName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Port
网络设备端口号
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PortNo
编号
Declaration
public int PortNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SlaveNo
从设备号
Declaration
public int SlaveNo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StopBits
停止位
Declaration
public int StopBits { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
类型 ServerType
Declaration
public ServerType Type { get; set; }
Property Value
Type | Description |
---|---|
ServerType |