public class MeasurementExpressionParserPublic Class MeasurementExpressionParserpublic ref class MeasurementExpressionParserGemstone.Timeseries.Model.MeasurementExpressionParser = function();
Type.createClass(
'Gemstone.Timeseries.Model.MeasurementExpressionParser');As an example, this parser can use a templated expression of the form:
{CompanyAcronym}_{DeviceAcronym}[?{SignalType.Source}=Phasor[-{SignalType.Suffix}{SignalIndex}]]:{Signal.Acronym}Parser also supports more complex C# style expressions using the "eval{}" function, e.g.:
eval{'{CompanyAcronym}'.Substring(0,3)}_{DeviceAcronym}eval{'[?{SignalType.Source}=Phasor[-{SignalType.Suffix}]]'.Length}| MeasurementExpressionParser(String) | Creates a new MeasurementExpressionParser. |
| MeasurementExpressionParser(TemplatedExpressionParser) | Creates a new MeasurementExpressionParser. |
| Substitutions | Additional variables available in this instance. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Execute | Create a new expression using the provided expression. |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ProvideMeasurementSubstitutions | This Provides the substitutions that would be used for the provided parameters. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |