Show / Hide Table of Contents

Class ScalarParameter

Scalar Value Parameter

Inheritance
System.Object
ParameterBase
ChannelBasedParameter
ScalarParameter
Implements
IParameter
System.ComponentModel.INotifyPropertyChanged
Inherited Members
ChannelBasedParameter.AddChannel(IChannel)
ChannelBasedParameter.ApplyChannelOffset(UInt32)
ChannelBasedParameter.MergeChannelIds(IReadOnlyCollection<UInt32>)
ChannelBasedParameter.MergeChannels(IReadOnlyCollection<IChannel>)
ChannelBasedParameter.SetChannels(IReadOnlyCollection<IChannel>)
ChannelBasedParameter.ChannelIds
ChannelBasedParameter.Channels
ChannelBasedParameter.InMemory
ChannelBasedParameter.ParameterChannelKey
ParameterBase.Recalculate()
ParameterBase.NotifyPropertyChanged(String)
ParameterBase.ApplicationName
ParameterBase.Available
ParameterBase.BitShift
ParameterBase.ByteOrder
ParameterBase.CanRecalculate
ParameterBase.ConversionFunctionName
ParameterBase.DataBitMask
ParameterBase.Description
ParameterBase.ErrorBitmask
ParameterBase.FormatOverride
ParameterBase.GroupIdentifiers
ParameterBase.Identifier
ParameterBase.MaximumValue
ParameterBase.MinimumValue
ParameterBase.Name
ParameterBase.OffsetValue
ParameterBase.ShowInBrowser
ParameterBase.Unit
ParameterBase.UserType
ParameterBase.WarningMaximumValue
ParameterBase.WarningMinimumValue
ParameterBase.AvailabilityChanged
ParameterBase.PropertyChanged
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class ScalarParameter : ChannelBasedParameter, IChannelBasedParameter, IParameter, INotifyPropertyChanged

Constructors

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, List<String>, List<UInt32>)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, List<string> parameterGroupIdentifiers, List<uint> channelIds)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The name of ScalarParameter.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

The conversion function.

System.Collections.Generic.List<System.String> parameterGroupIdentifiers

The parameter group identifiers.

System.Collections.Generic.List<System.UInt32> channelIds

The channel ids.

Exceptions
Type Condition
System.ArgumentException

Thrown when an attempt is made to add multiple channels with the same interval. Also thrown is null is passed for the channel list.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, List<String>, List<UInt32>, String)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, List<string> parameterGroupIdentifiers, List<uint> channelIds, string applicationName)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The name of the ScalarParameter.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

Name of the conversion function.

System.Collections.Generic.List<System.String> parameterGroupIdentifiers

The parameter group identifiers.

System.Collections.Generic.List<System.UInt32> channelIds

The channel ids.

System.String applicationName

Name of the application.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, List<String>, List<UInt32>, String, String)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, List<string> parameterGroupIdentifiers, List<uint> channelIds, string applicationName, string formatOverride)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The name of the ScalarParameter.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

Name of the conversion function.

System.Collections.Generic.List<System.String> parameterGroupIdentifiers

The parameter group identifiers.

System.Collections.Generic.List<System.UInt32> channelIds

The channel ids.

System.String applicationName

Name of the application.

System.String formatOverride

The format override.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, List<String>, List<UInt32>, String, String, String)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, List<string> parameterGroupIdentifiers, List<uint> channelIds, string applicationName, string formatOverride, string units)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The name of the ScalarParameter.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

Name of the conversion function.

System.Collections.Generic.List<System.String> parameterGroupIdentifiers

The parameter group identifiers.

System.Collections.Generic.List<System.UInt32> channelIds

The channel ids.

System.String applicationName

Name of the application.

System.String formatOverride

The format override.

System.String units

The units value.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, List<String>, String, String)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, List<string> parameterGroupIdentifiers, string parameterChannelKey, string applicationName)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The ScalarParameter name.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

Name of the conversion function.

