From bd6818fc9d40f343547bafca0743658f3c0379dc Mon Sep 17 00:00:00 2001
From: Admin <Admin@ADMIN>
Date: 星期四, 11 十二月 2025 10:16:33 +0800
Subject: [PATCH] 优化部分程序
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA.Common/LayerToStation.cs | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Common/LayerToStation.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Common/LayerToStation.cs"
index 214dc46..1e39c4b 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Common/LayerToStation.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Common/LayerToStation.cs"
@@ -139,29 +139,29 @@
switch (layer)
{
case 1:
- station = "90100";
+ station = "60100";
break;
case 2:
- station = "90200";
+ station = "60200";
break;
case 3:
- station = "90300";
+ station = "60300";
break;
case 4:
- station = "90400";
+ station = "60400";
break;
case 5:
- station = "90500";
+ station = "60500";
break;
case 6:
- station = "90600";
+ station = "60600";
break;
case 7:
- station = "90700";
+ station = "60700";
break;
- case 8:
+ /*case 8:
station = "90800";
- break;
+ break;*/
}
return station;
}
@@ -173,21 +173,21 @@
/// <returns></returns>
public static string GetOutboundStation(string targetStation, string direction)
{
- if ("4鍙峰帇瑁呬綅".Equals(targetStation))
+ if ("1鍙峰帇瑁呬綅".Equals(targetStation))
{
if ("left".Equals(direction))
return "70103";
else
return "70101";
}
- else if ("3鍙峰帇瑁呬綅".Equals(targetStation))
+ else if ("2鍙峰帇瑁呬綅".Equals(targetStation))
{
if ("left".Equals(direction))
return "70106";
else
return "70104";
}
- else if ("2鍙峰帇瑁呬綅".Equals(targetStation))
+ /*else if ("2鍙峰帇瑁呬綅".Equals(targetStation))
{
if ("left".Equals(direction))
return "70110";
@@ -200,7 +200,7 @@
return "70114";
else
return "70113";
- }
+ }*/
return "";
}
}
--
Gitblit v1.9.3