コード例 #1
0
 /// <summary>
 /// Конструктор.
 /// </summary>
 public Extinguisher()
 {
     DateProduction = DateTime.Now;
     DateRecharge   = DateProduction.AddYears(5);
     IsHose         = true;
     IsSticker      = true;
     Point          = new ScalePoint();
 }
コード例 #2
0
 /// <summary>
 /// Конструктор.
 /// </summary>
 public Hose()
 {
     DateProduction = DateTime.Now;
     DateRolling    = DateProduction.AddYears(1);
     Point          = new ScalePoint();
 }