LotSizingDataModel.Core 2.0.1
Core domain model, shared abstractions and XML-serializable entities.
Loading...
Searching...
No Matches
PlantWarehouse.cs
Go to the documentation of this file.
1using System;
2using System.Xml.Serialization;
3
5
6/// <summary>
7/// Represents a warehouse attached to a plant.
8///
9/// Corresponds to the UML class "Non Autonome",
10/// derived from "Entrepot".
11///
12/// The owning plant will contain this warehouse.
13/// No Plant reference is serialized here in order to avoid
14/// circular XML object graphs.
15/// </summary>
16[Serializable]
17[XmlType(TypeName = "plantWarehouse")]
18public sealed partial class PlantWarehouse : Warehouse
19{
20 /// <summary>
21 /// Initializes an empty plant warehouse.
22 ///
23 /// This public parameterless constructor is required
24 /// by <see cref="XmlSerializer"/>.
25 /// </summary>
27 {
28 }
29
30 /// <summary>
31 /// Initializes a plant warehouse with a name.
32 /// </summary>
33 /// <param name="name">
34 /// Warehouse name.
35 /// </param>
36 public PlantWarehouse(string name)
37 : base(name) // Initialize base warehouse with name
38 {
39 }
40}
PlantWarehouse()
Initializes an empty plant warehouse.
PlantWarehouse(string name)
Initializes a plant warehouse with a name.
Warehouse()
Initializes a new instance of the Warehouse class.
Definition Warehouse.cs:26