using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Community;
namespace Model
{
///
/// 时间段产能
///
public class TimeSlotCapacity : NotificationObject
{
public int ID { get; set; }
public int Number { get; set; }
private DateTime produceTate;
///
/// 生产日期
///
public DateTime ProduceTate
{
get { return produceTate; }
set
{
produceTate = value;
this.RaisePropertyChanged("ProduceTate");
}
}
private int phase1;
///
/// 时间段1生产数量
///
public int Phase1
{
get { return phase1; }
set
{
phase1 = value;
this.RaisePropertyChanged("Phase1");
}
}
private int phase2;
///
/// 时间段2生产数量
///
public int Phase2
{
get { return phase2; }
set
{
phase2 = value;
this.RaisePropertyChanged("Phase2");
}
}
private int phase3;
///
/// 时间段3生产数量
///
public int Phase3
{
get { return phase3; }
set
{
phase3 = value;
this.RaisePropertyChanged("Phase3");
}
}
private int phase4;
///
/// 时间段4生产数量
///
public int Phase4
{
get { return phase4; }
set
{
phase4 = value;
this.RaisePropertyChanged("Phase4");
}
}
private int phase5;
///
/// 时间段5生产数量
///
public int Phase5
{
get { return phase5; }
set
{
phase5 = value;
this.RaisePropertyChanged("Phase5");
}
}
private int phase6;
///
/// 时间段6生产数量
///
public int Phase6
{
get { return phase6; }
set
{
phase6 = value;
this.RaisePropertyChanged("Phase6");
}
}
private int phase7;
///
/// 时间段7生产数量
///
public int Phase7
{
get { return phase7; }
set
{
phase7 = value;
this.RaisePropertyChanged("Phase7");
}
}
private int phase8;
///
/// 时间段8生产数量
///
public int Phase8
{
get { return phase8; }
set
{
phase8 = value;
this.RaisePropertyChanged("Phase8");
}
}
private int phase9;
///
/// 时间段9生产数量
///
public int Phase9
{
get { return phase9; }
set
{
phase9 = value;
this.RaisePropertyChanged("Phase9");
}
}
private int phase10;
///
/// 时间段10生产数量
///
public int Phase10
{
get { return phase10; }
set
{
phase10 = value;
this.RaisePropertyChanged("Phase10");
}
}
private int phase11;
///
/// 时间段11生产数量
///
public int Phase11
{
get { return phase11; }
set
{
phase11 = value;
this.RaisePropertyChanged("Phase11");
}
}
private int phase12;
///
/// 时间段12生产数量
///
public int Phase12
{
get { return phase12; }
set
{
phase12 = value;
this.RaisePropertyChanged("Phase12");
}
}
private int phase13;
///
/// 时间段13生产数量
///
public int Phase13
{
get { return phase13; }
set
{
phase13 = value;
this.RaisePropertyChanged("Phase13");
}
}
private int phase14;
///
/// 时间段14生产数量
///
public int Phase14
{
get { return phase14; }
set
{
phase14 = value;
this.RaisePropertyChanged("Phase14");
}
}
private int phase15;
///
/// 时间段15生产数量
///
public int Phase15
{
get { return phase15; }
set
{
phase15 = value;
this.RaisePropertyChanged("Phase15");
}
}
private int phase16;
///
/// 时间段16生产数量
///
public int Phase16
{
get { return phase16; }
set
{
phase16 = value;
this.RaisePropertyChanged("Phase16");
}
}
private int phase17;
///
/// 时间段17生产数量
///
public int Phase17
{
get { return phase17; }
set
{
phase17 = value;
this.RaisePropertyChanged("Phase17");
}
}
private int phase18;
///
/// 时间段18生产数量
///
public int Phase18
{
get { return phase18; }
set
{
phase18 = value;
this.RaisePropertyChanged("Phase18");
}
}
private int phase19;
///
/// 时间段19生产数量
///
public int Phase19
{
get { return phase19; }
set
{
phase19 = value;
this.RaisePropertyChanged("Phase19");
}
}
private int phase20;
///
/// 时间段15生产数量
///
public int Phase20
{
get { return phase20; }
set
{
phase20 = value;
this.RaisePropertyChanged("Phase20");
}
}
private int phase21;
///
/// 时间段15生产数量
///
public int Phase21
{
get { return phase21; }
set
{
phase21 = value;
this.RaisePropertyChanged("Phase21");
}
}
private int phase22;
///
/// 时间段15生产数量
///
public int Phase22
{
get { return phase22; }
set
{
phase22 = value;
this.RaisePropertyChanged("Phase22");
}
}
private int phase23;
///
/// 时间段15生产数量
///
public int Phase23
{
get { return phase23; }
set
{
phase23 = value;
this.RaisePropertyChanged("Phase23");
}
}
private int phase24;
///
/// 时间段15生产数量
///
public int Phase24
{
get { return phase24; }
set
{
phase24 = value;
this.RaisePropertyChanged("Phase24");
}
}
private List phaseList;
///
/// 时间段产能集合
///
public List PhaseList
{
get { return new List() { Phase1, Phase2, Phase3, Phase4, Phase5, Phase6, Phase7, Phase8, Phase9, Phase10, Phase11, Phase12, Phase13, Phase14, Phase15, Phase16, Phase17, Phase18, Phase19, Phase20, Phase21, Phase22, Phase23, Phase24 }; }
set { phaseList = value; }
}
public TimeSlotCapacity()
{
ProduceTate = DateTime.Now;
}
}
}