From 9e40412e6d20f07c1d98ceae5214093b50e2fb88 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期二, 03 六月 2025 17:25:10 +0800 Subject: [PATCH] 命名空间与文件夹名称优化 --- model/TN_Count_Diff.cs | 0 dispatchs/NDCHelper.cs | 0 model/TN_Count_Order.cs | 0 wms/WMSHelper.cs | 1 wms/WCSHelper.cs | 1 model/TN_Task.cs | 0 device/TcpServer.cs | 2 model/TN_Container.cs | 0 dispatchs/GZRobot.cs | 2 model/TN_Task_Action.cs | 0 model/TN_Loc_Container.cs | 0 api/AgvController.cs | 2 wms/ContainerHelper.cs | 1 wms/SYSHelper.cs | 3 - dispatchs/HostToAGV.cs | 0 model/TN_Outbound_Order.cs | 0 model/TN_CG_Detail.cs | 0 process/DeviceProcess.cs | 2 model/TN_Location.cs | 0 wms/LocationHelper.cs | 1 /dev/null | 0 model/Table.cs | 0 .vs/HH.WCS.Mobox3.AnGang/FileContentIndex/8d71ff97-9b72-48d6-9f47-39b04040aec2.vsidx | 0 dispatchs/NDCApi.cs | 2 dispatchs/NDC.cs | 0 core/WCSCore.cs | 1 model/TN_Count_CG_Detail.cs | 0 api/WmsController.cs | 2 model/BaseModel.cs | 0 HH.WCS.Mobox3.AnGang.csproj | 40 ++++++++++---------- util/HttpHelper.cs | 2 model/TN_Count_Plan.cs | 0 .vs/HH.WCS.Mobox3.AnGang/FileContentIndex/7edb35ec-db87-44fb-92d8-217fedcfbfc4.vsidx | 0 model/TN_CAR_IN.cs | 0 dispatchs/HanAo.cs | 2 .vs/HH.WCS.Mobox3.AnGang/FileContentIndex/99373dd3-bbba-4020-a01f-9c6df7555363.vsidx | 0 model/TN_Inbound_Order.cs | 0 37 files changed, 29 insertions(+), 35 deletions(-) diff --git a/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/58a869dd-63a6-4ba3-b662-00952ac61ff8.vsidx b/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/58a869dd-63a6-4ba3-b662-00952ac61ff8.vsidx deleted file mode 100644 index 8b70775..0000000 --- a/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/58a869dd-63a6-4ba3-b662-00952ac61ff8.vsidx +++ /dev/null Binary files differ diff --git a/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/7edb35ec-db87-44fb-92d8-217fedcfbfc4.vsidx b/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/7edb35ec-db87-44fb-92d8-217fedcfbfc4.vsidx new file mode 100644 index 0000000..0a14dbd --- /dev/null +++ b/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/7edb35ec-db87-44fb-92d8-217fedcfbfc4.vsidx Binary files differ diff --git a/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/8d71ff97-9b72-48d6-9f47-39b04040aec2.vsidx b/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/8d71ff97-9b72-48d6-9f47-39b04040aec2.vsidx new file mode 100644 index 0000000..c5ce0d9 --- /dev/null +++ b/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/8d71ff97-9b72-48d6-9f47-39b04040aec2.vsidx Binary files differ diff --git a/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/99373dd3-bbba-4020-a01f-9c6df7555363.vsidx b/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/99373dd3-bbba-4020-a01f-9c6df7555363.vsidx new file mode 100644 index 0000000..45db594 --- /dev/null +++ b/.vs/HH.WCS.Mobox3.AnGang/FileContentIndex/99373dd3-bbba-4020-a01f-9c6df7555363.vsidx Binary files differ diff --git a/HH.WCS.Mobox3.AnGang.csproj b/HH.WCS.Mobox3.AnGang.csproj index d590fca..c856966 100644 --- a/HH.WCS.Mobox3.AnGang.csproj +++ b/HH.WCS.Mobox3.AnGang.csproj @@ -266,36 +266,36 @@ <Compile Include="App_Start\SwaggerControllerDescProvider.cs" /> <Compile Include="device\SnapDevice.cs" /> <Compile Include="device\SnapManager.cs" /> - <Compile Include="models\TN_Count_CG_Detail.cs" /> - <Compile Include="models\TN_Count_Diff.cs" /> - <Compile Include="models\TN_Count_Order.cs" /> - <Compile Include="models\TN_Count_Plan.cs" /> - <Compile Include="models\TN_Inbound_Order.cs" /> - <Compile Include="models\TN_Outbound_Order.cs" /> + <Compile Include="model\TN_Count_CG_Detail.cs" /> + <Compile Include="model\TN_Count_Diff.cs" /> + <Compile Include="model\TN_Count_Order.cs" /> + <Compile Include="model\TN_Count_Plan.cs" /> + <Compile Include="model\TN_Inbound_Order.cs" /> + <Compile Include="model\TN_Outbound_Order.cs" /> <Compile Include="core\WMSCore.cs" /> - <Compile Include="models\BaseModel.cs" /> + <Compile Include="model\BaseModel.cs" /> <Compile Include="device\ModbusHelper.cs" /> <Compile Include="device\OpcUaHelper.cs" /> <Compile Include="device\PlcHelper.cs" /> <Compile Include="device\S7Helper.cs" /> <Compile Include="device\TcpClient.cs" /> <Compile Include="device\TcpServer.cs" /> - <Compile Include="dispatch\GZRobot.cs" /> - <Compile Include="dispatch\HanAo.cs" /> - <Compile Include="dispatch\NDC.cs" /> + <Compile Include="dispatchs\GZRobot.cs" /> + <Compile Include="dispatchs\HanAo.cs" /> + <Compile Include="dispatchs\NDC.cs" /> <Compile Include="core\Monitor.cs" /> - <Compile Include="dispatch\NDCApi.cs" /> - <Compile Include="models\TN_CG_Detail.cs" /> - <Compile Include="models\TN_CAR_IN.cs" /> - <Compile Include="models\TN_Container.cs" /> - <Compile Include="models\TN_Location.cs" /> - <Compile Include="models\TN_Loc_Container.cs" /> - <Compile Include="models\TN_Task.cs" /> - <Compile Include="models\TN_Task_Action.cs" /> + <Compile Include="dispatchs\NDCApi.cs" /> + <Compile Include="model\TN_CG_Detail.cs" /> + <Compile Include="model\TN_CAR_IN.cs" /> + <Compile Include="model\TN_Container.cs" /> + <Compile Include="model\TN_Location.cs" /> + <Compile Include="model\TN_Loc_Container.cs" /> + <Compile Include="model\TN_Task.cs" /> + <Compile Include="model\TN_Task_Action.cs" /> <Compile Include="process\DeviceProcess.cs" /> <Compile Include="core\WCSCore.cs" /> <Compile Include="api\WmsController.cs" /> - <Compile Include="dispatch\HostToAGV.cs" /> + <Compile Include="dispatchs\HostToAGV.cs" /> <Compile Include="util\LogHelper.cs" /> <Compile Include="wms\ContainerHelper.cs" /> <Compile Include="wms\LocationHelper.cs" /> @@ -306,7 +306,7 @@ <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="util\Settings.cs" /> <Compile Include="App_Start\Startup.cs" /> - <Compile Include="dispatch\NDCHelper.cs" /> + <Compile Include="dispatchs\NDCHelper.cs" /> <Compile Include="util\HttpHelper.cs" /> <Compile Include="wms\WCSHelper.cs" /> <Compile Include="util\SqlHelper.cs" /> diff --git a/api/AgvController.cs b/api/AgvController.cs index f3becc7..a64df99 100644 --- a/api/AgvController.cs +++ b/api/AgvController.cs @@ -8,7 +8,7 @@ using System.Web.Http; using static HH.WCS.Mobox3.AnGang.dispatch.NDC; using System.Linq; -using HH.WCS.Mobox3.AnGang.config; +using HH.WCS.Mobox3.AnGang.util; using static HH.WCS.Mobox3.AnGang.api.ApiModel; diff --git a/api/WmsController.cs b/api/WmsController.cs index 56e489d..f36005b 100644 --- a/api/WmsController.cs +++ b/api/WmsController.cs @@ -1,5 +1,5 @@ 锘�-using HH.WCS.Mobox3.AnGang.config; +using HH.WCS.Mobox3.AnGang.util; using Newtonsoft.Json; using System.Collections.Generic; using System.Web.Http; diff --git a/core/WCSCore.cs b/core/WCSCore.cs index 61e832b..4718d04 100644 --- a/core/WCSCore.cs +++ b/core/WCSCore.cs @@ -2,7 +2,6 @@ using HH.WCS.Mobox3.AnGang.dispatch; using HH.WCS.Mobox3.AnGang.models; using HH.WCS.Mobox3.AnGang.process; -using HH.WCS.Mobox3.AnGang.config; using Newtonsoft.Json; using SqlSugar; using System; diff --git a/device/TcpServer.cs b/device/TcpServer.cs index a404534..fb9fb43 100644 --- a/device/TcpServer.cs +++ b/device/TcpServer.cs @@ -1,5 +1,5 @@ 锘縰sing HH.WCS.Mobox3.AnGang.dispatch; -using HH.WCS.Mobox3.AnGang.config; +using HH.WCS.Mobox3.AnGang.util; using Newtonsoft.Json; using System; using System.Collections.Generic; diff --git a/Dispatch/GZRobot.cs b/dispatchs/GZRobot.cs similarity index 99% rename from Dispatch/GZRobot.cs rename to dispatchs/GZRobot.cs index 3542475..213e3d5 100644 --- a/Dispatch/GZRobot.cs +++ b/dispatchs/GZRobot.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.IdentityModel.Protocols.WSTrust; using System.Threading.Tasks; -using HH.WCS.Mobox3.AnGang.config; +using HH.WCS.Mobox3.AnGang.util; using HH.WCS.Mobox3.AnGang.core; using HH.WCS.Mobox3.AnGang.models; using Newtonsoft.Json; diff --git a/Dispatch/HanAo.cs b/dispatchs/HanAo.cs similarity index 98% rename from Dispatch/HanAo.cs rename to dispatchs/HanAo.cs index 9de4477..506d4a9 100644 --- a/Dispatch/HanAo.cs +++ b/dispatchs/HanAo.cs @@ -1,4 +1,4 @@ -锘縰sing HH.WCS.Mobox3.AnGang.config; +锘縰sing HH.WCS.Mobox3.AnGang.util; using Newtonsoft.Json; using System; using System.Collections.Generic; diff --git a/Dispatch/HostToAGV.cs b/dispatchs/HostToAGV.cs similarity index 100% rename from Dispatch/HostToAGV.cs rename to dispatchs/HostToAGV.cs diff --git a/Dispatch/NDC.cs b/dispatchs/NDC.cs similarity index 100% rename from Dispatch/NDC.cs rename to dispatchs/NDC.cs diff --git a/Dispatch/NDCApi.cs b/dispatchs/NDCApi.cs similarity index 99% rename from Dispatch/NDCApi.cs rename to dispatchs/NDCApi.cs index ca4973a..becf09e 100644 --- a/Dispatch/NDCApi.cs +++ b/dispatchs/NDCApi.cs @@ -1,7 +1,7 @@ 锘縰sing System; using System.Collections.Generic; -using HH.WCS.Mobox3.AnGang.config; +using HH.WCS.Mobox3.AnGang.util; using Newtonsoft.Json; diff --git a/Dispatch/NDCHelper.cs b/dispatchs/NDCHelper.cs similarity index 100% rename from Dispatch/NDCHelper.cs rename to dispatchs/NDCHelper.cs diff --git a/Models/BaseModel.cs b/model/BaseModel.cs similarity index 100% rename from Models/BaseModel.cs rename to model/BaseModel.cs diff --git a/Models/TN_CAR_IN.cs b/model/TN_CAR_IN.cs similarity index 100% rename from Models/TN_CAR_IN.cs rename to model/TN_CAR_IN.cs diff --git a/Models/TN_CG_Detail.cs b/model/TN_CG_Detail.cs similarity index 100% rename from Models/TN_CG_Detail.cs rename to model/TN_CG_Detail.cs diff --git a/Models/TN_Container.cs b/model/TN_Container.cs similarity index 100% rename from Models/TN_Container.cs rename to model/TN_Container.cs diff --git a/models/TN_Count_CG_Detail.cs b/model/TN_Count_CG_Detail.cs similarity index 100% rename from models/TN_Count_CG_Detail.cs rename to model/TN_Count_CG_Detail.cs diff --git a/models/TN_Count_Diff.cs b/model/TN_Count_Diff.cs similarity index 100% rename from models/TN_Count_Diff.cs rename to model/TN_Count_Diff.cs diff --git a/models/TN_Count_Order.cs b/model/TN_Count_Order.cs similarity index 100% rename from models/TN_Count_Order.cs rename to model/TN_Count_Order.cs diff --git a/models/TN_Count_Plan.cs b/model/TN_Count_Plan.cs similarity index 100% rename from models/TN_Count_Plan.cs rename to model/TN_Count_Plan.cs diff --git a/Models/TN_Inbound_Order.cs b/model/TN_Inbound_Order.cs similarity index 100% rename from Models/TN_Inbound_Order.cs rename to model/TN_Inbound_Order.cs diff --git a/Models/TN_Loc_Container.cs b/model/TN_Loc_Container.cs similarity index 100% rename from Models/TN_Loc_Container.cs rename to model/TN_Loc_Container.cs diff --git a/Models/TN_Location.cs b/model/TN_Location.cs similarity index 100% rename from Models/TN_Location.cs rename to model/TN_Location.cs diff --git a/Models/TN_Outbound_Order.cs b/model/TN_Outbound_Order.cs similarity index 100% rename from Models/TN_Outbound_Order.cs rename to model/TN_Outbound_Order.cs diff --git a/Models/TN_Task.cs b/model/TN_Task.cs similarity index 100% rename from Models/TN_Task.cs rename to model/TN_Task.cs diff --git a/Models/TN_Task_Action.cs b/model/TN_Task_Action.cs similarity index 100% rename from Models/TN_Task_Action.cs rename to model/TN_Task_Action.cs diff --git a/Models/Table.cs b/model/Table.cs similarity index 100% rename from Models/Table.cs rename to model/Table.cs diff --git a/process/DeviceProcess.cs b/process/DeviceProcess.cs index 3b66baf..6d40cf5 100644 --- a/process/DeviceProcess.cs +++ b/process/DeviceProcess.cs @@ -1,7 +1,7 @@ 锘縰sing HH.WCS.Mobox3.AnGang.device; using HH.WCS.Mobox3.AnGang.dispatch; -using HH.WCS.Mobox3.AnGang.config; +using HH.WCS.Mobox3.AnGang.util; using System; using System.Collections.Generic; using System.Linq; diff --git a/util/HttpHelper.cs b/util/HttpHelper.cs index 9b6fc80..1beb8ac 100644 --- a/util/HttpHelper.cs +++ b/util/HttpHelper.cs @@ -5,7 +5,7 @@ using System.Net; using System.Text; -namespace HH.WCS.Mobox3.AnGang.config { +namespace HH.WCS.Mobox3.AnGang.util { public class HttpHelper { public string WebPost(string url, string postData, string cotentType = "application/json") { diff --git a/wms/ContainerHelper.cs b/wms/ContainerHelper.cs index 4adb140..9b9100c 100644 --- a/wms/ContainerHelper.cs +++ b/wms/ContainerHelper.cs @@ -1,5 +1,4 @@ 锘縰sing HH.WCS.Mobox3.AnGang.models; -using HH.WCS.Mobox3.AnGang.config; using Newtonsoft.Json; using System; using System.Collections.Generic; diff --git a/wms/LocationHelper.cs b/wms/LocationHelper.cs index 38184c6..20adf2f 100644 --- a/wms/LocationHelper.cs +++ b/wms/LocationHelper.cs @@ -1,5 +1,4 @@ 锘縰sing HH.WCS.Mobox3.AnGang.models; -using HH.WCS.Mobox3.AnGang.config; using Newtonsoft.Json; using SqlSugar; using System; diff --git a/wms/SYSHelper.cs b/wms/SYSHelper.cs index 7a01d3f..3bae2c6 100644 --- a/wms/SYSHelper.cs +++ b/wms/SYSHelper.cs @@ -1,5 +1,4 @@ -锘縰sing HH.WCS.Mobox3.AnGang.config; -using HH.WCS.Mobox3.AnGang.util; +锘縰sing HH.WCS.Mobox3.AnGang.util; using SqlSugar; using System; diff --git a/wms/WCSHelper.cs b/wms/WCSHelper.cs index 1d8da1f..e5b9168 100644 --- a/wms/WCSHelper.cs +++ b/wms/WCSHelper.cs @@ -1,5 +1,4 @@ 锘縰sing HH.WCS.Mobox3.AnGang.models; -using HH.WCS.Mobox3.AnGang.config; using Newtonsoft.Json; using System; using System.Collections.Generic; diff --git a/wms/WMSHelper.cs b/wms/WMSHelper.cs index e9a57d7..965ede9 100644 --- a/wms/WMSHelper.cs +++ b/wms/WMSHelper.cs @@ -1,7 +1,6 @@ 锘縰sing HH.WCS.Mobox3.AnGang.api; using HH.WCS.Mobox3.AnGang.dispatch; using HH.WCS.Mobox3.AnGang.models; -using HH.WCS.Mobox3.AnGang.config; using System; using System.Collections.Generic; using System.Linq; -- Gitblit v1.9.1