From 5eeed44ad21748ed7560a8c688d4e2d2f03555c8 Mon Sep 17 00:00:00 2001 From: 刘磊 <1161824510@qq.com> Date: 星期二, 05 八月 2025 12:47:13 +0800 Subject: [PATCH] 同步 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/ToAGVService.cs | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/ToAGVService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/ToAGVService.cs" index 4efff8b..0c85bf8 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/ToAGVService.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/ToAGVService.cs" @@ -9,6 +9,7 @@ using WIDESEA_IServices; using WIDESEA_IStorageBasicRepository; using WIDESEA_IStorageTaskRepository; +using WIDESEA_IStorageTaskServices; using WIDESEA_IStoragIntegrationServices; using WIDESEA_Repository; using WIDESEAWCS_BasicInfoRepository; @@ -24,11 +25,12 @@ private readonly IDt_StationManagerRepository _stationManagerRepository; private readonly IDt_AreaInfoRepository _areaInfoRepository; private readonly IDt_Task_HtyRepository _task_HtyRepository; + private readonly IDt_TaskService _taskService; private readonly LogFactory LogFactory = new LogFactory(); - public static string AGV_Interface = "http://172.21.7.215:8182/rcms/services/rest/hikRpcService"; + public static string AGV_Interface = "http://192.168.1.195:10200/"; - public ToAGVService(ILocationInfoRepository locationRepository, IDt_TaskRepository taskRepository, IStockInfoRepository stockInfoRepository, ISys_ConfigService configService, IDt_StationManagerRepository stationManagerRepository, IDt_AreaInfoRepository dt_AreaInfoRepository, IDt_Task_HtyRepository task_HtyRepository) + public ToAGVService(ILocationInfoRepository locationRepository, IDt_TaskRepository taskRepository, IStockInfoRepository stockInfoRepository, ISys_ConfigService configService, IDt_StationManagerRepository stationManagerRepository, IDt_AreaInfoRepository dt_AreaInfoRepository, IDt_Task_HtyRepository task_HtyRepository, IDt_TaskService taskService) { _locationRepository = locationRepository; _taskRepository = taskRepository; @@ -37,6 +39,7 @@ _stationManagerRepository = stationManagerRepository; _areaInfoRepository = dt_AreaInfoRepository; _task_HtyRepository = task_HtyRepository; + _taskService = taskService; } @@ -44,7 +47,7 @@ { return Guid.NewGuid().ToString().Replace("-", "").Take(16).ToString(); } - + private string GetMethName(string methodName) { var configs = _configService.GetConfigsByCategory(CateGoryConst.CONFIG_SYS_IPAddress); -- Gitblit v1.9.3