标签变量参数更改
This commit is contained in:
@@ -1413,7 +1413,7 @@ namespace CapMachine.Wpf.Services
|
||||
|
||||
while (ThreadEnable)
|
||||
{
|
||||
await Task.Delay(20);
|
||||
await Task.Delay(100);
|
||||
//await Task.CompletedTask;
|
||||
|
||||
DiagnosticsTime.Reset();
|
||||
@@ -1467,7 +1467,7 @@ namespace CapMachine.Wpf.Services
|
||||
if (itemCanLinGroup.Value.Group == "压缩机")
|
||||
{
|
||||
//尝试获取模型信息
|
||||
if (TagManger.TryGetCapPVModel(itemCanLinGroup.Key, out QuickAttrCell? pVModel))
|
||||
if (TagManger.TryGetCapPVModelByShortValueTag(itemCanLinGroup.Key, out MeterValueAttrCell? pVModel))
|
||||
{
|
||||
switch (ConfigService.CanLinRunStateModel.CurSysSelectedCanLin)
|
||||
{
|
||||
@@ -1490,6 +1490,7 @@ namespace CapMachine.Wpf.Services
|
||||
SiemensDrive.Write(pVModel!.Address!.Replace("W", ""), (short)(LinDriveService.GetLdfValueByName(itemCanLinGroup.Value.NameNoUnit) * itemCanLinGroup.Value.Precision));
|
||||
break;
|
||||
case CanLinEnum.No:
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user