App sync code, handles button presses from mixer and syncs changes from VM. Included python code from the mixer. Some other PCB changes, but still needs improvements

This commit is contained in:
2024-05-16 23:42:27 -05:00
parent efdbb11f92
commit 700e87f807
39 changed files with 4246 additions and 3514 deletions
+44
View File
@@ -108,6 +108,7 @@
mixerAutoConnectCheckbox = new CheckBox();
mixerLabel = new Label();
notifyIcon1 = new NotifyIcon(components);
listBox1 = new ListBox();
groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackBar1).BeginInit();
((System.ComponentModel.ISupportInitialize)trackBar2).BeginInit();
@@ -480,6 +481,7 @@
checkBox5.TabIndex = 38;
checkBox5.Text = "B3";
checkBox5.UseVisualStyleBackColor = true;
checkBox5.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox6
//
@@ -491,6 +493,7 @@
checkBox6.TabIndex = 37;
checkBox6.Text = "B2";
checkBox6.UseVisualStyleBackColor = true;
checkBox6.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox7
//
@@ -502,6 +505,7 @@
checkBox7.TabIndex = 36;
checkBox7.Text = "B1";
checkBox7.UseVisualStyleBackColor = true;
checkBox7.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox8
//
@@ -513,6 +517,7 @@
checkBox8.TabIndex = 35;
checkBox8.Text = "A5";
checkBox8.UseVisualStyleBackColor = true;
checkBox8.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox9
//
@@ -524,6 +529,7 @@
checkBox9.TabIndex = 34;
checkBox9.Text = "A4";
checkBox9.UseVisualStyleBackColor = true;
checkBox9.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox10
//
@@ -535,6 +541,7 @@
checkBox10.TabIndex = 33;
checkBox10.Text = "A3";
checkBox10.UseVisualStyleBackColor = true;
checkBox10.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox11
//
@@ -547,6 +554,7 @@
checkBox11.Tag = "A2";
checkBox11.Text = "A2";
checkBox11.UseVisualStyleBackColor = true;
checkBox11.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox12
//
@@ -559,6 +567,7 @@
checkBox12.Tag = "";
checkBox12.Text = "A1";
checkBox12.UseVisualStyleBackColor = true;
checkBox12.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox13
//
@@ -594,6 +603,7 @@
checkBox15.TabIndex = 48;
checkBox15.Text = "B3";
checkBox15.UseVisualStyleBackColor = true;
checkBox15.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox16
//
@@ -605,6 +615,7 @@
checkBox16.TabIndex = 47;
checkBox16.Text = "B2";
checkBox16.UseVisualStyleBackColor = true;
checkBox16.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox17
//
@@ -616,6 +627,7 @@
checkBox17.TabIndex = 46;
checkBox17.Text = "B1";
checkBox17.UseVisualStyleBackColor = true;
checkBox17.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox18
//
@@ -627,6 +639,7 @@
checkBox18.TabIndex = 45;
checkBox18.Text = "A5";
checkBox18.UseVisualStyleBackColor = true;
checkBox18.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox19
//
@@ -638,6 +651,7 @@
checkBox19.TabIndex = 44;
checkBox19.Text = "A4";
checkBox19.UseVisualStyleBackColor = true;
checkBox19.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox20
//
@@ -649,6 +663,7 @@
checkBox20.TabIndex = 43;
checkBox20.Text = "A3";
checkBox20.UseVisualStyleBackColor = true;
checkBox20.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox21
//
@@ -661,6 +676,7 @@
checkBox21.Tag = "A2";
checkBox21.Text = "A2";
checkBox21.UseVisualStyleBackColor = true;
checkBox21.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox22
//
@@ -673,6 +689,7 @@
checkBox22.Tag = "";
checkBox22.Text = "A1";
checkBox22.UseVisualStyleBackColor = true;
checkBox22.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox23
//
@@ -708,6 +725,7 @@
checkBox25.TabIndex = 58;
checkBox25.Text = "B3";
checkBox25.UseVisualStyleBackColor = true;
checkBox25.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox26
//
@@ -719,6 +737,7 @@
checkBox26.TabIndex = 57;
checkBox26.Text = "B2";
checkBox26.UseVisualStyleBackColor = true;
checkBox26.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox27
//
@@ -730,6 +749,7 @@
checkBox27.TabIndex = 56;
checkBox27.Text = "B1";
checkBox27.UseVisualStyleBackColor = true;
checkBox27.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox28
//
@@ -741,6 +761,7 @@
checkBox28.TabIndex = 55;
checkBox28.Text = "A5";
checkBox28.UseVisualStyleBackColor = true;
checkBox28.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox29
//
@@ -752,6 +773,7 @@
checkBox29.TabIndex = 54;
checkBox29.Text = "A4";
checkBox29.UseVisualStyleBackColor = true;
checkBox29.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox30
//
@@ -763,6 +785,7 @@
checkBox30.TabIndex = 53;
checkBox30.Text = "A3";
checkBox30.UseVisualStyleBackColor = true;
checkBox30.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox31
//
@@ -775,6 +798,7 @@
checkBox31.Tag = "A2";
checkBox31.Text = "A2";
checkBox31.UseVisualStyleBackColor = true;
checkBox31.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox32
//
@@ -787,6 +811,7 @@
checkBox32.Tag = "";
checkBox32.Text = "A1";
checkBox32.UseVisualStyleBackColor = true;
checkBox32.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox33
//
@@ -822,6 +847,7 @@
checkBox35.TabIndex = 68;
checkBox35.Text = "B3";
checkBox35.UseVisualStyleBackColor = true;
checkBox35.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox36
//
@@ -833,6 +859,7 @@
checkBox36.TabIndex = 67;
checkBox36.Text = "B2";
checkBox36.UseVisualStyleBackColor = true;
checkBox36.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox37
//
@@ -844,6 +871,7 @@
checkBox37.TabIndex = 66;
checkBox37.Text = "B1";
checkBox37.UseVisualStyleBackColor = true;
checkBox37.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox38
//
@@ -855,6 +883,7 @@
checkBox38.TabIndex = 65;
checkBox38.Text = "A5";
checkBox38.UseVisualStyleBackColor = true;
checkBox38.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox39
//
@@ -866,6 +895,7 @@
checkBox39.TabIndex = 64;
checkBox39.Text = "A4";
checkBox39.UseVisualStyleBackColor = true;
checkBox39.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox40
//
@@ -877,6 +907,7 @@
checkBox40.TabIndex = 63;
checkBox40.Text = "A3";
checkBox40.UseVisualStyleBackColor = true;
checkBox40.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox41
//
@@ -889,6 +920,7 @@
checkBox41.Tag = "A2";
checkBox41.Text = "A2";
checkBox41.UseVisualStyleBackColor = true;
checkBox41.CheckedChanged += busCheckbox_CheckedChanged;
//
// checkBox42
//
@@ -901,6 +933,7 @@
checkBox42.Tag = "";
checkBox42.Text = "A1";
checkBox42.UseVisualStyleBackColor = true;
checkBox42.CheckedChanged += busCheckbox_CheckedChanged;
//
// slider1Label
//
@@ -986,11 +1019,21 @@
notifyIcon1.Visible = true;
notifyIcon1.Click += notifyIcon1_Click;
//
// listBox1
//
listBox1.FormattingEnabled = true;
listBox1.ItemHeight = 15;
listBox1.Location = new Point(12, 278);
listBox1.Name = "listBox1";
listBox1.Size = new Size(200, 64);
listBox1.TabIndex = 77;
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(780, 363);
Controls.Add(listBox1);
Controls.Add(groupBox2);
Controls.Add(slider5Label);
Controls.Add(slider4Label);
@@ -1160,5 +1203,6 @@
private CheckBox mixerAutoConnectCheckbox;
private Label mixerLabel;
private NotifyIcon notifyIcon1;
private ListBox listBox1;
}
}