Beispiel #1
0
        public Attire(Emp rManager, Emp fPerson, List <Emp> team, string estr, DateTime dtBegin,
                      DateTime dtEnd, List <Sec_Measures> sMeas, string sInstr, DateTime dtGive, Emp gAttire, int count = 0, bool isclosed = false)
        {
            this.ID = Const.getId(gAttire.ToString() + estr + sInstr);
            this.ResponseManager = rManager;
            this.ForePerson      = fPerson;
            this.Team.Clear();

            foreach (var item in team)
            {
                this.Team.Add(item);
            }
            this.Estr                 = estr;
            this.Date_Time_Begin      = dtBegin;
            this.Date_Time_End        = dtEnd;
            this.isExtend             = false;
            this.Date_Time_End_Extend = dtEnd;
            this.Sec_Meas.Clear();
            foreach (var item in sMeas)
            {
                Sec_Meas.Add(item);
            }
            this.Spec_Insrtrucion = sInstr;
            this.Date_Time_Give   = dtGive;
            this.GiveAttire       = gAttire;
            this.Count            = count;
            this.isClosed         = isclosed;
        }
Beispiel #2
0
 public Sec_Measures()
 {
     ID = Const.getId();
 }
Beispiel #3
0
 public Attire()
 {
     ID = Const.getId();
 }