Ejemplo n.º 1
0
 public Order()
 {
     Id       = 0;
     Quality  = ProductionQuality.Undefined;
     Speed    = ProductionSpeed.Undefined;
     Quantity = 0;
     Status   = OrderStatus.Undefined;
 }
Ejemplo n.º 2
0
 public void SetProcessingQuality(ProductionQuality quality)
 {
     _selectedQuality = quality;
     Console.WriteLine("Production Service, Changed Quality to: " + _selectedQuality);
 }
Ejemplo n.º 3
0
 public ProductionService()
 {
     _selectedQuality = ProductionQuality.Undefined;
     _selectedSpeed   = ProductionSpeed.Undefined;
 }
Ejemplo n.º 4
0
 public Product()
 {
     ProductionTime = TimeSpan.Zero;
     Quality        = ProductionQuality.Undefined;
     ProductId      = "Undefined";
 }