You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
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 XlPlanView
|
|
|
|
|
{
|
|
|
|
|
/// <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_Code { 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; }
|
|
|
|
|
}
|
|
|
|
|
}
|