|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace Admin.Core.Model.ViewModels
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 待执行物料
|
|
|
/// </summary>
|
|
|
public class WaitePlanView
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 物料下发排序ID
|
|
|
/// </summary>
|
|
|
public int MID { get; set; }
|
|
|
/// <summary>
|
|
|
/// 计划ID
|
|
|
/// </summary>
|
|
|
public string Plan_Id { get; set; }
|
|
|
/// <summary>
|
|
|
/// 计划执行数量
|
|
|
/// </summary>
|
|
|
public int Plan_Num { get; set; }
|
|
|
/// <summary>
|
|
|
/// 实际执行数量
|
|
|
/// </summary>
|
|
|
public int Real_Num { get; set; }
|
|
|
/// <summary>
|
|
|
/// 计划序号,我拿来传给PLC作为了唯一值
|
|
|
/// </summary>
|
|
|
public int Plan_Serial { get; set; }
|
|
|
/// <summary>
|
|
|
/// 计划执行时间
|
|
|
/// </summary>
|
|
|
public string Plan_Date { get; set; }
|
|
|
/// <summary>
|
|
|
/// 计划执行状态
|
|
|
/// </summary>
|
|
|
public int Plan_State { get; set; }
|
|
|
/// <summary>
|
|
|
/// 中文状态标识
|
|
|
/// </summary>
|
|
|
public string Plan_StateText { get; set; }
|
|
|
/// <summary>
|
|
|
/// 合计误差
|
|
|
/// </summary>
|
|
|
public decimal? Plan_TotalError { get; set; }
|
|
|
/// <summary>
|
|
|
/// 合计重量
|
|
|
/// </summary>
|
|
|
public decimal? Plan_TotalWeight { get; set; }
|
|
|
/// <summary>
|
|
|
/// 配方ID
|
|
|
/// </summary>
|
|
|
public string RecipeID { get; set; }
|
|
|
/// <summary>
|
|
|
/// 配方序列
|
|
|
/// </summary>
|
|
|
public string Recipe_Serial { get; set; }
|
|
|
/// <summary>
|
|
|
/// 配方名称
|
|
|
/// </summary>
|
|
|
public string Recipe_Name { get; set; }
|
|
|
/// <summary>
|
|
|
/// 版本
|
|
|
/// </summary>
|
|
|
public string Version { get; set; }
|
|
|
/// <summary>
|
|
|
/// 否是在计划中展示
|
|
|
/// </summary>
|
|
|
public string Recipe_Verify { get; set; }
|
|
|
/// <summary>
|
|
|
/// 配方重量
|
|
|
/// </summary>
|
|
|
public decimal? Total_Weight { get; set; }
|
|
|
/// <summary>
|
|
|
/// 配方误差
|
|
|
/// </summary>
|
|
|
public decimal? Total_Error { get; set; }
|
|
|
/// <summary>
|
|
|
/// 物料ID
|
|
|
/// </summary>
|
|
|
public string MaterialID { get; set; }
|
|
|
/// <summary>
|
|
|
/// 物料
|
|
|
/// </summary>
|
|
|
public string Material_name { get; set; }
|
|
|
/// <summary>
|
|
|
/// 物料条码
|
|
|
/// </summary>
|
|
|
public string Material_code { get; set; }
|
|
|
/// <summary>
|
|
|
/// 设置重量
|
|
|
/// </summary>
|
|
|
public decimal? Set_Weight { get; set; }
|
|
|
/// <summary>
|
|
|
/// 设置误差
|
|
|
/// </summary>
|
|
|
public decimal? Set_Error { get; set; }
|
|
|
/// <summary>
|
|
|
/// 待执行物料是否执行过
|
|
|
/// </summary>
|
|
|
public string MaterialPlan { get; set; }
|
|
|
}
|
|
|
}
|