|
|
@@ -351,7 +351,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
{ |
|
|
|
if (SiemensDevice.IsConnected) |
|
|
|
{ |
|
|
|
return SiemensDevice.Siemens_PLC_S7.Read(Address); |
|
|
|
return SiemensDevice.Siemens_PLC_S7.Read<object>(Address); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
@@ -373,7 +373,7 @@ namespace BPASmartClient.JXJFoodBigStation.Model |
|
|
|
{ |
|
|
|
if (HKDevice.IsConnected) |
|
|
|
{ |
|
|
|
return HKDevice.HK_PLC_S7.Read(Address); |
|
|
|
return HKDevice.HK_PLC_S7.Read<object>(Address); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|