// NOTE: MathOperations aren't to be created or edited by the user.  User creates CalculationTools which in turn create/manage MathOperations are needed

        public MathOperationDefinition(TestSequence testSequence, string calcDef)
            : base(testSequence)
        {
            mResult      = new MathOpResultDefinition(testSequence, this, calcDef);
            mResult.Type = DataType.NotDefined; // let this be decided by the operation/values. currently doing this when the instance is created in case the operator changes the type of a value after it is added to an operation...currently I don't have a way to seeing when changes are made to values used by the mathOps
            mResult.AddDependency(this);
            //20080506 mResult.Name = MathOpResultDefinition.COMPUTED_VALUES_NAME_PREFIX + calcDef;

            base.Name = MATH_OP_NAME_PREFIX + calcDef;
        }
Beispiel #2
0
        public MathOpResultInstance(MathOpResultDefinition theDefinition, TestExecution testExecution)
            : base(theDefinition, testExecution)
        {
//            SetType(testExecution.GetMathOperation(theDefinition.MathOperation().Name).Type);
        }