|
MeasurementKeyLookUpOrCreate(Guid, String) Method
|
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.
Namespace: GSF.TimeSeriesAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.248-beta
Syntaxpublic static MeasurementKey LookUpOrCreate(
Guid signalID,
string value
)
Public Shared Function LookUpOrCreate (
signalID As Guid,
value As String
) As MeasurementKey
public:
static MeasurementKey^ LookUpOrCreate(
Guid signalID,
String^ value
)
static member LookUpOrCreate :
signalID : Guid *
value : string -> MeasurementKey
GSF.TimeSeries.MeasurementKey.LookUpOrCreate = function(signalID, value);
View SourceParameters
- signalID Guid
- The signal ID of the key to be looked up.
- value String
- A string representation of the MeasurementKey.
Return Value
MeasurementKey
If the lookup succeeds, an existing measurement key with a matching signalID.
If creation succeeds, a new measurement key with matching signal ID, source, and ID.
Otherwise,
Undefined.
See Also