예제 #1
0
 public Battery(string batt, int hIdle, int hTalk,BatteriesEnum type)
 {
     this.modelBattery = batt;
     this.hoursIdle = hIdle;
     this.hoursTalk = hTalk;
     this.BatteryType = type;
 }
예제 #2
0
 public Battery(string batt, int hIdle, int hTalk, BatteriesEnum type)
 {
     this.modelBattery = batt;
     this.hoursIdle    = hIdle;
     this.hoursTalk    = hTalk;
     this.BatteryType  = type;
 }