diff --git a/DataBlockHelper/DBHelpers/DB92WriterHelp.cs b/DataBlockHelper/DBHelpers/DB92WriterHelp.cs index 30c7469..7a61b42 100644 --- a/DataBlockHelper/DBHelpers/DB92WriterHelp.cs +++ b/DataBlockHelper/DBHelpers/DB92WriterHelp.cs @@ -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); } + } } diff --git a/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml b/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml index af172fb..09c980d 100644 --- a/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml +++ b/Main/MCEdit/Data/MCProject/nodeForm/MainDetail.xml @@ -1,6 +1,586 @@ + + + + Red + DarkGray + + + False + + + + None + True + True + 0 + ButtonHighlight + 247, 79 + topPressure_V2 + 11, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 0 + ButtonHighlight + 380, 79 + topPressure_V3 + 11, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 0 + ButtonHighlight + 515, 77 + topPressure_V4 + 11, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 0 + ButtonHighlight + 651, 80 + topPressure_V5 + 11, 12 + + + + + Red + DarkGray + + + False + + + + None + True + True + 0 + ButtonHighlight + 124, 77 + topPressure_V1 + 11, 12 + + + + + 544, 88 + BU4BLT04 + 14, 13 + + + + + 531, 65 + BU4BLT03 + 14, 13 + + + + + 508, 65 + BU4BLT02 + 14, 13 + + + + + 494, 88 + BU4BLT01 + 14, 13 + + + + + 677, 88 + BU5BLT01 + 14, 13 + + + + + 409, 88 + BU3BLT04 + 14, 13 + + + + + 396, 65 + BU3BLT03 + 14, 13 + + + + + 374, 65 + BU3BLT02 + 14, 13 + + + + + 360, 88 + BU3BLT01 + 14, 13 + + + + + 277, 88 + BU2BLT02 + 14, 13 + + + + + 237, 88 + BU2BLT01 + 14, 13 + + + + + 154, 88 + BU1BLT04 + 14, 13 + + + + + 140, 65 + BU1BLT03 + 14, 13 + + + + + 118, 65 + BU1BLT02 + 14, 13 + + + + + 104, 88 + BU1BLT01 + 14, 13 + + + + + 544, 48 + BU1NSF01 + 14, 13 + + + + + 508, 31 + BU1LSF01 + 14, 13 + + + + + 531, 31 + BU1MSF01 + 14, 13 + + + + + 494, 48 + BU1KSF01 + 14, 13 + + + + + 677, 48 + BU1OSF01 + 14, 13 + + + + + 409, 49 + BU1JSF01 + 14, 13 + + + + + 373, 31 + BU1HSF01 + 14, 13 + + + + + 140, 31 + BU1CSF01 + 14, 13 + + + + + 103, 49 + BU1ASF01 + 14, 13 + + + + + 277, 49 + BU1FSF01 + 14, 13 + + + + + 237, 49 + BU1ESF01 + 14, 13 + + + + + 396, 31 + BU1ISF01 + 14, 13 + + + + + 154, 49 + BU1DSF01 + 14, 13 + + + + + 360, 49 + BU1GSF01 + 14, 13 + + + + + 118, 31 + BU1BSF01 + 14, 13 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 535, 26 + SpecialLabelBlue261 + 3, 84 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 512, 25 + SpecialLabelBlue260 + 3, 84 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 548, 42 + SpecialLabelBlue259 + 3, 74 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 498, 42 + SpecialLabelBlue258 + 3, 74 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 400, 27 + SpecialLabelBlue265 + 3, 84 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 377, 26 + SpecialLabelBlue264 + 3, 84 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 413, 43 + SpecialLabelBlue263 + 3, 74 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 363, 43 + SpecialLabelBlue262 + 3, 74 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 144, 25 + SpecialLabelBlue267 + 3, 84 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 121, 24 + SpecialLabelBlue266 + 3, 84 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 680, 35 + SpecialLabelBlue268 + 3, 77 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 280, 43 + SpecialLabelBlue270 + 3, 70 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 241, 41 + SpecialLabelBlue269 + 3, 70 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 157, 41 + SpecialLabelBlue271 + 3, 74 + + + + + + + False + + + + None + True + True + MiddleCenter + MintCream + 107, 41 + SpecialLabelBlue272 + 3, 74 + @@ -7352,7 +7932,7 @@ ylNormal - 644, 22 + 642, 22 DM1OSF01 41, 14 @@ -7364,7 +7944,7 @@ ylNormal - 337, 12 + 339, 12 DM1HSF01 41, 14 @@ -7376,19 +7956,19 @@ ylNormal - 198, 29 + 203, 27 DM1ESF01 41, 14 ylNormal - 73, 28 + 69, 28 DM1ASF01 41, 14 ylNormal - 87, 12 + 84, 11 DM1BSF01 41, 14 @@ -7400,31 +7980,31 @@ ylNormal - 279, 29 + 280, 29 DM1FSF01 41, 14 ylNormal - 409, 29 + 412, 29 DM1JSF01 41, 14 ylNormal - 397, 12 + 399, 13 DM1ISF01 41, 14 ylNormal - 543, 28 + 548, 28 DM1NSF01 41, 14 ylNormal - 531, 12 + 535, 12 DM1MSF01 41, 14 @@ -7574,113 +8154,11 @@ 0 宋体, 12pt ButtonHighlight - 1583, 295 - WScale_4_ActWeight - 16, 16 - - - - - Red - DarkGray - - - False - - - - None - True - True - 0 - ButtonHighlight - 654, 133 - Vessel_5_ActWeight - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 0 - 宋体, 12pt - ButtonHighlight - 1060, 294 - WScale_1_ActWeight - 16, 16 - - - - - Red - DarkGray - - - False - - - - None - True - True - 0 - 宋体, 12pt - ButtonHighlight - 1024, 295 - WScale_3_ActWeight - 16, 16 - - - - - Red - DarkGray - - - False - - - - None - True - True - 0 - ButtonHighlight - 128, 132 - Vessel_1_ActWeight - 11, 12 - - - - - Red - DarkGray - - - False - - - - None - True - True - 0 - ButtonHighlight - 516, 134 - Vessel_4_ActWeight - 11, 12 + 1583, 295 + WScale_4_ActWeight + 16, 16 - + Red @@ -7696,11 +8174,11 @@ True 0 ButtonHighlight - 381, 133 - Vessel_3_ActWeight + 654, 133 + Vessel_5_ActWeight 11, 12 - + Red @@ -7715,12 +8193,13 @@ True True 0 + 宋体, 12pt ButtonHighlight - 251, 133 - Vessel_2_ActWeight - 11, 12 + 1060, 294 + WScale_1_ActWeight + 16, 16 - + Red @@ -7735,12 +8214,13 @@ True True 0 + 宋体, 12pt ButtonHighlight - 246, 78 - topPressure_V2 - 11, 12 + 1024, 295 + WScale_3_ActWeight + 16, 16 - + Red @@ -7756,11 +8236,11 @@ True 0 ButtonHighlight - 379, 78 - topPressure_V3 + 128, 132 + Vessel_1_ActWeight 11, 12 - + Red @@ -7776,11 +8256,11 @@ True 0 ButtonHighlight - 513, 76 - topPressure_V4 + 516, 134 + Vessel_4_ActWeight 11, 12 - + Red @@ -7796,11 +8276,11 @@ True 0 ButtonHighlight - 648, 79 - topPressure_V5 + 381, 133 + Vessel_3_ActWeight 11, 12 - + Red @@ -7816,8 +8296,8 @@ True 0 ButtonHighlight - 126, 76 - topPressure_V1 + 251, 133 + Vessel_2_ActWeight 11, 12 @@ -8260,13 +8740,13 @@ ylNormal - 153, 29 + 156, 28 DM1DSF01 41, 14 ylNormal - 461, 27 + 460, 28 DM1KSF01 41, 14 @@ -8429,34 +8909,6 @@ SpecialLabelBlue328 1, 95 - - - - 544, 54 - BU1NSF01 - 14, 13 - - - - - 505, 54 - BU1LSF01 - 14, 13 - - - - - 532, 54 - BU1MSF01 - 14, 13 - - - - - 490, 54 - BU1KSF01 - 14, 13 - TurnOn @@ -8539,70 +8991,6 @@ SpecialLabelBlue330 1, 123 - - - - 544, 86 - BU4BLT04 - 14, 13 - - - - ptUpToDown - ptTurnOff - - 545, 41 - StraightTubeV20 - 5, 71 - - - - - 532, 81 - BU4BLT03 - 14, 13 - - - - - 505, 81 - BU4BLT02 - 14, 13 - - - - - 490, 84 - BU4BLT01 - 14, 13 - - - - ptUpToDown - ptTurnOff - - 533, 25 - StraightTubeV19 - 5, 82 - - - - ptUpToDown - ptTurnOff - - 493, 41 - StraightTubeV18 - 5, 73 - - - - ptUpToDown - ptTurnOff - - 508, 25 - StraightTubeV17 - 5, 84 - 493, 107 LouDou44 @@ -9223,29 +9611,6 @@ PControl18 10, 15 - - - - 675, 54 - BU1OSF01 - 14, 13 - - - - - 675, 86 - BU5BLT01 - 14, 13 - - - - ptUpToDown - ptTurnOff - - 676, 36 - StraightTubeV21 - 5, 76 - @@ -9403,76 +9768,6 @@ SheBei1 67, 35 - - - - 409, 55 - BU1JSF01 - 14, 13 - - - - - 370, 55 - BU1HSF01 - 14, 13 - - - - - 144, 53 - BU1CSF01 - 14, 13 - - - - - 102, 53 - BU1ASF01 - 14, 13 - - - - - 280, 56 - BU1FSF01 - 14, 13 - - - - - 226, 55 - BU1ESF01 - 14, 13 - - - - - 397, 55 - BU1ISF01 - 14, 13 - - - - - 157, 53 - BU1DSF01 - 14, 13 - - - - - 355, 55 - BU1GSF01 - 14, 13 - - - - - 117, 53 - BU1BSF01 - 14, 13 - TurnOff @@ -10653,118 +10948,6 @@ SpecialLabelBlue483 326, 3 - - - - 409, 87 - BU3BLT04 - 14, 13 - - - - ptUpToDown - ptTurnOff - - 410, 42 - StraightTubeV28 - 5, 71 - - - - - 397, 82 - BU3BLT03 - 14, 13 - - - - - 370, 82 - BU3BLT02 - 14, 13 - - - - - 355, 85 - BU3BLT01 - 14, 13 - - - - ptUpToDown - ptTurnOff - - 398, 27 - StraightTubeV27 - 5, 81 - - - - ptUpToDown - ptTurnOff - - 358, 42 - StraightTubeV23 - 5, 76 - - - - ptUpToDown - ptTurnOff - - 373, 27 - StraightTubeV22 - 5, 83 - - - - - 281, 86 - BU2BLT02 - 14, 13 - - - - ptUpToDown - ptTurnOff - - 282, 42 - StraightTubeV35 - 5, 70 - - - - - 227, 84 - BU2BLT01 - 14, 13 - - - - ptUpToDown - ptTurnOff - - 230, 42 - StraightTubeV30 - 5, 75 - - - - - 156, 89 - BU1BLT04 - 14, 13 - - - - ptUpToDown - ptTurnOff - - 157, 43 - StraightTubeV37 - 5, 72 - @@ -12032,54 +12215,6 @@ LouDou47 68, 81 - - - - 144, 84 - BU1BLT03 - 14, 13 - - - - - 117, 84 - BU1BLT02 - 14, 13 - - - - - 102, 87 - BU1BLT01 - 14, 13 - - - - ptUpToDown - ptTurnOff - - 145, 27 - StraightTubeV115 - 5, 83 - - - - ptUpToDown - ptTurnOff - - 105, 42 - StraightTubeV120 - 5, 74 - - - - ptUpToDown - ptTurnOff - - 120, 27 - StraightTubeV121 - 5, 85 - 101, 106 LouDou48