Exemple #1
0
 public BatteryClass(String Name, BatteryTypeClass BatteryType, Double CycleCount = 0)
 {
     this.BatteryID   = NextID;
     this.Name        = Name;
     this.BatteryType = BatteryType;
     this.CycleCount  = CycleCount;
 }
 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;
 }
 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);
     //}
 }