|
|
|
@ -13,7 +13,7 @@ namespace DataBlockHelper.DBHelpers
|
|
|
|
|
|
|
|
|
|
public static void Add(Pipe pipe)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var siemensS7Net = PlcConnect.Instance;
|
|
|
|
|
siemensS7Net.Write($"{DbName}.2.0", pipe.MainPipieA);
|
|
|
|
|
siemensS7Net.Write($"{DbName}.6.0", pipe.AuxPipieA);
|
|
|
|
@ -28,4 +28,5 @@ namespace DataBlockHelper.DBHelpers
|
|
|
|
|
siemensS7Net.Write($"{DbName}.26.0", pipe.UpperPressure);
|
|
|
|
|
siemensS7Net.Write($"{DbName}.30.0", pipe.LowerPressure);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|