Ejemplo n.º 1
0
 public BatteryClass(String Name, BatteryTypeClass BatteryType, Double CycleCount = 0)
 {
     this.BatteryID   = NextID;
     this.Name        = Name;
     this.BatteryType = BatteryType;
     this.CycleCount  = CycleCount;
 }
Ejemplo n.º 2
0
 public TesterRecipeClass(TesterClass Tester, String Name, BatteryTypeClass BatteryType, String Steps)
 {
     this.TesterRecipeID = NextID;
     this.Tester         = Tester;
     this.Name           = Name;
     this.BatteryType    = BatteryType;
     this.Steps          = Steps;
 }
Ejemplo n.º 3
0
 public ProgramClass(BatteryTypeClass BatteryType, String Name, List <SubProgramClass> SubPrograms)
 {
     this.ProgramID   = NextID;
     this.BatteryType = BatteryType;
     this.Name        = Name;
     this.SubPrograms = SubPrograms;
     //foreach (var SubProgram in SubPrograms)
     //{
     //    SubProgram.EstimateDurationChanged += new EventHandler(SubProgram_EstimateDurationChanged);
     //}
 }