| | |
| | | using WIDESEA_IServices; |
| | | using WIDESEA_IStorageBasicRepository; |
| | | using WIDESEA_IStorageTaskRepository; |
| | | using WIDESEA_IStorageTaskServices; |
| | | using WIDESEA_IStoragIntegrationServices; |
| | | using WIDESEA_Repository; |
| | | using WIDESEAWCS_BasicInfoRepository; |
| | |
| | | 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; |
| | |
| | | _stationManagerRepository = stationManagerRepository; |
| | | _areaInfoRepository = dt_AreaInfoRepository; |
| | | _task_HtyRepository = task_HtyRepository; |
| | | _taskService = taskService; |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | return Guid.NewGuid().ToString().Replace("-", "").Take(16).ToString(); |
| | | } |
| | | |
| | | |
| | | private string GetMethName(string methodName) |
| | | { |
| | | var configs = _configService.GetConfigsByCategory(CateGoryConst.CONFIG_SYS_IPAddress); |