Свойство | Type | Description | |
---|---|---|---|
Undefined |
Méthode | Description | |
---|---|---|
CreateOrUpdate ( System.Guid signalID, string value ) : |
Constructs a new MeasurementKey given the specified parameters.
|
|
CreateOrUpdate ( System.Guid signalID, string source, uint id ) : |
Constructs a new MeasurementKey given the specified parameters.
|
|
EstablishDefaultCache ( IDbConnection connection, |
Establish default MeasurementKey cache. Source tables are expected to have at least the following fields: |
|
GetHashCode ( ) : int |
Serves as a hash function for the current MeasurementKey.
|
|
LookUpBySignalID ( System.Guid signalID ) : |
Looks up the measurement key associated with the given signal ID. If no measurement key is found with the given signal ID, this method returns Undefined. |
|
LookUpBySource ( string source, uint id ) : |
Looks up the measurement key associated with the given source and ID. If no measurement key is found with the given source and ID, this method returns Undefined. |
|
LookUpOrCreate ( System.Guid signalID, string value ) : |
Performs a lookup by signal ID and, failing that, attempts to create the key using the given signal ID and the parsed source, and ID.
|
|
LookUpOrCreate ( System.Guid signalID, string source, uint id ) : |
Performs a lookup by signal ID and, failing that, attempts to create the key using the given signal ID, source, and ID.
|
|
LookUpOrCreate ( string value ) : |
Performs a lookup by source and, failing that, attempts to create the key using a newly generated signal ID and the parsed source and ID.
|
|
LookUpOrCreate ( string source, uint id ) : |
Performs a lookup by source and, failing that, attempts to create the key using a newly generated signal ID and the given source and ID.
|
|
Parse ( string value ) : |
Converts the string representation of a MeasurementKey into its value equivalent.
|
|
SetMeasurementMetadata ( string tagName, double adder, double multiplier, MeasurementValueFilterFunction valueFilter ) : void |
Updates the values of the Metadata.
|
|
ToString ( ) : string |
Returns a string that represents the current MeasurementKey.
|
|
TryCreateOrUpdate ( System.Guid signalID, string value, |
Constructs a new MeasurementKey given the specified parameters.
|
|
TryCreateOrUpdate ( System.Guid signalID, string source, uint id, |
Constructs a new MeasurementKey given the specified parameters.
|
|
TryParse ( string value, |
Attempts to convert the string representation of a MeasurementKey into its value equivalent.
|
Méthode | Description | |
---|---|---|
CreateUndefinedMeasurementKey ( ) : |
Creates the undefined measurement key. Used to initialize Undefined.
|
|
MeasurementKey ( ) : System | ||
MeasurementKey ( System.Guid signalID, uint id, string source ) : System | ||
TrySplit ( string value, string &source, uint &id ) : bool |
Attempts to split the given string representation of a measurement key into a source and ID pair.
|
public static CreateOrUpdate ( System.Guid signalID, string value ) : |
||
signalID | System.Guid | |
value | string | A string representation of the |
Résultat |
public static CreateOrUpdate ( System.Guid signalID, string source, uint id ) : |
||
signalID | System.Guid | |
source | string | Source of the measurement that this |
id | uint | Numeric ID of the measurement that this |
Résultat |
public static EstablishDefaultCache ( IDbConnection connection, |
||
connection | IDbConnection | The database connection. |
adapterType | The database adapter type. | |
measurementTable | string | Measurement table name used to load measurement key cache. |
Résultat | void |
public static LookUpBySignalID ( System.Guid signalID ) : |
||
signalID | System.Guid | The signal ID of the measurement key. |
Résultat |
public static LookUpBySource ( string source, uint id ) : |
||
source | string | The source of the signal. |
id | uint | The source-specific unique integer identifier. |
Résultat |
public static LookUpOrCreate ( System.Guid signalID, string value ) : |
||
signalID | System.Guid | The signal ID of the key to be looked up. |
value | string | A string representation of the |
Résultat |
public static LookUpOrCreate ( System.Guid signalID, string source, uint id ) : |
||
signalID | System.Guid | The signal ID of the key to be looked up. |
source | string | The source to use for the key if the lookup fails. |
id | uint | The ID to use for the key if the lookup fails. |
Résultat |
public static LookUpOrCreate ( string value ) : |
||
value | string | A string representation of the |
Résultat |
public static LookUpOrCreate ( string source, uint id ) : |
||
source | string | The source to use for the key if the lookup fails. |
id | uint | The ID to use for the key if the lookup fails. |
Résultat |
public static Parse ( string value ) : |
||
value | string | A string representing the |
Résultat |
public SetMeasurementMetadata ( string tagName, double adder, double multiplier, MeasurementValueFilterFunction valueFilter ) : void | ||
tagName | string | Gets or sets the text based tag name. |
adder | double | Defines an offset to add to the |
multiplier | double | Defines a multiplicative offset to apply to the |
valueFilter | MeasurementValueFilterFunction | Defines the |
Résultat | void |
public static TryCreateOrUpdate ( System.Guid signalID, string value, |
||
signalID | System.Guid | |
value | string | A string representation of the |
key | The measurement key that was created or updated or |
|
Résultat | bool |
public static TryCreateOrUpdate ( System.Guid signalID, string source, uint id, |
||
signalID | System.Guid | |
source | string | Source of the measurement that this |
id | uint | Numeric ID of the measurement that this |
key | The measurement key that was created or updated or |
|
Résultat | bool |
public static TryParse ( string value, |
||
value | string | A string representing the |
key | Output |
|
Résultat | bool |