diff --git a/spine/model/electricalconnection_additions.go b/spine/model/electricalconnection_additions.go index 4db12443..52e9e8d0 100644 --- a/spine/model/electricalconnection_additions.go +++ b/spine/model/electricalconnection_additions.go @@ -39,6 +39,19 @@ func (r *ElectricalConnectionDescriptionListDataType) UpdateList(newList any, fi r.ElectricalConnectionDescriptionData = UpdateList(r.ElectricalConnectionDescriptionData, newData, filterPartial, filterDelete) } +// ElectricalConnectionCharacteristicListDataType + +var _ Updater = (*ElectricalConnectionCharacteristicListDataType)(nil) + +func (r *ElectricalConnectionCharacteristicListDataType) UpdateList(newList any, filterPartial, filterDelete *FilterType) { + var newData []ElectricalConnectionCharacteristicDataType + if newList != nil { + newData = newList.(*ElectricalConnectionCharacteristicListDataType).ElectricalConnectionCharacteristicListData + } + + r.ElectricalConnectionCharacteristicListData = UpdateList(r.ElectricalConnectionCharacteristicListData, newData, filterPartial, filterDelete) +} + // ElectricalConnectionParameterDescriptionListDataType var _ Updater = (*ElectricalConnectionParameterDescriptionListDataType)(nil) diff --git a/spine/model/identification_additions.go b/spine/model/identification_additions.go index 68be5742..d2ee37c0 100644 --- a/spine/model/identification_additions.go +++ b/spine/model/identification_additions.go @@ -12,3 +12,29 @@ func (r *IdentificationListDataType) UpdateList(newList any, filterPartial, filt r.IdentificationData = UpdateList(r.IdentificationData, newData, filterPartial, filterDelete) } + +// SessionIdentificationListDataType + +var _ Updater = (*SessionIdentificationListDataType)(nil) + +func (r *SessionIdentificationListDataType) UpdateList(newList any, filterPartial, filterDelete *FilterType) { + var newData []SessionIdentificationDataType + if newList != nil { + newData = newList.(*SessionIdentificationListDataType).SessionIdentificationData + } + + r.SessionIdentificationData = UpdateList(r.SessionIdentificationData, newData, filterPartial, filterDelete) +} + +// SessionMeasurementRelationListDataType + +var _ Updater = (*SessionMeasurementRelationListDataType)(nil) + +func (r *SessionMeasurementRelationListDataType) UpdateList(newList any, filterPartial, filterDelete *FilterType) { + var newData []SessionMeasurementRelationDataType + if newList != nil { + newData = newList.(*SessionMeasurementRelationListDataType).SessionMeasurementRelationData + } + + r.SessionMeasurementRelationData = UpdateList(r.SessionMeasurementRelationData, newData, filterPartial, filterDelete) +} diff --git a/spine/model/measurement_additions.go b/spine/model/measurement_additions.go index 4d75432e..87cb9055 100644 --- a/spine/model/measurement_additions.go +++ b/spine/model/measurement_additions.go @@ -13,6 +13,19 @@ func (r *MeasurementListDataType) UpdateList(newList any, filterPartial, filterD r.MeasurementData = UpdateList(r.MeasurementData, newData, filterPartial, filterDelete) } +// MeasurementSeriesListDataType + +var _ Updater = (*MeasurementSeriesListDataType)(nil) + +func (r *MeasurementSeriesListDataType) UpdateList(newList any, filterPartial, filterDelete *FilterType) { + var newData []MeasurementSeriesDataType + if newList != nil { + newData = newList.(*MeasurementSeriesListDataType).MeasurementSeriesData + } + + r.MeasurementSeriesData = UpdateList(r.MeasurementSeriesData, newData, filterPartial, filterDelete) +} + // MeasurementConstraintsListDataType var _ Updater = (*MeasurementConstraintsListDataType)(nil) diff --git a/spine/model/stateinformation_additions.go b/spine/model/stateinformation_additions.go new file mode 100644 index 00000000..458e4970 --- /dev/null +++ b/spine/model/stateinformation_additions.go @@ -0,0 +1,14 @@ +package model + +// StateInformationListDataType + +var _ Updater = (*StateInformationListDataType)(nil) + +func (r *StateInformationListDataType) UpdateList(newList any, filterPartial, filterDelete *FilterType) { + var newData []StateInformationDataType + if newList != nil { + newData = newList.(*StateInformationListDataType).StateInformationData + } + + r.StateInformationData = UpdateList(r.StateInformationData, newData, filterPartial, filterDelete) +}