System.Collections.Generic.List<System.String> parameterGroupIdentifiers

The parameter group identifiers.

System.String parameterChannelKey

The ScalarParameter channel key, used for linking associated parameters and their channels when during end configuration.

System.String applicationName

Name of the application group.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, List<String>, String, String, String)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, List<string> parameterGroupIdentifiers, string parameterChannelKey, string applicationName, string formatOverride)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The ScalarParameter name.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

Name of the conversion function.

System.Collections.Generic.List<System.String> parameterGroupIdentifiers

The parameter group identifiers.

System.String parameterChannelKey

The ScalarParameter channel key, used for linking associated ScalarParameters and their channels when during end configuration.

System.String applicationName

Name of the application group.

System.String formatOverride

The format override.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, List<String>, String, String, String, String)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, List<string> parameterGroupIdentifiers, string parameterChannelKey, string applicationName, string formatOverride, string units)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The ScalarParameter name.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

Name of the conversion function.

System.Collections.Generic.List<System.String> parameterGroupIdentifiers

The parameter group identifiers.

System.String parameterChannelKey

The ScalarParameter channel key, used for linking associated ScalarParameters and their channels when during end configuration.

System.String applicationName

Name of the application group.

System.String formatOverride

The format override.

System.String units

The units value.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, List<String>, UInt32)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, List<string> parameterGroupIdentifiers, uint channelId)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The name of the ScalarParameter.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

The conversion function.

System.Collections.Generic.List<System.String> parameterGroupIdentifiers

The parameter group identifiers.

System.UInt32 channelId

The channel id.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, List<String>, UInt32, String)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, List<string> parameterGroupIdentifiers, uint channelId, string applicationName)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The ScalarParameter name.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

Name of the conversion function.

System.Collections.Generic.List<System.String> parameterGroupIdentifiers

The parameter group identifiers.

System.UInt32 channelId

The channel id.

System.String applicationName

Name of the application group.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, List<UInt32>)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, List<uint> channelIds)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The name of the ScalarParameter.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

The conversion function.

System.Collections.Generic.List<System.UInt32> channelIds

The channel ids.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, String)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, string parameterChannelKey)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The name of the ScalarParameter.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

The conversion function.

System.String parameterChannelKey

The parameter channel key.

ScalarParameter(String, String, String, Double, Double, Double, Double, Double, UInt32, UInt32, String, UInt32)

Initialises a new instance of the ScalarParameter class.

Declaration
public ScalarParameter(string identifier, string name, string description, double maximumValue, double minimumValue, double warningMaximumValue, double warningMinimumValue, double offsetValue, uint dataBitMask, uint errorBitMask, string conversionFunctionName, uint channelId)
Parameters
Type Name Description
System.String identifier

The identifier.

System.String name

The name of the ScalarParameter.

System.String description

The description.

System.Double maximumValue

The maximum value.

System.Double minimumValue

The minimum value.

System.Double warningMaximumValue

The warning maximum value.

System.Double warningMinimumValue

The warning minimum value.

System.Double offsetValue

The offset value.

System.UInt32 dataBitMask

The data bit mask.

System.UInt32 errorBitMask

The error bit mask.

System.String conversionFunctionName

The conversion function.

System.UInt32 channelId

The channel id.

Properties

ParameterType

Gets the type of the parameter.

Declaration
public override ParameterType ParameterType { get; }
Property Value
Type Description
ParameterType

The type of the parameter.

Overrides
ParameterBase.ParameterType

Methods

ToString()

Returns a System.String that represents the current System.Object.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents the current System.Object.

Overrides
ParameterBase.ToString()

Events

UnderlyingDataSourceChanged

Occurs when [underlying data source changed].

Declaration
public override event EventHandler UnderlyingDataSourceChanged
Event Type
Type Description
System.EventHandler
Overrides
ParameterBase.UnderlyingDataSourceChanged

Implements

IParameter
System.ComponentModel.INotifyPropertyChanged
Back to top Generated by DocFX