Example #1
0
 public override void Generate()
 {
     tonnage  = rand.Next(500, 4000);
     brand    = brands[rand.Next(0, brands.Length)];
     breakage = Breakage.Create((BreakageType)rand.Next(2));
 }
Example #2
0
 public override void Generate()
 {
     isAwd    = rand.Next() % 2 == 0;
     brand    = brands[rand.Next(0, brands.Length)];
     breakage = Breakage.Create((BreakageType)rand.Next(2));
 }