예제 #1
0
파일: Gasolin.cs 프로젝트: sigalbi/Garage
 public override void GetDetailesEngine(List <string> io_listOfDetailes)  // this function add the gasolin engine detailes to the list
 {
     io_listOfDetailes.Add(string.Format("Type of fule :{0}", m_fuelType.ToString()));
     io_listOfDetailes.Add(string.Format("Max fule :{0}", MaxEngineQuantity.ToString()));
     io_listOfDetailes.Add(string.Format("Current fuel:{0}", CurrentEngineQuantity.ToString()));
 }
예제 #2
0
파일: Electric.cs 프로젝트: sigalbi/Garage
 public override void GetDetailesEngine(List <string> io_listOfDetailes)  // this function add the electric engine detailes to the list
 {
     io_listOfDetailes.Add(string.Format("Max battery :{0}", MaxEngineQuantity.ToString()));
     io_listOfDetailes.Add(string.Format("Current battery:{0}", CurrentEngineQuantity.ToString()));
 }