示例#1
0
 public Bicycle()
 {
     this.serialNo        = 0;
     this.RimType         = EnumRimType.Undefined;
     this.color           = EnumColor.Undefined;
     this.madeBy          = "Undefined";
     this.price           = 0.00;
     this.speed           = 0;
     this.groundClearance = 0.00;
     this.seatHeight      = 0.00;
     this.suspensionType  = EnumSusType.Not_Applicable;
     this.model           = EnumModelType.Undefined;
 }
示例#2
0
 public Bicycle(int serNo, EnumRimType rimTyp, EnumColor col, string madeby, double price,
                int speed, double groundClr, double seatHgt, EnumSusType susType, EnumModelType model)
 {
     this.serialNo        = serNo;
     this.RimType         = rimTyp;
     this.color           = col;
     this.madeBy          = madeby;
     this.price           = price;
     this.speed           = speed;
     this.groundClearance = groundClr;
     this.seatHeight      = seatHgt;
     this.suspensionType  = susType;
     this.model           = model;
 }