|
@@ -40,8 +40,9 @@ namespace WCS.WorkEngineering
|
|
|
new StationSegmentInfo(8161, 8270, "10.30.43.93"),
|
|
|
new StationSegmentInfo(8001, 8160, "10.30.43.73"),
|
|
|
new StationSegmentInfo(8300, 8325, "10.30.43.73"),
|
|
|
+ //new StationSegmentInfo(8301, 8325, "10.30.43.73"),
|
|
|
};
|
|
|
-
|
|
|
+
|
|
|
foreach (var item in segmentInfo)
|
|
|
{
|
|
|
if (item.Start == 8300)
|
|
@@ -54,7 +55,7 @@ namespace WCS.WorkEngineering
|
|
|
conv.AddProtocol<IStation521>((i - 8001) * 16, 521, item.IP);
|
|
|
conv.AddProtocol<IStation523>((i - 8001) * 12, 523, item.IP);
|
|
|
}
|
|
|
- }
|
|
|
+ }
|
|
|
else
|
|
|
{
|
|
|
for (int i = item.Start; i <= item.End; i++)
|