mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-06 16:06:34 +08:00
重写IOC容器绑定逻辑
This commit is contained in:
@@ -17,18 +17,35 @@ namespace Net461DllTest.Enums
|
||||
public enum PlcVarEnum
|
||||
{
|
||||
None,
|
||||
/// <summary>
|
||||
/// 车位号
|
||||
/// </summary>
|
||||
[PlcValue(typeof(short), "V100", VarType.Writable)]
|
||||
SpaceNum,
|
||||
|
||||
/// <summary>
|
||||
/// 上位机指令
|
||||
/// </summary>
|
||||
[PlcValue(typeof(short), "V102", VarType.Writable)]
|
||||
CmdForPLC,
|
||||
|
||||
/// <summary>
|
||||
/// PLC当前存取车位号
|
||||
/// </summary>
|
||||
[PlcValue(typeof(short), "V110", VarType.ReadOnly)]
|
||||
DoingSpaceNum,
|
||||
|
||||
/// <summary>
|
||||
/// 下位机状态
|
||||
/// </summary>
|
||||
[PlcValue(typeof(short), "V112", VarType.ReadOnly)]
|
||||
PLCState,
|
||||
|
||||
/// <summary>
|
||||
/// 门1正常待机车位号,存车完成地面车位0
|
||||
/// </summary>
|
||||
[PlcValue(typeof(short), "V114", VarType.ReadOnly)]
|
||||
Door1CurSpaceNum,
|
||||
|
||||
/// <summary>
|
||||
/// 门2正常待机车位号,存车完成地面车位0
|
||||
@@ -73,6 +90,17 @@ namespace Net461DllTest.Enums
|
||||
[PlcValue(typeof(bool), "V207.4", VarType.ReadOnly)]
|
||||
IsDoor2ClosedDone,
|
||||
|
||||
/// <summary>
|
||||
/// 通道1是否有车
|
||||
/// </summary>
|
||||
[PlcValue(typeof(bool), "V284.7", VarType.ReadOnly)]
|
||||
HasCarInTone1,
|
||||
|
||||
/// <summary>
|
||||
/// 通道2是否有车
|
||||
/// </summary>
|
||||
[PlcValue(typeof(bool), "V286.7", VarType.ReadOnly)]
|
||||
HasCarInTone2,
|
||||
|
||||
/// <summary>
|
||||
/// 下位机异常代码
|
||||
@@ -80,6 +108,12 @@ namespace Net461DllTest.Enums
|
||||
[PlcValue(typeof(short), "V2", VarType.ReadOnly)]
|
||||
ErrorCode,
|
||||
|
||||
/// <summary>
|
||||
/// 2层以上的空板是否在待机
|
||||
/// </summary>
|
||||
[PlcValue(typeof(bool), "V200.7", VarType.ReadOnly)]
|
||||
IsOver2FlowStanded,
|
||||
|
||||
/// <summary>
|
||||
/// 1号门指示灯
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user