예제 #1
0
        public object Clone()
        {
            ActionCommand actionCommand = new ActionCommand(this);

            return(actionCommand);
        }
예제 #2
0
 private ActionCommand(ActionCommand actionCommand)
 {
     this.ActionTarget = actionCommand.ActionTarget == null ? null : actionCommand.ActionTarget.Clone() as ActionTarget;
     this.ActionType   = actionCommand.ActionType;
     // this.ParameterAlarmConfigList = config.ParameterAlarmConfigList == null ? null : config.ParameterAlarmConfigList.Select(T => (ParameterAlarmConfig)T.Clone()).ToList();
 }