Beispiel #1
0
 private OutPutMgr()
 {
     this.outPutList = new List <OutPut>();
     for (int i = 1; i < 23; i++)
     {
         DoEnum doName = (DoEnum)i;
         this.Add(new OutPut(doName));
     }
 }
Beispiel #2
0
 public OutPut(DoEnum doName)
 {
     this.Name = doName;
 }
Beispiel #3
0
 public void SetDo(DoEnum doName, bool isHigh)
 {
     OutPutMgr.Instance.FindBy(doName).SetSts(isHigh);
 }
Beispiel #4
0
 public IOSts GetDoSts(DoEnum doName)
 {
     return(OutPutMgr.Instance.FindBy(doName).CurrSts);
 }
Beispiel #5
0
 public OutPut FindBy(DoEnum doName)
 {
     return(this.outPutList[(int)doName - 1]);
 }