| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- using System.Collections.Generic;
- using System.Linq;
- using Core.Mes.Client.Comm.Tool;
- namespace Core.StlMes.Client.Mcp.Control.Entity
- {
- public class HttOfflineResultDentity
- {
- public bool Chk { get; set; }
- /// <summary>
- /// 实绩编号RESULT_NO
- /// </summary>
- private string resultNo = "";
- public string ResultNo
- {
- get { return resultNo; }
- set { resultNo = value; }
- }
- /// <summary>
- /// 序号RESULT_SQE
- /// </summary>
- private string resultSqe = "";
- public string ResultSqe
- {
- get { return resultSqe; }
- set { resultSqe = value; }
- }
- /// <summary>
- /// 炉计划ID HEAT_PLAN_NO
- /// </summary>
- private string heatPlanNo = "";
- public string HeatPlanNo
- {
- get { return heatPlanNo; }
- set { heatPlanNo = value; }
- }
- /// <summary>
- /// 产线PLINE_CODE
- /// </summary>
- private string plineCode = "";
- public string PlineCode
- {
- get { return plineCode; }
- set { plineCode = value; }
- }
- /// <summary>
- /// 产线描述PLINE_NAME
- /// </summary>
- private string plineName = "";
- public string PlineName
- {
- get { return plineName; }
- set { plineName = value; }
- }
- /// <summary>
- /// 离线支数OFFLINE_NUM
- /// </summary>
- private string offlineNum = "";
- public string OfflineNum
- {
- get { return offlineNum; }
- set { offlineNum = value; }
- }
- /// <summary>
- /// 离线重量OFFLINE_WT
- /// </summary>
- private string offlineWt = "";
- public string OfflineWt
- {
- get { return offlineWt; }
- set { offlineWt = value; }
- }
- /// <summary>
- /// 物流去向代码GOWHERE_CODE
- /// </summary>
- private string gowhereCode = "";
- public string GowhereCode
- {
- get { return gowhereCode; }
- set { gowhereCode = value; }
- }
- /// <summary>
- /// 物流去向名称GOWHERE_NAME
- /// </summary>
- private string gowhereName = "";
- public string GowhereName
- {
- get { return gowhereName; }
- set { gowhereName = value; }
- }
- ///创建时间CREATE_TIME
- ///
- private string createTime = "";
- public string CreateTime
- {
- get { return createTime; }
- set { createTime = value; }
- }
- ///工序点代码STATION_CODE
- ///
- private string stationCode = "";
- public string StationCode
- {
- get { return stationCode; }
- set { stationCode = value; }
- }
- ///工序点描述STATION_DESC
- ///
- private string stationDesc = "";
- public string StationDesc
- {
- get { return stationDesc; }
- set { stationDesc = value; }
- }
- ///工序点描述STATION_DESC
- ///
- private string batchNo = "";
- public string BatchNo
- {
- get { return batchNo; }
- set { batchNo = value; }
- }
- ///工序点描述STATION_DESC
- ///
- private string memo = "";
- public string Memo
- {
- get { return memo; }
- set { memo = value; }
- }
- protected string matNo = "";
- public string MatNo
- {
- get
- {
- var list = listPortMarts.Where(p => p.Check).Select(p => p.MatNo).ToList();
-
- return list.Any()?list.Aggregate((a, b) =>( a==""?"" : (a+ ","))+ b):"";
- }
- }
- private List<PortHttBatchSampleResultEntityWithCheck> listPortMarts = new DataSourceList<PortHttBatchSampleResultEntityWithCheck>();
- public List<PortHttBatchSampleResultEntityWithCheck> ListPortMarts
- {
- get
- {
- return listPortMarts==null?new List<PortHttBatchSampleResultEntityWithCheck>() : listPortMarts.Where(p => p.PhyBatchNo == BatchNo).ToList();
- }
- set { listPortMarts = value; }
- }
- public List<PortHttBatchSampleResultEntityWithCheck> GetTotal()
- {
- return listPortMarts;
- }
- }
- }
|