|
@@ -329,7 +329,7 @@ namespace WCS.WorkEngineering.Extensions
|
|
|
"1736" => "3SR",
|
|
|
"1741" => "3SR",
|
|
|
|
|
|
- #endregion 库二
|
|
|
+ #endregion 库三
|
|
|
|
|
|
_ => "",
|
|
|
};
|
|
@@ -392,196 +392,197 @@ namespace WCS.WorkEngineering.Extensions
|
|
|
桁架09异常缓存放行点 = 1L << 41,
|
|
|
二次码垛RGV取货口 = 1L << 42,
|
|
|
无交互触发设备 = 1L << 43,
|
|
|
+ 桁架18取货点 = 1L << 44,
|
|
|
}
|
|
|
+}
|
|
|
|
|
|
+/// <summary>
|
|
|
+/// 输送机段信息
|
|
|
+/// </summary>
|
|
|
+public class StationSegmentInfo
|
|
|
+{
|
|
|
/// <summary>
|
|
|
- /// 输送机段信息
|
|
|
+ /// 构造函数
|
|
|
/// </summary>
|
|
|
- public class StationSegmentInfo
|
|
|
+ /// <param name="start">起始设备号</param>
|
|
|
+ /// <param name="end">结束设备号</param>
|
|
|
+ /// <param name="ip">ip</param>
|
|
|
+ public StationSegmentInfo(int start, int end, string ip)
|
|
|
{
|
|
|
- /// <summary>
|
|
|
- /// 构造函数
|
|
|
- /// </summary>
|
|
|
- /// <param name="start">起始设备号</param>
|
|
|
- /// <param name="end">结束设备号</param>
|
|
|
- /// <param name="ip">ip</param>
|
|
|
- public StationSegmentInfo(int start, int end, string ip)
|
|
|
- {
|
|
|
- Start = start;
|
|
|
- End = end;
|
|
|
- Ip = ip;
|
|
|
- }
|
|
|
+ Start = start;
|
|
|
+ End = end;
|
|
|
+ Ip = ip;
|
|
|
+ }
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 起始设备编号
|
|
|
- /// </summary>
|
|
|
- public int Start { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 起始设备编号
|
|
|
+ /// </summary>
|
|
|
+ public int Start { get; set; }
|
|
|
|
|
|
- /// <summary>
|
|
|
- ///结束设备编号
|
|
|
- /// </summary>
|
|
|
- public int End { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ ///结束设备编号
|
|
|
+ /// </summary>
|
|
|
+ public int End { get; set; }
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 输送机段所属IP
|
|
|
- /// </summary>
|
|
|
- public string Ip { get; set; }
|
|
|
- }
|
|
|
+ /// <summary>
|
|
|
+ /// 输送机段所属IP
|
|
|
+ /// </summary>
|
|
|
+ public string Ip { get; set; }
|
|
|
+}
|
|
|
|
|
|
+/// <summary>
|
|
|
+/// RGV信息
|
|
|
+/// </summary>
|
|
|
+public class RgvSegmentInfo
|
|
|
+{
|
|
|
/// <summary>
|
|
|
- /// RGV信息
|
|
|
+ /// 构造函数
|
|
|
/// </summary>
|
|
|
- public class RgvSegmentInfo
|
|
|
+ /// <param name="code"></param>
|
|
|
+ /// <param name="ip">ip</param>
|
|
|
+ public RgvSegmentInfo(int code, string ip)
|
|
|
{
|
|
|
- /// <summary>
|
|
|
- /// 构造函数
|
|
|
- /// </summary>
|
|
|
- /// <param name="code"></param>
|
|
|
- /// <param name="ip">ip</param>
|
|
|
- public RgvSegmentInfo(int code, string ip)
|
|
|
- {
|
|
|
- Code = code;
|
|
|
- Ip = ip;
|
|
|
- }
|
|
|
-
|
|
|
- /// <summary>
|
|
|
- /// 设备编号
|
|
|
- /// </summary>
|
|
|
- public int Code { get; set; }
|
|
|
-
|
|
|
- /// <summary>
|
|
|
- /// 输送机段所属IP
|
|
|
- /// </summary>
|
|
|
- public string Ip { get; set; }
|
|
|
+ Code = code;
|
|
|
+ Ip = ip;
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 桁架信息
|
|
|
+ /// 设备编号
|
|
|
/// </summary>
|
|
|
- public class TrussSegmentInfo
|
|
|
- {
|
|
|
- /// <summary>
|
|
|
- /// 构造函数
|
|
|
- /// </summary>
|
|
|
- /// <param name="code"></param>
|
|
|
- /// <param name="ip">ip</param>
|
|
|
- public TrussSegmentInfo(int code, string ip)
|
|
|
- {
|
|
|
- Code = code;
|
|
|
- Ip = ip;
|
|
|
- }
|
|
|
+ public int Code { get; set; }
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 设备编号
|
|
|
- /// </summary>
|
|
|
- public int Code { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 输送机段所属IP
|
|
|
+ /// </summary>
|
|
|
+ public string Ip { get; set; }
|
|
|
+}
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 输送机段所属IP
|
|
|
- /// </summary>
|
|
|
- public string Ip { get; set; }
|
|
|
+/// <summary>
|
|
|
+/// 桁架信息
|
|
|
+/// </summary>
|
|
|
+public class TrussSegmentInfo
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// 构造函数
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="code"></param>
|
|
|
+ /// <param name="ip">ip</param>
|
|
|
+ public TrussSegmentInfo(int code, string ip)
|
|
|
+ {
|
|
|
+ Code = code;
|
|
|
+ Ip = ip;
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 扫码器信息
|
|
|
+ /// 设备编号
|
|
|
/// </summary>
|
|
|
- public class BcrInfo
|
|
|
- {
|
|
|
- /// <summary>
|
|
|
- /// 构造函数
|
|
|
- /// </summary>
|
|
|
- /// <param name="deviceNo">设备编号</param>
|
|
|
- /// <param name="ip">ip</param>
|
|
|
- public BcrInfo(string[] deviceNo, string ip)
|
|
|
- {
|
|
|
- DeviceNo = deviceNo;
|
|
|
- Ip = ip;
|
|
|
- }
|
|
|
+ public int Code { get; set; }
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 设备编号
|
|
|
- /// </summary>
|
|
|
- public string[] DeviceNo { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 输送机段所属IP
|
|
|
+ /// </summary>
|
|
|
+ public string Ip { get; set; }
|
|
|
+}
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// ip
|
|
|
- /// </summary>
|
|
|
- public string Ip { get; set; }
|
|
|
+/// <summary>
|
|
|
+/// 扫码器信息
|
|
|
+/// </summary>
|
|
|
+public class BcrInfo
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// 构造函数
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="deviceNo">设备编号</param>
|
|
|
+ /// <param name="ip">ip</param>
|
|
|
+ public BcrInfo(string[] deviceNo, string ip)
|
|
|
+ {
|
|
|
+ DeviceNo = deviceNo;
|
|
|
+ Ip = ip;
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 外形信息
|
|
|
+ /// 设备编号
|
|
|
/// </summary>
|
|
|
- public class ShapeInfo
|
|
|
- {
|
|
|
- /// <summary>
|
|
|
- /// 构造函数
|
|
|
- /// </summary>
|
|
|
- /// <param name="deviceNo">设备编号</param>
|
|
|
- /// <param name="ip">ip</param>
|
|
|
- public ShapeInfo(int[] deviceNo, string ip)
|
|
|
- {
|
|
|
- DeviceNo = deviceNo;
|
|
|
- Ip = ip;
|
|
|
- }
|
|
|
+ public string[] DeviceNo { get; set; }
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 设备编号
|
|
|
- /// </summary>
|
|
|
- public int[] DeviceNo { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// ip
|
|
|
+ /// </summary>
|
|
|
+ public string Ip { get; set; }
|
|
|
+}
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// ip
|
|
|
- /// </summary>
|
|
|
- public string Ip { get; set; }
|
|
|
+/// <summary>
|
|
|
+/// 外形信息
|
|
|
+/// </summary>
|
|
|
+public class ShapeInfo
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// 构造函数
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="deviceNo">设备编号</param>
|
|
|
+ /// <param name="ip">ip</param>
|
|
|
+ public ShapeInfo(int[] deviceNo, string ip)
|
|
|
+ {
|
|
|
+ DeviceNo = deviceNo;
|
|
|
+ Ip = ip;
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 路径信息
|
|
|
+ /// 设备编号
|
|
|
/// </summary>
|
|
|
- public class RouteInfo
|
|
|
- {
|
|
|
- /// <summary>
|
|
|
- /// 构造函数
|
|
|
- /// </summary>
|
|
|
- /// <param name="deviceCode">起始点设备号</param>
|
|
|
- /// <param name="nextList">下一个设备集合</param>
|
|
|
- public RouteInfo(string deviceCode, string[] nextList)
|
|
|
- {
|
|
|
- DeviceCode = deviceCode;
|
|
|
- NextList = nextList;
|
|
|
- }
|
|
|
+ public int[] DeviceNo { get; set; }
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 设备号
|
|
|
- /// </summary>
|
|
|
- public string DeviceCode { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// ip
|
|
|
+ /// </summary>
|
|
|
+ public string Ip { get; set; }
|
|
|
+}
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 下一个设备
|
|
|
- /// </summary>
|
|
|
- public string[] NextList { get; set; }
|
|
|
+/// <summary>
|
|
|
+/// 路径信息
|
|
|
+/// </summary>
|
|
|
+public class RouteInfo
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// 构造函数
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="deviceCode">起始点设备号</param>
|
|
|
+ /// <param name="nextList">下一个设备集合</param>
|
|
|
+ public RouteInfo(string deviceCode, string[] nextList)
|
|
|
+ {
|
|
|
+ DeviceCode = deviceCode;
|
|
|
+ NextList = nextList;
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 缓存分流信息
|
|
|
+ /// 设备号
|
|
|
/// </summary>
|
|
|
- public class CacheBcr
|
|
|
- {
|
|
|
- public CacheBcr(string bcrCode, short nextAdd)
|
|
|
- {
|
|
|
- BcrCode = bcrCode;
|
|
|
- NextAdd = nextAdd;
|
|
|
- }
|
|
|
+ public string DeviceCode { get; set; }
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 条码
|
|
|
- /// </summary>
|
|
|
- public string BcrCode { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 下一个设备
|
|
|
+ /// </summary>
|
|
|
+ public string[] NextList { get; set; }
|
|
|
+}
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 下一个地址
|
|
|
- /// </summary>
|
|
|
- public short NextAdd { get; set; }
|
|
|
+/// <summary>
|
|
|
+/// 缓存分流信息
|
|
|
+/// </summary>
|
|
|
+public class CacheBcr
|
|
|
+{
|
|
|
+ public CacheBcr(string bcrCode, short nextAdd)
|
|
|
+ {
|
|
|
+ BcrCode = bcrCode;
|
|
|
+ NextAdd = nextAdd;
|
|
|
}
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 条码
|
|
|
+ /// </summary>
|
|
|
+ public string BcrCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 下一个地址
|
|
|
+ /// </summary>
|
|
|
+ public short NextAdd { get; set; }
|
|
|
}
|