LotSizingDataModel.Core
2.0.1
Core domain model, shared abstractions and XML-serializable entities.
Loading...
Searching...
No Matches
Warehouse.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Xml.Serialization;
3
using
LotSizingDataModel.Core.Common
;
4
5
namespace
LotSizingDataModel.Core.PhysicalModel
;
6
7
/// <summary>
8
/// Represents a warehouse in the supply chain.
9
///
10
/// A warehouse is either:
11
/// - a standalone warehouse;
12
/// - or a warehouse attached to a plant.
13
///
14
/// Corresponds to the UML class "Entrepot".
15
/// </summary>
16
[Serializable]
17
[XmlType(TypeName =
"warehouse"
)]
18
public
abstract
partial class
Warehouse
:
NamedEntity
19
{
20
/// <summary>
21
/// Initializes a new instance of the <see cref="Warehouse"/> class.
22
///
23
/// This constructor is protected because the abstract Warehouse class
24
/// cannot be instantiated directly.
25
/// </summary>
26
protected
Warehouse
()
27
{
28
}
29
30
/// <summary>
31
/// Initializes a warehouse with a name.
32
/// </summary>
33
/// <param name="name">
34
/// Warehouse name.
35
/// </param>
36
protected
Warehouse
(
string
name)
37
{
38
// Initialize warehouse name property
39
Name
= name;
40
}
41
}
LotSizingDataModel.Core.Common.NamedEntity.Name
string Name
Gets or sets the entity name.
Definition
NamedEntity.cs:33
LotSizingDataModel.Core.Common.NamedEntity.NamedEntity
NamedEntity()
Initializes a new instance of the NamedEntity class.
Definition
NamedEntity.cs:24
LotSizingDataModel.Core.PhysicalModel.Warehouse.Warehouse
Warehouse()
Initializes a new instance of the Warehouse class.
Definition
Warehouse.cs:26
LotSizingDataModel.Core.PhysicalModel.Warehouse.Warehouse
Warehouse(string name)
Initializes a warehouse with a name.
Definition
Warehouse.cs:36
LotSizingDataModel.Core.Common
Definition
DoubleTimeSeries.cs:7
LotSizingDataModel.Core.PhysicalModel
Definition
DistributionCenter.cs:5
LotSizingDataModel.Core
PhysicalModel
Warehouse.cs
Generated by
1.17.0