예제 #1
0
 public Resource(int seatNum, ResourceType type, string name, DateTime age, float consumption)
     : this(seatNum,type)
 {
     this.name = name;
     this.age = age;
     this.consumption = consumption;
 }
예제 #2
0
 internal static CarpoolingDAL.ResourceType createDALResourceTyFromResourceTy(ResourceType resourceType)
 {
     CarpoolingDAL.ResourceType nrt = new CarpoolingDAL.ResourceType();
     nrt.name = resourceType.Name;
     return nrt;
 }
예제 #3
0
 public Resource(int seatNum, ResourceType type)
 {
     this.seatNumber = seatNum;
     this.type = type;
 }