Example #1
0
 private void aGauge1_ValueInRangeChanged(object sender, AGauge.ValueInRangeChangedEventArgs e)
 {
     if (e.valueInRange == 0)
     {
         pictureBox1.BackColor = Color.Green;
     }
     else
     {
         pictureBox1.BackColor = Color.Red;
     }
 }
Example #2
0
 private void aGauge2_ValueInRangeChanged(object sender, AGauge.ValueInRangeChangedEventArgs e)
 {
     if (e.valueInRange == 1)
     {
         label1.Text="WARNING!--OBJECTS IN MIRROR MAY APPEAR SLOWER THAN THEY USED TO.";
     }
     else if (e.valueInRange==2)
     {
         label1.Text="IF THIS GAUGE DISPLAYS YOUR CURRENT SPEED AND YOU STILL CAN SEE THIS THEN SOMTHING IS WRONG ;-)";
     }
     else
     {
         label1.Text = "";
     }
 }
Example #3
0
 public AGaugeRangeCollection(AGauge sender)
 {
     Owner = sender;
 }
Example #4
0
 public void SetOwner(AGauge value)
 {
     Owner = value;
 }
Example #5
0
 public AGaugeLabelCollection(AGauge sender)
 {
     Owner = sender;
 }
Example #6
0
        private void InitConsole()      // changes yt7pwr
        {
            this.Text = this.Text + GSDR_version + GSDR_revision;
            WinVer = WindowsVersion.WindowsXP;      // default
            OSInfo = System.Environment.OSVersion;
            Mixer.console = this;

            switch (OSInfo.Version.Major)
            {
                case 5:
                    {
                        switch (OSInfo.Version.Minor)
                        {
                            case 0:
                                WinVer = WindowsVersion.Windows2000;
                                break;
                            case 1:
                                WinVer = WindowsVersion.WindowsXP;
                                break;
                        }
                    }
                    break;
                case 6:
                    {
                        switch (OSInfo.Version.Minor)
                        {
                            case 0:
                                WinVer = WindowsVersion.WindowsVista;
                                break;
                            case 1:
                                WinVer = WindowsVersion.Windows7;
                                break;
                            case 2:
                                WinVer = WindowsVersion.Windows8;
                                break;
                            case 3:
                                WinVer = WindowsVersion.Windows8;
                                break;
                            default:
                                WinVer = WindowsVersion.WindowsVista;
                                break;
                        }
                    }
                    break;
                default:
                    WinVer = WindowsVersion.WindowsXP;
                    break;
            }

            booting = true;
            skin = new Skin(this);
            VoiceMsgForm = new VoiceMessages(this);
            g59 = new GenesisG59.G59(Handle);
            g59.booting = true;
            g11 = new GenesisG11.G11(Handle);
            g11.booting = true;
            g6 = new GenesisG6.G6(Handle);
            g6.booting = true;
            g6.SetCallback(GenesisG6CommandCallback);
            g6.SetIQCallback(Audio.G6AudioCallback);
            //g6.SetIQCallback(Audio.G6ADCaudioCallback);
            //g6.SetDACcallback(Audio.G6DACaudioCallback);
            net_device = new GenesisNetBox.NetBox(Handle);
            net_device.booting = true;
            qrp2000 = new QRP2000(this);
            AnalogSignalGauge = new AGauge(this);
            NewVFOSignalGauge = new AGauge(this);

            try
            {
                ServerSocket = new ServerSendData(this);    // error!
                ClientSocket = new ClientRecvData(this);
            }
            catch (Exception ex)
            {
                MessageBox.Show("Error1 in network configuration!\nCheck your network settings!\n" +
                    ex.ToString());
            }

            try
            {
                CAT_server_socket = new CAToverEthernetServer(this);
                CAT_client_socket = new CAToverEthernetClient(this);
            }
            catch (Exception ex)
            {
                Debug.Write("Error while creating network CAT!\n" +
                    ex.ToString());
            }

            try
            {
                MultiPSKServer = new MultiPSKEthernetServer(this);
            }
            catch (Exception ex)
            {
                Debug.Write("Error in MultiPSK network configuration!\nCheck your network settings!\n" +
                    ex.ToString());
            }

            UpdateBandStackRegisters();

            Audio.console = this;
            chkDSPNB2.Enabled = true;
            Display_GDI.console = this;     // for GDI+
#if(DirectX)
            try
            {
                Display_DirectX.console = this; // for DirectX
            }
            catch (Exception ex)
            {
                MessageBox.Show("DirectX general fault!\n" + ex.ToString());
            }
#endif

            if (CmdLineArgs != null)
            {
                for (int i = 0; i < CmdLineArgs.Length; i++)
                {
                    switch (CmdLineArgs[i])
                    {
                        case "--disable-swr-prot-at-my-risk":
                            DisableSWRProtection = true;
                            this.Text = this.Text + "  *** SWR Protection Disabled! ***";
                            break;
                        case "--high-pwr-am":
                            Audio.high_pwr_am = true;
                            MessageBox.Show("high power am");
                            break;
                        case "--debug-enable":
                            debug_enabled = true;
                            debug = new DebugForm(this, true);
                            debug.StartPosition = FormStartPosition.Manual;
                            debug.Show();
                            debug.Focus();
                            Win32.SetWindowPos(debug.Handle.ToInt32(),
                                -1, this.Left, this.Top, debug.Width, debug.Height, 0);
                            this.Text = this.Text + " Debug enabled!";
                            break;
                    }
                }
            }

            losc_hover_digit = -1;
            vfoA_hover_digit = -1;
            vfoB_hover_digit = -1;
            run_setup_wizard = true;

            // get culture specific decimal separator
            separator = CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator;

            last_band = "";						// initialize bandstack

            wheel_tune_list = new double[15];		// initialize wheel tuning list array
            wheel_tune_list[0] = 0.000001;
            wheel_tune_list[1] = 0.000010;
            wheel_tune_list[2] = 0.000050;
            wheel_tune_list[3] = 0.000100;
            wheel_tune_list[4] = 0.000250;
            wheel_tune_list[5] = 0.000500;
            wheel_tune_list[6] = 0.001000;
            wheel_tune_list[7] = 0.005000;
            wheel_tune_list[8] = 0.009000;
            wheel_tune_list[9] = 0.010000;
            wheel_tune_list[10] = 0.100000;
            wheel_tune_list[11] = 0.250000;
            wheel_tune_list[12] = 0.500000;
            wheel_tune_list[13] = 1.000000;
            wheel_tune_list[14] = 10.000000;
            wheel_tune_index = 6;
            wheel_tune_index_subRX = 6;

            meter_text_history = new float[multimeter_text_peak_samples];
            current_meter_data = -200.0f;
            this.ActiveControl = chkPower;		// Power has focus initially

            Display_GDI.Target = picDisplay;
            Display_GDI.Init();					// Initialize Display variables
            InitDisplayModes();					// Initialize Display Modes
            InitAGCModes();						// Initialize AGC Modes
            InitMultiMeterModes();				// Initialize MultiMeter Modes

            ProcessSampleThreadController[] pstc = new ProcessSampleThreadController[1];
            audio_process_thread = new Thread[1];

            for (uint proc_thread = 0; proc_thread < 1; proc_thread++)
            {
                pstc[proc_thread] = new ProcessSampleThreadController(proc_thread);
                audio_process_thread[proc_thread] = new Thread(new ThreadStart(pstc[proc_thread].ProcessSampleThread));
                audio_process_thread[proc_thread].Name = "Audio Process Thread " + proc_thread.ToString();
                audio_process_thread[proc_thread].Priority = ThreadPriority.Highest;
                audio_process_thread[proc_thread].IsBackground = true;
                audio_process_thread[proc_thread].Start();
            }

            siolisten = new SIOListenerII(this);

            Keyer = new CWKeyer2(this);			// create new Keyer
            CWXForm = new CWX(this);            // create CWX form
            CWXForm.stopButton_Click(null, null);
            EQForm = new EQForm();
            XTRVForm = new XTRV(this);
            UpdateBandStackRegisters();

            InitFilterPresets(ref filter_presets, ref filter_presets_subRX);					// Initialize filter values

            SI570 = new ExtIO_si570_usb(this);
            RTL_SDR = new ExtIO_RTL(this);

            ir_remote = new WinLIRC(this);

            rx_image_real_table = new float[(int)Band.LAST + 1];
            rx_image_imag_table = new float[(int)Band.LAST + 1];
            tx_image_phase_table = new float[(int)Band.LAST + 1];
            tx_image_gain_table = new float[(int)Band.LAST + 1];
            rx_image_phase_table = new float[(int)Band.LAST + 1];
            rx_image_gain_table = new float[(int)Band.LAST + 1];

            SetupForm = new Setup(this);		// create Setup form
            SetupForm.StartPosition = FormStartPosition.Manual;

            SetupForm.GetTxProfiles();
            UpdateTXProfile();

            WaveForm = new WaveControl(this);	// create Wave form
            WaveForm.StartPosition = FormStartPosition.Manual;

            CurrentAGCMode = AGCMode.MED;				// Initialize front panel controls
            vfob_dsp_mode = DSPMode.LSB;
            vfob_filter = Filter.F3;
            comboDisplayMode.Text = "Panafall";
            comboMeterRXMode.SelectedIndex = 0;
            ptbPWR.Value = 10;

            CurrentDSPMode = DSPMode.CWU;
            CurrentDSPModeSubRX = DSPMode.CWU;
            old_dsp_mode = DSPMode.CWU;
            old_dsp_mode_subRX = DSPMode.CWU;
            Splash.SetStatus("Restore Console state...");
            GetState();							// recall saved state

            if (current_dsp_mode == DSPMode.FIRST || current_dsp_mode == DSPMode.LAST)
                radModeLSB.Checked = true;
            if (current_dsp_mode_subRX == DSPMode.FIRST || current_dsp_mode == DSPMode.LAST)
                radSUBRxModeLSB.Checked = true;
            if (current_filter == Filter.FIRST || current_filter == Filter.LAST ||
                (current_filter == Filter.NONE && current_dsp_mode != DSPMode.DRM && current_dsp_mode != DSPMode.SPEC))
                radFilter3.Checked = true;
            if (current_filter_subRX == Filter.FIRST || current_filter_subRX == Filter.LAST ||
                (current_filter_subRX == Filter.NONE && current_dsp_mode_subRX != DSPMode.DRM &&
                current_dsp_mode_subRX != DSPMode.SPEC))
                radSubRXFilter3.Checked = true;

            booting = false;
            EQForm.Init();                  // set EQU parameter
            SetupForm.DSPBufferSize = 0;    // force refresh
            VFOAFreq = vfoAFreq;
            VFOBFreq = vfoBFreq;
            LOSCFreq = loscFreq;
            PWR_ValueChanged();
            udMIC_ValueChanged(this, EventArgs.Empty);
            tbRX0Gain_Scroll(this, EventArgs.Empty);
            tbRX1Gain_Scroll(this, EventArgs.Empty);
            tbPanMainRX_Scroll(this, EventArgs.Empty);
            tbPanSubRX_Scroll(this, EventArgs.Empty);
            ptbPanMainRX.Value = pan_main_rx;
            ptbPanSubRX.Value = pan_sub_rx;
            ptbDisplayZoom.Value = 4;
            CalcDisplayFreq();

            wheel_tune_index--;					// Setup wheel tuning
            wheel_tune_index_subRX--;
            ChangeWheelTuneLeft();
            ChangeWheelTuneLeftSubRX();

            SetupForm.initCATandPTTprops();   // wjt added -- get console props setup for cat and ptt 

            if (comboMeterTXMode.Items.Count > 0 && comboMeterTXMode.SelectedIndex < 0)
                comboMeterTXMode.SelectedIndex = 0;
            chkMOX.Enabled = false;

            CheckSkins();

#if(DirectX)
            if (CurrentDisplayEngine == DisplayEngine.DIRECT_X)
            {
                CurrentDisplayEngine = current_display_engine;
            }
#endif

            // yt7pwr
            if (!skins_enabled)
            {
                radDisplayZoom1x.BackColor = button_selected_color;
                radDisplayZoom2x.BackColor = SystemColors.Control;
                radDisplayZoom4x.BackColor = SystemColors.Control;
                radDisplayZoom8x.BackColor = SystemColors.Control;
            }
            else
                radDisplayZoom1x.Checked = true;

            Splash.SetStatus("Initializing Genesis radio communication");	// Set progress point
            g59.booting = false;
            g11.booting = false;
            g6.booting = false;
            net_device.booting = false;
            g59.si570_i2c_address = (int)SetupForm.udSi570_address.Value;
            g59.si570_fxtal = (int)SetupForm.udSi570_xtal1.Value;
            g59.HSDiv = (int)SetupForm.udSi570_divisor.Value;
            g11.si570_i2c_address = (int)SetupForm.udSi570_address.Value;
            g11.si570_fxtal = (int)SetupForm.udSi570_xtal1.Value;
            g11.HSDiv = (int)SetupForm.udSi570_divisor.Value;
            g6.si570_i2c_address = (int)SetupForm.udSi570_address.Value;
            g6.si570_fxtal = (int)SetupForm.udSi570_xtal1.Value;
            g6.HSDiv = (int)SetupForm.udSi570_divisor.Value;
            net_device.si570_i2c_address = (int)SetupForm.udSi570_address.Value;
            net_device.si570_fxtal = (int)SetupForm.udSi570_xtal1.Value;
            net_device.si570_div = (int)SetupForm.udSi570_divisor.Value;

            if (CurrentModel == Model.GENESIS_G59USB)
            {
                bool conn = false;
                g59.USB_Serial = SetupForm.USB_serial_No;
                conn = g59.Connect();

                if (conn)
                {
                    G59Init();
                    btnUSB.BackColor = Color.Green;
                }
                else
                {
                    btnUSB.BackColor = Color.Red;
                }
            }
            else if (CurrentModel == Model.GENESIS_G11)
            {
                bool conn = false;
                g11.USB_Serial = SetupForm.USB_serial_No;
                conn = g11.Connect();

                if (conn)
                {
                    G11Init();
                    btnUSB.BackColor = Color.Green;
                }
                else
                {
                    btnUSB.BackColor = Color.Red;
                }
            }
            else if (CurrentModel == Model.GENESIS_G6)
            {
                bool conn = false;
                g6.USB_Serial = SetupForm.USB_serial_No;
                conn = g6.Connect();

                if (conn)
                {
                    G11Init();
                    btnUSB.BackColor = Color.Green;
                }
                else
                {
                    btnUSB.BackColor = Color.Red;
                }
            }
            else if (current_model == Model.QRP2000)
            {
                ReInit_USB();
            }
            else if (current_model == Model.RTL_SDR)
            {
                bool result = RTL_SDR.InitUSB();

                if (result)
                {
                    btnUSB.Visible = true;
                    btnUSB.BackColor = Color.Green;
                }
                else
                {
                    btnUSB.BackColor = Color.Red;
                }
            }
            else if (SetupForm.chkGeneralUSBPresent.Checked)
            {
                bool result = SI570.Init_USB();

                if (result)
                {
                    btnUSB.Visible = true;
                    btnUSB.BackColor = Color.Green;
                }
                else
                {
                    btnUSB.BackColor = Color.Red;
                }
            }

            txtMemory_fill();
            txtFMmemory_fill();

            SetTXOscFreqs(false, false);

            btnG3020_X1.Text = G3020Xtal1.ToString();
            btnG3020_X2.Text = G3020Xtal2.ToString();
            btnG3020_X3.Text = G3020Xtal3.ToString();
            btnG3020_X4.Text = G3020Xtal4.ToString();
            btnG160_X1.Text = G160Xtal1.ToString();
            btnG160_X2.Text = G160Xtal2.ToString();
            btnG80_X1.Text = G80Xtal1.ToString();
            btnG80_X2.Text = G80Xtal2.ToString();
            btnG80_X3.Text = G80Xtal3.ToString();
            btnG80_X4.Text = G80Xtal4.ToString();
            btnG40_X1.Text = G40Xtal1.ToString();
            btnG137_X1.Text = G137Xtal1.ToString();
            btnG500_X1.Text = G500Xtal1.ToString();

            txtVFOAMSD.Font = vfo_large_font;
            txtVFOBMSD.Font = vfo_large_font;
            txtLOSCMSD.Font = (vfo_large_font);
            txtVFOAFreq.Font = vfo_large_font;
            txtVFOBFreq.Font = vfo_large_font;
            txtLOSCFreq.Font = vfo_large_font;
            txtVFOALSD.Font = vfo_small_font;
            txtVFOBLSD.Font = vfo_small_font;
            txtLOSCLSD.Font = vfo_small_font;
            NewVFOLargeFont = new_vfo_large_font;     // refresh
            NewVFOSmallFont = new_vfo_small_font;
            VFOLargeFont = vfo_large_font;
            VFOSmallFont = vfo_small_font;
            network_event = new AutoResetEvent(false);
            sMeterDigital2.MeterForeColor = vfo_text_dark_color;
            sMeterDigital1.MeterForeColor = vfo_text_dark_color;

            try
            {
                eventWatcher = new ManagementEventWatcher("root\\wmi", "SELECT * FROM MSNdis_StatusMediaDisconnect");
                eventWatcher.EventArrived += new
                EventArrivedEventHandler(eventWatcher_EventArrived);
                eventWatcher.Start();
            }
            catch (Exception ex)
            {
                //MessageBox.Show("Error starting Network watcher!\nCheck you network settings!\n" +
                    //ex.ToString());
            }

            if (current_model == Model.GENESIS_G59NET)
                NetworkThreadRunning = true;

            SetupForm.StartEthernetCATServer();       // try ethernet CAT 
            SetupForm.StartEthernetCATClient();
            SetupForm.StartMultiPSKServer();

            InitSMeterModes();

            if (File.Exists(SetupForm.txtLoopDll.Text + "\\loop.dll") &&
                SetupForm.chkAudioEnableVAC.Checked &&
                SetupForm.comboAudioInputVAC.Text == "loop.dll" &&
                SetupForm.comboAudioOutputVAC.Text == "loop.dll")
            {
                loopDLL = new LoopDLL(this);
                Audio.loopDLL_enabled = true;
            }
            else
                Audio.loopDLL_enabled = false;

            chkVFOSplit.Enabled = false;

            switch (current_model)
            {
                case Model.GENESIS_G59NET:
                case Model.GENESIS_G59USB:
                    if (SetupForm.chkG59RX2.Checked)
                        lblRX2.BackColor = Color.Red;
                    else
                        lblRX2.BackColor = NewBackgroundVFOColor;
                    break;

                case Model.GENESIS_G11:
                    if (SetupForm.chkG11RX2.Checked)
                        lblRX2.BackColor = Color.Red;
                    else
                        lblRX2.BackColor = NewBackgroundVFOColor;
                    break;
            }

            EQForm.RestoreSettings();
            band_button_height = radMoreBands.Height;
            band_button_width = radMoreBands.Width;
            AF_ValueChanged();
            SetupForm.MultimeterCalOffset = multimeter_cal_offset;
            SetupForm.DisplayCalOffset = display_cal_offset;
            FilterUpdate();
            PWR_ValueChanged();

            if (radMoreBands.Checked)
            {
                radMoreBands_Click(this, EventArgs.Empty);
            }

            IR_Remote_enabled = ir_remote_enabled;      // try WinLIRC
            SetTXOscFreqs(true, true);
            SetTXOscFreqs(false, true);

            SetupForm.ForceAllEvents();
        }
