LotSizingDataModel.Core
2.0.1
Core domain model, shared abstractions and XML-serializable entities.
Loading...
Searching...
No Matches
WorkCenter.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 production work center belonging to a plant.
9
///
10
/// Corresponds to the UML class "Poste de Charge".
11
/// </summary>
12
[Serializable]
13
[XmlType(TypeName =
"workCenter"
)]
14
public
sealed
partial class
WorkCenter
:
IdentifiedEntity
15
{
16
/// <summary>
17
/// Initializes an empty work center.
18
///
19
/// This public parameterless constructor is required
20
/// by <see cref="XmlSerializer"/>.
21
/// </summary>
22
public
WorkCenter
()
23
{
24
}
25
26
/// <summary>
27
/// Initializes a work center with an identifier and a name.
28
/// </summary>
29
/// <param name="id">
30
/// Numerical identifier corresponding to p in the source model.
31
/// </param>
32
/// <param name="name">
33
/// Work-center name.
34
/// </param>
35
public
WorkCenter
(
int
id
,
string
name)
36
{
37
// Initialize work center properties
38
Id = id;
39
Name = name;
40
}
41
}
LotSizingDataModel.Core.Common.IdentifiedEntity
Base class for model entities that have both a numerical identifier and a name.
Definition
IdentifiedEntity.cs:13
LotSizingDataModel.Core.PhysicalModel.WorkCenter.WorkCenter
WorkCenter(int id, string name)
Initializes a work center with an identifier and a name.
Definition
WorkCenter.cs:35
LotSizingDataModel.Core.PhysicalModel.WorkCenter.WorkCenter
WorkCenter()
Initializes an empty work center.
Definition
WorkCenter.cs:22
LotSizingDataModel.Core.Common
Definition
DoubleTimeSeries.cs:7
LotSizingDataModel.Core.PhysicalModel
Definition
DistributionCenter.cs:5
LotSizingDataModel.Core
PhysicalModel
WorkCenter.cs
Generated by
1.17.0