1
This commit is contained in:
@@ -4,7 +4,9 @@ using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 数据-订单
|
||||
/// </summary>
|
||||
public record Data_Oder : IDIS_Model
|
||||
{
|
||||
public override string[] Tags { get; set; } = new string[] { "order" };
|
||||
@@ -47,4 +49,16 @@ public record Data_Oder : IDIS_Model
|
||||
/// </summary>
|
||||
[DisplayName("完成时间")]
|
||||
public DateTime FinishTime { get; set; } = DateTime.MinValue;
|
||||
|
||||
/// <summary>
|
||||
/// 产品标识
|
||||
/// </summary>
|
||||
[DisplayName("产品标识")]
|
||||
public string ProductHandle { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 原材料标识
|
||||
/// </summary>
|
||||
[DisplayName("原材料标识")]
|
||||
public string Materials { get; set; } = string.Empty;
|
||||
}
|
||||
|
@@ -5,7 +5,7 @@ using Newtonsoft.Json;
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 设备模型,用于描述例如机器人、传送带等设备的信息
|
||||
/// 实体,用于描述例如机器人、传送带等设备的信息
|
||||
/// </summary>
|
||||
public record Object_Equipment : IDIS_Model
|
||||
{
|
||||
|
@@ -4,6 +4,9 @@ using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 实体,用于描述物料的信息
|
||||
/// </summary>
|
||||
public record Object_Material: IDIS_Model
|
||||
{
|
||||
/// <summary>
|
||||
|
@@ -4,6 +4,9 @@ using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 实体,用于描述产品的信息
|
||||
/// </summary>
|
||||
public record Object_Product:IDIS_Model
|
||||
{
|
||||
/// <summary>
|
||||
@@ -47,5 +50,6 @@ public record Object_Product:IDIS_Model
|
||||
[DisplayName("注意事项")]
|
||||
[JsonProperty("note")]
|
||||
public string Note { get; set; } = "请不要在用力弯曲或者误食笔芯";
|
||||
|
||||
|
||||
}
|
||||
|
@@ -1,9 +1,17 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 装配工序
|
||||
/// </summary>
|
||||
public record Procedure_Assembly:Procedure_Base
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料名称
|
||||
/// </summary>
|
||||
[DisplayName("物料名称")]
|
||||
public string MaterialName { get; set; } = string.Empty;
|
||||
|
||||
|
||||
}
|
@@ -4,6 +4,9 @@ using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 工序基类
|
||||
/// </summary>
|
||||
public record Procedure_Base:IDIS_Model
|
||||
{
|
||||
/// <summary>
|
||||
@@ -19,7 +22,7 @@ public record Procedure_Base:IDIS_Model
|
||||
[JsonProperty("assignment_code")]
|
||||
public string AssignmentCode { get; set; } = string.Empty;
|
||||
/// <summary>
|
||||
/// 主要物体
|
||||
/// 主要物体,例如设备、物料等
|
||||
/// </summary>
|
||||
[DisplayName("主要物体")]
|
||||
[JsonProperty("main_object")]
|
||||
@@ -42,4 +45,11 @@ public record Procedure_Base:IDIS_Model
|
||||
[DisplayName("最后更新时间")]
|
||||
[JsonProperty("last_updateTime")]
|
||||
public DateTime LastUpdateTime { get; set; } = DateTime.Now;
|
||||
|
||||
/// <summary>
|
||||
/// 订单标识
|
||||
/// </summary>
|
||||
[DisplayName("订单标识")]
|
||||
[JsonProperty("order_handle")]
|
||||
public string OderHandle { get; set; } = string.Empty;
|
||||
}
|
@@ -4,6 +4,9 @@ using Newtonsoft.Json;
|
||||
|
||||
namespace IDIS.YL106.Model;
|
||||
|
||||
/// <summary>
|
||||
/// 出库工序
|
||||
/// </summary>
|
||||
public record Procedure_Transport:Procedure_Base
|
||||
{
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user