将S7后台服务移植到DMS.Infrastructure项目中
This commit is contained in:
@@ -41,12 +41,12 @@ public class Device
|
||||
/// <summary>
|
||||
/// S7 PLC的机架号。
|
||||
/// </summary>
|
||||
public int Rack { get; set; }
|
||||
public short Rack { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// S7 PLC的槽号。
|
||||
/// </summary>
|
||||
public int Slot { get; set; }
|
||||
public short Slot { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// OPC UA 服务器地址 (仅当 Protocol 为 OpcUa 时有效)。
|
||||
@@ -65,4 +65,5 @@ public class Device
|
||||
|
||||
public string CpuType { get; set; }
|
||||
public DeviceType DeviceType { get; set; }
|
||||
public bool IsRuning { get; set; }
|
||||
}
|
||||
@@ -140,4 +140,7 @@ public class Variable
|
||||
/// 指示变量是否被修改。
|
||||
/// </summary>
|
||||
public bool IsModified { get; set; }
|
||||
|
||||
public PollLevelType PollLevelType { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user