2using System.Collections.Generic;
4using System.Xml.Serialization;
20[XmlType(TypeName =
"productionSetupFamily")]
28 [XmlElement(
"workCenter")]
34 ArgumentNullException.ThrowIfNull(value);
35 SetProperty(ref _workCenter, value);
39 [XmlArray(
"memberItemIds")]
40 [XmlArrayItem(
"itemId")]
43 [XmlElement(
"setupTime")]
49 if (ReferenceEquals(_setupTime, value))
54 if (_setupTime is not
null)
56 _setupTime.PropertyChanged -= OnSetupTimePropertyChanged;
61 if (_setupTime is not
null)
63 _setupTime.PropertyChanged += OnSetupTimePropertyChanged;
87 throw new ArgumentOutOfRangeException(
98 private void OnSetupTimePropertyChanged(
100 System.ComponentModel.PropertyChangedEventArgs e)
IdentifiedEntity()
Initializes a new instance of the IdentifiedEntity class.
virtual void OnPropertyChanged([CallerMemberName] string? propertyName=null)
Raises the PropertyChanged event.
Capacity consumed when a shared production-family setup is active.
Represents a serializable reference to a work center.
Represents a shared production setup family on one work center.
ProductionFamilySetupTime? SetupTime
int PlanningHorizon
Gets the number of planning periods currently represented by the object's time-dependent data.
bool HasConsistentMemberIds
WorkCenterReference WorkCenter
void ResizeTimeSeries(int periodCount)
Resizes every time-dependent series contained in the object.
bool ContainsItem(int itemId)
List< int > MemberItemIds
Defines a model object containing data indexed by planning period.