| | |
| | | using iWareCommon.Utils; |
| | | using iWareModel; |
| | | using iWareSda.Devices._3_Station.StationModel; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | public static string W_DBHeaderWithSeparate_BZ30 = "3005" + WareSdaStruct.PLCDBADDRESS_SEPARATE; |
| | | |
| | | public static string W_DBHeaderWithSeparate_269 = "3006" + WareSdaStruct.PLCDBADDRESS_SEPARATE; |
| | | public static string W_DBHeaderWithSeparate_3007 = "3007" + WareSdaStruct.PLCDBADDRESS_SEPARATE; |
| | | |
| | | /// <summary> |
| | | /// 读取DB |
| | |
| | | //写入地址 |
| | | _dbBlockForWrite.W_StationForWriteCommList = new List<StationDBForWriteComm>(); |
| | | |
| | | |
| | | _dbBlockForWrite.W_StationForWriteCommList.Add(new StationDBForWriteComm() |
| | | { |
| | | StationCode = StationLocationEnum.首次扫码工位.ToString(), |
| | |
| | | #endregion |
| | | }; |
| | | |
| | | |
| | | _dbBlockForRead.R_StationForReadCommList.Add(new StationDBForReadComm() |
| | | { |
| | | StationCode = StationLocationEnum.BZ3007.ToString(), |
| | | |
| | | R_AllowCut = W_DBHeaderWithSeparate_3007 + "0.0", |
| | | }); |
| | | |
| | | _dbBlockForRead.R_StationForReadCommList.Add(new StationDBForReadComm() |
| | | { |
| | | StationCode = StationLocationEnum.首次扫码工位.ToString(), |