Ejemplo n.º 1
0
        public override object Copy()
        {
            ShutterNode node = base.Copy() as ShutterNode;

            node.SetText(node.Title);

            return(node);
        }
Ejemplo n.º 2
0
        public override object Clone()
        {
            ShutterNode node = base.Clone() as ShutterNode;

            node.Symbol   = this.Symbol;
            node.ImageOn  = this.ImageOn;
            node.ImageOff = this.ImageOff;

            node.ShutterUpDown                 = this.ShutterUpDown.Copy();
            node.ShutterStop                   = this.ShutterStop.Copy();
            node.AbsolutePositionOfShutter     = this.AbsolutePositionOfShutter.Copy();
            node.AbsolutePositionOfBlinds      = this.AbsolutePositionOfBlinds.Copy();
            node.StateUpperPosition            = this.StateUpperPosition.Copy();
            node.StateLowerPosition            = this.StateLowerPosition.Copy();
            node.StatusActualPositionOfShutter = this.StatusActualPositionOfShutter.Copy();
            node.StatusActualPositionOfBlinds  = this.StatusActualPositionOfBlinds.Copy();

            return(node);
        }