This commit is contained in:
Kurt Moraw
2020-11-27 19:31:22 +01:00
parent 688b833188
commit 5e9b8d553b
153 changed files with 565 additions and 356 deletions
+295 -293
View File
@@ -40,34 +40,53 @@
this.timer_qpsk = new System.Windows.Forms.Timer(this.components);
this.panel_txspectrum = new System.Windows.Forms.Panel();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.button_stopBERtest = new System.Windows.Forms.Button();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.button_startBERtest = new System.Windows.Forms.Button();
this.rtb = new System.Windows.Forms.RichTextBox();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.groupBox1 = new System.Windows.Forms.Panel();
this.label_nextimage = new System.Windows.Forms.Label();
this.cb_loop = new System.Windows.Forms.CheckBox();
this.bt_rximages = new System.Windows.Forms.Button();
this.button_loadimage = new System.Windows.Forms.Button();
this.comboBox_quality = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.checkBox_big = new System.Windows.Forms.CheckBox();
this.button_cancelimg = new System.Windows.Forms.Button();
this.button_sendimage = new System.Windows.Forms.Button();
this.label_rximage = new System.Windows.Forms.Label();
this.label_tximage = new System.Windows.Forms.Label();
this.pictureBox_rximage = new System.Windows.Forms.PictureBox();
this.pictureBox_tximage = new System.Windows.Forms.PictureBox();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.button2 = new System.Windows.Forms.Button();
this.bt_openrxfile = new System.Windows.Forms.Button();
this.label_rxfile = new System.Windows.Forms.Label();
this.label_txfile = new System.Windows.Forms.Label();
this.rtb_RXfile = new System.Windows.Forms.RichTextBox();
this.rtb_TXfile = new System.Windows.Forms.RichTextBox();
this.bt_file_send = new System.Windows.Forms.Button();
this.bt_sendBinaryFile = new System.Windows.Forms.Button();
this.bt_file_html = new System.Windows.Forms.Button();
this.bt_file_ascii = new System.Windows.Forms.Button();
this.tabPage_audio = new System.Windows.Forms.TabPage();
this.groupBox7 = new System.Windows.Forms.GroupBox();
this.rb_codec2 = new System.Windows.Forms.RadioButton();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.rb_opus = new System.Windows.Forms.RadioButton();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.pb_voice = new System.Windows.Forms.PictureBox();
this.cb_digitalVoiceRXonly = new System.Windows.Forms.CheckBox();
this.cb_digitalVoice = new System.Windows.Forms.CheckBox();
this.cb_codecloop = new System.Windows.Forms.CheckBox();
this.cb_switchtoLS = new System.Windows.Forms.CheckBox();
this.cb_voiceloop = new System.Windows.Forms.CheckBox();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.pb_voiceCAPstatus = new System.Windows.Forms.PictureBox();
this.pb_voicePBstatus = new System.Windows.Forms.PictureBox();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.tb_mic = new System.Windows.Forms.TrackBar();
@@ -85,6 +104,8 @@
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.pb_audioCAPstatus = new System.Windows.Forms.PictureBox();
this.pb_audioPBstatus = new System.Windows.Forms.PictureBox();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.tb_CAPvol = new System.Windows.Forms.TrackBar();
@@ -118,57 +139,36 @@
this.lb_rxsync = new System.Windows.Forms.Label();
this.pb_rxsync = new System.Windows.Forms.PictureBox();
this.pb_rxsignal = new System.Windows.Forms.PictureBox();
this.bt_rximages = new System.Windows.Forms.Button();
this.button_loadimage = new System.Windows.Forms.Button();
this.button_cancelimg = new System.Windows.Forms.Button();
this.button_sendimage = new System.Windows.Forms.Button();
this.pictureBox_rximage = new System.Windows.Forms.PictureBox();
this.pictureBox_tximage = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.button2 = new System.Windows.Forms.Button();
this.bt_openrxfile = new System.Windows.Forms.Button();
this.bt_file_send = new System.Windows.Forms.Button();
this.bt_sendBinaryFile = new System.Windows.Forms.Button();
this.bt_file_html = new System.Windows.Forms.Button();
this.bt_file_ascii = new System.Windows.Forms.Button();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pb_voice = new System.Windows.Forms.PictureBox();
this.pb_voiceCAPstatus = new System.Windows.Forms.PictureBox();
this.pb_voicePBstatus = new System.Windows.Forms.PictureBox();
this.button_stopBERtest = new System.Windows.Forms.Button();
this.button_startBERtest = new System.Windows.Forms.Button();
this.pb_audioCAPstatus = new System.Windows.Forms.PictureBox();
this.pb_audioPBstatus = new System.Windows.Forms.PictureBox();
this.statusStrip1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_rximage)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_tximage)).BeginInit();
this.tabControl1.SuspendLayout();
this.tabPage3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.tabPage_audio.SuspendLayout();
this.groupBox7.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.groupBox6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pb_voice)).BeginInit();
this.groupBox5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pb_voiceCAPstatus)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pb_voicePBstatus)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tb_mic)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tb_loadspeaker)).BeginInit();
this.tabPage5.SuspendLayout();
this.groupBox4.SuspendLayout();
this.groupBox3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pb_audioCAPstatus)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pb_audioPBstatus)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tb_CAPvol)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tb_PBvol)).BeginInit();
this.groupBox2.SuspendLayout();
this.tabPage4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pb_rxsync)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pb_rxsignal)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_rximage)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_tximage)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pb_voice)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pb_voiceCAPstatus)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pb_voicePBstatus)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pb_audioCAPstatus)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pb_audioPBstatus)).BeginInit();
this.SuspendLayout();
//
// timer_udpTX
@@ -249,6 +249,20 @@
this.tabPage1.Text = "BER Test";
this.tabPage1.UseVisualStyleBackColor = true;
//
// button_stopBERtest
//
this.button_stopBERtest.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button_stopBERtest.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button_stopBERtest.ImageIndex = 8;
this.button_stopBERtest.ImageList = this.imageList1;
this.button_stopBERtest.Location = new System.Drawing.Point(113, 13);
this.button_stopBERtest.Name = "button_stopBERtest";
this.button_stopBERtest.Size = new System.Drawing.Size(101, 32);
this.button_stopBERtest.TabIndex = 4;
this.button_stopBERtest.Text = "STOP";
this.button_stopBERtest.UseVisualStyleBackColor = true;
this.button_stopBERtest.Click += new System.EventHandler(this.button_stopBERtest_Click);
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
@@ -267,6 +281,20 @@
this.imageList1.Images.SetKeyName(11, "voice.png");
this.imageList1.Images.SetKeyName(12, "about.png");
//
// button_startBERtest
//
this.button_startBERtest.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button_startBERtest.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button_startBERtest.ImageIndex = 7;
this.button_startBERtest.ImageList = this.imageList1;
this.button_startBERtest.Location = new System.Drawing.Point(6, 13);
this.button_startBERtest.Name = "button_startBERtest";
this.button_startBERtest.Size = new System.Drawing.Size(101, 32);
this.button_startBERtest.TabIndex = 3;
this.button_startBERtest.Text = "START";
this.button_startBERtest.UseVisualStyleBackColor = true;
this.button_startBERtest.Click += new System.EventHandler(this.button_startBERtest_Click);
//
// rtb
//
this.rtb.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@@ -327,6 +355,32 @@
this.cb_loop.Text = "loop (send all images in folder)";
this.cb_loop.UseVisualStyleBackColor = true;
//
// bt_rximages
//
this.bt_rximages.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_rximages.ImageIndex = 5;
this.bt_rximages.ImageList = this.imageList1;
this.bt_rximages.Location = new System.Drawing.Point(534, 5);
this.bt_rximages.Name = "bt_rximages";
this.bt_rximages.Size = new System.Drawing.Size(92, 23);
this.bt_rximages.TabIndex = 10;
this.bt_rximages.Text = " RX Images";
this.bt_rximages.UseVisualStyleBackColor = true;
this.bt_rximages.Click += new System.EventHandler(this.bt_rximages_Click);
//
// button_loadimage
//
this.button_loadimage.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button_loadimage.ImageIndex = 5;
this.button_loadimage.ImageList = this.imageList1;
this.button_loadimage.Location = new System.Drawing.Point(265, 5);
this.button_loadimage.Name = "button_loadimage";
this.button_loadimage.Size = new System.Drawing.Size(88, 23);
this.button_loadimage.TabIndex = 0;
this.button_loadimage.Text = " Load Image";
this.button_loadimage.UseVisualStyleBackColor = true;
this.button_loadimage.Click += new System.EventHandler(this.button_loadimage_Click);
//
// comboBox_quality
//
this.comboBox_quality.FormattingEnabled = true;
@@ -363,6 +417,35 @@
this.checkBox_big.UseVisualStyleBackColor = true;
this.checkBox_big.CheckedChanged += new System.EventHandler(this.checkBox_small_CheckedChanged);
//
// button_cancelimg
//
this.button_cancelimg.ForeColor = System.Drawing.Color.Red;
this.button_cancelimg.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button_cancelimg.ImageIndex = 8;
this.button_cancelimg.ImageList = this.imageList1;
this.button_cancelimg.Location = new System.Drawing.Point(443, 5);
this.button_cancelimg.Name = "button_cancelimg";
this.button_cancelimg.Size = new System.Drawing.Size(75, 23);
this.button_cancelimg.TabIndex = 9;
this.button_cancelimg.Text = " Cancel";
this.button_cancelimg.UseVisualStyleBackColor = true;
this.button_cancelimg.Click += new System.EventHandler(this.button_cancelimg_Click);
//
// button_sendimage
//
this.button_sendimage.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button_sendimage.ForeColor = System.Drawing.Color.Blue;
this.button_sendimage.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button_sendimage.ImageIndex = 10;
this.button_sendimage.ImageList = this.imageList1;
this.button_sendimage.Location = new System.Drawing.Point(361, 5);
this.button_sendimage.Name = "button_sendimage";
this.button_sendimage.Size = new System.Drawing.Size(75, 23);
this.button_sendimage.TabIndex = 1;
this.button_sendimage.Text = "Send";
this.button_sendimage.UseVisualStyleBackColor = true;
this.button_sendimage.Click += new System.EventHandler(this.button_sendimage_Click);
//
// label_rximage
//
this.label_rximage.AutoSize = true;
@@ -383,6 +466,27 @@
this.label_tximage.TabIndex = 4;
this.label_tximage.Text = "TX image";
//
// pictureBox_rximage
//
this.pictureBox_rximage.BackgroundImage = global::oscardata.Properties.Resources.image1;
this.pictureBox_rximage.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.pictureBox_rximage.Location = new System.Drawing.Point(642, 27);
this.pictureBox_rximage.Name = "pictureBox_rximage";
this.pictureBox_rximage.Size = new System.Drawing.Size(640, 480);
this.pictureBox_rximage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox_rximage.TabIndex = 3;
this.pictureBox_rximage.TabStop = false;
//
// pictureBox_tximage
//
this.pictureBox_tximage.BackgroundImage = global::oscardata.Properties.Resources.image;
this.pictureBox_tximage.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.pictureBox_tximage.Location = new System.Drawing.Point(1, 27);
this.pictureBox_tximage.Name = "pictureBox_tximage";
this.pictureBox_tximage.Size = new System.Drawing.Size(640, 480);
this.pictureBox_tximage.TabIndex = 2;
this.pictureBox_tximage.TabStop = false;
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage2);
@@ -419,6 +523,43 @@
this.tabPage3.Text = "File";
this.tabPage3.UseVisualStyleBackColor = true;
//
// pictureBox1
//
this.pictureBox1.BackgroundImage = global::oscardata.Properties.Resources.text_big;
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pictureBox1.Location = new System.Drawing.Point(17, 371);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(127, 134);
this.pictureBox1.TabIndex = 13;
this.pictureBox1.TabStop = false;
//
// button2
//
this.button2.ForeColor = System.Drawing.Color.Red;
this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button2.ImageIndex = 8;
this.button2.ImageList = this.imageList1;
this.button2.Location = new System.Drawing.Point(17, 218);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(137, 23);
this.button2.TabIndex = 12;
this.button2.Text = "Cancel";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button_cancelimg_Click);
//
// bt_openrxfile
//
this.bt_openrxfile.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_openrxfile.ImageIndex = 5;
this.bt_openrxfile.ImageList = this.imageList1;
this.bt_openrxfile.Location = new System.Drawing.Point(17, 306);
this.bt_openrxfile.Name = "bt_openrxfile";
this.bt_openrxfile.Size = new System.Drawing.Size(137, 30);
this.bt_openrxfile.TabIndex = 11;
this.bt_openrxfile.Text = "Open RX file folder";
this.bt_openrxfile.UseVisualStyleBackColor = true;
this.bt_openrxfile.Click += new System.EventHandler(this.bt_openrxfile_Click);
//
// label_rxfile
//
this.label_rxfile.AutoSize = true;
@@ -457,6 +598,60 @@
this.rtb_TXfile.TabIndex = 4;
this.rtb_TXfile.Text = "";
//
// bt_file_send
//
this.bt_file_send.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bt_file_send.ForeColor = System.Drawing.Color.Blue;
this.bt_file_send.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_file_send.ImageIndex = 10;
this.bt_file_send.ImageList = this.imageList1;
this.bt_file_send.Location = new System.Drawing.Point(17, 157);
this.bt_file_send.Name = "bt_file_send";
this.bt_file_send.Size = new System.Drawing.Size(137, 30);
this.bt_file_send.TabIndex = 3;
this.bt_file_send.Text = "SEND";
this.bt_file_send.UseVisualStyleBackColor = true;
this.bt_file_send.Click += new System.EventHandler(this.bt_file_send_Click);
//
// bt_sendBinaryFile
//
this.bt_sendBinaryFile.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_sendBinaryFile.ImageIndex = 0;
this.bt_sendBinaryFile.ImageList = this.imageList1;
this.bt_sendBinaryFile.Location = new System.Drawing.Point(17, 89);
this.bt_sendBinaryFile.Name = "bt_sendBinaryFile";
this.bt_sendBinaryFile.Size = new System.Drawing.Size(137, 23);
this.bt_sendBinaryFile.TabIndex = 2;
this.bt_sendBinaryFile.Text = "Load Binary File";
this.bt_sendBinaryFile.UseVisualStyleBackColor = true;
this.bt_sendBinaryFile.Click += new System.EventHandler(this.bt_sendBinaryFile_Click);
//
// bt_file_html
//
this.bt_file_html.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_file_html.ImageIndex = 2;
this.bt_file_html.ImageList = this.imageList1;
this.bt_file_html.Location = new System.Drawing.Point(17, 60);
this.bt_file_html.Name = "bt_file_html";
this.bt_file_html.Size = new System.Drawing.Size(137, 23);
this.bt_file_html.TabIndex = 1;
this.bt_file_html.Text = "Load HTML File";
this.bt_file_html.UseVisualStyleBackColor = true;
this.bt_file_html.Click += new System.EventHandler(this.button2_Click);
//
// bt_file_ascii
//
this.bt_file_ascii.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_file_ascii.ImageIndex = 9;
this.bt_file_ascii.ImageList = this.imageList1;
this.bt_file_ascii.Location = new System.Drawing.Point(17, 31);
this.bt_file_ascii.Name = "bt_file_ascii";
this.bt_file_ascii.Size = new System.Drawing.Size(137, 23);
this.bt_file_ascii.TabIndex = 0;
this.bt_file_ascii.Text = " Load ASCII Text File";
this.bt_file_ascii.UseVisualStyleBackColor = true;
this.bt_file_ascii.Click += new System.EventHandler(this.bt_file_ascii_Click);
//
// tabPage_audio
//
this.tabPage_audio.Controls.Add(this.groupBox7);
@@ -492,6 +687,16 @@
this.rb_codec2.Text = "CODEC-2 parametric audio codec. Audio rate: 3200 bps";
this.rb_codec2.UseVisualStyleBackColor = true;
//
// pictureBox2
//
this.pictureBox2.BackgroundImage = global::oscardata.Properties.Resources.voice_big;
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pictureBox2.Location = new System.Drawing.Point(6, 13);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(75, 76);
this.pictureBox2.TabIndex = 22;
this.pictureBox2.TabStop = false;
//
// rb_opus
//
this.rb_opus.AutoSize = true;
@@ -519,6 +724,15 @@
this.groupBox6.TabStop = false;
this.groupBox6.Text = "Voice Audio Operating Mode";
//
// pb_voice
//
this.pb_voice.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pb_voice.Location = new System.Drawing.Point(308, 19);
this.pb_voice.Name = "pb_voice";
this.pb_voice.Size = new System.Drawing.Size(440, 85);
this.pb_voice.TabIndex = 22;
this.pb_voice.TabStop = false;
//
// cb_digitalVoiceRXonly
//
this.cb_digitalVoiceRXonly.AutoSize = true;
@@ -594,6 +808,26 @@
this.groupBox5.TabStop = false;
this.groupBox5.Text = "Loadspeaker / Microphone / Headset";
//
// pb_voiceCAPstatus
//
this.pb_voiceCAPstatus.BackgroundImage = global::oscardata.Properties.Resources.ok;
this.pb_voiceCAPstatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pb_voiceCAPstatus.Location = new System.Drawing.Point(387, 58);
this.pb_voiceCAPstatus.Name = "pb_voiceCAPstatus";
this.pb_voiceCAPstatus.Size = new System.Drawing.Size(21, 21);
this.pb_voiceCAPstatus.TabIndex = 19;
this.pb_voiceCAPstatus.TabStop = false;
//
// pb_voicePBstatus
//
this.pb_voicePBstatus.BackgroundImage = global::oscardata.Properties.Resources.ok;
this.pb_voicePBstatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pb_voicePBstatus.Location = new System.Drawing.Point(387, 25);
this.pb_voicePBstatus.Name = "pb_voicePBstatus";
this.pb_voicePBstatus.Size = new System.Drawing.Size(21, 21);
this.pb_voicePBstatus.TabIndex = 18;
this.pb_voicePBstatus.TabStop = false;
//
// label8
//
this.label8.AutoSize = true;
@@ -793,6 +1027,26 @@
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Transceiver Audio";
//
// pb_audioCAPstatus
//
this.pb_audioCAPstatus.BackgroundImage = global::oscardata.Properties.Resources.ok;
this.pb_audioCAPstatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pb_audioCAPstatus.Location = new System.Drawing.Point(375, 52);
this.pb_audioCAPstatus.Name = "pb_audioCAPstatus";
this.pb_audioCAPstatus.Size = new System.Drawing.Size(21, 21);
this.pb_audioCAPstatus.TabIndex = 18;
this.pb_audioCAPstatus.TabStop = false;
//
// pb_audioPBstatus
//
this.pb_audioPBstatus.BackgroundImage = global::oscardata.Properties.Resources.ok;
this.pb_audioPBstatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pb_audioPBstatus.Location = new System.Drawing.Point(375, 19);
this.pb_audioPBstatus.Name = "pb_audioPBstatus";
this.pb_audioPBstatus.Size = new System.Drawing.Size(21, 21);
this.pb_audioPBstatus.TabIndex = 17;
this.pb_audioPBstatus.TabStop = false;
//
// label6
//
this.label6.AutoSize = true;
@@ -1132,6 +1386,7 @@
// pb_rxsync
//
this.pb_rxsync.BackgroundImage = global::oscardata.Properties.Resources.redmarker;
this.pb_rxsync.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pb_rxsync.Location = new System.Drawing.Point(1155, 636);
this.pb_rxsync.Name = "pb_rxsync";
this.pb_rxsync.Size = new System.Drawing.Size(24, 24);
@@ -1141,266 +1396,13 @@
// pb_rxsignal
//
this.pb_rxsignal.BackgroundImage = global::oscardata.Properties.Resources.redmarker;
this.pb_rxsignal.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pb_rxsignal.Location = new System.Drawing.Point(1047, 636);
this.pb_rxsignal.Name = "pb_rxsignal";
this.pb_rxsignal.Size = new System.Drawing.Size(24, 24);
this.pb_rxsignal.TabIndex = 17;
this.pb_rxsignal.TabStop = false;
//
// bt_rximages
//
this.bt_rximages.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_rximages.ImageIndex = 5;
this.bt_rximages.ImageList = this.imageList1;
this.bt_rximages.Location = new System.Drawing.Point(534, 5);
this.bt_rximages.Name = "bt_rximages";
this.bt_rximages.Size = new System.Drawing.Size(92, 23);
this.bt_rximages.TabIndex = 10;
this.bt_rximages.Text = " RX Images";
this.bt_rximages.UseVisualStyleBackColor = true;
this.bt_rximages.Click += new System.EventHandler(this.bt_rximages_Click);
//
// button_loadimage
//
this.button_loadimage.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button_loadimage.ImageIndex = 5;
this.button_loadimage.ImageList = this.imageList1;
this.button_loadimage.Location = new System.Drawing.Point(265, 5);
this.button_loadimage.Name = "button_loadimage";
this.button_loadimage.Size = new System.Drawing.Size(88, 23);
this.button_loadimage.TabIndex = 0;
this.button_loadimage.Text = " Load Image";
this.button_loadimage.UseVisualStyleBackColor = true;
this.button_loadimage.Click += new System.EventHandler(this.button_loadimage_Click);
//
// button_cancelimg
//
this.button_cancelimg.ForeColor = System.Drawing.Color.Red;
this.button_cancelimg.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button_cancelimg.ImageIndex = 8;
this.button_cancelimg.ImageList = this.imageList1;
this.button_cancelimg.Location = new System.Drawing.Point(443, 5);
this.button_cancelimg.Name = "button_cancelimg";
this.button_cancelimg.Size = new System.Drawing.Size(75, 23);
this.button_cancelimg.TabIndex = 9;
this.button_cancelimg.Text = " Cancel";
this.button_cancelimg.UseVisualStyleBackColor = true;
this.button_cancelimg.Click += new System.EventHandler(this.button_cancelimg_Click);
//
// button_sendimage
//
this.button_sendimage.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button_sendimage.ForeColor = System.Drawing.Color.Blue;
this.button_sendimage.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button_sendimage.ImageIndex = 10;
this.button_sendimage.ImageList = this.imageList1;
this.button_sendimage.Location = new System.Drawing.Point(361, 5);
this.button_sendimage.Name = "button_sendimage";
this.button_sendimage.Size = new System.Drawing.Size(75, 23);
this.button_sendimage.TabIndex = 1;
this.button_sendimage.Text = "Send";
this.button_sendimage.UseVisualStyleBackColor = true;
this.button_sendimage.Click += new System.EventHandler(this.button_sendimage_Click);
//
// pictureBox_rximage
//
this.pictureBox_rximage.BackgroundImage = global::oscardata.Properties.Resources.image1;
this.pictureBox_rximage.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.pictureBox_rximage.Location = new System.Drawing.Point(642, 27);
this.pictureBox_rximage.Name = "pictureBox_rximage";
this.pictureBox_rximage.Size = new System.Drawing.Size(640, 480);
this.pictureBox_rximage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox_rximage.TabIndex = 3;
this.pictureBox_rximage.TabStop = false;
//
// pictureBox_tximage
//
this.pictureBox_tximage.BackgroundImage = global::oscardata.Properties.Resources.image;
this.pictureBox_tximage.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pictureBox_tximage.Location = new System.Drawing.Point(1, 27);
this.pictureBox_tximage.Name = "pictureBox_tximage";
this.pictureBox_tximage.Size = new System.Drawing.Size(640, 480);
this.pictureBox_tximage.TabIndex = 2;
this.pictureBox_tximage.TabStop = false;
//
// pictureBox1
//
this.pictureBox1.BackgroundImage = global::oscardata.Properties.Resources.text_big;
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pictureBox1.Location = new System.Drawing.Point(17, 371);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(127, 134);
this.pictureBox1.TabIndex = 13;
this.pictureBox1.TabStop = false;
//
// button2
//
this.button2.ForeColor = System.Drawing.Color.Red;
this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button2.ImageIndex = 8;
this.button2.ImageList = this.imageList1;
this.button2.Location = new System.Drawing.Point(17, 218);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(137, 23);
this.button2.TabIndex = 12;
this.button2.Text = "Cancel";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button_cancelimg_Click);
//
// bt_openrxfile
//
this.bt_openrxfile.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_openrxfile.ImageIndex = 5;
this.bt_openrxfile.ImageList = this.imageList1;
this.bt_openrxfile.Location = new System.Drawing.Point(17, 306);
this.bt_openrxfile.Name = "bt_openrxfile";
this.bt_openrxfile.Size = new System.Drawing.Size(137, 30);
this.bt_openrxfile.TabIndex = 11;
this.bt_openrxfile.Text = "Open RX file folder";
this.bt_openrxfile.UseVisualStyleBackColor = true;
this.bt_openrxfile.Click += new System.EventHandler(this.bt_openrxfile_Click);
//
// bt_file_send
//
this.bt_file_send.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bt_file_send.ForeColor = System.Drawing.Color.Blue;
this.bt_file_send.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_file_send.ImageIndex = 10;
this.bt_file_send.ImageList = this.imageList1;
this.bt_file_send.Location = new System.Drawing.Point(17, 157);
this.bt_file_send.Name = "bt_file_send";
this.bt_file_send.Size = new System.Drawing.Size(137, 30);
this.bt_file_send.TabIndex = 3;
this.bt_file_send.Text = "SEND";
this.bt_file_send.UseVisualStyleBackColor = true;
this.bt_file_send.Click += new System.EventHandler(this.bt_file_send_Click);
//
// bt_sendBinaryFile
//
this.bt_sendBinaryFile.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_sendBinaryFile.ImageIndex = 0;
this.bt_sendBinaryFile.ImageList = this.imageList1;
this.bt_sendBinaryFile.Location = new System.Drawing.Point(17, 89);
this.bt_sendBinaryFile.Name = "bt_sendBinaryFile";
this.bt_sendBinaryFile.Size = new System.Drawing.Size(137, 23);
this.bt_sendBinaryFile.TabIndex = 2;
this.bt_sendBinaryFile.Text = "Load Binary File";
this.bt_sendBinaryFile.UseVisualStyleBackColor = true;
this.bt_sendBinaryFile.Click += new System.EventHandler(this.bt_sendBinaryFile_Click);
//
// bt_file_html
//
this.bt_file_html.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_file_html.ImageIndex = 2;
this.bt_file_html.ImageList = this.imageList1;
this.bt_file_html.Location = new System.Drawing.Point(17, 60);
this.bt_file_html.Name = "bt_file_html";
this.bt_file_html.Size = new System.Drawing.Size(137, 23);
this.bt_file_html.TabIndex = 1;
this.bt_file_html.Text = "Load HTML File";
this.bt_file_html.UseVisualStyleBackColor = true;
this.bt_file_html.Click += new System.EventHandler(this.button2_Click);
//
// bt_file_ascii
//
this.bt_file_ascii.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.bt_file_ascii.ImageIndex = 9;
this.bt_file_ascii.ImageList = this.imageList1;
this.bt_file_ascii.Location = new System.Drawing.Point(17, 31);
this.bt_file_ascii.Name = "bt_file_ascii";
this.bt_file_ascii.Size = new System.Drawing.Size(137, 23);
this.bt_file_ascii.TabIndex = 0;
this.bt_file_ascii.Text = " Load ASCII Text File";
this.bt_file_ascii.UseVisualStyleBackColor = true;
this.bt_file_ascii.Click += new System.EventHandler(this.bt_file_ascii_Click);
//
// pictureBox2
//
this.pictureBox2.BackgroundImage = global::oscardata.Properties.Resources.voice_big;
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pictureBox2.Location = new System.Drawing.Point(6, 13);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(75, 76);
this.pictureBox2.TabIndex = 22;
this.pictureBox2.TabStop = false;
//
// pb_voice
//
this.pb_voice.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pb_voice.Location = new System.Drawing.Point(308, 19);
this.pb_voice.Name = "pb_voice";
this.pb_voice.Size = new System.Drawing.Size(440, 85);
this.pb_voice.TabIndex = 22;
this.pb_voice.TabStop = false;
//
// pb_voiceCAPstatus
//
this.pb_voiceCAPstatus.BackgroundImage = global::oscardata.Properties.Resources.ok;
this.pb_voiceCAPstatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pb_voiceCAPstatus.Location = new System.Drawing.Point(387, 58);
this.pb_voiceCAPstatus.Name = "pb_voiceCAPstatus";
this.pb_voiceCAPstatus.Size = new System.Drawing.Size(21, 21);
this.pb_voiceCAPstatus.TabIndex = 19;
this.pb_voiceCAPstatus.TabStop = false;
//
// pb_voicePBstatus
//
this.pb_voicePBstatus.BackgroundImage = global::oscardata.Properties.Resources.ok;
this.pb_voicePBstatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pb_voicePBstatus.Location = new System.Drawing.Point(387, 25);
this.pb_voicePBstatus.Name = "pb_voicePBstatus";
this.pb_voicePBstatus.Size = new System.Drawing.Size(21, 21);
this.pb_voicePBstatus.TabIndex = 18;
this.pb_voicePBstatus.TabStop = false;
//
// button_stopBERtest
//
this.button_stopBERtest.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button_stopBERtest.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button_stopBERtest.ImageIndex = 8;
this.button_stopBERtest.ImageList = this.imageList1;
this.button_stopBERtest.Location = new System.Drawing.Point(113, 13);
this.button_stopBERtest.Name = "button_stopBERtest";
this.button_stopBERtest.Size = new System.Drawing.Size(101, 32);
this.button_stopBERtest.TabIndex = 4;
this.button_stopBERtest.Text = "STOP";
this.button_stopBERtest.UseVisualStyleBackColor = true;
this.button_stopBERtest.Click += new System.EventHandler(this.button_stopBERtest_Click);
//
// button_startBERtest
//
this.button_startBERtest.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button_startBERtest.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button_startBERtest.ImageIndex = 7;
this.button_startBERtest.ImageList = this.imageList1;
this.button_startBERtest.Location = new System.Drawing.Point(6, 13);
this.button_startBERtest.Name = "button_startBERtest";
this.button_startBERtest.Size = new System.Drawing.Size(101, 32);
this.button_startBERtest.TabIndex = 3;
this.button_startBERtest.Text = "START";
this.button_startBERtest.UseVisualStyleBackColor = true;
this.button_startBERtest.Click += new System.EventHandler(this.button_startBERtest_Click);
//
// pb_audioCAPstatus
//
this.pb_audioCAPstatus.BackgroundImage = global::oscardata.Properties.Resources.ok;
this.pb_audioCAPstatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pb_audioCAPstatus.Location = new System.Drawing.Point(375, 52);
this.pb_audioCAPstatus.Name = "pb_audioCAPstatus";
this.pb_audioCAPstatus.Size = new System.Drawing.Size(21, 21);
this.pb_audioCAPstatus.TabIndex = 18;
this.pb_audioCAPstatus.TabStop = false;
//
// pb_audioPBstatus
//
this.pb_audioPBstatus.BackgroundImage = global::oscardata.Properties.Resources.ok;
this.pb_audioPBstatus.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pb_audioPBstatus.Location = new System.Drawing.Point(375, 19);
this.pb_audioPBstatus.Name = "pb_audioPBstatus";
this.pb_audioPBstatus.Size = new System.Drawing.Size(21, 21);
this.pb_audioPBstatus.TabIndex = 17;
this.pb_audioPBstatus.TabStop = false;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -1433,16 +1435,23 @@
this.tabPage2.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_rximage)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_tximage)).EndInit();
this.tabControl1.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.tabPage_audio.ResumeLayout(false);
this.groupBox7.ResumeLayout(false);
this.groupBox7.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.groupBox6.ResumeLayout(false);
this.groupBox6.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pb_voice)).EndInit();
this.groupBox5.ResumeLayout(false);
this.groupBox5.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pb_voiceCAPstatus)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pb_voicePBstatus)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tb_mic)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tb_loadspeaker)).EndInit();
this.tabPage5.ResumeLayout(false);
@@ -1450,6 +1459,8 @@
this.groupBox4.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pb_audioCAPstatus)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pb_audioPBstatus)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tb_CAPvol)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tb_PBvol)).EndInit();
this.groupBox2.ResumeLayout(false);
@@ -1457,15 +1468,6 @@
this.tabPage4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pb_rxsync)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pb_rxsignal)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_rximage)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox_tximage)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pb_voice)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pb_voiceCAPstatus)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pb_voicePBstatus)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pb_audioCAPstatus)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pb_audioPBstatus)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
+26 -2
View File
@@ -31,6 +31,7 @@ using System.Drawing.Drawing2D;
using System.Diagnostics;
using System.Threading;
using oscardata.Properties;
using System.Reflection;
namespace oscardata
{
@@ -52,6 +53,28 @@ namespace oscardata
// init GUI
InitializeComponent();
// needed for ARM mono, which cannot load a picbox directly from file
var bmp = new Bitmap(Resources.image);
pictureBox_rximage.BackgroundImage = bmp;
bmp = new Bitmap(Resources.image1);
pictureBox_tximage.BackgroundImage = bmp;
// if this program was started from another loacation
// set the working directory to the path of the .exe file
// so it can find hsmodem(.exe)
try
{
String s = Assembly.GetExecutingAssembly().Location;
s = Path.GetDirectoryName(s);
Directory.SetCurrentDirectory(s);
Console.WriteLine("working path: " + s);
}
catch (Exception e)
{
Console.WriteLine("cannot set working path: " + e.ToString());
}
// test OS type
OperatingSystem osversion = System.Environment.OSVersion;
statics.OSversion = osversion.Platform.ToString();
@@ -755,7 +778,8 @@ namespace oscardata
ih.SaveJpgAtFileSize(img, TXimagefilename, max_size);
}
pictureBox_tximage.Load(TXimagefilename);
//pictureBox_tximage.Load(TXimagefilename); this does not work under ARM mono
pictureBox_tximage.BackgroundImage = Image.FromFile(TXimagefilename);
TXRealFileSize = statics.GetFileSize(TXimagefilename);
ShowTXstatus();
txcommand = statics.Image;
@@ -1317,7 +1341,7 @@ namespace oscardata
catch
{
tb_callsign.Text = "";
cb_speed.Text = "4000 QPSK BW: 2400 Hz (default QO-100)";
cb_autostart.Checked = true;
}
if (cb_audioPB.Text.Length <= 1) cb_audioPB.Text = "Default";
+1 -1
View File
@@ -137,7 +137,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABw
FwAAAk1TRnQBSQFMAgEBDQEAAcgBAAHIAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
FwAAAk1TRnQBSQFMAgEBDQEAAdgBAAHYAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAAUADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
Binary file not shown.
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup>
</configuration>
Binary file not shown.
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup>
</configuration>
Binary file not shown.
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
9e2591805e48c9de90be794d8c80dc9ff27fb5a3
@@ -0,0 +1,11 @@
E:\funk\hsmodem\oscardata\oscardata\bin\Debug\oscardata.exe.config
E:\funk\hsmodem\oscardata\oscardata\bin\Debug\oscardata.exe
E:\funk\hsmodem\oscardata\oscardata\bin\Debug\oscardata.pdb
E:\funk\hsmodem\oscardata\oscardata\obj\Debug\oscardata.Form1.resources
E:\funk\hsmodem\oscardata\oscardata\obj\Debug\oscardata.Properties.Resources.resources
E:\funk\hsmodem\oscardata\oscardata\obj\Debug\oscardata.csproj.GenerateResource.cache
E:\funk\hsmodem\oscardata\oscardata\obj\Debug\oscardata.csproj.CoreCompileInputs.cache
E:\funk\hsmodem\oscardata\oscardata\obj\Debug\oscardata.exe
E:\funk\hsmodem\oscardata\oscardata\obj\Debug\oscardata.pdb
E:\funk\hsmodem\oscardata\oscardata\obj\Debug\oscardata.Form2_showtext.resources
E:\funk\hsmodem\oscardata\oscardata\obj\Debug\oscardata.csprojAssemblyReference.cache
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
f689faaaeada03b7ced4435f518c6a73110138e7
@@ -0,0 +1,11 @@
E:\funk\hsmodem\oscardata\oscardata\bin\Release\oscardata.exe.config
E:\funk\hsmodem\oscardata\oscardata\bin\Release\oscardata.exe
E:\funk\hsmodem\oscardata\oscardata\bin\Release\oscardata.pdb
E:\funk\hsmodem\oscardata\oscardata\obj\Release\oscardata.Form1.resources
E:\funk\hsmodem\oscardata\oscardata\obj\Release\oscardata.Properties.Resources.resources
E:\funk\hsmodem\oscardata\oscardata\obj\Release\oscardata.csproj.GenerateResource.cache
E:\funk\hsmodem\oscardata\oscardata\obj\Release\oscardata.csproj.CoreCompileInputs.cache
E:\funk\hsmodem\oscardata\oscardata\obj\Release\oscardata.exe
E:\funk\hsmodem\oscardata\oscardata\obj\Release\oscardata.pdb
E:\funk\hsmodem\oscardata\oscardata\obj\Release\oscardata.Form2_showtext.resources
E:\funk\hsmodem\oscardata\oscardata\obj\Release\oscardata.csprojAssemblyReference.cache
Binary file not shown.
Binary file not shown.
+4 -52
View File
@@ -141,29 +141,10 @@ namespace oscardata
lastb[0] = b[i];
// test if aligned
int re = 0, im = 0;
if (lastb[0] == 0 && lastb[1] == 0 && lastb[2] == 3 && lastb[3] == 0xe8)
Int32 re = 0, im = 0;
if (lastb[0] == 0xe8 && lastb[1] == 3 && lastb[2] == 0 && lastb[3] == 0)
{
// we are aligned to a re value
re = lastb[4];
re <<= 8;
re += lastb[5];
re <<= 8;
re += lastb[6];
re <<= 8;
re += lastb[7];
im = lastb[8];
im <<= 8;
im += lastb[9];
im <<= 8;
im += lastb[10];
im <<= 8;
im += lastb[11];
}
else if (lastb[0] == 0xe8 && lastb[1] == 3 && lastb[2] == 0 && lastb[3] == 0)
{
// we are aligned to a re value
// we are aligned
re = lastb[7];
re <<= 8;
re += lastb[6];
@@ -194,7 +175,7 @@ namespace oscardata
static int maxdrawanz = 160;
static int drawanz = 0;
static Bitmap bm;
static void drawBitmap(int re, int im)
static void drawBitmap(Int32 re, Int32 im)
{
if (re == 0 && im == 0) return;
if (++drawanz >= maxdrawanz && uq_iq.Count() <= 1)
@@ -260,35 +241,6 @@ namespace oscardata
}
if (wait) Thread.Sleep(1);
}
/*
while (statics.running)
{
autoEvent.WaitOne();
try
{
while (uq_tx.Count() > 0)
{
// TX data available
Byte[] b = uq_tx.Getarr();
udpc.Send(b, b.Length, statics.ModemIP, statics.UdpTXport);
if (b[0] < 16) break; // continue without pause for internal control messages, or break for TX messages
}
}
catch (Exception e)
{
String err = e.ToString();
}
// do not wait in case of internal messages
if (statics.getDatarate() != actdatarate)
{
// rate has been changed, reset the timer
wait_datarate = (int)(((double)statics.UdpBlocklen * 8.0 * 1000.0 / (double)(statics.getDatarate())));
TTimer.Change(0, wait_datarate);
actdatarate = statics.getDatarate();
}
}*/
}
public static void UdpBCsend(Byte[] b, String ip, int port)