Exemplo n.º 1
0
 public CStatHubFixture(int slotMax)
 {
     for (int i = 0; i < slotMax; i++)
     {
         SerialNo.Add("");
         ResultName.Add("");
         ResultId.Add(0);
         Result.Add(0);
     }
 }
Exemplo n.º 2
0
 public CStatTestFixture(int slotMax)
 {
     for (int i = 0; i < slotMax; i++)
     {
         SerialNo.Add("");
         ResultName.Add("");
         ResultId.Add(0);
         Result.Add(0);
         Value.Add("");
         Volt.Add(0);
         Cur.Add(0);
         DD.Add("");
     }
 }
Exemplo n.º 3
0
 public CStatHub(int idNo, string name, int flowId, string flowName, int slotMax)
 {
     this._idNo    = idNo;
     this._name    = name;
     this._slotMax = slotMax;
     this.FlowId   = flowId;
     this.FlowName = flowName;
     for (int i = 0; i < slotMax; i++)
     {
         SnEnable.Add(true);
         SerialNo.Add("");
         ResultName.Add("");
         ResultId.Add(0);
         Result.Add(0);
         TranOK.Add(false);
     }
 }