| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using Core.Mes.Client.Comm.Attribute;
- namespace Core.StlMes.Client.Mcp.Treatment.Entity
- {
- public class YdmHttInitialEntityPlus : YdmHttInitialEntity
- {
- [Description("待判原因")]
- [Nullable(true)]
- [DataLength(100)]
- public string WatingDecisionMemo { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? SourceNum0 { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? SourceNum1 { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? SourceNum2 { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? SourceNumTotal { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? SourceNumTotal2 { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? GroupNum { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? FailNum { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? CouplingNum { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? JudgeNum { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? EndNum { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? XsActCount { get; set; }
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? CzNum { get; set; }
- //消耗支吨=期初+收料-缴库-废品-期末
- [Description("支数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? ConsumptionNum {
- get
- {
- return
- (ActCount ?? 0) + (SourceNumTotal2 ?? 0) - (JudgeNum ?? 0) - (FailNum ?? 0) - (EndNum ?? 0);
- // (EndNum ?? 0) + (FailNum ?? 0) + (JudgeNum ?? 0) - (ActCount ?? 0) - (SourceNumTotal ?? 0);
- }
- }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? SourceWt0 { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? SourceWt1 { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? SourceWt2 { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? SourceWtTotal { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? SourceWtTotal2 { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? GroupWt { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? FailWt { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? CouplingWt { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? JudgeWt { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? EndWt { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? XsActWeight { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? CzWeight { get; set; }
- [Description("重量")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? ConsumptionWt
- {
- get
- {
- return (ActWeight ?? 0) + (SourceWtTotal ?? 0) - (JudgeWt ?? 0) - (FailWt ?? 0) - (EndWt ?? 0);
- // return (EndWt ?? 0) + (FailWt ?? 0) + (JudgeWt ?? 0) - (ActWeight ?? 0) - (SourceWtTotal ?? 0);
- }
- }
- [Description("分切数")]
- [Nullable(true)]
- [DataLength(100)]
- public decimal? OutnumCut { get; set; }
- }
- }
|