Esempio n. 1
0
 public object Clone()
 {
     ConditionElement element = new ConditionElement(this);
     return element;
 }
Esempio n. 2
0
        public object Clone()
        {
            ConditionElement element = new ConditionElement(this);

            return(element);
        }
Esempio n. 3
0
 private ConditionElement(ConditionElement element)
 {
     this.ConditionCollection = element.ConditionCollection == null ? null : element.ConditionCollection.Select(T => (Condition)T.Clone()).ToList();
     // this.ParameterAlarmConfigList = config.ParameterAlarmConfigList == null ? null : config.ParameterAlarmConfigList.Select(T => (ParameterAlarmConfig)T.Clone()).ToList();
 }
Esempio n. 4
0
 private ConditionElement(ConditionElement element)
 {
     this.ConditionCollection = element.ConditionCollection == null ? null : element.ConditionCollection.Select(T => (Condition)T.Clone()).ToList();
     // this.ParameterAlarmConfigList = config.ParameterAlarmConfigList == null ? null : config.ParameterAlarmConfigList.Select(T => (ParameterAlarmConfig)T.Clone()).ToList();
 }