Subversion Repositories group.NITPanels

Rev

Rev 5 | Rev 11 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 7
Line 91... Line 91...
91
 
91
 
92
        public override void FsxReady() {
92
        public override void FsxReady() {
93
            this.powerUp();
93
            this.powerUp();
94
        }
94
        }
95
 
95
 
96
        //public override void FsxClose() {
96
        public override void reAssign() {
-
 
97
            if (this.simStatus != 0)
97
        //    this.powerDown();
98
                return;
-
 
99
 
-
 
100
            this.fsx.requestAudioSelData();
98
        //}
101
        }
99
 
102
 
100
        public override void FsxEvent(SIMCONNECT_RECV_SIMOBJECT_DATA data) {
103
        public override void FsxEvent(SIMCONNECT_RECV_SIMOBJECT_DATA data) {
101
 
104
 
102
            if (data.dwRequestID == (uint)FSXObject.DATA_REQUESTS.AVIONICS) {
105
            if (data.dwRequestID == (uint)FSXObject.DATA_REQUESTS.AVIONICS) {
103
                FSXObject.Avionics_Data avionics = (FSXObject.Avionics_Data)data.dwData[0];
106
                FSXObject.Avionics_Data avionics = (FSXObject.Avionics_Data)data.dwData[0];