コード例 #1
0
ファイル: TCM.cs プロジェクト: yifeidong/AFC.MonitorMap
        public override DrawObject Clone(int n)
        {
            TCM drawTCM = new TCM();

            drawTCM.Rectangle   = this.Rectangle;
            drawTCM.tagIDBase   = this.tagIDBase;
            drawTCM.DeviceIP    = this.DeviceIP;
            drawTCM.logicIDTail = LogicIDAdd(logicIDTail, n);

            FillDrawObjectFields(drawTCM);
            return(drawTCM);
        }
コード例 #2
0
        /// <summary>
        /// Clone this instance
        /// </summary>
        public override DrawObject Clone()
        {
            TCM drawTCM = new TCM();

            drawTCM.Rectangle    = this.Rectangle;
            drawTCM._tagIDBase   = this._tagIDBase;
            drawTCM._logicIDTail = this._logicIDTail;
            drawTCM.DeviceIP     = this.DeviceIP;

            FillDrawObjectFields(drawTCM);
            return(drawTCM);
        }