using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WIDESEAWCS_DTO.RGV.FOURBOT
{
///
/// 四向车创建容器搬运任务
///
public class FOURBOTnewMovePodTask
{
public string warehouseID { get; set; } = "HETU";
public string clientCode { get; set; } = "WCS";
public string requestID { get; set; } = DateTime.Now.ToString("yyyyMMddHHmmss");
///
/// 优先级
///
public int priority { get; set; }
///
/// 搬运类型
///
public int srcType { get; set; } = 1;
///
/// 容器号
///
public string podID { get; set; }
///
/// 业务ID
///
public string bizID { get; set; } = "";
///
/// 是否替换该容器的其他任务
/// 0-不替换;
/// 1-替换
///
public int replacePodTask { get; set; } = 0;
///
/// 目标位置
///
public string destination { get; set; }
///
/// 目标类型
/// 1-导航点;
/// 2-储位;
/// 3-存储区;
/// 5-工作站;
/// 6-叠盘;
/// 7-巷道
///
public int? desType { get; set; }
///
/// 目标导航点ID
/// desType=1时必传
///
public string desNodeID { get; set; }
///
/// 目标储位号
/// desType=2时必传
///
public string desStorageID { get; set; }
///
/// 目标区域编号
/// desType=3/7时必传
///
public string desZoneCode { get; set; }
///
/// 目标站点列表
/// desType=5/6时必传
///
public string desStationCodes { get; set; }
///
/// 储位选择偏好
/// desType=7时有效
///
public object storagePreference { get; set; }
///
/// 任务扩展参数
///
public object taskExt { get; set; }
///
/// 终点扩展参数
///
public object desExt { get; set; }
///
/// 业务扩展参数
///
public object bizExt { get; set; }
}
///
/// 储位选择偏好DTO
///
public class StoragePreferenceDto
{
///
/// 候选储位列表
///
public List candidateStorageIds { get; set; } = new List();
///
/// 物料类型
///
public string materialClass { get; set; }
}
///
/// 任务扩展参数DTO
///
public class TaskExtDto
{
///
/// 指定运力组中的小车搬运
///
public string robotGroupId { get; set; }
///
/// 顶盘旋转模式
/// 0-异步旋转
/// 1-同步旋转
///
public int turnMode { get; set; } = 0;
///
/// 载货时最大车速(mm/s)
///
public int? maxSpeed { get; set; }
///
/// 载货时最大加速度(mm/s²)
///
public int? maxAcc { get; set; }
///
/// 任务超时失败时间(秒)
///
public int timeoutFailed { get; set; } = 86400;
///
/// 搬运完成后行为
/// 0-不限制
/// 1-立刻离开
///
public int autoToRest { get; set; } = 0;
///
/// 搬运完成后是否保持原地
/// 0-不限制
/// 1-保持原地
///
public int keepRobot { get; set; } = 0;
///
/// 保持原地最长时长(分钟)
///
public int keepRobotTimeout { get; set; } = 5;
///
/// 叠盘类型
/// 0-无意义
/// 2-叠盘或整垛补给
///
public int? foldType { get; set; }
///
/// 叠盘数量
/// 1-叠一个;
/// >1-整垛补给
///
public int? foldNum { get; set; }
///
/// 是否外形检测
/// 0-无需
/// 1-检测
///
public int check { get; set; } = 0;
///
/// 是否覆膜
/// 0-无需
/// 1-覆膜
///
public int cover { get; set; } = 0;
///
/// 是否缠膜
/// 0-无需
/// 1-缠膜
///
public int wrap { get; set; } = 0;
///
/// 货型信息
///
public string cargoType { get; set; }
///
/// 目标站点禁用时处理方式
/// taskFail-任务失败
/// taskWait-任务等待
///
public string whenTargetDisabled { get; set; } = "taskWait";
///
/// 保留字段
///
public int? delayDispatch { get; set; }
}
///
/// 终点扩展参数DTO
///
public class DesExtDto
{
///
/// 是否放下容器
/// 0-不放下
/// 1-放下
///
public int unload { get; set; } = 0;
///
/// 小车放下容器后姿态朝向
/// 枚举:0(x正)、1.57(y正)、3.14(x负)、4.71(y负)
///
public float? robotFace { get; set; }
///
/// 容器搬运到位的姿态朝向
/// 枚举:0(x正)、1.57(y正)、3.14(x负)、4.71(y负)
///
public float? podFace { get; set; }
}
///
/// 业务扩展参数DTO
///
public class BizExtDto
{
///
/// 业务类型
///
public string bizType { get; set; } = "";
///
/// 出库波次
///
public string waveID { get; set; } = "";
}
}