예제 #1
0
        /// <summary>
        /// Deep Clone
        /// </summary>
        /// <returns></returns>
        public IDSMountingScheme Copy()
        {
            IDSMountingScheme mountingScheme = MemberwiseClone() as IDSMountingScheme;

            mountingScheme.Repositories   = this.Repositories.Copy();
            mountingScheme.TubeRepository = this.TubeRepository.Copy();
            return(mountingScheme);
        }
예제 #2
0
        /// <summary>
        /// 构造函数, 初始化成员属性为默认值
        /// </summary>
        public IDSSubEquipment()
        {
            ID               = "";
            ParentID         = "";
            Tag              = "";
            FunctionCode     = "";
            Suffix           = "";
            NameSuffix       = "";
            MountingType     = "";
            MountingLocation = "";
            DataPlate        = "";
            PowerSupply      = "";
            SwitchTag        = "";
            ActingCurrent    = "";

            _cables         = new IDSCableCollection();
            _mountingScheme = new IDSMountingScheme();
        }