debug - 实例化代码缺少 - 修复

dep_nodyang
wangsr 1 year ago
parent 5b089e9709
commit b1158a6a17

@ -141,6 +141,10 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl
MesnacServiceManager.Instance.LoggingService.Info("配置已加载"); MesnacServiceManager.Instance.LoggingService.Info("配置已加载");
ManualLogControl("配置已加载 "); ManualLogControl("配置已加载 ");
DB2107 = new DB2107Helper();
DB2103 = new DB2103Helper();
timer = new Timer(); timer = new Timer();
timer.Interval = 1000; timer.Interval = 1000;
timer.Enabled = true; timer.Enabled = true;

@ -14,7 +14,7 @@ namespace DataBlockHelper.DBHelpers
public DB2107Helper() public DB2107Helper()
{ {
_bytes = PlcConnect.Instance.Read("DB2107.0.0", 2063).Content; _bytes = PlcConnect.Instance.Read("DB2107.0.0", 2064).Content;
} }
// public OperateResult<byte[]> GetAll=>PlcConnect.Instance.Read("DB2107.0.0", 2057); // public OperateResult<byte[]> GetAll=>PlcConnect.Instance.Read("DB2107.0.0", 2057);

Loading…
Cancel
Save