diff --git a/ProductionSystem/Forms/HomeFormInfo.cs b/ProductionSystem/Forms/HomeFormInfo.cs index b45d0cc..266d434 100644 --- a/ProductionSystem/Forms/HomeFormInfo.cs +++ b/ProductionSystem/Forms/HomeFormInfo.cs @@ -1635,9 +1635,7 @@ namespace ProductionSystem.Forms if (entity != null) { string productBarCode = GetCode(); - - - + var value = OmronHelper.GetPlcVal(entity.DataType, entity.Address); if (value.Item2.ToDouble().ToInt() == 1) {