public RtuParaSwitchOutViewModel(SwitchOut.RtuParaSwitchOut rtuParaSwitchOut)
 {
     this.RtuId         = rtuParaSwitchOut.RtuId;
     this.SwitchOutId   = rtuParaSwitchOut.SwitchOutId;
     this.SwichtOutName = rtuParaSwitchOut.SwichtOutName;
     this.ControlGroup  = rtuParaSwitchOut.ControlGroup;
     this.Vector        = rtuParaSwitchOut.Vector;
     this.LoopSum       = rtuParaSwitchOut.LoopSum;
 }
        /// <summary>
        /// 还原数据为 RtuParaSwitchOut
        /// </summary>
        /// <returns></returns>
        public SwitchOut.RtuParaSwitchOut BackRtuParaSwitchOut()
        {
            var rtuParaSwitchOut = new SwitchOut.RtuParaSwitchOut(this);

            return(rtuParaSwitchOut);
        }