|
- using BPASmartClient.Helper;
- using BPASmartClient.Modbus;
- using System;
- using System.Collections.Concurrent;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmartClient.JXJFoodSmallStation.Model.HK_PLC
- {
- public class DataComm
- {
- public volatile static DataComm Instance;
- public static DataComm GetInstance => Instance ?? (new DataComm());
- public DataComm() { }
- /// <summary>
- /// 是否允许配料
- /// </summary>
- public bool IsAllowDosing { get { return _mIsAllowDosing; } set { _mIsAllowDosing = value; } }
- private bool _mIsAllowDosing;
-
- public bool DosingFinishToPLC { get { return _mDosingFinishToPLC; } set { _mDosingFinishToPLC = value; } }
- private bool _mDosingFinishToPLC;
-
- private int _mStockBinLocationToPLC;
- public int StockBinLocationToPLC { get { return _mStockBinLocationToPLC; } set { _mStockBinLocationToPLC = value; } }
-
- public bool StatusSignToBPA { get { return _mStatusSignToBPA; } set { _mStatusSignToBPA = value; } }
- private bool _mStatusSignToBPA;
-
- private int _mStockBinLocationToBPA;
- public int StockBinLocationToBPA { get { return _mStockBinLocationToBPA; } set { _mStockBinLocationToBPA = value; } }
-
- private int _mBarrelNumToPLC;
- public int BarrelNumToPLC { get { return _mBarrelNumToPLC; } set { _mBarrelNumToPLC = value; } }
-
- /*public ConcurrentDictionary<int, StockBinLocations> DeviceLists = new ConcurrentDictionary<int, StockBinLocations>();*/
- }
-
- }
|