Example #7
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager resources = new ComponentResourceManager(typeof(ScalesDeviceSetting));

            this.groupBox1         = new GroupBox();
            this.comboBox1         = new ComboBox();
            this.label10           = new Label();
            this.checkBox1         = new CheckBox();
            this.btn_irda_save     = new Button();
            this.txt_irda_channel  = new TextBox();
            this.label3            = new Label();
            this.txt_irda_deviceno = new TextBox();
            this.label12           = new Label();
            this.groupBox2         = new GroupBox();
            this.txt_scale_sign    = new TextBox();
            this.txt_scale_unit    = new TextBox();
            this.txt_scale_weigh   = new TextBox();
            this.checkBox2         = new CheckBox();
            this.textBox1          = new TextBox();
            this.btn_scale_close   = new Button();
            this.btn_scale_open    = new Button();
            this.cb_parity         = new ComboBox();
            this.cb_stopbits       = new ComboBox();
            this.cb_databits       = new ComboBox();
            this.cb_bautrate       = new ComboBox();
            this.cb_port           = new ComboBox();
            this.cb_scaletype      = new ComboBox();
            this.label9            = new Label();
            this.txt_scale_status  = new TextBox();
            this.label8            = new Label();
            this.btn_scale_save    = new Button();
            this.label7            = new Label();
            this.label5            = new Label();
            this.label4            = new Label();
            this.label2            = new Label();
            this.label1            = new Label();
            this.label6            = new Label();
            this.timer1            = new Timer(this.components);
            this.aGauge4           = new AGauge();
            this.bevelLine2        = new BevelLine();
            this.lamp_irda2        = new AquaButton();
            this.lamp_irda1        = new AquaButton();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            base.SuspendLayout();
            this.groupBox1.Controls.Add(this.comboBox1);
            this.groupBox1.Controls.Add(this.label10);
            this.groupBox1.Controls.Add(this.checkBox1);
            this.groupBox1.Controls.Add(this.btn_irda_save);
            this.groupBox1.Controls.Add(this.txt_irda_channel);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.txt_irda_deviceno);
            this.groupBox1.Controls.Add(this.label12);
            this.groupBox1.Dock              = DockStyle.Top;
            this.groupBox1.Font              = new System.Drawing.Font("楷体_GB2312", 15f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.groupBox1.Location          = new Point(0, 5);
            this.groupBox1.Name              = "groupBox1";
            this.groupBox1.Size              = new Size(0x2db, 80);
            this.groupBox1.TabIndex          = 0;
            this.groupBox1.TabStop           = false;
            this.groupBox1.Text              = "红外设备";
            this.comboBox1.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.comboBox1.Enabled           = false;
            this.comboBox1.Font              = new System.Drawing.Font("楷体_GB2312", 14.25f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
            this.comboBox1.FormattingEnabled = true;
            this.comboBox1.Items.AddRange(new object[] { "PCL730", "AC6652" });
            this.comboBox1.Location              = new Point(120, 0x22);
            this.comboBox1.Name                  = "comboBox1";
            this.comboBox1.Size                  = new Size(0x90, 0x1b);
            this.comboBox1.TabIndex              = 0xce;
            this.comboBox1.SelectedIndexChanged += new EventHandler(this.comboBox1_SelectedIndexChanged);
            this.label10.AutoSize                = true;
            this.label10.Font       = new System.Drawing.Font("楷体_GB2312", 14.25f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label10.Location   = new Point(0x1f, 0x26);
            this.label10.Margin     = new Padding(4, 0, 4, 0);
            this.label10.Name       = "label10";
            this.label10.Size       = new Size(0x59, 0x13);
            this.label10.TabIndex   = 0xcf;
            this.label10.Text       = "设备类型";
            this.checkBox1.AutoSize = true;
            this.checkBox1.Font     = new System.Drawing.Font("楷体_GB2312", 15f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
            this.checkBox1.Location = new Point(0x61, -1);
            this.checkBox1.Name     = "checkBox1";
            this.checkBox1.Size     = new Size(70, 0x18);
            this.checkBox1.TabIndex = 0xcd;
            this.checkBox1.Text     = "启用";
            this.checkBox1.UseVisualStyleBackColor = true;
            this.checkBox1.CheckedChanged         += new EventHandler(this.checkBox1_CheckedChanged);
            this.btn_irda_save.Location            = new Point(0x25f, 0x18);
            this.btn_irda_save.Name     = "btn_irda_save";
            this.btn_irda_save.Size     = new Size(0x72, 0x27);
            this.btn_irda_save.TabIndex = 0xca;
            this.btn_irda_save.Text     = "保存设置";
            this.btn_irda_save.UseVisualStyleBackColor = true;
            this.btn_irda_save.Click       += new EventHandler(this.btn_irda_save_Click);
            this.txt_irda_channel.Font      = new System.Drawing.Font("黑体", 15f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.txt_irda_channel.Location  = new Point(0x1fa, 0x22);
            this.txt_irda_channel.Margin    = new Padding(4);
            this.txt_irda_channel.Name      = "txt_irda_channel";
            this.txt_irda_channel.ReadOnly  = true;
            this.txt_irda_channel.Size      = new Size(0x52, 30);
            this.txt_irda_channel.TabIndex  = 0xb5;
            this.txt_irda_channel.Text      = "2";
            this.txt_irda_channel.TextAlign = HorizontalAlignment.Right;
            this.label3.AutoSize            = true;
            this.label3.Font                 = new System.Drawing.Font("楷体_GB2312", 14.25f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label3.Location             = new Point(0x1ca, 0x26);
            this.label3.Margin               = new Padding(4, 0, 4, 0);
            this.label3.Name                 = "label3";
            this.label3.Size                 = new Size(0x31, 0x13);
            this.label3.TabIndex             = 180;
            this.label3.Text                 = "通道";
            this.txt_irda_deviceno.Font      = new System.Drawing.Font("黑体", 15f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.txt_irda_deviceno.Location  = new Point(0x15b, 0x22);
            this.txt_irda_deviceno.Margin    = new Padding(4);
            this.txt_irda_deviceno.Name      = "txt_irda_deviceno";
            this.txt_irda_deviceno.ReadOnly  = true;
            this.txt_irda_deviceno.Size      = new Size(0x52, 30);
            this.txt_irda_deviceno.TabIndex  = 0xb3;
            this.txt_irda_deviceno.Text      = "0";
            this.txt_irda_deviceno.TextAlign = HorizontalAlignment.Right;
            this.label12.AutoSize            = true;
            this.label12.Font                = new System.Drawing.Font("楷体_GB2312", 14.25f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label12.Location            = new Point(0x116, 0x26);
            this.label12.Margin              = new Padding(4, 0, 4, 0);
            this.label12.Name                = "label12";
            this.label12.Size                = new Size(0x45, 0x13);
            this.label12.TabIndex            = 0xb2;
            this.label12.Text                = "设备号";
            this.groupBox2.Controls.Add(this.txt_scale_sign);
            this.groupBox2.Controls.Add(this.txt_scale_unit);
            this.groupBox2.Controls.Add(this.txt_scale_weigh);
            this.groupBox2.Controls.Add(this.aGauge4);
            this.groupBox2.Controls.Add(this.checkBox2);
            this.groupBox2.Controls.Add(this.bevelLine2);
            this.groupBox2.Controls.Add(this.lamp_irda2);
            this.groupBox2.Controls.Add(this.lamp_irda1);
            this.groupBox2.Controls.Add(this.textBox1);
            this.groupBox2.Controls.Add(this.btn_scale_close);
            this.groupBox2.Controls.Add(this.btn_scale_open);
            this.groupBox2.Controls.Add(this.cb_parity);
            this.groupBox2.Controls.Add(this.cb_stopbits);
            this.groupBox2.Controls.Add(this.cb_databits);
            this.groupBox2.Controls.Add(this.cb_bautrate);
            this.groupBox2.Controls.Add(this.cb_port);
            this.groupBox2.Controls.Add(this.cb_scaletype);
            this.groupBox2.Controls.Add(this.label9);
            this.groupBox2.Controls.Add(this.txt_scale_status);
            this.groupBox2.Controls.Add(this.label8);
            this.groupBox2.Controls.Add(this.btn_scale_save);
            this.groupBox2.Controls.Add(this.label7);
            this.groupBox2.Controls.Add(this.label5);
            this.groupBox2.Controls.Add(this.label4);
            this.groupBox2.Controls.Add(this.label2);
            this.groupBox2.Controls.Add(this.label1);
            this.groupBox2.Controls.Add(this.label6);
            this.groupBox2.Dock                    = DockStyle.Fill;
            this.groupBox2.Font                    = new System.Drawing.Font("楷体_GB2312", 15f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.groupBox2.Location                = new Point(0, 0x55);
            this.groupBox2.Name                    = "groupBox2";
            this.groupBox2.Size                    = new Size(0x2db, 0x193);
            this.groupBox2.TabIndex                = 1;
            this.groupBox2.TabStop                 = false;
            this.groupBox2.Text                    = "地磅";
            this.txt_scale_sign.BackColor          = SystemColors.WindowFrame;
            this.txt_scale_sign.Font               = new System.Drawing.Font("宋体", 24f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
            this.txt_scale_sign.ForeColor          = Color.Lime;
            this.txt_scale_sign.Location           = new Point(0x1ab, 0x83);
            this.txt_scale_sign.Margin             = new Padding(4);
            this.txt_scale_sign.Name               = "txt_scale_sign";
            this.txt_scale_sign.ReadOnly           = true;
            this.txt_scale_sign.Size               = new Size(20, 0x2c);
            this.txt_scale_sign.TabIndex           = 0xf3;
            this.txt_scale_sign.TextAlign          = HorizontalAlignment.Center;
            this.txt_scale_unit.BackColor          = SystemColors.WindowFrame;
            this.txt_scale_unit.Font               = new System.Drawing.Font("宋体", 24f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
            this.txt_scale_unit.ForeColor          = Color.Lime;
            this.txt_scale_unit.Location           = new Point(0x272, 0x83);
            this.txt_scale_unit.Margin             = new Padding(4);
            this.txt_scale_unit.Name               = "txt_scale_unit";
            this.txt_scale_unit.ReadOnly           = true;
            this.txt_scale_unit.Size               = new Size(0x29, 0x2c);
            this.txt_scale_unit.TabIndex           = 0xf2;
            this.txt_scale_unit.TextAlign          = HorizontalAlignment.Center;
            this.txt_scale_weigh.BackColor         = SystemColors.WindowFrame;
            this.txt_scale_weigh.Font              = new System.Drawing.Font("宋体", 24f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
            this.txt_scale_weigh.ForeColor         = Color.Lime;
            this.txt_scale_weigh.Location          = new Point(0x1c0, 0x83);
            this.txt_scale_weigh.Margin            = new Padding(4);
            this.txt_scale_weigh.Name              = "txt_scale_weigh";
            this.txt_scale_weigh.ReadOnly          = true;
            this.txt_scale_weigh.Size              = new Size(0xb1, 0x2c);
            this.txt_scale_weigh.TabIndex          = 0xf1;
            this.txt_scale_weigh.TextAlign         = HorizontalAlignment.Right;
            this.checkBox2.AutoSize                = true;
            this.checkBox2.Location                = new Point(0x1f5, 0x120);
            this.checkBox2.Name                    = "checkBox2";
            this.checkBox2.Size                    = new Size(15, 14);
            this.checkBox2.TabIndex                = 0xef;
            this.checkBox2.UseVisualStyleBackColor = true;
            this.textBox1.BackColor                = SystemColors.WindowFrame;
            this.textBox1.BorderStyle              = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox1.Dock            = DockStyle.Bottom;
            this.textBox1.Font            = new System.Drawing.Font("宋体", 18f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
            this.textBox1.ForeColor       = Color.Lime;
            this.textBox1.Location        = new Point(3, 0x16d);
            this.textBox1.Margin          = new Padding(4);
            this.textBox1.Name            = "textBox1";
            this.textBox1.Size            = new Size(0x2d5, 0x23);
            this.textBox1.TabIndex        = 0xca;
            this.textBox1.TextAlign       = HorizontalAlignment.Right;
            this.btn_scale_close.Location = new Point(0x25f, 0x138);
            this.btn_scale_close.Name     = "btn_scale_close";
            this.btn_scale_close.Size     = new Size(0x72, 0x27);
            this.btn_scale_close.TabIndex = 0xc9;
            this.btn_scale_close.Text     = "关闭";
            this.btn_scale_close.UseVisualStyleBackColor = true;
            this.btn_scale_close.Click  += new EventHandler(this.btn_scale_close_Click);
            this.btn_scale_open.Location = new Point(0x1e5, 0x138);
            this.btn_scale_open.Name     = "btn_scale_open";
            this.btn_scale_open.Size     = new Size(0x72, 0x27);
            this.btn_scale_open.TabIndex = 200;
            this.btn_scale_open.Text     = "打开";
            this.btn_scale_open.UseVisualStyleBackColor = true;
            this.btn_scale_open.Click       += new EventHandler(this.btn_scale_open_Click);
            this.cb_parity.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cb_parity.Font              = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.cb_parity.FormattingEnabled = true;
            this.cb_parity.Items.AddRange(new object[] { "none", "odd", "even", "mark", "space" });
            this.cb_parity.Location            = new Point(120, 0xe7);
            this.cb_parity.Name                = "cb_parity";
            this.cb_parity.Size                = new Size(0x90, 0x16);
            this.cb_parity.TabIndex            = 0xc6;
            this.cb_stopbits.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cb_stopbits.Font              = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.cb_stopbits.FormattingEnabled = true;
            this.cb_stopbits.Items.AddRange(new object[] { "one", "onePointFive", "two" });
            this.cb_stopbits.Location          = new Point(120, 0xc6);
            this.cb_stopbits.Name              = "cb_stopbits";
            this.cb_stopbits.Size              = new Size(0x90, 0x16);
            this.cb_stopbits.TabIndex          = 0xc5;
            this.cb_databits.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cb_databits.Font              = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.cb_databits.FormattingEnabled = true;
            this.cb_databits.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8" });
            this.cb_databits.Location          = new Point(120, 0xa5);
            this.cb_databits.Name              = "cb_databits";
            this.cb_databits.Size              = new Size(0x90, 0x16);
            this.cb_databits.TabIndex          = 0xc4;
            this.cb_bautrate.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cb_bautrate.Font              = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.cb_bautrate.FormattingEnabled = true;
            this.cb_bautrate.Location          = new Point(120, 0x7b);
            this.cb_bautrate.Name              = "cb_bautrate";
            this.cb_bautrate.Size              = new Size(0x90, 0x16);
            this.cb_bautrate.TabIndex          = 0xc3;
            this.cb_port.DropDownStyle         = ComboBoxStyle.DropDownList;
            this.cb_port.Font = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.cb_port.FormattingEnabled = true;
            this.cb_port.Location          = new Point(120, 0x5c);
            this.cb_port.Name                   = "cb_port";
            this.cb_port.Size                   = new Size(0x90, 0x16);
            this.cb_port.TabIndex               = 0xc2;
            this.cb_scaletype.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cb_scaletype.Font              = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.cb_scaletype.FormattingEnabled = true;
            this.cb_scaletype.Items.AddRange(new object[] { "50t", "50t[炼钢]", "80t", "100t", "150t" });
            this.cb_scaletype.Location              = new Point(120, 0x21);
            this.cb_scaletype.Name                  = "cb_scaletype";
            this.cb_scaletype.Size                  = new Size(0x90, 0x16);
            this.cb_scaletype.TabIndex              = 0xc1;
            this.cb_scaletype.SelectedIndexChanged += new EventHandler(this.cb_scaletype_SelectedIndexChanged);
            this.label9.AutoSize                        = true;
            this.label9.Font                            = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label9.Location                        = new Point(0x1aa, 0x120);
            this.label9.Margin                          = new Padding(4, 0, 4, 0);
            this.label9.Name                            = "label9";
            this.label9.Size                            = new Size(0x3f, 14);
            this.label9.TabIndex                        = 0xc0;
            this.label9.Text                            = "是否静荷";
            this.txt_scale_status.Font                  = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.txt_scale_status.Location              = new Point(0x1eb, 0xf9);
            this.txt_scale_status.Margin                = new Padding(4);
            this.txt_scale_status.Name                  = "txt_scale_status";
            this.txt_scale_status.ReadOnly              = true;
            this.txt_scale_status.Size                  = new Size(0x91, 0x17);
            this.txt_scale_status.TabIndex              = 190;
            this.txt_scale_status.TextAlign             = HorizontalAlignment.Right;
            this.label8.AutoSize                        = true;
            this.label8.Font                            = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label8.Location                        = new Point(0x1aa, 0xfd);
            this.label8.Margin                          = new Padding(4, 0, 4, 0);
            this.label8.Name                            = "label8";
            this.label8.Size                            = new Size(0x3f, 14);
            this.label8.TabIndex                        = 0xbd;
            this.label8.Text                            = "地磅状态";
            this.btn_scale_save.Location                = new Point(0xe2, 0x138);
            this.btn_scale_save.Name                    = "btn_scale_save";
            this.btn_scale_save.Size                    = new Size(0x72, 0x27);
            this.btn_scale_save.TabIndex                = 0xb9;
            this.btn_scale_save.Text                    = "保存设置";
            this.btn_scale_save.UseVisualStyleBackColor = true;
            this.btn_scale_save.Click                  += new EventHandler(this.btn_scale_save_Click);
            this.label7.AutoSize                        = true;
            this.label7.Font                            = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label7.Location                        = new Point(0x39, 0x25);
            this.label7.Margin                          = new Padding(4, 0, 4, 0);
            this.label7.Name                            = "label7";
            this.label7.Size                            = new Size(0x3f, 14);
            this.label7.TabIndex                        = 0xaf;
            this.label7.Text                            = "地磅类型";
            this.label5.AutoSize                        = true;
            this.label5.Font                            = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label5.Location                        = new Point(0x47, 0xeb);
            this.label5.Margin                          = new Padding(4, 0, 4, 0);
            this.label5.Name                            = "label5";
            this.label5.Size                            = new Size(0x31, 14);
            this.label5.TabIndex                        = 0xad;
            this.label5.Text                            = "校验位";
            this.label4.AutoSize                        = true;
            this.label4.Font                            = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label4.Location                        = new Point(0x47, 0xca);
            this.label4.Margin                          = new Padding(4, 0, 4, 0);
            this.label4.Name                            = "label4";
            this.label4.Size                            = new Size(0x31, 14);
            this.label4.TabIndex                        = 0xab;
            this.label4.Text                            = "停止位";
            this.label2.AutoSize                        = true;
            this.label2.Font                            = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label2.Location                        = new Point(0x47, 0xa9);
            this.label2.Margin                          = new Padding(4, 0, 4, 0);
            this.label2.Name                            = "label2";
            this.label2.Size                            = new Size(0x31, 14);
            this.label2.TabIndex                        = 0xa9;
            this.label2.Text                            = "数据位";
            this.label1.AutoSize                        = true;
            this.label1.Font                            = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label1.Location                        = new Point(0x47, 0x7f);
            this.label1.Margin                          = new Padding(4, 0, 4, 0);
            this.label1.Name                            = "label1";
            this.label1.Size                            = new Size(0x31, 14);
            this.label1.TabIndex                        = 0xa7;
            this.label1.Text                            = "波特率";
            this.label6.AutoSize                        = true;
            this.label6.Font                            = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label6.Location                        = new Point(0x55, 0x60);
            this.label6.Margin                          = new Padding(4, 0, 4, 0);
            this.label6.Name                            = "label6";
            this.label6.Size                            = new Size(0x23, 14);
            this.label6.TabIndex                        = 0xa5;
            this.label6.Text                            = "端口";
            this.timer1.Interval                        = 0x3e8;
            this.timer1.Tick                           += new EventHandler(this.timer1_Tick);
            this.aGauge4.BaseArcColor                   = Color.Gray;
            this.aGauge4.BaseArcRadius                  = 150;
            this.aGauge4.BaseArcStart                   = 0xd7;
            this.aGauge4.BaseArcSweep                   = 110;
            this.aGauge4.BaseArcWidth                   = 2;
            this.aGauge4.Cap_Idx                        = 1;
            this.aGauge4.CapColors                      = new Color[] { Color.Black, Color.Black, Color.Black, Color.Black, Color.Black };
            this.aGauge4.CapPosition                    = new Point(10, 10);
            this.aGauge4.CapsPosition                   = new Point[] { new Point(10, 10), new Point(10, 10), new Point(10, 10), new Point(10, 10), new Point(10, 10) };
            this.aGauge4.CapsText                       = new string[] { "", "", "", "", "" };
            this.aGauge4.CapText                        = "";
            this.aGauge4.Center                         = new Point(150, 180);
            this.aGauge4.Location                       = new Point(0x18c, 12);
            this.aGauge4.MaxValue                       = 80f;
            this.aGauge4.MinValue                       = 0f;
            this.aGauge4.Name                           = "aGauge4";
            this.aGauge4.NeedleColor1                   = AGauge.NeedleColorEnum.Green;
            this.aGauge4.NeedleColor2                   = Color.DimGray;
            this.aGauge4.NeedleRadius                   = 150;
            this.aGauge4.NeedleType                     = 0;
            this.aGauge4.NeedleWidth                    = 2;
            this.aGauge4.Range_Idx                      = 1;
            this.aGauge4.RangeColor                     = Color.FromArgb(0xff, 0x80, 0x80);
            this.aGauge4.RangeEnabled                   = false;
            this.aGauge4.RangeEndValue                  = 400f;
            this.aGauge4.RangeInnerRadius               = 10;
            this.aGauge4.RangeOuterRadius               = 40;
            this.aGauge4.RangesColor                    = new Color[] { Color.LightGreen, Color.FromArgb(0xff, 0x80, 0x80), SystemColors.Control, SystemColors.Control, SystemColors.Control };
            this.aGauge4.RangesEnabled                  = new bool[5];
            float[] numArray = new float[5];
            numArray[0] = 300f;
            numArray[1] = 400f;
            this.aGauge4.RangesEndValue    = numArray;
            this.aGauge4.RangesInnerRadius = new int[] { 70, 10, 70, 70, 70 };
            this.aGauge4.RangesOuterRadius = new int[] { 80, 40, 80, 80, 80 };
            float[] numArray1 = new float[5];
            numArray1[0] = -100f;
            numArray1[1] = 300f;
            this.aGauge4.RangesStartValue           = numArray1;
            this.aGauge4.RangeStartValue            = 300f;
            this.aGauge4.ScaleLinesInterColor       = Color.Red;
            this.aGauge4.ScaleLinesInterInnerRadius = 0x91;
            this.aGauge4.ScaleLinesInterOuterRadius = 150;
            this.aGauge4.ScaleLinesInterWidth       = 2;
            this.aGauge4.ScaleLinesMajorColor       = Color.Black;
            this.aGauge4.ScaleLinesMajorInnerRadius = 140;
            this.aGauge4.ScaleLinesMajorOuterRadius = 150;
            this.aGauge4.ScaleLinesMajorStepValue   = 10f;
            this.aGauge4.ScaleLinesMajorWidth       = 2;
            this.aGauge4.ScaleLinesMinorColor       = Color.Gray;
            this.aGauge4.ScaleLinesMinorInnerRadius = 0x91;
            this.aGauge4.ScaleLinesMinorNumOf       = 9;
            this.aGauge4.ScaleLinesMinorOuterRadius = 150;
            this.aGauge4.ScaleLinesMinorWidth       = 1;
            this.aGauge4.ScaleNumbersColor          = Color.Black;
            this.aGauge4.ScaleNumbersFormat         = null;
            this.aGauge4.ScaleNumbersRadius         = 0xa2;
            this.aGauge4.ScaleNumbersRotation       = 90;
            this.aGauge4.ScaleNumbersStartScaleLine = 1;
            this.aGauge4.ScaleNumbersStepScaleLines = 2;
            this.aGauge4.Size               = new Size(0x129, 0x74);
            this.aGauge4.TabIndex           = 240;
            this.aGauge4.Text               = "l";
            this.aGauge4.Value              = 33f;
            this.bevelLine2.Angle           = 0;
            this.bevelLine2.Location        = new Point(360, 0x1a);
            this.bevelLine2.Name            = "bevelLine2";
            this.bevelLine2.Orientation     = Orientation.Vertical;
            this.bevelLine2.Size            = new Size(2, 0x13c);
            this.bevelLine2.TabIndex        = 0xe8;
            this.lamp_irda2.BackColor       = Color.FromArgb(0xd8, 0xe5, 250);
            this.lamp_irda2.BackgroundImage = (Image)resources.GetObject("lamp_irda2.BackgroundImage");
            this.lamp_irda2.ButtonColour    = Color.Yellow;
            this.lamp_irda2.ButtonText      = "";
            this.lamp_irda2.Enabled         = false;
            this.lamp_irda2.Font            = new System.Drawing.Font("Microsoft Sans Serif", 10.5f);
            this.lamp_irda2.FontSize        = 10.5f;
            this.lamp_irda2.ForeColor       = SystemColors.ActiveCaption;
            this.lamp_irda2.Location        = new Point(0x269, 0xb8);
            this.lamp_irda2.Name            = "lamp_irda2";
            this.lamp_irda2.Size            = new Size(50, 50);
            this.lamp_irda2.TabIndex        = 0xea;
            this.lamp_irda2.TextColour      = Color.White;
            this.lamp_irda1.BackColor       = Color.FromArgb(0xd8, 0xe5, 250);
            this.lamp_irda1.BackgroundImage = (Image)resources.GetObject("lamp_irda1.BackgroundImage");
            this.lamp_irda1.ButtonColour    = Color.Yellow;
            this.lamp_irda1.ButtonText      = "";
            this.lamp_irda1.Enabled         = false;
            this.lamp_irda1.Font            = new System.Drawing.Font("Microsoft Sans Serif", 10.5f);
            this.lamp_irda1.FontSize        = 10.5f;
            this.lamp_irda1.ForeColor       = SystemColors.ActiveCaption;
            this.lamp_irda1.Location        = new Point(0x1ab, 0xb8);
            this.lamp_irda1.Name            = "lamp_irda1";
            this.lamp_irda1.Size            = new Size(50, 50);
            this.lamp_irda1.TabIndex        = 0xe5;
            this.lamp_irda1.TextColour      = Color.White;
            base.AutoScaleDimensions        = new SizeF(6f, 12f);
            base.AutoScaleMode              = System.Windows.Forms.AutoScaleMode.Font;
            base.ClientSize = new Size(0x2db, 0x1e8);
            base.Controls.Add(this.groupBox2);
            base.Controls.Add(this.groupBox1);
            base.Name          = "ScalesDeviceSetting";
            base.Padding       = new Padding(0, 5, 0, 0);
            base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text          = "ScalesDeviceSetting";
            base.Load         += new EventHandler(this.ScalesDeviceSetting_Load);
            base.FormClosing  += new FormClosingEventHandler(this.ScalesDeviceSetting_FormClosing);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            base.ResumeLayout(false);
        }