예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWnd = ((Aldar.MainWindow)(target));

            #line 9 "..\..\MainWindow.xaml"
                this.mainWnd.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.gbTel = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.stpTelMain = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.stpTel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.tbxTel1 = ((System.Windows.Controls.TextBox)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.tbxTel1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbxTel1_TextChanged);

            #line default
            #line hidden

            #line 21 "..\..\MainWindow.xaml"
                this.tbxTel1.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tbxTel_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 6:
                this.chbRing1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 7:
                this.chbSms1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.chbRingCtrl1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.chbSmsCtrl1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.chbMonitor = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.stpTel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.tbxTel2 = ((System.Windows.Controls.TextBox)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.tbxTel2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbxTel2_TextChanged);

            #line default
            #line hidden

            #line 31 "..\..\MainWindow.xaml"
                this.tbxTel2.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tbxTel_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 13:
                this.chbRing2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 14:
                this.chbSms2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 15:
                this.chbRingCtrl2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 16:
                this.chbSmsCtrl2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.stpTel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 18:
                this.tbxTel3 = ((System.Windows.Controls.TextBox)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.tbxTel3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbxTel3_TextChanged);

            #line default
            #line hidden

            #line 39 "..\..\MainWindow.xaml"
                this.tbxTel3.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tbxTel_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 19:
                this.chbRing3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 20:
                this.chbSms3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.chbRingCtrl3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.chbSmsCtrl3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.stpsigValue = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 24:
                this.pgGsmSig = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 25:
                this.gbTemp = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 26:
                this.stpTeplMain = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 27:
                this.stpDisplayTemps = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 28:
                this.tblTemp1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.tblTemp2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.stpTepl = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 31:
                this.tbxTemp = ((System.Windows.Controls.TextBox)(target));

            #line 70 "..\..\MainWindow.xaml"
                this.tbxTemp.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tbxTemp_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 32:
                this.tbxHystTemp = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.stpTeplAlarm = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 34:
                this.tbxTempAlT1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.tbxTempAlT2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 36:
                this.stpActivSelect = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 37:
                this.stpActSelectT1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 38:
                this.rbSelT1down = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 39:
                this.rbSelT1up = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 40:
                this.stpActSelectT2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 41:
                this.rbSelT2down = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 42:
                this.rbSelT2up = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 43:
                this.gbSpinacky = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 44:
                this.stpSpinMain = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 45:
                this.stpOnOff = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 46:
                this.stpSpin1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 47:
                this.tpOn1 = ((Aldar.TimePicker)(target));
                return;

            case 48:
                this.tpOff1 = ((Aldar.TimePicker)(target));
                return;

            case 49:
                this.stpSpin2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 50:
                this.tpOn2 = ((Aldar.TimePicker)(target));
                return;

            case 51:
                this.tpOff2 = ((Aldar.TimePicker)(target));
                return;

            case 52:
                this.stpSpin3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 53:
                this.tpOn3 = ((Aldar.TimePicker)(target));
                return;

            case 54:
                this.tpOff3 = ((Aldar.TimePicker)(target));
                return;

            case 55:
                this.stpSpin4 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 56:
                this.tpOn4 = ((Aldar.TimePicker)(target));
                return;

            case 57:
                this.tpOff4 = ((Aldar.TimePicker)(target));
                return;

            case 58:
                this.grbLoops = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 59:
                this.stpMainLoops = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 60:
                this.stpLoop1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 61:
                this.rbInst1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 62:
                this.rbDel1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 63:
                this.rb24h1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 64:
                this.rbZona1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 65:
                this.rbNone1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 66:
                this.stpLoop2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 67:
                this.rbInst2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 68:
                this.rbDel2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 69:
                this.rb24h2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 70:
                this.rbZona2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 71:
                this.rbNone2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 72:
                this.stpLoop3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 73:
                this.rbInst3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 74:
                this.rbDel3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 75:
                this.rb24h3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 76:
                this.rbZona3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 77:
                this.rbNone3 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 78:
                this.stpLoop4 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 79:
                this.rbInst4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 80:
                this.rbDel4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 81:
                this.rb24h4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 82:
                this.rbZona4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 83:
                this.rbNone4 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 84:
                this.stpSelActiv = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 85:
                this.rbAktivSep = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 86:
                this.rbAktivRozep = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 87:
                this.stpLoopTimes = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 88:
                this.tbxEntryTime = ((System.Windows.Controls.TextBox)(target));

            #line 163 "..\..\MainWindow.xaml"
                this.tbxEntryTime.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tbxTime_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 89:
                this.tbxExitTime = ((System.Windows.Controls.TextBox)(target));

            #line 165 "..\..\MainWindow.xaml"
                this.tbxExitTime.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tbxTime_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 90:
                this.tbxAlarmTime = ((System.Windows.Controls.TextBox)(target));

            #line 167 "..\..\MainWindow.xaml"
                this.tbxAlarmTime.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tbxTime_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 91:
                this.stpZoneTimes = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 92:
                this.tbxZoneActivTime = ((System.Windows.Controls.TextBox)(target));

            #line 173 "..\..\MainWindow.xaml"
                this.tbxZoneActivTime.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tbxTime_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 93:
                this.tbxZoneRestTime = ((System.Windows.Controls.TextBox)(target));

            #line 175 "..\..\MainWindow.xaml"
                this.tbxZoneRestTime.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tbxTime_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 94:
                this.grbCom = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 95:
                this.cmbComPorts = ((System.Windows.Controls.ComboBox)(target));

            #line 184 "..\..\MainWindow.xaml"
                this.cmbComPorts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbComPorts_SelectionChanged);

            #line default
            #line hidden
                return;

            case 96:
                this.btnCom = ((System.Windows.Controls.Button)(target));

            #line 185 "..\..\MainWindow.xaml"
                this.btnCom.Click += new System.Windows.RoutedEventHandler(this.btnCom_Click);

            #line default
            #line hidden
                return;

            case 97:
                this.btnUpload = ((System.Windows.Controls.Button)(target));

            #line 186 "..\..\MainWindow.xaml"
                this.btnUpload.Click += new System.Windows.RoutedEventHandler(this.btnUpload_Click);

            #line default
            #line hidden
                return;

            case 98:
                this.btnDownload = ((System.Windows.Controls.Button)(target));

            #line 187 "..\..\MainWindow.xaml"
                this.btnDownload.Click += new System.Windows.RoutedEventHandler(this.btnDownload_Click);

            #line default
            #line hidden
                return;

            case 99:
                this.btnHistory = ((System.Windows.Controls.Button)(target));

            #line 188 "..\..\MainWindow.xaml"
                this.btnHistory.Click += new System.Windows.RoutedEventHandler(this.btnHistory_Click);

            #line default
            #line hidden
                return;

            case 100:
                this.tbxMessages = ((System.Windows.Controls.TextBox)(target));

            #line 193 "..\..\MainWindow.xaml"
                this.tbxMessages.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbxMessages_TextChanged);

            #line default
            #line hidden
                return;

            case 101:
                this.tblDateTime = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ucTimeCtrl = ((Aldar.TimePicker)(target));

            #line 16 "..\..\TimeControl.xaml"
                this.ucTimeCtrl.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.UserControl_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 2:
                this.tbHod = ((System.Windows.Controls.TextBox)(target));

            #line 28 "..\..\TimeControl.xaml"
                this.tbHod.GotFocus += new System.Windows.RoutedEventHandler(this.tbHod_GotFocus);

            #line default
            #line hidden

            #line 28 "..\..\TimeControl.xaml"
                this.tbHod.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tbHod_PreviewKeyDown);

            #line default
            #line hidden

            #line 28 "..\..\TimeControl.xaml"
                this.tbHod.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbHod_TextChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.tbMin = ((System.Windows.Controls.TextBox)(target));

            #line 30 "..\..\TimeControl.xaml"
                this.tbMin.GotFocus += new System.Windows.RoutedEventHandler(this.tbMin_GotFocus);

            #line default
            #line hidden

            #line 30 "..\..\TimeControl.xaml"
                this.tbMin.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tbMin_PreviewKeyDown);

            #line default
            #line hidden

            #line 30 "..\..\TimeControl.xaml"
                this.tbMin.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbMin_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.tbSec = ((System.Windows.Controls.TextBox)(target));

            #line 32 "..\..\TimeControl.xaml"
                this.tbSec.GotFocus += new System.Windows.RoutedEventHandler(this.tbSec_GotFocus);

            #line default
            #line hidden

            #line 32 "..\..\TimeControl.xaml"
                this.tbSec.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tbSec_PreviewKeyDown);

            #line default
            #line hidden

            #line 32 "..\..\TimeControl.xaml"
                this.tbSec.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbSec_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.btUp = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\TimeControl.xaml"
                this.btUp.Click += new System.Windows.RoutedEventHandler(this.btUp_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btDn = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\TimeControl.xaml"
                this.btDn.Click += new System.Windows.RoutedEventHandler(this.btDn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }