ControlData Methods

Methods

CreateSensor(String, SensorLocationType, IQuantity) Create sensor
CreateSensorT(String, SensorLocationType, IQuantity) Create sensor, type specific version
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FinalizeTimeStep Update control data and all its controls
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetOrCreateSensor(String, SensorLocationType, IQuantity) Get or create sensor.

Sensors defined in SensorDescriptions will automatically be created. This is relevant for sensors that is not connected to anything by default, but needs user interaction to get connected.

GetOrCreateSensorT(String, SensorLocationType, IQuantity) Get or create sensor.

Sensors defined in SensorDescriptions will automatically be created. This is relevant for sensors that is not connected to anything by default, but needs user interaction to get connected.

GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize Initialize control module.

It creates all sensors defined in SensorDescriptions and initializes all ControlStateMachines.

MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Prepare Prepare control data.
PrepareForTimestep Prepare control data for time step.
ReadState Read state and apply to module. Returns true if state was successfully read.
ReleaseLicense Internal method
ReorderVariables Method that tries to reorder the variables according to dependencies. if a circular dependency is spotted, the diagnostics reports the error. Clarification: The method is public as it is unit tested.
Reset Reset inner state of sensors, control state machines and actions
ToStringReturns a string that represents the current object.
(Inherited from Object)
Update Update control data and all its controls
Validate Validate control data, except time series sensors
Validate(DateTime, DateTime) Validate all of control data, including time series sensors
WriteState Write current state of module

See Also