Class ExtendedProps
Namespace: TecnoPack.Scheduler.Models
Assembly: CO0002_Templ_FlowpackHMI_V00_26_M.dll
Base class for additional properties of different event types in the scheduler.
[JsonPolymorphic(TypeDiscriminatorPropertyName = "eventType")]
[JsonDerivedType(typeof(RecipeExtendedProps), "Recipe")]
[JsonDerivedType(typeof(ShiftExtendedProps), "Shift")]
[JsonDerivedType(typeof(MaintenanceExtendedProps), "Maintenance")]
public abstract class ExtendedProps
Inheritance
object ← ExtendedProps
Derived
MaintenanceExtendedProps, RecipeExtendedProps, ShiftExtendedProps
Remarks
This abstract class is used as the base for polymorphic serialization of event-specific
extended properties. It supports multiple derived types, each identified by a
TypeDiscriminator in JSON when using
Derived types include:
— for recipe-related events. — for shift-related events. — for maintenance-related events.