internal override ConditionComponent Duplicate()
        {
            ConditionSingle cs = new ConditionSingle();

            cs.ConditionType   = ConditionType;
            cs.Enabled         = Enabled;
            cs.ExpressionL     = ExpressionL;
            cs.ExpressionR     = ExpressionR;
            cs.ExpressionTypeL = ExpressionTypeL;
            cs.ExpressionTypeR = ExpressionTypeR;
            return(cs);
        }
Beispiel #2
0
        internal ConditionSingle ConvertToConditionSingle()
        {
            ConditionSingle cs = new ConditionSingle();

            cs.ConditionType   = (ConditionSingle.CndTypeEnum) this.ConditionType;
            cs.ExpressionL     = ExpressionL;
            cs.ExpressionTypeL = (ConditionSingle.ExprTypeEnum)ExpressionTypeL;
            cs.ExpressionR     = ExpressionR;
            cs.ExpressionTypeR = (ConditionSingle.ExprTypeEnum)ExpressionTypeR;
            cs.Enabled         = Enabled;
            return(cs);
        }