diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/CancelTask/CancelTaskDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/CancelTask/CancelTaskDto.cs deleted file mode 100644 index fac02a9..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/CancelTask/CancelTaskDto.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Domain.CancelTask -* 唯一标识:a58b49bc-2f35-43aa-95f0-bee6bd291067 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:07:15 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.CancelTask -{ - /// - /// 任务取消请求参数 - /// - public class CancelTaskDto - { - /// - /// 请求编号,每个请求都要一个唯一编号, 同一个请求重复提交, 使用同一编号。; - /// - public string reqCode { get; set; } - - /// - /// 请求时间截 格式: “yyyy-MM-dd HH:mm:ss”。 - /// - public string reqTime { get; set; } - - /// - /// 客户端编号,如PDA,HCWMS等。 - /// - public string clientCode { get; set; } - - /// - /// 令牌号, 由调度系统颁发 - /// - public string tokenCode { get; set; } - - /// - /// 工作位,与RCS-2000端配置的位置名称一致。 - /// - public string forceCancel { get; set; } - - /// - /// 货架号,采用货架号触发的方式。 - /// - public string matterArea { get; set; } - - public string agvCode { get; set; } - public string taskCode { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/CancelTask/CancelTaskResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/CancelTask/CancelTaskResultDto.cs deleted file mode 100644 index 54f7d1a..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/CancelTask/CancelTaskResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.CancelTask; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Domain.CancelTask -* 唯一标识:1f582438-5412-4ae4-8fdf-cc1a2a990527 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:07:38 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.CancelTask -{ - /// - /// 任务继续返回参数 - /// - public class CancelTaskResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierBind/CarrierBindDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierBind/CarrierBindDto.cs deleted file mode 100644 index 2595184..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierBind/CarrierBindDto.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierBind -* 唯一标识:d8c9f0h1-4019-49l0-2a19-e7b0n1o28324 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:载具绑定请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierBind -{ - /// - /// 载具绑定请求参数 - /// - public class CarrierBindDto - { - /// - /// 载具编号 - /// - public string CarrierCode { get; set; } - - /// - /// 站点编号 - /// - public string SiteCode { get; set; } - - /// - /// 载具方向 - /// - public int? CarrierDir { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierBind/CarrierBindResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierBind/CarrierBindResultDto.cs deleted file mode 100644 index 8d7f531..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierBind/CarrierBindResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.CarrierBind; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierBind -* 唯一标识:d9c0f1h2-5020-49l1-3a20-e8b1n2o39425 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:载具绑定返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierBind -{ - /// - /// 载具绑定返回参数 - /// - public class CarrierBindResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierLock/CarrierLockDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierLock/CarrierLockDto.cs deleted file mode 100644 index bfdbd89..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierLock/CarrierLockDto.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierLock -* 唯一标识:d7c8f9h0-4028-49l9-1a28-e6b9n0o17233 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:载具锁定请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierLock -{ - /// - /// 载具锁定请求参数 - /// - public class CarrierLockDto - { - /// - /// 载具编号 - /// - public string CarrierCode { get; set; } - - /// - /// 调用方式 - /// - public string Invoke { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierLock/CarrierLockResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierLock/CarrierLockResultDto.cs deleted file mode 100644 index ec1b62f..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierLock/CarrierLockResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.CarrierLock; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierLock -* 唯一标识:d8c9f0h1-5029-49m0-2a29-e7b0n1o28334 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:载具锁定返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierLock -{ - /// - /// 载具锁定返回参数 - /// - public class CarrierLockResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierUnbind/CarrierUnbindDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierUnbind/CarrierUnbindDto.cs deleted file mode 100644 index e0f2589..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierUnbind/CarrierUnbindDto.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierUnbind -* 唯一标识:d1c2f3h4-7022-49l3-5a22-e0b3n4o51627 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:载具解绑请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierUnbind -{ - /// - /// 载具解绑请求参数 - /// - public class CarrierUnbindDto - { - /// - /// 载具编号 - /// - public string CarrierCode { get; set; } - - /// - /// 站点编号 - /// - public string SiteCode { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierUnbind/CarrierUnbindResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierUnbind/CarrierUnbindResultDto.cs deleted file mode 100644 index b830bd6..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/CarrierUnbind/CarrierUnbindResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.CarrierUnbind; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierUnbind -* 唯一标识:d2c3f4h5-8023-49l4-6a23-e1b4n5o62728 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:载具解绑返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierUnbind -{ - /// - /// 载具解绑返回参数 - /// - public class CarrierUnbindResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/ContinueTask/ContinueTaskDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/ContinueTask/ContinueTaskDto.cs deleted file mode 100644 index a8079e0..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/ContinueTask/ContinueTaskDto.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Domain.ContinueTask -* 唯一标识:d2278c13-5f0c-423a-b4d2-997a1aba71bc -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:09:47 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.ContinueTask -{ - /// - /// 任务继续请求参数 - /// - public class ContinueTaskDto - { - /// - /// 请求编号,每个请求都要一个唯一编号, 同一个请求重复提交, 使用同一编号。; - /// - public string reqCode { get; set; } - - /// - /// 请求时间截 格式: “yyyy-MM-dd HH:mm:ss”。 - /// - public string reqTime { get; set; } - - /// - /// 客户端编号,如PDA,HCWMS等。 - /// - public string clientCode { get; set; } - - /// - /// 令牌号, 由调度系统颁发 - /// - public string tokenCode { get; set; } - - /// - /// 工作位,与RCS-2000端配置的位置名称一致。 - /// - public string wbCode { get; set; } - - /// - /// 货架号,采用货架号触发的方式。 - /// - public string podCode { get; set; } - - public string agvCode { get; set; } - public string taskCode { get; set; } - public string taskSeq { get; set; } - public string nextPositionCode { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/ContinueTask/ContinueTaskResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/ContinueTask/ContinueTaskResultDto.cs deleted file mode 100644 index 2e5f14b..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/ContinueTask/ContinueTaskResultDto.cs +++ /dev/null @@ -1,41 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.ContinueTask; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Domain.ContinueTask -* 唯一标识:5abd89da-3753-4977-8117-b4cbf9fd73d0 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:10:08 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.ContinueTask -{ - /// - /// 任务继续返回参数 - /// - public class ContinueTaskResultDto : ResultDto - { - - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/EquipmentNotify/EquipmentNotifyDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/EquipmentNotify/EquipmentNotifyDto.cs deleted file mode 100644 index afd038c..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/EquipmentNotify/EquipmentNotifyDto.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.EquipmentNotify -* 唯一标识:d1c2f3h4-1052-49o3-5a52-e0b3n4o51657 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:设备通知请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.EquipmentNotify -{ - /// - /// 设备通知请求参数 - /// - public class EquipmentNotifyDto - { - /// - /// 设备编号 - /// - public string EqptCode { get; set; } - - /// - /// 任务编号 - /// - public string TaskCode { get; set; } - - /// - /// 动作状态 - /// - public string ActionStatus { get; set; } - - /// - /// 站点编号 - /// - public string SiteCode { get; set; } - - /// - /// 载具信息 - /// - public string CarrierInfo { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/EquipmentNotify/EquipmentNotifyResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/EquipmentNotify/EquipmentNotifyResultDto.cs deleted file mode 100644 index b7df69c..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/EquipmentNotify/EquipmentNotifyResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.EquipmentNotify; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.EquipmentNotify -* 唯一标识:d2c3f4h5-2053-49o4-6a53-e1b4n5o62758 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:设备通知返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.EquipmentNotify -{ - /// - /// 设备通知返回参数 - /// - public class EquipmentNotifyResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbCancelTask/GbCancelTaskDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/GbCancelTask/GbCancelTaskDto.cs deleted file mode 100644 index 221cdaf..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbCancelTask/GbCancelTaskDto.cs +++ /dev/null @@ -1,85 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.GbCancelTask -* 唯一标识:d4e5f6a7-8004-49c3-b902-d0a3f4g51611 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:GB标准-任务取消请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.GbCancelTask -{ - /// - /// GB标准-任务取消请求参数 - /// - public class GbCancelTaskDto - { - /// - /// 任务号,全局唯一 - /// - public string RobotTaskCode { get; set; } - - /// - /// 任务取消类型:CANCEL(软取消)/DROP(硬取消) - /// - public string CancelType { get; set; } - - /// - /// 回库的载具编号 - /// - public string CarrierCode { get; set; } - - /// - /// 机器人编号 - /// - public string RobotCode { get; set; } - - /// - /// 取消原因 - /// - public string Reason { get; set; } - - /// - /// 软取消的回库任务类型 - /// - public string ReturnTaskType { get; set; } - - /// - /// 目标区域 - /// - public TargetRoute TargetRoute { get; set; } - - /// - /// 自定义扩展字段 - /// - public object Extra { get; set; } - } - - /// - /// 目标路径 - /// - public class TargetRoute - { - public string Type { get; set; } - public string Code { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbCancelTask/GbCancelTaskResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/GbCancelTask/GbCancelTaskResultDto.cs deleted file mode 100644 index c4264b4..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbCancelTask/GbCancelTaskResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.GbCancelTask; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.GbCancelTask -* 唯一标识:e5f6a7b8-9005-49c3-b902-d0a3f4g51612 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:GB标准-任务取消返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.GbCancelTask -{ - /// - /// GB标准-任务取消返回参数 - /// - public class GbCancelTaskResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbContinueTask/GbContinueTaskDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/GbContinueTask/GbContinueTaskDto.cs deleted file mode 100644 index f3a516d..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbContinueTask/GbContinueTaskDto.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.GbContinueTask -* 唯一标识:a1b2c3d4-5001-49c3-b902-d0a3f4g51608 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:GB标准-任务继续执行请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.GbContinueTask -{ - /// - /// GB标准-任务继续执行请求参数 - /// - public class GbContinueTaskDto - { - /// - /// 触发类型:SITE/CARRIER/ROBOT/TASK - /// - public string TriggerType { get; set; } - - /// - /// 与triggerType对应的触发编号 - /// - public string TriggerCode { get; set; } - - /// - /// 执行任务的下一个目标位置 - /// - public TargetRoute TargetRoute { get; set; } - - /// - /// 自定义扩展参数 - /// - public object Extra { get; set; } - } - - /// - /// 目标路径 - /// - public class TargetRoute - { - public string Type { get; set; } - public string Code { get; set; } - public string Operation { get; set; } - public string RobotType { get; set; } - public List RobotCode { get; set; } - public object Extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbContinueTask/GbContinueTaskResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/GbContinueTask/GbContinueTaskResultDto.cs deleted file mode 100644 index 0b6886f..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbContinueTask/GbContinueTaskResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.GbContinueTask; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.GbContinueTask -* 唯一标识:b2c3d4e5-6002-49c3-b902-d0a3f4g51609 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:GB标准-任务继续执行返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.GbContinueTask -{ - /// - /// GB标准-任务继续执行返回参数 - /// - public class GbContinueTaskResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbTaskSubmit/GbTaskSubmitDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/GbTaskSubmit/GbTaskSubmitDto.cs deleted file mode 100644 index b8c879e..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbTaskSubmit/GbTaskSubmitDto.cs +++ /dev/null @@ -1,104 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.GbTaskSubmit -* 唯一标识:a1b2c3d4-6001-49c3-b902-d0a3f4g51614 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:GB标准-任务下发请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.GbTaskSubmit -{ - /// - /// GB标准-任务下发请求参数 - /// - public class GbTaskSubmitDto - { - /// - /// 任务类型 - /// - public string TaskType { get; set; } - - /// - /// 目标路径列表 - /// - public List TargetRoute { get; set; } - - /// - /// 初始优先级 1~120 - /// - public int? InitPriority { get; set; } - - /// - /// 截止时间 - /// - public string Deadline { get; set; } - - /// - /// 期望开始时间 - /// - public string ExpectedStartTime { get; set; } - - /// - /// 机器人类型 GROUPS/ROBOTS - /// - public string RobotType { get; set; } - - /// - /// 指定机器人编号列表 - /// - public List RobotCode { get; set; } - - /// - /// 是否可中断 0/1 - /// - public int? Interrupt { get; set; } - - /// - /// 任务编号 - /// - public string RobotTaskCode { get; set; } - - /// - /// 组编号 - /// - public string GroupCode { get; set; } - - /// - /// 自定义扩展字段 - /// - public object Extra { get; set; } - } - - /// - /// 目标路径 - /// - public class TargetRoute - { - public string Type { get; set; } - public string Code { get; set; } - public string Operation { get; set; } - public string RobotType { get; set; } - public List RobotCode { get; set; } - public object Extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbTaskSubmit/GbTaskSubmitResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/GbTaskSubmit/GbTaskSubmitResultDto.cs deleted file mode 100644 index 8e2ead2..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/GbTaskSubmit/GbTaskSubmitResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.GbTaskSubmit; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.GbTaskSubmit -* 唯一标识:b2c3d4e5-7002-49c3-b902-d0a3f4g51615 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:GB标准-任务下发返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.GbTaskSubmit -{ - /// - /// GB标准-任务下发返回参数 - /// - public class GbTaskSubmitResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/GenAgvSchedulingTask/GenAgvSchedulingTaskDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/GenAgvSchedulingTask/GenAgvSchedulingTaskDto.cs deleted file mode 100644 index 7ed79de..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/GenAgvSchedulingTask/GenAgvSchedulingTaskDto.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.GenAgvSchedulingTask -* 唯一标识:3cad8de3-17fd-4714-b809-b89168713a6d -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:04:31 -* 版本:V2.0.0 -* 描述:GB标准-生成任务单请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V2.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.GenAgvSchedulingTask -{ - /// - /// GB标准-生成任务单请求参数 - /// - public class GenAgvSchedulingTaskDto - { - /// - /// 任务类型 - /// - public string TaskType { get; set; } - - /// - /// 目标路径列表 - /// - public List TargetRoute { get; set; } - - /// - /// 初始优先级 - /// - public int? InitPriority { get; set; } - - /// - /// 截止时间 - /// - public string Deadline { get; set; } - - /// - /// 期望开始时间 - /// - public string ExpectedStartTime { get; set; } - - /// - /// 机器人类型 - /// - public string RobotType { get; set; } - - /// - /// 指定机器人编号列表 - /// - public List RobotCode { get; set; } - - /// - /// 是否可中断 - /// - public int? Interrupt { get; set; } - - /// - /// 机器人任务编号 - /// - public string RobotTaskCode { get; set; } - - /// - /// 组编号 - /// - public string GroupCode { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - } - - /// - /// 目标路径 - /// - public class TargetRoute - { - /// - /// 类型 - /// - public string Type { get; set; } - - /// - /// 编号 - /// - public string Code { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/GenAgvSchedulingTask/GenAgvSchedulingTaskResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/GenAgvSchedulingTask/GenAgvSchedulingTaskResultDto.cs deleted file mode 100644 index 0c9164c..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/GenAgvSchedulingTask/GenAgvSchedulingTaskResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.GenAgvSchedulingTask; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.GenAgvSchedulingTask -* 唯一标识:cc400640-5628-41bf-90d5-f0926202bc34 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:05:12 -* 版本:V2.0.0 -* 描述:GB标准-生成任务单返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V2.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.GenAgvSchedulingTask -{ - /// - /// GB标准-生成任务单返回参数 - /// - public class GenAgvSchedulingTaskResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelBind/MatLabelBindDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelBind/MatLabelBindDto.cs deleted file mode 100644 index c2e09bc..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelBind/MatLabelBindDto.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelBind -* 唯一标识:d5c6f7h8-4046-49n7-9a46-e4b7n8o95051 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:物料标签绑定请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelBind -{ - /// - /// 物料标签绑定请求参数 - /// - public class MatLabelBindDto - { - /// - /// 载具编号 - /// - public string CarrierCode { get; set; } - - /// - /// 物料标签 - /// - public string MatLabel { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelBind/MatLabelBindResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelBind/MatLabelBindResultDto.cs deleted file mode 100644 index 64af2b1..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelBind/MatLabelBindResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.MatLabelBind; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelBind -* 唯一标识:d6c7f8h9-5047-49n8-0a47-e5b8n9o06152 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:物料标签绑定返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelBind -{ - /// - /// 物料标签绑定返回参数 - /// - public class MatLabelBindResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelUnbind/MatLabelUnbindDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelUnbind/MatLabelUnbindDto.cs deleted file mode 100644 index 09d57a2..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelUnbind/MatLabelUnbindDto.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelUnbind -* 唯一标识:d8c9f0h1-7049-49o0-2a49-e7b0n1o28354 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:物料标签解绑请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelUnbind -{ - /// - /// 物料标签解绑请求参数 - /// - public class MatLabelUnbindDto - { - /// - /// 载具编号 - /// - public string CarrierCode { get; set; } - - /// - /// 物料标签 - /// - public string MatLabel { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelUnbind/MatLabelUnbindResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelUnbind/MatLabelUnbindResultDto.cs deleted file mode 100644 index 2574fd9..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/MatLabelUnbind/MatLabelUnbindResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.MatLabelUnbind; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelUnbind -* 唯一标识:d9c0f1h2-8050-49o1-3a50-e8b1n2o39455 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:物料标签解绑返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelUnbind -{ - /// - /// 物料标签解绑返回参数 - /// - public class MatLabelUnbindResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/PreTask/PreTaskDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/PreTask/PreTaskDto.cs deleted file mode 100644 index 3b39350..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/PreTask/PreTaskDto.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.PreTask -* 唯一标识:d3c4f5h6-1034-49m5-7a34-e2b5n6o73839 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:预任务请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.PreTask -{ - /// - /// 预任务请求参数 - /// - public class PreTaskDto - { - /// - /// 站点编号 - /// - public string SiteCode { get; set; } - - /// - /// 下次任务时间 - /// - public string NextTaskTime { get; set; } - - /// - /// 机器人类型 - /// - public string RobotType { get; set; } - - /// - /// 优先级 - /// - public int? Priority { get; set; } - - /// - /// 任务数量 - /// - public int? TaskCount { get; set; } - - /// - /// 容量数量 - /// - public int? CapacityCount { get; set; } - - /// - /// AMR方向 - /// - public string AmrDir { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/PreTask/PreTaskResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/PreTask/PreTaskResultDto.cs deleted file mode 100644 index f3e88a4..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/PreTask/PreTaskResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.PreTask; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.PreTask -* 唯一标识:d4c5f6h7-2035-49m6-8a35-e3b6n7o84940 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:预任务返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.PreTask -{ - /// - /// 预任务返回参数 - /// - public class PreTaskResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryCarrier/QueryCarrierDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryCarrier/QueryCarrierDto.cs deleted file mode 100644 index 6bf1c82..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryCarrier/QueryCarrierDto.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.QueryCarrier -* 唯一标识:d2c3f4h5-1043-49n4-6a43-e1b4n5o62748 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:查询载具状态请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.QueryCarrier -{ - /// - /// 查询载具状态请求参数 - /// - public class QueryCarrierDto - { - /// - /// 载具编号 - /// - public string CarrierCode { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryCarrier/QueryCarrierResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryCarrier/QueryCarrierResultDto.cs deleted file mode 100644 index 630a514..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryCarrier/QueryCarrierResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.QueryCarrier; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.QueryCarrier -* 唯一标识:d3c4f5h6-2044-49n5-7a44-e2b5n6o73849 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:查询载具状态返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.QueryCarrier -{ - /// - /// 查询载具状态返回参数 - /// - public class QueryCarrierResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryRobot/QueryRobotDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryRobot/QueryRobotDto.cs deleted file mode 100644 index b32c2a5..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryRobot/QueryRobotDto.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.QueryRobot -* 唯一标识:d9c0f1h2-7040-49n1-3a40-e8b1n2o39445 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:查询机器人状态请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.QueryRobot -{ - /// - /// 查询机器人状态请求参数 - /// - public class QueryRobotDto - { - /// - /// 机器人编号 - /// - public string SingleRobotCode { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryRobot/QueryRobotResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryRobot/QueryRobotResultDto.cs deleted file mode 100644 index 3bf151c..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryRobot/QueryRobotResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.QueryRobot; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.QueryRobot -* 唯一标识:d0c1f2h3-8041-49n2-4a41-e9b2n3o40546 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:查询机器人状态返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.QueryRobot -{ - /// - /// 查询机器人状态返回参数 - /// - public class QueryRobotResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryTask/QueryTaskDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryTask/QueryTaskDto.cs deleted file mode 100644 index fc1434d..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryTask/QueryTaskDto.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.QueryTask -* 唯一标识:d6c7f8h9-4037-49m8-0a37-e5b8n9o06142 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:查询任务状态请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.QueryTask -{ - /// - /// 查询任务状态请求参数 - /// - public class QueryTaskDto - { - /// - /// 机器人任务编号 - /// - public string RobotTaskCode { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryTask/QueryTaskResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryTask/QueryTaskResultDto.cs deleted file mode 100644 index 1d9b33e..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/QueryTask/QueryTaskResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.QueryTask; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.QueryTask -* 唯一标识:d7c8f9h0-5038-49m9-1a38-e6b9n0o17243 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:查询任务状态返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.QueryTask -{ - /// - /// 查询任务状态返回参数 - /// - public class QueryTaskResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteBind/SiteBindDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteBind/SiteBindDto.cs deleted file mode 100644 index 9779ddb..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteBind/SiteBindDto.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.SiteBind -* 唯一标识:d4c5f6h7-1025-49l6-8a25-e3b6n7o84930 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:站点绑定请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.SiteBind -{ - /// - /// 站点绑定请求参数 - /// - public class SiteBindDto - { - /// - /// 槽位类别 - /// - public string SlotCategory { get; set; } - - /// - /// 槽位编号 - /// - public string SlotCode { get; set; } - - /// - /// 载具类别 - /// - public string CarrierCategory { get; set; } - - /// - /// 载具类型 - /// - public string CarrierType { get; set; } - - /// - /// 载具编号 - /// - public string CarrierCode { get; set; } - - /// - /// 载具方向 - /// - public int? CarrierDir { get; set; } - - /// - /// 调用方式 - /// - public string Invoke { get; set; } - - /// - /// 堆叠标签 - /// - public string StackLabel { get; set; } - - /// - /// 列数 - /// - public int? ColCount { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteBind/SiteBindResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteBind/SiteBindResultDto.cs deleted file mode 100644 index e56fb2a..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteBind/SiteBindResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.SiteBind; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.SiteBind -* 唯一标识:d5c6f7h8-2026-49l7-9a26-e4b7n8o95031 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:站点绑定返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.SiteBind -{ - /// - /// 站点绑定返回参数 - /// - public class SiteBindResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteLock/SiteLockDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteLock/SiteLockDto.cs deleted file mode 100644 index ba03098..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteLock/SiteLockDto.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.SiteLock -* 唯一标识:d0c1f2h3-7031-49m2-4a31-e9b2n3o40536 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:站点锁定请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.SiteLock -{ - /// - /// 站点锁定请求参数 - /// - public class SiteLockDto - { - /// - /// 站点编号 - /// - public string SiteCode { get; set; } - - /// - /// 调用方式 - /// - public string Invoke { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteLock/SiteLockResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteLock/SiteLockResultDto.cs deleted file mode 100644 index 0181e66..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/SiteLock/SiteLockResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.SiteLock; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.SiteLock -* 唯一标识:d1c2f3h4-8032-49m3-5a32-e0b3n4o51637 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:站点锁定返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.SiteLock -{ - /// - /// 站点锁定返回参数 - /// - public class SiteLockResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskGroup/TaskGroupDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskGroup/TaskGroupDto.cs deleted file mode 100644 index 6fa4652..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskGroup/TaskGroupDto.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.TaskGroup -* 唯一标识:d0b1f2a3-4001-49b2-a801-c9d2e3f40506 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:任务组请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.TaskGroup -{ - /// - /// 任务组请求参数 - /// - public class TaskGroupDto - { - /// - /// 组编号 - /// - public string GroupCode { get; set; } - - /// - /// 策略类型 - /// - public string Strategy { get; set; } - - /// - /// 策略值 - /// - public string StrategyValue { get; set; } - - /// - /// 组内任务序号 - /// - public string GroupSeq { get; set; } - - /// - /// 目标路径 - /// - public TargetRoute TargetRoute { get; set; } - - /// - /// 自定义数据 - /// - public string Data { get; set; } - } - - /// - /// 目标路径 - /// - public class TargetRoute - { - /// - /// 类型 - /// - public string Type { get; set; } - - /// - /// 编号 - /// - public string Code { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskGroup/TaskGroupResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskGroup/TaskGroupResultDto.cs deleted file mode 100644 index 7160b77..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskGroup/TaskGroupResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.TaskGroup; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.TaskGroup -* 唯一标识:d1c2f3b4-5002-49c3-b902-d0a3f4g51607 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:任务组返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.TaskGroup -{ - /// - /// 任务组返回参数 - /// - public class TaskGroupResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskPriority/TaskPriorityDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskPriority/TaskPriorityDto.cs deleted file mode 100644 index 1e6b9f5..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskPriority/TaskPriorityDto.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.TaskPriority -* 唯一标识:d3c4f5d6-7004-49e5-d904-d2b5h6i73809 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:任务优先级请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.TaskPriority -{ - /// - /// 任务优先级请求参数 - /// - public class TaskPriorityDto - { - /// - /// 机器人任务编号 - /// - public string RobotTaskCode { get; set; } - - /// - /// 初始优先级 - /// - public int? InitPriority { get; set; } - - /// - /// 截止时间 - /// - public string Deadline { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskPriority/TaskPriorityResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskPriority/TaskPriorityResultDto.cs deleted file mode 100644 index 42e74d9..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/TaskPriority/TaskPriorityResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.TaskPriority; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.TaskPriority -* 唯一标识:d4c5f6e7-8005-49f6-e905-d3b6i7j84910 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:任务优先级返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.TaskPriority -{ - /// - /// 任务优先级返回参数 - /// - public class TaskPriorityResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBanish/ZoneBanishDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBanish/ZoneBanishDto.cs deleted file mode 100644 index be6750b..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBanish/ZoneBanishDto.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBanish -* 唯一标识:d2c3f4h5-7013-49k4-6a13-e1b4n5o62718 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域驱逐请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBanish -{ - /// - /// 区域驱逐请求参数 - /// - public class ZoneBanishDto - { - /// - /// 区域编号 - /// - public string ZoneCode { get; set; } - - /// - /// 区域编号列表 - /// - public List ZoneCodes { get; set; } - - /// - /// 目标区域编号 - /// - public string TargetZoneCode { get; set; } - - /// - /// 是否暂停 - /// - public bool Pause { get; set; } - - /// - /// 是否需要报告 - /// - public bool Report { get; set; } - - /// - /// 控制模式 - /// - public string ControlMode { get; set; } - - /// - /// 过期时间 - /// - public string ExpireTime { get; set; } - - /// - /// 调用方式 - /// - public string Invoke { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBanish/ZoneBanishResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBanish/ZoneBanishResultDto.cs deleted file mode 100644 index 6c7e121..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBanish/ZoneBanishResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.ZoneBanish; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBanish -* 唯一标识:d3c4f5h6-8014-49k5-7a14-e2b5n6o73819 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域驱逐返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBanish -{ - /// - /// 区域驱逐返回参数 - /// - public class ZoneBanishResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBlockade/ZoneBlockadeDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBlockade/ZoneBlockadeDto.cs deleted file mode 100644 index b6c4323..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBlockade/ZoneBlockadeDto.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBlockade -* 唯一标识:d5c6f7h8-1016-49k7-9a16-e4b7n8o95021 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域封锁请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBlockade -{ - /// - /// 区域封锁请求参数 - /// - public class ZoneBlockadeDto - { - /// - /// 区域编号 - /// - public string ZoneCode { get; set; } - - /// - /// 地图编号 - /// - public string MapCode { get; set; } - - /// - /// 调用方式 - /// - public string Invoke { get; set; } - - /// - /// 是否暂停 - /// - public bool Pause { get; set; } - - /// - /// 是否需要报告 - /// - public bool Report { get; set; } - - /// - /// 禁用的站点 - /// - public int? DisableSite { get; set; } - - /// - /// 启用的站点 - /// - public int? EnableSite { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBlockade/ZoneBlockadeResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBlockade/ZoneBlockadeResultDto.cs deleted file mode 100644 index cd4e6a0..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneBlockade/ZoneBlockadeResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.ZoneBlockade; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBlockade -* 唯一标识:d6c7f8h9-2017-49k8-0a17-e5b8n9o06122 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域封锁返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBlockade -{ - /// - /// 区域封锁返回参数 - /// - public class ZoneBlockadeResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneHoming/ZoneHomingDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneHoming/ZoneHomingDto.cs deleted file mode 100644 index 441aa0e..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneHoming/ZoneHomingDto.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneHoming -* 唯一标识:d9c0f1h2-4010-49k1-3a10-e8b1n2o39415 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域回巢请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneHoming -{ - /// - /// 区域回巢请求参数 - /// - public class ZoneHomingDto - { - /// - /// 地图编号 - /// - public string MapCode { get; set; } - - /// - /// 区域编号 - /// - public string ZoneCode { get; set; } - - /// - /// 区域编号列表 - /// - public List ZoneCodes { get; set; } - - /// - /// 是否自动关机 - /// - public bool AutoShutdown { get; set; } - - /// - /// 启动时间 - /// - public string BootTime { get; set; } - - /// - /// 过期时间 - /// - public string ExpireTime { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneHoming/ZoneHomingResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneHoming/ZoneHomingResultDto.cs deleted file mode 100644 index d9a9b32..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZoneHoming/ZoneHomingResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.ZoneHoming; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneHoming -* 唯一标识:d0c1f2h3-5011-49k2-4a11-e9b2n3o40516 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域回巢返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneHoming -{ - /// - /// 区域回巢返回参数 - /// - public class ZoneHomingResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZonePause/ZonePauseDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/ZonePause/ZonePauseDto.cs deleted file mode 100644 index 4497d53..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZonePause/ZonePauseDto.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.ZonePause -* 唯一标识:d6c7f8g9-1007-49h8-0a07-e5b8k9l06112 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域暂停请求参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.ZonePause -{ - /// - /// 区域暂停请求参数 - /// - public class ZonePauseDto - { - /// - /// 区域编号 - /// - public string ZoneCode { get; set; } - - /// - /// 地图编号 - /// - public string MapCode { get; set; } - - /// - /// 调用方式 - /// - public string Invoke { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZonePause/ZonePauseResultDto.cs b/Sln.Wcs.HikRoBotApi/Domain/Dto/ZonePause/ZonePauseResultDto.cs deleted file mode 100644 index bae7332..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Dto/ZonePause/ZonePauseResultDto.cs +++ /dev/null @@ -1,40 +0,0 @@ -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HikRoBotApi.Domain.Model.ZonePause; -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Dto.ZonePause -* 唯一标识:d7c8f9h0-2008-49i9-1a08-e6b9l0m17213 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域暂停返回参数 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Dto.ZonePause -{ - /// - /// 区域暂停返回参数 - /// - public class ZonePauseResultDto : ResultDto - { - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Enum/HikRoBotStatusEnum.cs b/Sln.Wcs.HikRoBotApi/Domain/Enum/HikRoBotStatusEnum.cs deleted file mode 100644 index fef4bf9..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Enum/HikRoBotStatusEnum.cs +++ /dev/null @@ -1,100 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotSdk.Enum -* 唯一标识:011d2435-3325-4055-b1ec-a3e1834e3af6 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 14:52:00 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Enum -{ - public enum HikRoBotStatusEnum - { - 成功 = 0, - 参数相关的错误 = 1, - 重复发送上层系统不需要重发 = 6, - 其他未知错误调用失败后可以重试 = 99, - 该任务不存在上层系统不需重发需要人工介入处理=100, - SDK调用异常=101, - /// - /// 上一组任务未下发 - /// - Err_TaskNotStart = 102, - /// - /// 任务已结束 - /// - Err_TaskFinished = 103, - /// - /// 任务找不到 - /// - Err_TaskNotFound = 104, - /// - /// 任务当前无法变更 - /// - Err_TaskModifyReject = 105, - /// - /// 任务类型不支持 - /// - Err_TaskTypeNotSupport = 106, - /// - /// 机器人资源组编号与任务不匹配 - /// - Err_RobotGroupsNotMatch = 107, - /// - /// 机器人编号与任务不匹配 - /// - Err_RobotCodeNotMatch = 108, - /// - /// 任务路径参数有误 - /// - Err_TargetRouteError = 109, - /// - /// 状态转换异常 - /// - Err_StatusNotMatch = 110, - /// - /// 预设开机时间点小于当前时间点 - /// - Err_TimeMachineRequired = 111, - /// - /// 数据格式验证失败/找不到区域 - /// - Err_DataValidationFailed = 112, - /// - /// 载具或站点已存在任务 - /// - Err_TaskFound = 113, - /// - /// 载具或站点已与其他对象建立绑定关系 - /// - Err_Bound = 114, - /// - /// 请求重复 - /// - Err_RequestDuplicate = 115, - /// - /// 请求版本不合法/任务不存在 - /// - Err_InvalidVersion = 116, - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/CancelTask/CancelTaskResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/CancelTask/CancelTaskResultModel.cs deleted file mode 100644 index ac4880a..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/CancelTask/CancelTaskResultModel.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.CancelTask -* 唯一标识:ac71b2ae-be38-49b0-88ae-982226661531 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:08:30 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.CancelTask -{ - /// - /// 取消任务返回实体 - /// - public class CancelTaskResultModel - { - /// - /// 返回码 - /// - public string code { get; set; } - - /// - /// 返回消息 - /// - public string message { get; set; } - - /// - /// 请求编号 - /// - public string reqCode { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/CarrierBind/CarrierBindResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/CarrierBind/CarrierBindResultModel.cs deleted file mode 100644 index 49dcd99..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/CarrierBind/CarrierBindResultModel.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.CarrierBind -* 唯一标识:d0c1f2h3-6021-49l2-4a21-e9b2n3o40526 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:载具绑定返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.CarrierBind -{ - /// - /// 载具绑定返回实体 - /// - public class CarrierBindResultModel - { - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/CarrierLock/CarrierLockResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/CarrierLock/CarrierLockResultModel.cs deleted file mode 100644 index a39da7c..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/CarrierLock/CarrierLockResultModel.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.CarrierLock -* 唯一标识:d9c0f1h2-6030-49m1-3a30-e8b1n2o39435 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:载具锁定返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.CarrierLock -{ - /// - /// 载具锁定返回实体 - /// - public class CarrierLockResultModel - { - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/CarrierUnbind/CarrierUnbindResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/CarrierUnbind/CarrierUnbindResultModel.cs deleted file mode 100644 index 597dcef..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/CarrierUnbind/CarrierUnbindResultModel.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.CarrierUnbind -* 唯一标识:d3c4f5h6-9024-49l5-7a24-e2b5n6o73829 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:载具解绑返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.CarrierUnbind -{ - /// - /// 载具解绑返回实体 - /// - public class CarrierUnbindResultModel - { - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/ContinueTask/ContinueTaskResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/ContinueTask/ContinueTaskResultModel.cs deleted file mode 100644 index fbd9e0f..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/ContinueTask/ContinueTaskResultModel.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.ContinueTask -* 唯一标识:4cf335d2-ab55-4c40-9a23-f2bf5ce7f597 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:09:13 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.ContinueTask -{ - /// - /// 任务继续返回实体 - /// - public class ContinueTaskResultModel - { - /// - /// 返回码 - /// - public string code { get; set; } - - /// - /// 返回消息 - /// - public string message { get; set; } - - /// - /// 请求编号 - /// - public string reqCode { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/EquipmentNotify/EquipmentNotifyResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/EquipmentNotify/EquipmentNotifyResultModel.cs deleted file mode 100644 index d7fe802..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/EquipmentNotify/EquipmentNotifyResultModel.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.EquipmentNotify -* 唯一标识:d3c4f5h6-3054-49o5-7a54-e2b5n6o73859 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:设备通知返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.EquipmentNotify -{ - /// - /// 设备通知返回实体 - /// - public class EquipmentNotifyResultModel - { - /// - /// 机器人任务编号 - /// - public string RobotTaskCode { get; set; } - - /// - /// 下一个序号 - /// - public int? NextSeq { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/GbCancelTask/GbCancelTaskResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/GbCancelTask/GbCancelTaskResultModel.cs deleted file mode 100644 index bedc6ae..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/GbCancelTask/GbCancelTaskResultModel.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.GbCancelTask -* 唯一标识:f6a7b8c9-1006-49c3-b902-d0a3f4g51613 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:GB标准-任务取消返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.GbCancelTask -{ - /// - /// GB标准-任务取消返回实体 - /// - public class GbCancelTaskResultModel - { - /// - /// 被取消的任务唯一标识 - /// - public string RobotTaskCode { get; set; } - - /// - /// 自定义扩展字段 - /// - public object Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/GbContinueTask/GbContinueTaskResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/GbContinueTask/GbContinueTaskResultModel.cs deleted file mode 100644 index 6cd6727..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/GbContinueTask/GbContinueTaskResultModel.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.GbContinueTask -* 唯一标识:c3d4e5f6-7003-49c3-b902-d0a3f4g51610 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:GB标准-任务继续执行返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.GbContinueTask -{ - /// - /// GB标准-任务继续执行返回实体 - /// - public class GbContinueTaskResultModel - { - /// - /// 任务号 - /// - public string RobotTaskCode { get; set; } - - /// - /// 下一步骤序号 - /// - public int? NextSeq { get; set; } - - /// - /// 自定义扩展字段 - /// - public object Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/GbTaskSubmit/GbTaskSubmitResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/GbTaskSubmit/GbTaskSubmitResultModel.cs deleted file mode 100644 index 212b93a..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/GbTaskSubmit/GbTaskSubmitResultModel.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.GbTaskSubmit -* 唯一标识:c3d4e5f6-8003-49c3-b902-d0a3f4g51616 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:GB标准-任务下发返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.GbTaskSubmit -{ - /// - /// GB标准-任务下发返回实体 - /// - public class GbTaskSubmitResultModel - { - public string code { get; set; } - - public string message { get; set; } - - public string errorCode{get;set;} - public GbTaskSubmitResultData data { get; set; } - - public bool success{get;set;} - } - - public class GbTaskSubmitResultData - { - public string robotTaskCode { get; set; } - public object extra { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/GenAgvSchedulingTask/GenAgvSchedulingTaskResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/GenAgvSchedulingTask/GenAgvSchedulingTaskResultModel.cs deleted file mode 100644 index d6077af..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/GenAgvSchedulingTask/GenAgvSchedulingTaskResultModel.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.GenAgvSchedulingTask -* 唯一标识:b61df9f9-1fcc-46ac-b3e9-4d37a3fd0d29 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:06:37 -* 版本:V2.0.0 -* 描述:GB标准-生成任务单返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V2.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.GenAgvSchedulingTask -{ - /// - /// GB标准-生成任务单返回实体 - /// - public class GenAgvSchedulingTaskResultModel - { - /// - /// 机器人任务编号 - /// - public string RobotTaskCode { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/MatLabelBind/MatLabelBindResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/MatLabelBind/MatLabelBindResultModel.cs deleted file mode 100644 index 7043a82..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/MatLabelBind/MatLabelBindResultModel.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.MatLabelBind -* 唯一标识:d7c8f9h0-6048-49n9-1a48-e6b9n0o17253 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:物料标签绑定返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.MatLabelBind -{ - /// - /// 物料标签绑定返回实体 - /// - public class MatLabelBindResultModel - { - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/MatLabelUnbind/MatLabelUnbindResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/MatLabelUnbind/MatLabelUnbindResultModel.cs deleted file mode 100644 index d778da4..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/MatLabelUnbind/MatLabelUnbindResultModel.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.MatLabelUnbind -* 唯一标识:d0c1f2h3-9051-49o2-4a51-e9b2n3o40556 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:物料标签解绑返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.MatLabelUnbind -{ - /// - /// 物料标签解绑返回实体 - /// - public class MatLabelUnbindResultModel - { - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/PreTask/PreTaskResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/PreTask/PreTaskResultModel.cs deleted file mode 100644 index d82badc..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/PreTask/PreTaskResultModel.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.PreTask -* 唯一标识:d5c6f7h8-3036-49m7-9a36-e4b7n8o95041 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:预任务返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.PreTask -{ - /// - /// 预任务返回实体 - /// - public class PreTaskResultModel - { - /// - /// 机器人任务编号 - /// - public string RobotTaskCode { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/QueryCarrier/QueryCarrierResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/QueryCarrier/QueryCarrierResultModel.cs deleted file mode 100644 index 1cb54ce..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/QueryCarrier/QueryCarrierResultModel.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.QueryCarrier -* 唯一标识:d4c5f6h7-3045-49n6-8a45-e3b6n7o84950 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:查询载具状态返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.QueryCarrier -{ - /// - /// 查询载具状态返回实体 - /// - public class QueryCarrierResultModel - { - /// - /// 载具编号 - /// - public string CarrierCode { get; set; } - - /// - /// 机器人任务编号 - /// - public string RobotTaskCode { get; set; } - - /// - /// 站点编号 - /// - public string SiteCode { get; set; } - - /// - /// 坐标X - /// - public double X { get; set; } - - /// - /// 坐标Y - /// - public double Y { get; set; } - - /// - /// 载具方向 - /// - public int? CarrierDir { get; set; } - - /// - /// 载具状态 - /// - public string CarrierStatus { get; set; } - - /// - /// 料箱编号 - /// - public string BinCode { get; set; } - - /// - /// 料箱名称 - /// - public string BinName { get; set; } - - /// - /// 机器人编号 - /// - public string RobotCode { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/QueryRobot/QueryRobotResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/QueryRobot/QueryRobotResultModel.cs deleted file mode 100644 index d20c426..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/QueryRobot/QueryRobotResultModel.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.QueryRobot -* 唯一标识:d1c2f3h4-9042-49n3-5a42-e0b3n4o51647 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:查询机器人状态返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.QueryRobot -{ - /// - /// 查询机器人状态返回实体 - /// - public class QueryRobotResultModel - { - /// - /// 机器人编号 - /// - public string SingleRobotCode { get; set; } - - /// - /// 机器人方向 - /// - public int RobotDir { get; set; } - - /// - /// 机器人IP - /// - public string RobotIp { get; set; } - - /// - /// 电池电量 - /// - public int Battery { get; set; } - - /// - /// 坐标X - /// - public double X { get; set; } - - /// - /// 坐标Y - /// - public double Y { get; set; } - - /// - /// 速度 - /// - public int Speed { get; set; } - - /// - /// 机器人状态 - /// - public string RobotStatus { get; set; } - - /// - /// 载具编号 - /// - public string CarrierCode { get; set; } - - /// - /// 警告列表 - /// - public List Warnings { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } - - /// - /// 警告信息 - /// - public class Waring - { - /// - /// 警告码 - /// - public string Code { get; set; } - - /// - /// 警告描述 - /// - public string Desc { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/QueryTask/QueryTaskResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/QueryTask/QueryTaskResultModel.cs deleted file mode 100644 index 4e68041..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/QueryTask/QueryTaskResultModel.cs +++ /dev/null @@ -1,120 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.QueryTask -* 唯一标识:d8c9f0h1-6039-49n0-2a39-e7b0n1o28344 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:查询任务状态返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.QueryTask -{ - /// - /// 查询任务状态返回实体 - /// - public class QueryTaskResultModel - { - /// - /// 机器人任务编号 - /// - public string RobotTaskCode { get; set; } - - /// - /// 任务类型 - /// - public string TaskType { get; set; } - - /// - /// 任务状态 - /// - public string TaskStatus { get; set; } - - /// - /// 初始优先级 - /// - public int? InitPriority { get; set; } - - /// - /// 截止时间 - /// - public string Deadline { get; set; } - - /// - /// 目标路径列表 - /// - public List TargetRoute { get; set; } - - /// - /// 执行机器人编号 - /// - public string SingleRobotCode { get; set; } - - /// - /// 当前序号 - /// - public int? CurrentSeq { get; set; } - - /// - /// 警告信息 - /// - public Waring Waring { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } - - /// - /// 目标路径 - /// - public class TargetRoute - { - /// - /// 类型 - /// - public string Type { get; set; } - - /// - /// 编号 - /// - public string Code { get; set; } - } - - /// - /// 警告信息 - /// - public class Waring - { - /// - /// 警告码 - /// - public string Code { get; set; } - - /// - /// 警告描述 - /// - public string Desc { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/SiteBind/SiteBindResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/SiteBind/SiteBindResultModel.cs deleted file mode 100644 index 32e978c..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/SiteBind/SiteBindResultModel.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.SiteBind -* 唯一标识:d6c7f8h9-3027-49l8-0a27-e5b8n9o06132 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:站点绑定返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.SiteBind -{ - /// - /// 站点绑定返回实体 - /// - public class SiteBindResultModel - { - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/SiteLock/SiteLockResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/SiteLock/SiteLockResultModel.cs deleted file mode 100644 index 05aebda..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/SiteLock/SiteLockResultModel.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.SiteLock -* 唯一标识:d2c3f4h5-9033-49m4-6a33-e1b4n5o62738 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:站点锁定返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.SiteLock -{ - /// - /// 站点锁定返回实体 - /// - public class SiteLockResultModel - { - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/TaskGroup/TaskGroupResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/TaskGroup/TaskGroupResultModel.cs deleted file mode 100644 index e95c762..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/TaskGroup/TaskGroupResultModel.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.TaskGroup -* 唯一标识:d2c3f4c5-6003-49d4-c903-d1b4g5h62708 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:任务组返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.TaskGroup -{ - /// - /// 任务组返回实体 - /// - public class TaskGroupResultModel - { - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/TaskPriority/TaskPriorityResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/TaskPriority/TaskPriorityResultModel.cs deleted file mode 100644 index 3399eac..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/TaskPriority/TaskPriorityResultModel.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.TaskPriority -* 唯一标识:d5c6f7g8-9006-49g7-f906-d4b7j8k95011 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:任务优先级返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.TaskPriority -{ - /// - /// 任务优先级返回实体 - /// - public class TaskPriorityResultModel - { - /// - /// 机器人任务编号 - /// - public string RobotTaskCode { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/ZoneBanish/ZoneBanishResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/ZoneBanish/ZoneBanishResultModel.cs deleted file mode 100644 index 3e252bd..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/ZoneBanish/ZoneBanishResultModel.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.ZoneBanish -* 唯一标识:d4c5f6h7-9015-49k6-8a15-e3b6n7o84920 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域驱逐返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.ZoneBanish -{ - /// - /// 区域驱逐返回实体 - /// - public class ZoneBanishResultModel - { - /// - /// 驱逐编号 - /// - public string BanishCode { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/ZoneBlockade/ZoneBlockadeResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/ZoneBlockade/ZoneBlockadeResultModel.cs deleted file mode 100644 index d1179a3..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/ZoneBlockade/ZoneBlockadeResultModel.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.ZoneBlockade -* 唯一标识:d7c8f9h0-3018-49k9-1a18-e6b9n0o17223 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域封锁返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.ZoneBlockade -{ - /// - /// 区域封锁返回实体 - /// - public class ZoneBlockadeResultModel - { - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/ZoneHoming/ZoneHomingResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/ZoneHoming/ZoneHomingResultModel.cs deleted file mode 100644 index ec750a9..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/ZoneHoming/ZoneHomingResultModel.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.ZoneHoming -* 唯一标识:d1c2f3h4-6012-49k3-5a12-e0b3n4o51617 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域回巢返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.ZoneHoming -{ - /// - /// 区域回巢返回实体 - /// - public class ZoneHomingResultModel - { - /// - /// 回巢编号 - /// - public string HomingCode { get; set; } - - /// - /// 机器人数量 - /// - public int RobotCount { get; set; } - - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Domain/Model/ZonePause/ZonePauseResultModel.cs b/Sln.Wcs.HikRoBotApi/Domain/Model/ZonePause/ZonePauseResultModel.cs deleted file mode 100644 index f18a11b..0000000 --- a/Sln.Wcs.HikRoBotApi/Domain/Model/ZonePause/ZonePauseResultModel.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Domain.Model.ZonePause -* 唯一标识:d8c9f0h1-3009-49j0-2a09-e7b0m1n28314 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-21 10:00:00 -* 版本:V1.0.0 -* 描述:区域暂停返回实体 -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Domain.Model.ZonePause -{ - /// - /// 区域暂停返回实体 - /// - public class ZonePauseResultModel - { - /// - /// 自定义数据 - /// - public string Extra { get; set; } - public string errorCode { get; set; } - public bool success { get; set; } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Service/IHikRoBotService.cs b/Sln.Wcs.HikRoBotApi/Service/IHikRoBotService.cs deleted file mode 100644 index 2c46f93..0000000 --- a/Sln.Wcs.HikRoBotApi/Service/IHikRoBotService.cs +++ /dev/null @@ -1,205 +0,0 @@ -using Sln.Wcs.HikRoBotApi.Domain.Dto.CancelTask; -using Sln.Wcs.HikRoBotApi.Domain.Dto.ContinueTask; -using Sln.Wcs.HikRoBotApi.Domain.Dto.GbCancelTask; -using Sln.Wcs.HikRoBotApi.Domain.Dto.GbContinueTask; -using Sln.Wcs.HikRoBotApi.Domain.Dto.GbTaskSubmit; -using Sln.Wcs.HikRoBotApi.Domain.Dto.GenAgvSchedulingTask; -using Sln.Wcs.HikRoBotApi.Domain.Dto.TaskGroup; -using Sln.Wcs.HikRoBotApi.Domain.Dto.TaskPriority; -using Sln.Wcs.HikRoBotApi.Domain.Dto.ZonePause; -using Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneHoming; -using Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBanish; -using Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBlockade; -using Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierBind; -using Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierUnbind; -using Sln.Wcs.HikRoBotApi.Domain.Dto.SiteBind; -using Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierLock; -using Sln.Wcs.HikRoBotApi.Domain.Dto.SiteLock; -using Sln.Wcs.HikRoBotApi.Domain.Dto.PreTask; -using Sln.Wcs.HikRoBotApi.Domain.Dto.QueryTask; -using Sln.Wcs.HikRoBotApi.Domain.Dto.QueryRobot; -using Sln.Wcs.HikRoBotApi.Domain.Dto.QueryCarrier; -using Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelBind; -using Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelUnbind; -using Sln.Wcs.HikRoBotApi.Domain.Dto.EquipmentNotify; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Service -* 唯一标识:ad6ee481-fa9c-4be2-a3b2-6741ddff58f7 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:15:10 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Service -{ - public interface IHikRoBotService - { - /// - /// GB标准-任务下发 - /// - GbTaskSubmitResultDto GbTaskSubmit(GbTaskSubmitDto gbTaskSubmit); - - /// - /// GB标准-任务继续执行 - /// - GbContinueTaskResultDto GbContinueTask(GbContinueTaskDto gbContinueTask); - - /// - /// GB标准-任务取消 - /// - GbCancelTaskResultDto GbCancelTask(GbCancelTaskDto gbCancelTask); - - /// - /// 任务组 - /// - /// - /// - TaskGroupResultDto TaskGroup(TaskGroupDto taskGroup); - - /// - /// 设置任务优先级 - /// - /// - /// - TaskPriorityResultDto SetTaskPriority(TaskPriorityDto taskPriority); - - /// - /// 区域暂停 - /// - /// - /// - ZonePauseResultDto ZonePause(ZonePauseDto zonePause); - - /// - /// 区域回巢 - /// - /// - /// - ZoneHomingResultDto ZoneHoming(ZoneHomingDto zoneHoming); - - /// - /// 区域驱逐 - /// - /// - /// - ZoneBanishResultDto ZoneBanish(ZoneBanishDto zoneBanish); - - /// - /// 区域封锁 - /// - /// - /// - ZoneBlockadeResultDto ZoneBlockade(ZoneBlockadeDto zoneBlockade); - - /// - /// 载具绑定 - /// - /// - /// - CarrierBindResultDto CarrierBind(CarrierBindDto carrierBind); - - /// - /// 载具解绑 - /// - /// - /// - CarrierUnbindResultDto CarrierUnbind(CarrierUnbindDto carrierUnbind); - - /// - /// 站点绑定 - /// - /// - /// - SiteBindResultDto SiteBind(SiteBindDto siteBind); - - /// - /// 载具锁定 - /// - /// - /// - CarrierLockResultDto CarrierLock(CarrierLockDto carrierLock); - - /// - /// 站点锁定 - /// - /// - /// - SiteLockResultDto SiteLock(SiteLockDto siteLock); - - /// - /// 预任务 - /// - /// - /// - PreTaskResultDto PreTask(PreTaskDto preTask); - - /// - /// 查询任务状态 - /// - /// - /// - QueryTaskResultDto QueryTaskStatus(QueryTaskDto queryTask); - - /// - /// 查询机器人状态 - /// - /// - /// - QueryRobotResultDto QueryRobotStatus(QueryRobotDto queryRobot); - - /// - /// 查询载具状态 - /// - /// - /// - QueryCarrierResultDto QueryCarrierStatus(QueryCarrierDto queryCarrier); - - /// - /// 物料标签绑定 - /// - /// - /// - MatLabelBindResultDto MatLabelBind(MatLabelBindDto matLabelBind); - - /// - /// 物料标签解绑 - /// - /// - /// - MatLabelUnbindResultDto MatLabelUnbind(MatLabelUnbindDto matLabelUnbind); - - /// - /// 设备通知 - /// - /// - /// - EquipmentNotifyResultDto EquipmentNotify(EquipmentNotifyDto equipmentNotify); - - /// - /// 设备通知(国标) - /// - /// - /// - EquipmentNotifyResultDto EquipmentNotifyGbt(EquipmentNotifyDto equipmentNotify); - } -} diff --git a/Sln.Wcs.HikRoBotApi/Service/Impl/HikRoBotService.cs b/Sln.Wcs.HikRoBotApi/Service/Impl/HikRoBotService.cs deleted file mode 100644 index c738fca..0000000 --- a/Sln.Wcs.HikRoBotApi/Service/Impl/HikRoBotService.cs +++ /dev/null @@ -1,829 +0,0 @@ -using Sln.Wcs.HikRoBotApi.Domain.Dto.GbCancelTask; -using Sln.Wcs.HikRoBotApi.Domain.Dto.GbContinueTask; -using Sln.Wcs.HikRoBotApi.Domain.Dto.GbTaskSubmit; -using Sln.Wcs.HikRoBotApi.Domain.Model.CarrierLock; -using Sln.Wcs.HikRoBotApi.Domain.Model.MatLabelUnbind; -using Sln.Wcs.HikRoBotApi.Domain.Model.SiteLock; -using Sln.Wcs.HikRoBotApi.Domain.Model.TaskGroup; -using Sln.Wcs.HikRoBotApi.Enum; -using Sln.Wcs.HikRoBotApi.Util; -using Sln.Wcs.HikRoBotSdk; -using TaskGroupResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.TaskGroup.TaskGroupResultDto; -using TaskPriorityResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.TaskPriority.TaskPriorityResultDto; -using ZonePauseResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.ZonePause.ZonePauseResultDto; -using ZoneHomingResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneHoming.ZoneHomingResultDto; -using ZoneBanishResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBanish.ZoneBanishResultDto; -using ZoneBlockadeResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.ZoneBlockade.ZoneBlockadeResultDto; -using CarrierBindResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierBind.CarrierBindResultDto; -using CarrierUnbindResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierUnbind.CarrierUnbindResultDto; -using SiteBindResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.SiteBind.SiteBindResultDto; -using CarrierLockResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.CarrierLock.CarrierLockResultDto; -using SiteLockResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.SiteLock.SiteLockResultDto; -using PreTaskResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.PreTask.PreTaskResultDto; -using QueryTaskResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.QueryTask.QueryTaskResultDto; -using QueryRobotResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.QueryRobot.QueryRobotResultDto; -using QueryCarrierResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.QueryCarrier.QueryCarrierResultDto; -using MatLabelBindResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelBind.MatLabelBindResultDto; -using MatLabelUnbindResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.MatLabelUnbind.MatLabelUnbindResultDto; -using EquipmentNotifyResultDto = Sln.Wcs.HikRoBotApi.Domain.Dto.EquipmentNotify.EquipmentNotifyResultDto; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Service.Impl -* 唯一标识:05713c1e-50f3-48cf-8ac8-0dfd1f768856 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:15:34 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Service.Impl -{ - public class HikRoBotService : IHikRoBotService - { - private readonly IHIKRoBotSdk hikRoBotSdk; - private readonly ApiResultCodeUtil codeUtil; - - public HikRoBotService(IHIKRoBotSdk hikRoBotSdk, ApiResultCodeUtil codeUtil) - { - this.hikRoBotSdk = hikRoBotSdk; - this.codeUtil = codeUtil; - } - - /// - /// 通用执行方法:封装空值检查、SDK 调用、结果码解析、异常处理 - /// - private TResult Execute( - Func sdkCall, - Func mapSuccess, - Func mapError) - { - try - { - dynamic resp = sdkCall(); - codeUtil.parse((string)resp.code, (string)resp.message, out var status); - return mapSuccess(resp, status); - } - catch (Exception ex) - { - return mapError(ex.Message); - } - } - - private static TResult Error(string msg) where TResult : new() - { - dynamic result = new TResult(); - result.code = HikRoBotStatusEnum.SDK调用异常; - result.msg = msg; - result.errorCode = msg; - result.success = false; - return result; - } - - public GbContinueTaskResultDto GbContinueTask(GbContinueTaskDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.GbContinueTask(new HikRoBotSdk.Dto.GbContinueTask.GbContinueTaskDto - { - triggerType = req.TriggerType, - triggerCode = req.TriggerCode, - targetRoute = req.TargetRoute != null ? new HikRoBotSdk.Dto.Common.TargetRoute - { - type = req.TargetRoute.Type, - code = req.TargetRoute.Code, - operation = req.TargetRoute.Operation, - } : null, - extra = req.Extra, - }); - }, - (resp, status) => new GbContinueTaskResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.GbContinueTask.GbContinueTaskResultModel - { - RobotTaskCode = resp.data?.robotTaskCode, - NextSeq = resp.data?.nextSeq, - Extra = resp.data?.extra, - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public GbCancelTaskResultDto GbCancelTask(GbCancelTaskDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.GbCancelTask(new HikRoBotSdk.Dto.GbCancelTask.GbCancelTaskDto - { - robotTaskCode = req.RobotTaskCode, - cancelType = req.CancelType, - carrierCode = req.CarrierCode, - robotCode = req.RobotCode, - reason = req.Reason, - returnTaskType = req.ReturnTaskType, - targetRoute = req.TargetRoute != null ? new HikRoBotSdk.Dto.Common.TargetRoute - { - type = req.TargetRoute.Type, - code = req.TargetRoute.Code, - } : null, - extra = req.Extra, - }); - }, - (resp, status) => new GbCancelTaskResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.GbCancelTask.GbCancelTaskResultModel - { - RobotTaskCode = resp.data?.robotTaskCode, - Extra = resp.data?.extra, - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public GbTaskSubmitResultDto GbTaskSubmit(GbTaskSubmitDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.GbTaskSubmit(new HikRoBotSdk.Dto.GbTaskSubmit.GbTaskSubmitDto - { - taskType = req.TaskType, - initPriority = req.InitPriority, - deadline = req.Deadline, - expectedStartTime = req.ExpectedStartTime, - robotType = req.RobotType, - robotCode = req.RobotCode, - interrupt = req.Interrupt, - robotTaskCode = req.RobotTaskCode, - groupCode = req.GroupCode, - extra = req.Extra != null ? new HikRoBotSdk.Dto.Common.ExtraInfo() : null, - targetRoute = req.TargetRoute != null ? req.TargetRoute.ConvertAll(r => new HikRoBotSdk.Dto.Common.TargetRoute - { - type = r.Type, - code = r.Code, - operation = r.Operation, - robotType = r.RobotType, - robotCode = r.RobotCode, - }) : null, - }); - }, - (resp, status) => new GbTaskSubmitResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.GbTaskSubmit.GbTaskSubmitResultModel - { - code = resp.code, - message = resp.message, - data = new Domain.Model.GbTaskSubmit.GbTaskSubmitResultData - { - robotTaskCode = resp.data?.robotTaskCode, - extra = resp.data?.extra?.ToString(), - }, - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public TaskGroupResultDto TaskGroup(Domain.Dto.TaskGroup.TaskGroupDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.TaskGroup(new HikRoBotSdk.Dto.TaskGroup.TaskGroupDto - { - groupCode = req.GroupCode, - strategy = req.Strategy, - strategyValue = req.StrategyValue, - groupSeq = !string.IsNullOrEmpty(req.GroupSeq) ? int.Parse(req.GroupSeq) : (int?)null, - targetRoute = req.TargetRoute != null ? new HikRoBotSdk.Dto.Common.TargetRoute - { - type = req.TargetRoute.Type, - code = req.TargetRoute.Code, - } : null, - }); - }, - (resp, status) => new TaskGroupResultDto { code = status, msg = resp.message,data = new TaskGroupResultModel() - { - success = resp.success, - errorCode = resp.errorCode, - }}, - Error - ); - } - - public TaskPriorityResultDto SetTaskPriority(Domain.Dto.TaskPriority.TaskPriorityDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.SetTaskPriority(new HikRoBotSdk.Dto.TaskPriority.TaskPriorityDto - { - robotTaskCode = req.RobotTaskCode, - initPriority = req.InitPriority ?? 0, - deadline = req.Deadline, - extra = req.Extra, - }); - }, - (resp, status) => new TaskPriorityResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.TaskPriority.TaskPriorityResultModel - { - RobotTaskCode = resp.data?.robotTaskCode, - Extra = resp.data?.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public ZonePauseResultDto ZonePause(Domain.Dto.ZonePause.ZonePauseDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.ZonePause(new HikRoBotSdk.Dto.ZonePause.ZonePauseDto - { - zoneCode = req.ZoneCode, - mapCode = req.MapCode, - invoke = req.Invoke, - }); - }, - (resp, status) => new ZonePauseResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.ZonePause.ZonePauseResultModel - { - Extra = resp.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public ZoneHomingResultDto ZoneHoming(Domain.Dto.ZoneHoming.ZoneHomingDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.ZoneHoming(new HikRoBotSdk.Dto.ZoneHoming.ZoneHomingDto - { - mapCode = req.MapCode, - zoneCode = req.ZoneCode, - zoneCodes = req.ZoneCodes, - autoShutdown = req.AutoShutdown.ToString().ToLower(), - bootTime = req.BootTime, - expireTime = req.ExpireTime, - extra = req.Extra, - }); - }, - (resp, status) => new ZoneHomingResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.ZoneHoming.ZoneHomingResultModel - { - HomingCode = resp.data?.homingCode, - RobotCount = resp.data?.robotCount ?? 0, - Extra = resp.data?.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public ZoneBanishResultDto ZoneBanish(Domain.Dto.ZoneBanish.ZoneBanishDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.ZoneBanish(new HikRoBotSdk.Dto.ZoneBanish.ZoneBanishDto - { - zoneCode = req.ZoneCode, - zoneCodes = req.ZoneCodes, - targetZoneCode = req.TargetZoneCode, - pause = req.Pause.ToString().ToLower(), - report = req.Report.ToString().ToLower(), - controlMode = req.ControlMode, - expireTime = req.ExpireTime, - invoke = req.Invoke, - extra = req.Extra, - }); - }, - (resp, status) => new ZoneBanishResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.ZoneBanish.ZoneBanishResultModel - { - BanishCode = resp.data?.banishCode, - Extra = resp.data?.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public ZoneBlockadeResultDto ZoneBlockade(Domain.Dto.ZoneBlockade.ZoneBlockadeDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.ZoneBlockade(new HikRoBotSdk.Dto.ZoneBlockade.ZoneBlockadeDto - { - zoneCode = req.ZoneCode, - mapCode = req.MapCode, - invoke = req.Invoke, - pause = req.Pause.ToString().ToLower(), - report = req.Report.ToString().ToLower(), - disableSite = req.DisableSite, - enableSite = req.EnableSite, - }); - }, - (resp, status) => new ZoneBlockadeResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.ZoneBlockade.ZoneBlockadeResultModel - { - Extra = resp.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public CarrierBindResultDto CarrierBind(Domain.Dto.CarrierBind.CarrierBindDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.CarrierBind(new HikRoBotSdk.Dto.CarrierBind.CarrierBindDto - { - carrierCode = req.CarrierCode, - siteCode = req.SiteCode, - carrierDir = req.CarrierDir, - extra = req.Extra, - }); - }, - (resp, status) => new CarrierBindResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.CarrierBind.CarrierBindResultModel - { - Extra = resp.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public CarrierUnbindResultDto CarrierUnbind(Domain.Dto.CarrierUnbind.CarrierUnbindDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.CarrierUnbind(new HikRoBotSdk.Dto.CarrierUnbind.CarrierUnbindDto - { - carrierCode = req.CarrierCode, - siteCode = req.SiteCode, - extra = req.Extra, - }); - }, - (resp, status) => new CarrierUnbindResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.CarrierUnbind.CarrierUnbindResultModel - { - Extra = resp.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public SiteBindResultDto SiteBind(Domain.Dto.SiteBind.SiteBindDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.SiteBind(new HikRoBotSdk.Dto.SiteBind.SiteBindDto - { - slotCategory = req.SlotCategory, - slotCode = req.SlotCode, - carrierCategory = req.CarrierCategory, - carrierType = req.CarrierType, - carrierCode = req.CarrierCode, - carrierDir = req.CarrierDir, - invoke = req.Invoke, - stackLabel = req.StackLabel, - colCount = req.ColCount, - extra = req.Extra, - }); - }, - (resp, status) => new SiteBindResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.SiteBind.SiteBindResultModel - { - Extra = resp.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public CarrierLockResultDto CarrierLock(Domain.Dto.CarrierLock.CarrierLockDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.CarrierLock(new HikRoBotSdk.Dto.CarrierLock.CarrierLockDto - { - carrierCode = req.CarrierCode, - invoke = req.Invoke, - }); - }, - (resp, status) => new CarrierLockResultDto { code = status, msg = resp.message, data = new CarrierLockResultModel() - { - success = resp.success, - errorCode = resp.errorCode, - }}, - Error - ); - } - - public SiteLockResultDto SiteLock(Domain.Dto.SiteLock.SiteLockDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.SiteLock(new HikRoBotSdk.Dto.SiteLock.SiteLockDto - { - siteCode = req.SiteCode, - invoke = req.Invoke, - }); - }, - (resp, status) => new SiteLockResultDto { code = status, msg = resp.message,data = new SiteLockResultModel() - { - success = resp.success, - errorCode = resp.errorCode, - }}, - Error - ); - } - - public PreTaskResultDto PreTask(Domain.Dto.PreTask.PreTaskDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.PreTask(new HikRoBotSdk.Dto.PreTask.PreTaskDto - { - siteCode = req.SiteCode, - nextTaskTime = req.NextTaskTime, - robotType = req.RobotType, - priority = req.Priority, - taskCount = req.TaskCount, - capacityCount = req.CapacityCount, - amrDir = req.AmrDir, - extra = req.Extra, - }); - }, - (resp, status) => new PreTaskResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.PreTask.PreTaskResultModel - { - RobotTaskCode = resp.data?.robotTaskCode, - Extra = resp.data?.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public QueryTaskResultDto QueryTaskStatus(Domain.Dto.QueryTask.QueryTaskDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.QueryTaskStatus(new HikRoBotSdk.Dto.QueryTask.QueryTaskDto - { - robotTaskCode = req.RobotTaskCode, - }); - }, - (resp, status) => - { - var data = resp.data; - var model = new Domain.Model.QueryTask.QueryTaskResultModel - { - RobotTaskCode = data?.robotTaskCode, - TaskType = data?.taskType, - TaskStatus = data?.taskStatus, - InitPriority = data?.initPriority, - Deadline = data?.deadline, - SingleRobotCode = data?.singleRobotCode, - CurrentSeq = data?.currentSeq, - Extra = data?.extra?.ToString(), - success = resp.success, - errorCode = resp.errorCode, - }; - - if (data?.targetRoute != null) - { - model.TargetRoute = ((IEnumerable)data.targetRoute).Select(r => new Domain.Model.QueryTask.TargetRoute - { - Type = r.type, - Code = r.code, - }).ToList(); - } - - if (data?.waring != null) - { - model.Waring = new Domain.Model.QueryTask.Waring - { - Code = data.waring.taskWarnCode, - Desc = data.waring.errorMsg, - }; - } - - return new QueryTaskResultDto { code = status, msg = resp.message, data = model }; - }, - Error - ); - } - - public QueryRobotResultDto QueryRobotStatus(Domain.Dto.QueryRobot.QueryRobotDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.QueryRobotStatus(new HikRoBotSdk.Dto.QueryRobot.QueryRobotDto - { - singleRobotCode = req.SingleRobotCode, - }); - }, - (resp, status) => - { - var data = resp.data; - var model = new Domain.Model.QueryRobot.QueryRobotResultModel - { - SingleRobotCode = data?.singleRobotCode, - RobotDir = data?.robotDir ?? 0, - RobotIp = data?.robotIp, - Battery = data?.battery ?? 0, - Speed = data?.speed ?? 0, - CarrierCode = data?.carrierCode, - Extra = data?.extra?.ToString(), - success = resp.success, - errorCode = resp.errorCode, - }; - - string xStr = data?.x; - if (double.TryParse(xStr, out double xVal)) model.X = xVal; - - string yStr = data?.y; - if (double.TryParse(yStr, out double yVal)) model.Y = yVal; - - if (data?.robotStatus != null) - model.RobotStatus = data.robotStatus.taskable; - - if (data?.warnings != null) - { - model.Warnings = ((IEnumerable)data.warnings).Select(w => new Domain.Model.QueryRobot.Waring - { - Code = w.taskWarnCode, - Desc = w.errorMsg, - }).ToList(); - } - - return new QueryRobotResultDto { code = status, msg = resp.message, data = model}; - }, - Error - ); - } - - public QueryCarrierResultDto QueryCarrierStatus(Domain.Dto.QueryCarrier.QueryCarrierDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.QueryCarrierStatus(new HikRoBotSdk.Dto.QueryCarrier.QueryCarrierDto - { - carrierCode = req.CarrierCode, - }); - }, - (resp, status) => - { - var data = resp.data; - var model = new Domain.Model.QueryCarrier.QueryCarrierResultModel - { - CarrierCode = data?.carrierCode, - RobotTaskCode = data?.robotTaskCode, - SiteCode = data?.siteCode, - CarrierDir = data?.carrierDir, - CarrierStatus = data?.carrierStatus, - BinCode = data?.binCode, - BinName = data?.binName, - RobotCode = data?.robotCode, - Extra = data?.extra?.ToString(), - success = resp.success, - errorCode = resp.errorCode, - }; - - string xStr = data?.x; - if (double.TryParse(xStr, out double xVal)) model.X = xVal; - - string yStr = data?.y; - if (double.TryParse(yStr, out double yVal)) model.Y = yVal; - - return new QueryCarrierResultDto { code = status, msg = resp.message, data = model }; - }, - Error - ); - } - - public MatLabelBindResultDto MatLabelBind(Domain.Dto.MatLabelBind.MatLabelBindDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.MatLabelBind(new HikRoBotSdk.Dto.MatLabelBind.MatLabelBindDto - { - carrierCode = req.CarrierCode, - matLabel = req.MatLabel, - }); - }, - (resp, status) => new MatLabelBindResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.MatLabelBind.MatLabelBindResultModel - { - Extra = resp.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public MatLabelUnbindResultDto MatLabelUnbind(Domain.Dto.MatLabelUnbind.MatLabelUnbindDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.MatLabelUnbind(new HikRoBotSdk.Dto.MatLabelUnbind.MatLabelUnbindDto - { - carrierCode = req.CarrierCode, - matLabel = req.MatLabel, - }); - }, - (resp, status) => new MatLabelUnbindResultDto { code = status, msg = resp.message,data = new MatLabelUnbindResultModel() - { - errorCode = resp.errorCode, - success = resp.success, - }}, - Error - ); - } - - public EquipmentNotifyResultDto EquipmentNotify(Domain.Dto.EquipmentNotify.EquipmentNotifyDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.EquipmentNotify(new HikRoBotSdk.Dto.EquipmentNotify.EquipmentNotifyDto - { - eqptCode = req.EqptCode, - taskCode = req.TaskCode, - actionStatus = req.ActionStatus, - siteCode = req.SiteCode, - extra = req.Extra, - }); - }, - (resp, status) => new EquipmentNotifyResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.EquipmentNotify.EquipmentNotifyResultModel - { - RobotTaskCode = resp.data?.robotTaskCode, - NextSeq = resp.data?.nextSeq, - Extra = resp.data?.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - - public EquipmentNotifyResultDto EquipmentNotifyGbt(Domain.Dto.EquipmentNotify.EquipmentNotifyDto req) - { - return Execute( - () => - { - if (req == null) throw new ArgumentException("输入参数为空。"); - return hikRoBotSdk.EquipmentNotifyGbt(new HikRoBotSdk.Dto.EquipmentNotify.EquipmentNotifyDto - { - eqptCode = req.EqptCode, - taskCode = req.TaskCode, - actionStatus = req.ActionStatus, - siteCode = req.SiteCode, - extra = req.Extra, - }); - }, - (resp, status) => new EquipmentNotifyResultDto - { - code = status, - msg = resp.message, - data = new Domain.Model.EquipmentNotify.EquipmentNotifyResultModel - { - RobotTaskCode = resp.data?.robotTaskCode, - NextSeq = resp.data?.nextSeq, - Extra = resp.data?.extra?.ToString(), - errorCode = resp.errorCode, - success = resp.success, - }, - }, - Error - ); - } - } -} diff --git a/Sln.Wcs.HikRoBotApi/Sln.Wcs.HikRoBotApi.csproj b/Sln.Wcs.HikRoBotApi/Sln.Wcs.HikRoBotApi.csproj deleted file mode 100644 index 86ac570..0000000 --- a/Sln.Wcs.HikRoBotApi/Sln.Wcs.HikRoBotApi.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - net8.0 - enable - enable - - - - - - - - diff --git a/Sln.Wcs.HikRoBotApi/Util/ApiResultCodeUtil.cs b/Sln.Wcs.HikRoBotApi/Util/ApiResultCodeUtil.cs deleted file mode 100644 index 3481301..0000000 --- a/Sln.Wcs.HikRoBotApi/Util/ApiResultCodeUtil.cs +++ /dev/null @@ -1,77 +0,0 @@ -using Sln.Wcs.HikRoBotApi.Enum; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -#region << 版 本 注 释 >> -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:T14-GEN3-7895 -* 命名空间:Sln.Wcs.HikRoBotApi.Util -* 唯一标识:7cea7d00-c417-480f-b2af-ff47d07e25d8 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-02-25 15:11:14 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ -#endregion << 版 本 注 释 >> -namespace Sln.Wcs.HikRoBotApi.Util -{ - public class ApiResultCodeUtil - { - - /// - /// - /// - /// - /// - /// - /// - public bool parse(string respCode, string respMsg, out HikRoBotStatusEnum hikRoBotStatus) - { - bool isRes = false; - - hikRoBotStatus = HikRoBotStatusEnum.成功; - - switch (respCode) - { - case "0": - if (respMsg.Contains("成功")) - { - hikRoBotStatus = HikRoBotStatusEnum.成功; - isRes = true; - } - break; - case "1": - hikRoBotStatus = HikRoBotStatusEnum.参数相关的错误; - break; - case "6": - hikRoBotStatus = HikRoBotStatusEnum.重复发送上层系统不需要重发; - break; - case "99": - hikRoBotStatus = HikRoBotStatusEnum.其他未知错误调用失败后可以重试; - break; - case "100": - hikRoBotStatus = HikRoBotStatusEnum.该任务不存在上层系统不需重发需要人工介入处理; - break; - default: - isRes = true; - break; - } - - return isRes; - } - } -} diff --git a/Sln.Wcs.HoistApi/Domain/Dto/GetHoistStatus/GetHoistStatusDto.cs b/Sln.Wcs.HoistApi/Domain/Dto/GetHoistStatus/GetHoistStatusDto.cs deleted file mode 100644 index 2a9e71e..0000000 --- a/Sln.Wcs.HoistApi/Domain/Dto/GetHoistStatus/GetHoistStatusDto.cs +++ /dev/null @@ -1,71 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Domain.Dto.GetHoistStatus -* 唯一标识:8BF91B3B-BB38-4809-9F3A-0B634C3853DC -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-29 14:30:55 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -namespace Sln.Wcs.HoistApi.Domain.Dto.GetHoistStatus; - -public class GetHoistStatusDto -{ - /// - /// 提升机编号 - /// - public string hoistCode { get; set; } - - /// - /// 反馈任务执行指令:是否可以下发任务 - /// - public string canDispatchTask { get; set; } - - /// - /// 当前楼层 - /// - public string currentFloor { get; set; } - - /// - /// 接驳位状态(1~5 楼) - /// 索引 0 → 1楼,索引 1 → 2楼,... 索引 4 → 5楼 - /// - public List transferStationStatus { get; set; } - - /// - /// 读写器触发状态(1~5 楼) - /// 索引 0 → 1楼,索引 1 → 2楼,... 索引 4 → 5楼 - /// - public List readerTriggerStatus { get; set; } - - /// - /// 自动状态:true = 自动模式,false = 手动模式 - /// - public string isAutoMode { get; set; } - - /// - /// 屏蔽调度:true = 屏蔽中,false = 未屏蔽 - /// - public string isDispatchBlocked { get; set; } - - /// - /// 状态指示(详见 ) - /// - public string stateIndicator { get; set; } -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Domain/Dto/GetHoistStatus/GetHoistStatusResultDto.cs b/Sln.Wcs.HoistApi/Domain/Dto/GetHoistStatus/GetHoistStatusResultDto.cs deleted file mode 100644 index 7af62ed..0000000 --- a/Sln.Wcs.HoistApi/Domain/Dto/GetHoistStatus/GetHoistStatusResultDto.cs +++ /dev/null @@ -1,36 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Domain.Dto.GetHoistStatus -* 唯一标识:CF90B482-6D53-45A9-A645-52786ED616D4 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-29 14:31:03 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HoistApi.Domain.Enum; -using Sln.Wcs.HoistApi.Domain.Model.GetHoistStatus; -using Sln.Wcs.HoistApi.Domain.Model.HoistControl; - -namespace Sln.Wcs.HoistApi.Domain.Dto.GetHoistStatus; - -public class GetHoistStatusResultDto:ResultDto -{ - -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Domain/Dto/HoistControl/HoistControlDto.cs b/Sln.Wcs.HoistApi/Domain/Dto/HoistControl/HoistControlDto.cs deleted file mode 100644 index 7173a39..0000000 --- a/Sln.Wcs.HoistApi/Domain/Dto/HoistControl/HoistControlDto.cs +++ /dev/null @@ -1,41 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Domain.Domain.HoistControl -* 唯一标识:2B61FFB2-F10E-47BC-8B36-56524EB4F054 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-06 14:20:07 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -using Sln.Wcs.HoistApi.Domain.Enum; - -namespace Sln.Wcs.HoistApi.Domain.Dto.HoistControl; - -public class HoistControlDto -{ - /// - /// 提升机编号 - /// - public string hoistCode { get; set; } - - /// - /// 动作 - /// - public ControlAction action { get; set; } -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Domain/Dto/HoistControl/HoistControlResultDto.cs b/Sln.Wcs.HoistApi/Domain/Dto/HoistControl/HoistControlResultDto.cs deleted file mode 100644 index e2edd9a..0000000 --- a/Sln.Wcs.HoistApi/Domain/Dto/HoistControl/HoistControlResultDto.cs +++ /dev/null @@ -1,35 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Domain.Domain.HoistControl -* 唯一标识:2D12D182-6A86-4516-8AF2-B8E8FAC44CC6 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-06 14:20:15 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HoistApi.Domain.Enum; -using Sln.Wcs.HoistApi.Domain.Model.HoistControl; - -namespace Sln.Wcs.HoistApi.Domain.Dto.HoistControl; - -public class HoistControlResultDto:ResultDto -{ - -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Domain/Dto/HoistTaskExecutor/HoistTaskExeDto.cs b/Sln.Wcs.HoistApi/Domain/Dto/HoistTaskExecutor/HoistTaskExeDto.cs deleted file mode 100644 index 229c2c4..0000000 --- a/Sln.Wcs.HoistApi/Domain/Dto/HoistTaskExecutor/HoistTaskExeDto.cs +++ /dev/null @@ -1,49 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Domain.Domain.HoistTaskExecutor -* 唯一标识:217D981D-DC12-4004-9B15-30E2C1D091C1 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-06 14:20:27 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -namespace Sln.Wcs.HoistApi.Domain.Dto.HoistTaskExecutor; - -public class HoistTaskExeDto -{ - /// - /// 提升机编号 - /// - public string hoistCode { get; set; } - - /// - /// 任务编号 - /// - public string taskCode { get; set; } - - /// - /// 起点 - /// - public int startPoint { get; set; } - - /// - /// 终点 - /// - public int endPoint { get; set; } -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Domain/Dto/HoistTaskExecutor/HoistTaskExeResultDto.cs b/Sln.Wcs.HoistApi/Domain/Dto/HoistTaskExecutor/HoistTaskExeResultDto.cs deleted file mode 100644 index ded848f..0000000 --- a/Sln.Wcs.HoistApi/Domain/Dto/HoistTaskExecutor/HoistTaskExeResultDto.cs +++ /dev/null @@ -1,35 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Domain.Domain.HoistTaskExecutor -* 唯一标识:399F7475-BEC6-42FA-AF32-AC99F5CBC35F -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-06 14:20:34 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -using Sln.Wcs.Common.Domain.Dto; -using Sln.Wcs.HoistApi.Domain.Enum; -using Sln.Wcs.HoistApi.Domain.Model.HoistTaskExecutor; - -namespace Sln.Wcs.HoistApi.Domain.Dto.HoistTaskExecutor; - -public class HoistTaskExeResultDto:ResultDto -{ - -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Domain/Enum/ControlAction.cs b/Sln.Wcs.HoistApi/Domain/Enum/ControlAction.cs deleted file mode 100644 index bb87240..0000000 --- a/Sln.Wcs.HoistApi/Domain/Enum/ControlAction.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace Sln.Wcs.HoistApi.Domain.Enum; - -public enum ControlAction -{ - /// - /// 移动 - /// - Move, - - /// - /// 开启 - /// - Start, - - /// - /// 停止 - /// - Stop, - - /// - /// 复位 - /// - Reset, - - /// - /// 校准 - /// - Calibrate -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Domain/Enum/HoistStatusEnum.cs b/Sln.Wcs.HoistApi/Domain/Enum/HoistStatusEnum.cs deleted file mode 100644 index a427740..0000000 --- a/Sln.Wcs.HoistApi/Domain/Enum/HoistStatusEnum.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Sln.Wcs.HoistApi.Domain.Enum; - -public enum HoistStatusEnum -{ - 成功 = 0, - 参数相关的错误 = 1, - 重复发送上层系统不需要重发 = 6, - 其他未知错误调用失败后可以重试 = 99, - 该任务不存在上层系统不需重发需要人工介入处理=100, - SDK调用异常=101, -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Domain/Model/GetHoistStatus/GetHoistStatusResultModel.cs b/Sln.Wcs.HoistApi/Domain/Model/GetHoistStatus/GetHoistStatusResultModel.cs deleted file mode 100644 index c203fcd..0000000 --- a/Sln.Wcs.HoistApi/Domain/Model/GetHoistStatus/GetHoistStatusResultModel.cs +++ /dev/null @@ -1,81 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Domain.Model.GetHoistStatus -* 唯一标识:A8DBEA2F-0505-40E1-B810-2617B9B0EBA7 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-29 14:32:07 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -namespace Sln.Wcs.HoistApi.Domain.Model.GetHoistStatus; - -public class GetHoistStatusResultModel -{ - /// - /// 返回码 - /// - public string code { get; set; } - - /// - /// 返回消息 - /// - public string message { get; set; } - - /// - /// 提升机编号 - /// - public string hoistCode { get; set; } - - /// - /// 反馈任务执行指令:是否可以下发任务 - /// - public int canDispatchTask { get; set; } - - /// - /// 当前楼层 - /// - public int currentFloor { get; set; } - - /// - /// 接驳位状态(1~5 楼) - /// 索引 0 → 1楼,索引 1 → 2楼,... 索引 4 → 5楼 - /// - public int[] transferStationStatus { get; set; } = new int[5]; - - /// - /// 读写器触发状态(1~5 楼) - /// 索引 0 → 1楼,索引 1 → 2楼,... 索引 4 → 5楼 - /// - public int[] readerTriggerStatus { get; set; } = new int[5]; - - /// - /// 自动状态:true = 自动模式,false = 手动模式 - /// - public int isAutoMode { get; set; } - - /// - /// 屏蔽调度:true = 屏蔽中,false = 未屏蔽 - /// - public int isDispatchBlocked { get; set; } - - /// - /// 状态指示(详见 ) - /// - public int stateIndicator { get; set; } -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Domain/Model/HoistControl/HoistControlResultModel.cs b/Sln.Wcs.HoistApi/Domain/Model/HoistControl/HoistControlResultModel.cs deleted file mode 100644 index d33a42e..0000000 --- a/Sln.Wcs.HoistApi/Domain/Model/HoistControl/HoistControlResultModel.cs +++ /dev/null @@ -1,44 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Domain.Model.HoistControl -* 唯一标识:4974C976-A0D5-4FB2-B4AD-F45E11935008 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-06 14:19:16 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -namespace Sln.Wcs.HoistApi.Domain.Model.HoistControl; - -public class HoistControlResultModel -{ - /// - /// 返回码 - /// - public string code { get; set; } - - /// - /// 返回消息 - /// - public string message { get; set; } - - /// - /// 任务编号 - /// - public string taskCode { get; set; } -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Domain/Model/HoistTaskExecutor/HoistTaskExeResultModel.cs b/Sln.Wcs.HoistApi/Domain/Model/HoistTaskExecutor/HoistTaskExeResultModel.cs deleted file mode 100644 index cff708f..0000000 --- a/Sln.Wcs.HoistApi/Domain/Model/HoistTaskExecutor/HoistTaskExeResultModel.cs +++ /dev/null @@ -1,44 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Domain.Model.HoistTaskExecutor -* 唯一标识:A4E0666A-66FA-46AE-B783-E385F905092E -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-06 14:19:40 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -namespace Sln.Wcs.HoistApi.Domain.Model.HoistTaskExecutor; - -public class HoistTaskExeResultModel -{ - /// - /// 返回码 - /// - public string code { get; set; } - - /// - /// 返回消息 - /// - public string message { get; set; } - - /// - /// 任务编号 - /// - public string taskCode { get; set; } -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Service/IHoistApiService.cs b/Sln.Wcs.HoistApi/Service/IHoistApiService.cs deleted file mode 100644 index 431fdc0..0000000 --- a/Sln.Wcs.HoistApi/Service/IHoistApiService.cs +++ /dev/null @@ -1,55 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Service -* 唯一标识:6A17F59C-C8AD-4A71-BF65-59412634AF88 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-06 14:23:32 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -using Sln.Wcs.HoistApi.Domain.Dto.GetHoistStatus; -using Sln.Wcs.HoistApi.Domain.Dto.HoistControl; -using Sln.Wcs.HoistApi.Domain.Dto.HoistTaskExecutor; - -namespace Sln.Wcs.HoistApi.Service; - -public interface IHoistApiService -{ - /// - /// 提升机控制 - /// MOVE_TO, STOP, EMERGENCY_STOP, RESET, CALIBRATE - /// - /// - /// - HoistControlResultDto HoistControl(HoistControlDto hoistControlDto); - - /// - /// 提升机任务执行 - /// - /// - /// - HoistTaskExeResultDto HoistTaskExecutor(HoistTaskExeDto hoistTaskExeDto); - - /// - /// 获取提升机状态 - /// - /// - /// - GetHoistStatusResultDto GetHoistStatus(GetHoistStatusDto hoistStatusDto); -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Service/Impl/HoistApiService.cs b/Sln.Wcs.HoistApi/Service/Impl/HoistApiService.cs deleted file mode 100644 index 25cf8be..0000000 --- a/Sln.Wcs.HoistApi/Service/Impl/HoistApiService.cs +++ /dev/null @@ -1,195 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Service.Impl -* 唯一标识:E44EB57C-A5C0-49F3-9C90-602B14CF613B -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-06 14:23:55 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -using Sln.Wcs.HoistApi.Domain.Dto.GetHoistStatus; -using Sln.Wcs.HoistApi.Domain.Dto.HoistControl; -using Sln.Wcs.HoistApi.Domain.Dto.HoistTaskExecutor; -using Sln.Wcs.HoistApi.Domain.Enum; -using Sln.Wcs.HoistApi.Domain.Model.GetHoistStatus; -using Sln.Wcs.HoistApi.Domain.Model.HoistControl; -using Sln.Wcs.HoistApi.Domain.Model.HoistTaskExecutor; -using Sln.Wcs.HoistApi.Util; -using Sln.Wcs.HoistSdk; - -namespace Sln.Wcs.HoistApi.Service.Impl; - -public class HoistApiService:IHoistApiService -{ - - private readonly IHoistSdk hoistSdk; - private readonly ApiResultCodeUtil codeUtil; - - public HoistApiService(IHoistSdk hoistSdk, ApiResultCodeUtil codeUtil) - { - this.hoistSdk = hoistSdk; - this.codeUtil = codeUtil; - } - - /// - /// 提升机控制 - /// - /// - /// - /// - public HoistControlResultDto HoistControl(HoistControlDto hoistControlDto) - { - try - { - if (hoistControlDto == null) - { - throw new ArgumentException($"输入参数为空。"); - } - - var data = new HoistSdk.Dto.HoistControl.HoistControlDto() - { - hoistCode = hoistControlDto.hoistCode, - action = (HoistSdk.Enum.ControlAction)hoistControlDto.action, - }; - - var resp = this.hoistSdk.HoistControl(data); - - bool parseRes = this.codeUtil.parse(resp.code, resp.message, out HoistStatusEnum hoistStatusEnum); - - return new HoistControlResultDto() - { - code = hoistStatusEnum, - msg = resp.message, - data = new HoistControlResultModel() - { - code = resp.code, - message = resp.message, - taskCode = resp.taskCode, - }, - }; - - } - catch (Exception ex) - { - return new HoistControlResultDto() - { - code = HoistStatusEnum.SDK调用异常, - msg = ex.Message, - }; - } - } - - /// - /// 提升机任务执行 - /// - /// - /// - /// - public HoistTaskExeResultDto HoistTaskExecutor(HoistTaskExeDto hoistTaskExeDto) - { - try - { - if (hoistTaskExeDto == null) - { - throw new ArgumentException($"输入参数为空。"); - } - - var data = new HoistSdk.Dto.HoistTaskExecutor.HoistTaskExeDto() - { - hoistCode = hoistTaskExeDto.hoistCode, - taskCode = hoistTaskExeDto.taskCode, - startPoint = hoistTaskExeDto.startPoint, - endPoint = hoistTaskExeDto.endPoint, - - }; - - var resp = this.hoistSdk.HoistTaskExecutor(data); - - bool parseRes = this.codeUtil.parse(resp.code, resp.message, out HoistStatusEnum hoistStatusEnum); - - return new HoistTaskExeResultDto() - { - code = hoistStatusEnum, - msg = resp.message, - data = new HoistTaskExeResultModel() - { - code = resp.code, - message = resp.message, - taskCode = resp.taskCode, - }, - }; - - } - catch (Exception ex) - { - return new HoistTaskExeResultDto() - { - code = HoistStatusEnum.SDK调用异常, - msg = ex.Message, - }; - } - } - - /// - /// 获取提升机状态 - /// - /// - /// - /// - public GetHoistStatusResultDto GetHoistStatus(GetHoistStatusDto hoistStatusDto) - { - try - { - if (hoistStatusDto == null) - { - throw new ArgumentException($"输入参数为空。"); - } - - var data = new HoistSdk.Dto.GetHoistStatus.GetHoistStatusDto() - { - hoistCode = hoistStatusDto.hoistCode, - }; - - var resp = this.hoistSdk.GetHoistStatus(data); - - bool parseRes = this.codeUtil.parse(resp.code, resp.message, out HoistStatusEnum hoistStatusEnum); - - return new GetHoistStatusResultDto() - { - code = hoistStatusEnum, - msg = resp.message, - data = new GetHoistStatusResultModel() - { - code = resp.code, - message = resp.message, - hoistCode = resp.hoistCode, - }, - }; - - } - catch (Exception ex) - { - return new GetHoistStatusResultDto() - { - code = HoistStatusEnum.SDK调用异常, - msg = ex.Message, - }; - } - } -} \ No newline at end of file diff --git a/Sln.Wcs.HoistApi/Sln.Wcs.HoistApi.csproj b/Sln.Wcs.HoistApi/Sln.Wcs.HoistApi.csproj deleted file mode 100644 index 67084b5..0000000 --- a/Sln.Wcs.HoistApi/Sln.Wcs.HoistApi.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - net8.0 - enable - enable - - - - - - - - diff --git a/Sln.Wcs.HoistApi/Util/ApiResultCodeUtil.cs b/Sln.Wcs.HoistApi/Util/ApiResultCodeUtil.cs deleted file mode 100644 index d4b7d10..0000000 --- a/Sln.Wcs.HoistApi/Util/ApiResultCodeUtil.cs +++ /dev/null @@ -1,73 +0,0 @@ -#region << 版 本 注 释 >> - -/*-------------------------------------------------------------------- -* 版权所有 (c) 2026 WenJY 保留所有权利。 -* CLR版本:4.0.30319.42000 -* 机器名称:Mr.Wen's MacBook Pro -* 命名空间:Sln.Wcs.HoistApi.Util -* 唯一标识:50A6C50A-87A8-4CC1-98DF-5C2943AB8ED5 -* -* 创建者:WenJY -* 电子邮箱: -* 创建时间:2026-05-06 14:53:36 -* 版本:V1.0.0 -* 描述: -* -*-------------------------------------------------------------------- -* 修改人: -* 时间: -* 修改说明: -* -* 版本:V1.0.0 -*--------------------------------------------------------------------*/ - -#endregion << 版 本 注 释 >> - -using Sln.Wcs.HoistApi.Domain.Enum; - -namespace Sln.Wcs.HoistApi.Util; - -public class ApiResultCodeUtil -{ - /// - /// - /// - /// - /// - /// - /// - public bool parse(string respCode, string respMsg, out HoistStatusEnum hoistStatusEnum) - { - bool isRes = false; - - hoistStatusEnum = HoistStatusEnum.成功; - - switch (respCode) - { - case "0": - if (respMsg.Contains("成功")) - { - hoistStatusEnum = HoistStatusEnum.成功; - isRes = true; - } - break; - case "1": - hoistStatusEnum = HoistStatusEnum.参数相关的错误; - break; - case "6": - hoistStatusEnum = HoistStatusEnum.重复发送上层系统不需要重发; - break; - case "99": - hoistStatusEnum = HoistStatusEnum.其他未知错误调用失败后可以重试; - break; - case "100": - hoistStatusEnum = HoistStatusEnum.该任务不存在上层系统不需重发需要人工介入处理; - break; - default: - isRes = true; - break; - } - - return isRes; - } -} \ No newline at end of file diff --git a/Sln.Wcs.Strategy/Sln.Wcs.Strategy.csproj b/Sln.Wcs.Strategy/Sln.Wcs.Strategy.csproj index 8370e97..37bbe9c 100644 --- a/Sln.Wcs.Strategy/Sln.Wcs.Strategy.csproj +++ b/Sln.Wcs.Strategy/Sln.Wcs.Strategy.csproj @@ -9,8 +9,8 @@ - - + + diff --git a/Sln.Wcs.sln b/Sln.Wcs.sln index 554a345..343280e 100644 --- a/Sln.Wcs.sln +++ b/Sln.Wcs.sln @@ -8,7 +8,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sln.Wcs.Common", "Sln.Wcs.C EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sln.Wcs.HikRoBotSdk", "Sln.Wcs.HikRoBotSdk\Sln.Wcs.HikRoBotSdk.csproj", "{F2956A97-69F4-4073-B4C6-72CB7B945565}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sln.Wcs.HikRoBotApi", "Sln.Wcs.HikRoBotApi\Sln.Wcs.HikRoBotApi.csproj", "{9E3193CA-590C-4965-B2EF-02C2AE252095}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sln.Wcs.HikRoBotAdapter", "Sln.Wcs.HikRoBotAdapter\Sln.Wcs.HikRoBotAdapter.csproj", "{9E3193CA-590C-4965-B2EF-02C2AE252095}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sln.Wcs.Model", "Sln.Wcs.Model\Sln.Wcs.Model.csproj", "{18437437-F83E-4A3E-9759-8AF313C47D77}" EndProject @@ -22,7 +22,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sln.Wcs.Cache", "Sln.Wcs.Ca EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sln.Wcs.HoistSdk", "Sln.Wcs.HoistSdk\Sln.Wcs.HoistSdk.csproj", "{535F03DD-0A8C-45D6-A773-2C1E808B0CB4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sln.Wcs.HoistApi", "Sln.Wcs.HoistApi\Sln.Wcs.HoistApi.csproj", "{3839B3AA-D893-46ED-8230-4B22C071CC00}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sln.Wcs.HoistAdapter", "Sln.Wcs.HoistAdapter\Sln.Wcs.HoistAdapter.csproj", "{3839B3AA-D893-46ED-8230-4B22C071CC00}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sln.Wcs.Business", "Sln.Wcs.Business\Sln.Wcs.Business.csproj", "{BC972937-1470-4B74-85F0-90F6162ADA27}" EndProject diff --git a/Sln.Wcs/Program.cs b/Sln.Wcs/Program.cs index a229434..82d40b1 100644 --- a/Sln.Wcs/Program.cs +++ b/Sln.Wcs/Program.cs @@ -5,17 +5,17 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using NeoSmart.Caching.Sqlite; -using Sln.Wcs.HikRoBotApi.Domain.Dto.GbTaskSubmit; -using Sln.Wcs.HikRoBotApi.Domain.Dto.GenAgvSchedulingTask; -using Sln.Wcs.HikRoBotApi.Service; -using Sln.Wcs.HikRoBotApi.Service.Impl; +using Sln.Wcs.HikRoBotAdapter.Domain.Dto.GbTaskSubmit; +using Sln.Wcs.HikRoBotAdapter.Domain.Dto.GenAgvSchedulingTask; +using Sln.Wcs.HikRoBotAdapter.Service; +using Sln.Wcs.HikRoBotAdapter.Service.Impl; using Sln.Wcs.Repository; using Sln.Wcs.Serilog; using Sln.Wcs.Plc; using Sln.Wcs.Strategy; using ZiggyCreatures.Caching.Fusion; using ZiggyCreatures.Caching.Fusion.Serialization.NewtonsoftJson; -using TargetRoute = Sln.Wcs.HikRoBotApi.Domain.Dto.GbTaskSubmit.TargetRoute; +using TargetRoute = Sln.Wcs.HikRoBotAdapter.Domain.Dto.GbTaskSubmit.TargetRoute; namespace Sln.Wcs { @@ -67,9 +67,9 @@ namespace Sln.Wcs Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.Common.dll")), Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.Cache.dll")), Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.Repository.dll")), - Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.HikRoBotApi.dll")), + Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.HikRoBotAdapter.dll")), Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.HikRoBotSdk.dll")), - Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.HoistApi.dll")), + Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.HoistAdapter.dll")), Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.HoistSdk.dll")), Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.Plc.dll")), Assembly.LoadFrom(Path.Combine(basePath, "Sln.Wcs.Business.dll")), diff --git a/Sln.Wcs/Sln.Wcs.csproj b/Sln.Wcs/Sln.Wcs.csproj index b6568e1..20d9e80 100644 --- a/Sln.Wcs/Sln.Wcs.csproj +++ b/Sln.Wcs/Sln.Wcs.csproj @@ -28,9 +28,9 @@ - + - +