Example #1
0
        //===================// Constructor //===================//

        public Shade()
        {
            // Set empty values to be populated by S+
            id          = 0;
            name        = "";
            controlType = 0;
        }
Example #2
0
        //===================// Methods //===================//

        /**
         * Method: CreateShade
         * Access: public
         * Description: Populate object with values passed from S+
         */
        public void CreateShade(ushort _id, string _name, ushort _controlType)
        {
            this.id          = _id;
            this.name        = _name;
            this.controlType = (ShadeControlType)_controlType;
        }