Exemplo n.º 1
0
        public object Clone()
        {
            ActionCommandElement element = new ActionCommandElement(this);

            return(element);
        }
Exemplo n.º 2
0
 private Rule(Rule rule)
 {
     this.RuleCondition = rule.RuleCondition == null ? null : rule.RuleCondition.Clone() as ConditionElement;
     this.RuleAction    = rule.RuleAction == null ? null : rule.RuleAction.Clone() as       ActionCommandElement;
     // this.ParameterAlarmConfigList = config.ParameterAlarmConfigList == null ? null : config.ParameterAlarmConfigList.Select(T => (ParameterAlarmConfig)T.Clone()).ToList();
 }
Exemplo n.º 3
0
 private ActionCommandElement(ActionCommandElement element)
 {
     this.ActionCommandCollection = element.ActionCommandCollection == null ? null : element.ActionCommandCollection.Select(T => (ActionCommand)T.Clone()).ToList();
 }