Changed set to 115200 command to be in line with Flexi.
This commit is contained in:
34
AiQ_GUI.Designer.cs
generated
34
AiQ_GUI.Designer.cs
generated
@@ -145,6 +145,7 @@ namespace AiQ_GUI
|
|||||||
BtnZoom8000 = new Button();
|
BtnZoom8000 = new Button();
|
||||||
BtnZoomWide = new Button();
|
BtnZoomWide = new Button();
|
||||||
TabSettings = new TabPage();
|
TabSettings = new TabPage();
|
||||||
|
BtnOpenMoba = new Button();
|
||||||
BtnUploadWonwooSetIR = new Button();
|
BtnUploadWonwooSetIR = new Button();
|
||||||
BtnUploadWonwooSetOV = new Button();
|
BtnUploadWonwooSetOV = new Button();
|
||||||
BtnAdminStart = new Button();
|
BtnAdminStart = new Button();
|
||||||
@@ -161,7 +162,6 @@ namespace AiQ_GUI
|
|||||||
LblGUIVers = new Label();
|
LblGUIVers = new Label();
|
||||||
timerTypeIP = new System.Windows.Forms.Timer(components);
|
timerTypeIP = new System.Windows.Forms.Timer(components);
|
||||||
TimerFlash = new System.Windows.Forms.Timer(components);
|
TimerFlash = new System.Windows.Forms.Timer(components);
|
||||||
BtnOpenMoba = new Button();
|
|
||||||
((System.ComponentModel.ISupportInitialize)PicBxMAV).BeginInit();
|
((System.ComponentModel.ISupportInitialize)PicBxMAV).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)PicBxAiQ).BeginInit();
|
((System.ComponentModel.ISupportInitialize)PicBxAiQ).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)PicBxIRF2).BeginInit();
|
((System.ComponentModel.ISupportInitialize)PicBxIRF2).BeginInit();
|
||||||
@@ -1871,6 +1871,22 @@ namespace AiQ_GUI
|
|||||||
TabSettings.TabIndex = 3;
|
TabSettings.TabIndex = 3;
|
||||||
TabSettings.Text = "Settings";
|
TabSettings.Text = "Settings";
|
||||||
//
|
//
|
||||||
|
// BtnOpenMoba
|
||||||
|
//
|
||||||
|
BtnOpenMoba.BackColor = Color.FromArgb(70, 65, 80);
|
||||||
|
BtnOpenMoba.FlatAppearance.BorderSize = 0;
|
||||||
|
BtnOpenMoba.FlatStyle = FlatStyle.Flat;
|
||||||
|
BtnOpenMoba.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
|
||||||
|
BtnOpenMoba.ForeColor = SystemColors.Control;
|
||||||
|
BtnOpenMoba.Location = new Point(210, 359);
|
||||||
|
BtnOpenMoba.Margin = new Padding(4, 3, 4, 3);
|
||||||
|
BtnOpenMoba.Name = "BtnOpenMoba";
|
||||||
|
BtnOpenMoba.Size = new Size(180, 37);
|
||||||
|
BtnOpenMoba.TabIndex = 245;
|
||||||
|
BtnOpenMoba.Text = "Open Moba";
|
||||||
|
BtnOpenMoba.UseVisualStyleBackColor = false;
|
||||||
|
BtnOpenMoba.Click += BtnOpenMoba_Click;
|
||||||
|
//
|
||||||
// BtnUploadWonwooSetIR
|
// BtnUploadWonwooSetIR
|
||||||
//
|
//
|
||||||
BtnUploadWonwooSetIR.BackColor = Color.FromArgb(70, 65, 80);
|
BtnUploadWonwooSetIR.BackColor = Color.FromArgb(70, 65, 80);
|
||||||
@@ -2078,22 +2094,6 @@ namespace AiQ_GUI
|
|||||||
timerTypeIP.Interval = 2000;
|
timerTypeIP.Interval = 2000;
|
||||||
timerTypeIP.Tick += timerTypeIP_Tick;
|
timerTypeIP.Tick += timerTypeIP_Tick;
|
||||||
//
|
//
|
||||||
// BtnOpenMoba
|
|
||||||
//
|
|
||||||
BtnOpenMoba.BackColor = Color.FromArgb(70, 65, 80);
|
|
||||||
BtnOpenMoba.FlatAppearance.BorderSize = 0;
|
|
||||||
BtnOpenMoba.FlatStyle = FlatStyle.Flat;
|
|
||||||
BtnOpenMoba.Font = new Font("Segoe UI Semibold", 10F, FontStyle.Bold);
|
|
||||||
BtnOpenMoba.ForeColor = SystemColors.Control;
|
|
||||||
BtnOpenMoba.Location = new Point(210, 359);
|
|
||||||
BtnOpenMoba.Margin = new Padding(4, 3, 4, 3);
|
|
||||||
BtnOpenMoba.Name = "BtnOpenMoba";
|
|
||||||
BtnOpenMoba.Size = new Size(180, 37);
|
|
||||||
BtnOpenMoba.TabIndex = 245;
|
|
||||||
BtnOpenMoba.Text = "Open Moba";
|
|
||||||
BtnOpenMoba.UseVisualStyleBackColor = false;
|
|
||||||
BtnOpenMoba.Click += BtnOpenMoba_Click;
|
|
||||||
//
|
|
||||||
// MainForm
|
// MainForm
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
|
|||||||
@@ -395,7 +395,7 @@ namespace AiQ_GUI
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
string Cmd = "sudo sh -c \"stty -F /dev/ttyInfrared 9600 cs8 -cstopb -parenb -ixon -ixoff -crtscts -icanon -echo -opost; echo '81 01 04 01 03 FF' | xxd -r -p > /dev/ttyInfrared\"";
|
string Cmd = "sudo sh -c \"stty -F /dev/ttyInfrared 9600 raw -echo -echoe -echok -echoctl -echoke -iexten -onlcr ignbrk cs8 -cstopb -parenb; echo '81 01 04 01 04 FF' | xxd -r -p > /dev/ttyInfrared\"";
|
||||||
SshClient client = SshConnect(IPAddress);
|
SshClient client = SshConnect(IPAddress);
|
||||||
|
|
||||||
SshCommand checkDevice = client.RunCommand(Cmd);
|
SshCommand checkDevice = client.RunCommand(Cmd);
|
||||||
|
|||||||
Reference in New Issue
Block a user