Table of Contents

Class PumpDisplay

Namespace
adas_core.Domain.Models.MongoModels
Assembly
adas-core.Domain.dll

Represents a display configuration tailored for a pump, providing settings that determine how pump-related information is rendered.

public class PumpDisplay : DisplayConfig
Inheritance
PumpDisplay
Inherited Members
Extension Methods

Remarks

Inherits from DisplayConfig, extending its general display configuration behavior with pump-specific context.

Methods

MergeConfig(DisplayConfig)

Merges the specified display configuration into the current instance, applying default values from the provided PumpDisplay configuration when the current values are null or empty. Returns the current instance unchanged if the supplied configuration is not a PumpDisplay.

public override DisplayConfig MergeConfig(DisplayConfig config)

Parameters

config DisplayConfig

The display configuration to merge from. Only PumpDisplay instances are processed; any other type results in the current instance being returned as-is.

Returns

DisplayConfig

The merged DisplayConfig result produced by chaining the base merge operation.