public class ControlExpressionUnits : ExpressionBaseVisitor<Object>| ControlExpressionUnits | Default constructor |
| AsBaseExpression | (Inherited from ExpressionBaseVisitorObject) |
| InCondition | Bool indicating if we are searching in a boolean condition |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| FindExprUnits |
Find all unit related sensors and ts functions of the expr For TsFileLookup, a new TimeSeriesInfo class is created and added to the TsInfos list |
| FindTsUnits | Find effective units of all time series stored in the TsInfos, and store in TsUnit. If file or could not be found or some other error occurs, the entry in the TsUnit will be null. |
| 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) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Visit | (Inherited from ExpressionBaseVisitorObject) |
| VisitBinaryOperator | (Inherited from ExpressionBaseVisitorObject) |
| VisitConstant | (Inherited from ExpressionBaseVisitorObject) |
| VisitExpression``1 | (Inherited from ExpressionBaseVisitorObject) |
| VisitFunction |
Internal method to find and extract all TSLookup and TSFileLookup functions, store in TsInfos
(Overrides ExpressionBaseVisitor.VisitFunction(IFunction)) |
| VisitIfThenElseOperator |
Handle "If" special: The condition is marked as InCondition = true
(Overrides ExpressionBaseVisitor.VisitIfThenElseOperator(IIfThenElseOperator)) |
| VisitUnaryOperator | (Inherited from ExpressionBaseVisitorObject) |
| VisitVariable |
Internal method to identify sensors with a unit
(Overrides ExpressionBaseVisitor.VisitVariable(IVariable)) |
| ConditionUnits | |
| ExpressionUnits | |
| Sensors | Sensors with units found in expression |
| TsInfos | Time series found in expression |