1
This commit is contained in:
@@ -163,8 +163,8 @@ namespace CleanMachineHMI
|
||||
{
|
||||
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
||||
{
|
||||
string PlcItemId = item.PlcItemId.ToString();
|
||||
string plcdatatype = item.PlcItemDataType.ToString();
|
||||
//string PlcItemId = item.PlcItemId.ToString();
|
||||
// string plcdatatype = item.PlcItemDataType.ToString();
|
||||
int plcItemDeviationAddress = Convert.ToInt32(item.PlcItemDeviationAddress);
|
||||
item.PlcItemValue = readBytArr_M[plcItemDeviationAddress].ToString();
|
||||
GlobalHelper.ShowSensorStatus(item, new EventArgs());
|
||||
@@ -174,8 +174,8 @@ namespace CleanMachineHMI
|
||||
{
|
||||
if (!string.IsNullOrEmpty(item.PlcItemDeviationAddress))
|
||||
{
|
||||
string PlcItemId = item.PlcItemId.ToString();
|
||||
string plcdatatype = item.PlcItemDataType.ToString();
|
||||
//string PlcItemId = item.PlcItemId.ToString();
|
||||
//string plcdatatype = item.PlcItemDataType.ToString();
|
||||
int plcItemDeviationAddress = Convert.ToInt32(item.PlcItemDeviationAddress);
|
||||
item.PlcItemValue = readBytArr_M1[plcItemDeviationAddress].ToString();
|
||||
GlobalHelper.ShowSensorStatus(item, new EventArgs());
|
||||
@@ -210,7 +210,7 @@ namespace CleanMachineHMI
|
||||
{
|
||||
|
||||
string PlcItemId = item.PlcItemId.ToString();
|
||||
string plcdatatype = item.PlcItemDataType.ToString();
|
||||
// string plcdatatype = item.PlcItemDataType.ToString();
|
||||
int plcItemDeviationAddress = Convert.ToInt32(item.PlcItemDeviationAddress);
|
||||
if (Convert.ToInt32(item.PlcItemPriAddress) < 409)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user