This commit is contained in:
hehaibing-1996
2024-07-05 14:36:34 +08:00
parent adb0367a83
commit ed3673db03
35 changed files with 1435 additions and 1939 deletions

View File

@ -0,0 +1,69 @@
using System;
using System.Collections.Generic;
using System.Text;
using WCS.BLL.DbModels.Task;
namespace WCS.Model.ApiModel.MXL4
{
public class SysOrderMXL4Request : RequestBase
{
/// <summary>
/// 按钮颜色
/// </summary>
public ButtonColorEnum Corlor { get; set; }
/// <summary>
/// 任务单号
/// </summary>
public string OrderNumber { get; set; }
/// <summary>
/// 任务类型 出库/入库/盘点
/// </summary>
public TaskModeEnum OrderType { get; set; }
/// <summary>
/// 单据明细
/// </summary>
public List<MXL4OrderDetail> List { get; set; }
}
public class MXL4OrderDetail
{
/// <summary>
/// Guid系统那边任务的主键
/// </summary>
public Guid Guid { get; set; }
/// <summary>
/// 库位编码
/// </summary>
public string StoreCode { get; set; }
/// <summary>
/// 物料编码
/// </summary>
public string MatCode { get; set; }
/// <summary>
/// 物料名称
/// </summary>
public string MatName { get; set; }
/// <summary>
/// 物料规格
/// </summary>
public string MatSpec { get; set; }
/// <summary>
/// 物料批次
/// </summary>
public string MatBatch { get; set; }
/// <summary>
/// 数量
/// </summary>
public int Qty { get; set; }
}
}

View File

@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WCS.BLL.DbModels.Task
{
/// <summary>
/// 按键灯颜色
/// </summary>
public enum ButtonColorEnum
{
= 1,
绿 = 2,
= 3,
= 4,
= 5,
= 6,
= 7,
}
public enum TaskModeEnum
{
= 0,
= 1,
= 2
}
}

View File

@ -0,0 +1,52 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WCS.Model.ApiModel.SingleLight
{
public class SingleLightControlRequest : RequestBase
{
/// <summary>
/// 巷道灯颜色 如果不传 默认为-1 不发送对应指令
/// </summary>
public int WarningLightColor { get; set; } = -1;
public int WarningLightMode { get; set; } = -1;
/// <summary>
/// 巷道灯蜂鸣器模式 如果不传 默认为-1 不发送对应指令
/// </summary>
public int WarningBuzzerMode { get; set; } = -1;
/// <summary>
/// 库位灯控制
/// </summary>
public List<StoreListItem> StoreList { get; set; }
}
public class StoreListItem
{
#region
/// <summary>
/// 库位编码
/// </summary>
public string StoreCode { get; set; }
/// <summary>
/// 货架Id
/// </summary>
public int ShelfId { get; set; } = 0;
/// <summary>
/// 板子Id
/// </summary>
public int BoardId { get; set; } = 0;
/// <summary>
/// 亮灯模式
/// </summary>
public int LightMode { get; set; } = 0;
/// <summary>
/// 亮灯颜色
/// </summary>
public int LightColor { get; set; } = 0;
#endregion
}
}

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WCS.Model.ApiModel.UpLoad
{
public class UploadReelInfoRequest
{
public string MatSN { get; set; }
public int Qty { get; set; }
public string IPAddress { get; set; }
}
}