adicionado enfileiramento de mensageria

This commit is contained in:
Diego Freitas 2024-04-24 15:01:25 -03:00
parent adb3896d8d
commit 2591a0209f
158 changed files with 1355 additions and 307 deletions

Binary file not shown.

View File

@ -318,6 +318,7 @@
<Compile Include="Models\CameraSoloModel.cs" /> <Compile Include="Models\CameraSoloModel.cs" />
<Compile Include="Models\GPSModel.cs" /> <Compile Include="Models\GPSModel.cs" />
<Compile Include="Models\MapasModel.cs" /> <Compile Include="Models\MapasModel.cs" />
<Compile Include="Models\MensagemFilaModel.cs" />
<Compile Include="Models\Modules\AtuadorModel.cs" /> <Compile Include="Models\Modules\AtuadorModel.cs" />
<Compile Include="Models\Modules\DirecionalModel.cs" /> <Compile Include="Models\Modules\DirecionalModel.cs" />
<Compile Include="Models\Modules\DispositivoBaseModel.cs" /> <Compile Include="Models\Modules\DispositivoBaseModel.cs" />
@ -346,6 +347,7 @@
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Services\DispositivosServiceFactory.cs" /> <Compile Include="Services\DispositivosServiceFactory.cs" />
<Compile Include="Services\FilaService.cs" />
<Compile Include="Services\GPSService.cs" /> <Compile Include="Services\GPSService.cs" />
<Compile Include="Services\IDispositivosService.cs" /> <Compile Include="Services\IDispositivosService.cs" />
<Compile Include="Services\MapasService.cs" /> <Compile Include="Services\MapasService.cs" />

View File

@ -155,7 +155,7 @@ namespace AgroBase.Forms.Atuador
private void EnviarProtocoloComandoBomba() private void EnviarProtocoloComandoBomba()
{ {
string Protocolo = DispAtu.Dados.BombaPressurizadora.ProtocoloComando(); string Protocolo = DispAtu.Dados.BombaPressurizadora.ProtocoloComando();
DispAtu.EnviarDadosSerial(Protocolo); DispAtu.AdicionarMensagemFila(Protocolo);
} }
private void nudPressaoSP_ValueChanged(object sender, EventArgs e) private void nudPressaoSP_ValueChanged(object sender, EventArgs e)
@ -202,7 +202,7 @@ namespace AgroBase.Forms.Atuador
{ {
Bico.Atuado = !DispAtu.Dados.AtuacaoNivelAlto; Bico.Atuado = !DispAtu.Dados.AtuacaoNivelAlto;
string Protocolo = Bico.ProtocoloComando(); string Protocolo = Bico.ProtocoloComando();
DispAtu.EnviarDadosSerial(Protocolo); DispAtu.AdicionarMensagemFila(Protocolo);
pnlBicos.Controls.OfType<Panel>().First(x => x.Name == "pnlB_" + ID).Invalidate(); pnlBicos.Controls.OfType<Panel>().First(x => x.Name == "pnlB_" + ID).Invalidate();
pnlBicos.Controls.OfType<Panel>().First(x => x.Name == "pnlB_" + ID).Controls.OfType<Label>().First(x => x.Name == "lblCmd_" + ID).Text = "Comando: Desligado"; pnlBicos.Controls.OfType<Panel>().First(x => x.Name == "pnlB_" + ID).Controls.OfType<Label>().First(x => x.Name == "lblCmd_" + ID).Text = "Comando: Desligado";
@ -218,7 +218,7 @@ namespace AgroBase.Forms.Atuador
{ {
Bico.Atuado = DispAtu.Dados.AtuacaoNivelAlto; Bico.Atuado = DispAtu.Dados.AtuacaoNivelAlto;
string Protocolo = Bico.ProtocoloComando(); string Protocolo = Bico.ProtocoloComando();
DispAtu.EnviarDadosSerial(Protocolo); DispAtu.AdicionarMensagemFila(Protocolo);
pnlBicos.Controls.OfType<Panel>().First(x => x.Name == "pnlB_" + ID).Invalidate(); pnlBicos.Controls.OfType<Panel>().First(x => x.Name == "pnlB_" + ID).Invalidate();
pnlBicos.Controls.OfType<Panel>().First(x => x.Name == "pnlB_" + ID).Controls.OfType<Label>().First(x => x.Name == "lblCmd_" + ID).Text = "Comando: Ligado"; pnlBicos.Controls.OfType<Panel>().First(x => x.Name == "pnlB_" + ID).Controls.OfType<Label>().First(x => x.Name == "lblCmd_" + ID).Text = "Comando: Ligado";

View File

@ -194,7 +194,7 @@ namespace AgroBase.Forms.Direcional
{ {
var Motor = ((DirecionalModel)Dispositivo.Dados).Motores.FirstOrDefault(x => x.ID == ID); var Motor = ((DirecionalModel)Dispositivo.Dados).Motores.FirstOrDefault(x => x.ID == ID);
string Comando = Motor.ProtocoloComando(Direcao.Parado, true); string Comando = Motor.ProtocoloComando(Direcao.Parado, true);
Dispositivo.EnviarDadosSerial(Comando); Dispositivo.AdicionarMensagemFila(Comando);
} }
} }

View File

@ -81,7 +81,7 @@ namespace AgroBase.Forms
foreach (var Motor in DispMov.Dados.Motores) foreach (var Motor in DispMov.Dados.Motores)
{ {
string ProtocoloMotor = Motor.ProtocoloTeste(); string ProtocoloMotor = Motor.ProtocoloTeste();
DispMov.EnviarDadosSerial(ProtocoloMotor); DispMov.AdicionarMensagemFila(ProtocoloMotor);
System.Threading.Thread.Sleep(10); System.Threading.Thread.Sleep(10);
} }

View File

@ -37,6 +37,7 @@
this.pnlCameraSoloD = new System.Windows.Forms.Panel(); this.pnlCameraSoloD = new System.Windows.Forms.Panel();
this.picCameraSoloD = new System.Windows.Forms.PictureBox(); this.picCameraSoloD = new System.Windows.Forms.PictureBox();
this.pnlAtuadores = new System.Windows.Forms.Panel(); this.pnlAtuadores = new System.Windows.Forms.Panel();
this.btnIniciarOperacao = new System.Windows.Forms.Button();
this.chartGraficos = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.chartGraficos = new System.Windows.Forms.DataVisualization.Charting.Chart();
this.lblDir_EF = new System.Windows.Forms.Label(); this.lblDir_EF = new System.Windows.Forms.Label();
this.lblDir_DF = new System.Windows.Forms.Label(); this.lblDir_DF = new System.Windows.Forms.Label();
@ -81,7 +82,6 @@
this.chbLivre_DF = new System.Windows.Forms.CheckBox(); this.chbLivre_DF = new System.Windows.Forms.CheckBox();
this.chbCmd_DF = new System.Windows.Forms.CheckBox(); this.chbCmd_DF = new System.Windows.Forms.CheckBox();
this.btnRef_DF = new System.Windows.Forms.Button(); this.btnRef_DF = new System.Windows.Forms.Button();
this.btnIniciarOperacao = new System.Windows.Forms.Button();
this.lblDistanciaEsquerda = new System.Windows.Forms.Label(); this.lblDistanciaEsquerda = new System.Windows.Forms.Label();
this.lblDistanciaDireita = new System.Windows.Forms.Label(); this.lblDistanciaDireita = new System.Windows.Forms.Label();
this.chbSonar = new System.Windows.Forms.CheckBox(); this.chbSonar = new System.Windows.Forms.CheckBox();
@ -114,7 +114,7 @@
this.pnlCamerasSolo.Controls.Add(this.pnlCameraSoloE); this.pnlCamerasSolo.Controls.Add(this.pnlCameraSoloE);
this.pnlCamerasSolo.Controls.Add(this.pnlCameraSoloD); this.pnlCamerasSolo.Controls.Add(this.pnlCameraSoloD);
this.pnlCamerasSolo.Location = new System.Drawing.Point(23, 328); this.pnlCamerasSolo.Location = new System.Drawing.Point(23, 328);
this.pnlCamerasSolo.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlCamerasSolo.Margin = new System.Windows.Forms.Padding(2);
this.pnlCamerasSolo.Name = "pnlCamerasSolo"; this.pnlCamerasSolo.Name = "pnlCamerasSolo";
this.pnlCamerasSolo.Size = new System.Drawing.Size(588, 184); this.pnlCamerasSolo.Size = new System.Drawing.Size(588, 184);
this.pnlCamerasSolo.TabIndex = 0; this.pnlCamerasSolo.TabIndex = 0;
@ -123,7 +123,7 @@
// //
this.pnlCameraSoloE.Controls.Add(this.picCameraSoloE); this.pnlCameraSoloE.Controls.Add(this.picCameraSoloE);
this.pnlCameraSoloE.Location = new System.Drawing.Point(2, 2); this.pnlCameraSoloE.Location = new System.Drawing.Point(2, 2);
this.pnlCameraSoloE.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlCameraSoloE.Margin = new System.Windows.Forms.Padding(2);
this.pnlCameraSoloE.Name = "pnlCameraSoloE"; this.pnlCameraSoloE.Name = "pnlCameraSoloE";
this.pnlCameraSoloE.Size = new System.Drawing.Size(289, 178); this.pnlCameraSoloE.Size = new System.Drawing.Size(289, 178);
this.pnlCameraSoloE.TabIndex = 24; this.pnlCameraSoloE.TabIndex = 24;
@ -133,7 +133,7 @@
this.picCameraSoloE.BackColor = System.Drawing.SystemColors.ButtonFace; this.picCameraSoloE.BackColor = System.Drawing.SystemColors.ButtonFace;
this.picCameraSoloE.Dock = System.Windows.Forms.DockStyle.Fill; this.picCameraSoloE.Dock = System.Windows.Forms.DockStyle.Fill;
this.picCameraSoloE.Location = new System.Drawing.Point(0, 0); this.picCameraSoloE.Location = new System.Drawing.Point(0, 0);
this.picCameraSoloE.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.picCameraSoloE.Margin = new System.Windows.Forms.Padding(2);
this.picCameraSoloE.Name = "picCameraSoloE"; this.picCameraSoloE.Name = "picCameraSoloE";
this.picCameraSoloE.Size = new System.Drawing.Size(289, 178); this.picCameraSoloE.Size = new System.Drawing.Size(289, 178);
this.picCameraSoloE.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.picCameraSoloE.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@ -144,7 +144,7 @@
// //
this.pnlCameraSoloD.Controls.Add(this.picCameraSoloD); this.pnlCameraSoloD.Controls.Add(this.picCameraSoloD);
this.pnlCameraSoloD.Location = new System.Drawing.Point(296, 2); this.pnlCameraSoloD.Location = new System.Drawing.Point(296, 2);
this.pnlCameraSoloD.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlCameraSoloD.Margin = new System.Windows.Forms.Padding(2);
this.pnlCameraSoloD.Name = "pnlCameraSoloD"; this.pnlCameraSoloD.Name = "pnlCameraSoloD";
this.pnlCameraSoloD.Size = new System.Drawing.Size(289, 178); this.pnlCameraSoloD.Size = new System.Drawing.Size(289, 178);
this.pnlCameraSoloD.TabIndex = 23; this.pnlCameraSoloD.TabIndex = 23;
@ -154,7 +154,7 @@
this.picCameraSoloD.BackColor = System.Drawing.SystemColors.ButtonFace; this.picCameraSoloD.BackColor = System.Drawing.SystemColors.ButtonFace;
this.picCameraSoloD.Dock = System.Windows.Forms.DockStyle.Fill; this.picCameraSoloD.Dock = System.Windows.Forms.DockStyle.Fill;
this.picCameraSoloD.Location = new System.Drawing.Point(0, 0); this.picCameraSoloD.Location = new System.Drawing.Point(0, 0);
this.picCameraSoloD.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.picCameraSoloD.Margin = new System.Windows.Forms.Padding(2);
this.picCameraSoloD.Name = "picCameraSoloD"; this.picCameraSoloD.Name = "picCameraSoloD";
this.picCameraSoloD.Size = new System.Drawing.Size(289, 178); this.picCameraSoloD.Size = new System.Drawing.Size(289, 178);
this.picCameraSoloD.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.picCameraSoloD.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
@ -166,26 +166,41 @@
this.pnlAtuadores.BackColor = System.Drawing.Color.White; this.pnlAtuadores.BackColor = System.Drawing.Color.White;
this.pnlAtuadores.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pnlAtuadores.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.pnlAtuadores.Location = new System.Drawing.Point(23, 518); this.pnlAtuadores.Location = new System.Drawing.Point(23, 518);
this.pnlAtuadores.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlAtuadores.Margin = new System.Windows.Forms.Padding(2);
this.pnlAtuadores.Name = "pnlAtuadores"; this.pnlAtuadores.Name = "pnlAtuadores";
this.pnlAtuadores.Size = new System.Drawing.Size(589, 127); this.pnlAtuadores.Size = new System.Drawing.Size(589, 127);
this.pnlAtuadores.TabIndex = 1; this.pnlAtuadores.TabIndex = 1;
this.pnlAtuadores.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlAtuadores_Paint); this.pnlAtuadores.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlAtuadores_Paint);
// //
// btnIniciarOperacao
//
this.btnIniciarOperacao.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnIniciarOperacao.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnIniciarOperacao.Location = new System.Drawing.Point(1119, 585);
this.btnIniciarOperacao.Margin = new System.Windows.Forms.Padding(2);
this.btnIniciarOperacao.Name = "btnIniciarOperacao";
this.btnIniciarOperacao.Size = new System.Drawing.Size(113, 53);
this.btnIniciarOperacao.TabIndex = 25;
this.btnIniciarOperacao.Text = "Iniciar Operação";
this.btnIniciarOperacao.UseVisualStyleBackColor = true;
this.btnIniciarOperacao.Click += new System.EventHandler(this.btnIniciarOperacao_Click);
//
// chartGraficos // chartGraficos
// //
this.chartGraficos.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
chartArea1.Name = "ChartArea1"; chartArea1.Name = "ChartArea1";
this.chartGraficos.ChartAreas.Add(chartArea1); this.chartGraficos.ChartAreas.Add(chartArea1);
legend1.Name = "Legend1"; legend1.Name = "Legend1";
this.chartGraficos.Legends.Add(legend1); this.chartGraficos.Legends.Add(legend1);
this.chartGraficos.Location = new System.Drawing.Point(640, 7); this.chartGraficos.Location = new System.Drawing.Point(640, 7);
this.chartGraficos.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.chartGraficos.Margin = new System.Windows.Forms.Padding(2);
this.chartGraficos.Name = "chartGraficos"; this.chartGraficos.Name = "chartGraficos";
series1.ChartArea = "ChartArea1"; series1.ChartArea = "ChartArea1";
series1.Legend = "Legend1"; series1.Legend = "Legend1";
series1.Name = "Series1"; series1.Name = "Series1";
this.chartGraficos.Series.Add(series1); this.chartGraficos.Series.Add(series1);
this.chartGraficos.Size = new System.Drawing.Size(589, 318); this.chartGraficos.Size = new System.Drawing.Size(591, 318);
this.chartGraficos.TabIndex = 2; this.chartGraficos.TabIndex = 2;
this.chartGraficos.Text = "chart1"; this.chartGraficos.Text = "chart1";
// //
@ -236,7 +251,7 @@
this.tabControl1.Controls.Add(this.tabDeteccoes); this.tabControl1.Controls.Add(this.tabDeteccoes);
this.tabControl1.Controls.Add(this.tabPulverizador); this.tabControl1.Controls.Add(this.tabPulverizador);
this.tabControl1.Location = new System.Drawing.Point(640, 331); this.tabControl1.Location = new System.Drawing.Point(640, 331);
this.tabControl1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabControl1.Margin = new System.Windows.Forms.Padding(2);
this.tabControl1.Name = "tabControl1"; this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0; this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(471, 314); this.tabControl1.Size = new System.Drawing.Size(471, 314);
@ -254,9 +269,9 @@
this.tabMapa.Controls.Add(this.pnlAnguloMagnetometro); this.tabMapa.Controls.Add(this.pnlAnguloMagnetometro);
this.tabMapa.Controls.Add(this.lblMagnetometro); this.tabMapa.Controls.Add(this.lblMagnetometro);
this.tabMapa.Location = new System.Drawing.Point(4, 22); this.tabMapa.Location = new System.Drawing.Point(4, 22);
this.tabMapa.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabMapa.Margin = new System.Windows.Forms.Padding(2);
this.tabMapa.Name = "tabMapa"; this.tabMapa.Name = "tabMapa";
this.tabMapa.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabMapa.Padding = new System.Windows.Forms.Padding(2);
this.tabMapa.Size = new System.Drawing.Size(463, 288); this.tabMapa.Size = new System.Drawing.Size(463, 288);
this.tabMapa.TabIndex = 0; this.tabMapa.TabIndex = 0;
this.tabMapa.Text = "Mapa"; this.tabMapa.Text = "Mapa";
@ -305,7 +320,7 @@
// pnlMapa // pnlMapa
// //
this.pnlMapa.Location = new System.Drawing.Point(89, 2); this.pnlMapa.Location = new System.Drawing.Point(89, 2);
this.pnlMapa.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlMapa.Margin = new System.Windows.Forms.Padding(2);
this.pnlMapa.Name = "pnlMapa"; this.pnlMapa.Name = "pnlMapa";
this.pnlMapa.Size = new System.Drawing.Size(374, 286); this.pnlMapa.Size = new System.Drawing.Size(374, 286);
this.pnlMapa.TabIndex = 0; this.pnlMapa.TabIndex = 0;
@ -326,7 +341,7 @@
this.pnlAnguloGPS.BackgroundImage = global::AgroBase.Properties.Resources.rosa_dos_ventos; this.pnlAnguloGPS.BackgroundImage = global::AgroBase.Properties.Resources.rosa_dos_ventos;
this.pnlAnguloGPS.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.pnlAnguloGPS.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pnlAnguloGPS.Location = new System.Drawing.Point(7, 18); this.pnlAnguloGPS.Location = new System.Drawing.Point(7, 18);
this.pnlAnguloGPS.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlAnguloGPS.Margin = new System.Windows.Forms.Padding(2);
this.pnlAnguloGPS.Name = "pnlAnguloGPS"; this.pnlAnguloGPS.Name = "pnlAnguloGPS";
this.pnlAnguloGPS.Size = new System.Drawing.Size(78, 84); this.pnlAnguloGPS.Size = new System.Drawing.Size(78, 84);
this.pnlAnguloGPS.TabIndex = 18; this.pnlAnguloGPS.TabIndex = 18;
@ -338,7 +353,7 @@
this.pnlAnguloMagnetometro.BackgroundImage = global::AgroBase.Properties.Resources.rosa_dos_ventos; this.pnlAnguloMagnetometro.BackgroundImage = global::AgroBase.Properties.Resources.rosa_dos_ventos;
this.pnlAnguloMagnetometro.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.pnlAnguloMagnetometro.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.pnlAnguloMagnetometro.Location = new System.Drawing.Point(7, 203); this.pnlAnguloMagnetometro.Location = new System.Drawing.Point(7, 203);
this.pnlAnguloMagnetometro.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlAnguloMagnetometro.Margin = new System.Windows.Forms.Padding(2);
this.pnlAnguloMagnetometro.Name = "pnlAnguloMagnetometro"; this.pnlAnguloMagnetometro.Name = "pnlAnguloMagnetometro";
this.pnlAnguloMagnetometro.Size = new System.Drawing.Size(78, 84); this.pnlAnguloMagnetometro.Size = new System.Drawing.Size(78, 84);
this.pnlAnguloMagnetometro.TabIndex = 20; this.pnlAnguloMagnetometro.TabIndex = 20;
@ -358,9 +373,9 @@
// //
this.tabInformacoes.Controls.Add(this.gridDados); this.tabInformacoes.Controls.Add(this.gridDados);
this.tabInformacoes.Location = new System.Drawing.Point(4, 22); this.tabInformacoes.Location = new System.Drawing.Point(4, 22);
this.tabInformacoes.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabInformacoes.Margin = new System.Windows.Forms.Padding(2);
this.tabInformacoes.Name = "tabInformacoes"; this.tabInformacoes.Name = "tabInformacoes";
this.tabInformacoes.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabInformacoes.Padding = new System.Windows.Forms.Padding(2);
this.tabInformacoes.Size = new System.Drawing.Size(463, 288); this.tabInformacoes.Size = new System.Drawing.Size(463, 288);
this.tabInformacoes.TabIndex = 1; this.tabInformacoes.TabIndex = 1;
this.tabInformacoes.Text = "Informações"; this.tabInformacoes.Text = "Informações";
@ -371,7 +386,7 @@
this.gridDados.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.gridDados.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.gridDados.Dock = System.Windows.Forms.DockStyle.Fill; this.gridDados.Dock = System.Windows.Forms.DockStyle.Fill;
this.gridDados.Location = new System.Drawing.Point(2, 2); this.gridDados.Location = new System.Drawing.Point(2, 2);
this.gridDados.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.gridDados.Margin = new System.Windows.Forms.Padding(2);
this.gridDados.Name = "gridDados"; this.gridDados.Name = "gridDados";
this.gridDados.RowHeadersWidth = 51; this.gridDados.RowHeadersWidth = 51;
this.gridDados.RowTemplate.Height = 24; this.gridDados.RowTemplate.Height = 24;
@ -382,9 +397,9 @@
// //
this.tabDeteccoes.Controls.Add(this.pnlDeteccoesRua); this.tabDeteccoes.Controls.Add(this.pnlDeteccoesRua);
this.tabDeteccoes.Location = new System.Drawing.Point(4, 22); this.tabDeteccoes.Location = new System.Drawing.Point(4, 22);
this.tabDeteccoes.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabDeteccoes.Margin = new System.Windows.Forms.Padding(2);
this.tabDeteccoes.Name = "tabDeteccoes"; this.tabDeteccoes.Name = "tabDeteccoes";
this.tabDeteccoes.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabDeteccoes.Padding = new System.Windows.Forms.Padding(2);
this.tabDeteccoes.Size = new System.Drawing.Size(463, 288); this.tabDeteccoes.Size = new System.Drawing.Size(463, 288);
this.tabDeteccoes.TabIndex = 2; this.tabDeteccoes.TabIndex = 2;
this.tabDeteccoes.Text = "Detecção rua"; this.tabDeteccoes.Text = "Detecção rua";
@ -395,7 +410,7 @@
this.pnlDeteccoesRua.Controls.Add(this.picSonar); this.pnlDeteccoesRua.Controls.Add(this.picSonar);
this.pnlDeteccoesRua.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlDeteccoesRua.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlDeteccoesRua.Location = new System.Drawing.Point(2, 2); this.pnlDeteccoesRua.Location = new System.Drawing.Point(2, 2);
this.pnlDeteccoesRua.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlDeteccoesRua.Margin = new System.Windows.Forms.Padding(2);
this.pnlDeteccoesRua.Name = "pnlDeteccoesRua"; this.pnlDeteccoesRua.Name = "pnlDeteccoesRua";
this.pnlDeteccoesRua.Size = new System.Drawing.Size(459, 284); this.pnlDeteccoesRua.Size = new System.Drawing.Size(459, 284);
this.pnlDeteccoesRua.TabIndex = 0; this.pnlDeteccoesRua.TabIndex = 0;
@ -403,7 +418,7 @@
// picSonar // picSonar
// //
this.picSonar.Location = new System.Drawing.Point(13, 13); this.picSonar.Location = new System.Drawing.Point(13, 13);
this.picSonar.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.picSonar.Margin = new System.Windows.Forms.Padding(2);
this.picSonar.Name = "picSonar"; this.picSonar.Name = "picSonar";
this.picSonar.Size = new System.Drawing.Size(434, 260); this.picSonar.Size = new System.Drawing.Size(434, 260);
this.picSonar.TabIndex = 0; this.picSonar.TabIndex = 0;
@ -416,9 +431,9 @@
this.tabPulverizador.Controls.Add(this.btnDesligarBomba); this.tabPulverizador.Controls.Add(this.btnDesligarBomba);
this.tabPulverizador.Controls.Add(this.btnLigarBomba); this.tabPulverizador.Controls.Add(this.btnLigarBomba);
this.tabPulverizador.Location = new System.Drawing.Point(4, 22); this.tabPulverizador.Location = new System.Drawing.Point(4, 22);
this.tabPulverizador.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPulverizador.Margin = new System.Windows.Forms.Padding(2);
this.tabPulverizador.Name = "tabPulverizador"; this.tabPulverizador.Name = "tabPulverizador";
this.tabPulverizador.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPulverizador.Padding = new System.Windows.Forms.Padding(2);
this.tabPulverizador.Size = new System.Drawing.Size(463, 288); this.tabPulverizador.Size = new System.Drawing.Size(463, 288);
this.tabPulverizador.TabIndex = 3; this.tabPulverizador.TabIndex = 3;
this.tabPulverizador.Text = "Pulverizador"; this.tabPulverizador.Text = "Pulverizador";
@ -439,7 +454,7 @@
// //
this.nudPressaoSP.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.nudPressaoSP.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.nudPressaoSP.Location = new System.Drawing.Point(18, 27); this.nudPressaoSP.Location = new System.Drawing.Point(18, 27);
this.nudPressaoSP.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.nudPressaoSP.Margin = new System.Windows.Forms.Padding(2);
this.nudPressaoSP.Maximum = new decimal(new int[] { this.nudPressaoSP.Maximum = new decimal(new int[] {
200, 200,
0, 0,
@ -455,7 +470,7 @@
// //
this.btnDesligarBomba.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDesligarBomba.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnDesligarBomba.Location = new System.Drawing.Point(244, 17); this.btnDesligarBomba.Location = new System.Drawing.Point(244, 17);
this.btnDesligarBomba.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnDesligarBomba.Margin = new System.Windows.Forms.Padding(2);
this.btnDesligarBomba.Name = "btnDesligarBomba"; this.btnDesligarBomba.Name = "btnDesligarBomba";
this.btnDesligarBomba.Size = new System.Drawing.Size(104, 28); this.btnDesligarBomba.Size = new System.Drawing.Size(104, 28);
this.btnDesligarBomba.TabIndex = 27; this.btnDesligarBomba.TabIndex = 27;
@ -467,7 +482,7 @@
// //
this.btnLigarBomba.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnLigarBomba.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnLigarBomba.Location = new System.Drawing.Point(118, 17); this.btnLigarBomba.Location = new System.Drawing.Point(118, 17);
this.btnLigarBomba.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnLigarBomba.Margin = new System.Windows.Forms.Padding(2);
this.btnLigarBomba.Name = "btnLigarBomba"; this.btnLigarBomba.Name = "btnLigarBomba";
this.btnLigarBomba.Size = new System.Drawing.Size(104, 28); this.btnLigarBomba.Size = new System.Drawing.Size(104, 28);
this.btnLigarBomba.TabIndex = 26; this.btnLigarBomba.TabIndex = 26;
@ -479,7 +494,7 @@
// //
this.pnlCameraRua.Controls.Add(this.picCameraRua); this.pnlCameraRua.Controls.Add(this.picCameraRua);
this.pnlCameraRua.Location = new System.Drawing.Point(140, 23); this.pnlCameraRua.Location = new System.Drawing.Point(140, 23);
this.pnlCameraRua.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlCameraRua.Margin = new System.Windows.Forms.Padding(2);
this.pnlCameraRua.Name = "pnlCameraRua"; this.pnlCameraRua.Name = "pnlCameraRua";
this.pnlCameraRua.Size = new System.Drawing.Size(357, 286); this.pnlCameraRua.Size = new System.Drawing.Size(357, 286);
this.pnlCameraRua.TabIndex = 22; this.pnlCameraRua.TabIndex = 22;
@ -489,7 +504,7 @@
this.picCameraRua.BackColor = System.Drawing.SystemColors.ButtonFace; this.picCameraRua.BackColor = System.Drawing.SystemColors.ButtonFace;
this.picCameraRua.Dock = System.Windows.Forms.DockStyle.Fill; this.picCameraRua.Dock = System.Windows.Forms.DockStyle.Fill;
this.picCameraRua.Location = new System.Drawing.Point(0, 0); this.picCameraRua.Location = new System.Drawing.Point(0, 0);
this.picCameraRua.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.picCameraRua.Margin = new System.Windows.Forms.Padding(2);
this.picCameraRua.Name = "picCameraRua"; this.picCameraRua.Name = "picCameraRua";
this.picCameraRua.Size = new System.Drawing.Size(357, 286); this.picCameraRua.Size = new System.Drawing.Size(357, 286);
this.picCameraRua.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.picCameraRua.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
@ -503,7 +518,7 @@
this.pnlDir_EF.Controls.Add(this.btnRef_EF); this.pnlDir_EF.Controls.Add(this.btnRef_EF);
this.pnlDir_EF.Controls.Add(this.lblDir_EF); this.pnlDir_EF.Controls.Add(this.lblDir_EF);
this.pnlDir_EF.Location = new System.Drawing.Point(0, 0); this.pnlDir_EF.Location = new System.Drawing.Point(0, 0);
this.pnlDir_EF.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlDir_EF.Margin = new System.Windows.Forms.Padding(2);
this.pnlDir_EF.Name = "pnlDir_EF"; this.pnlDir_EF.Name = "pnlDir_EF";
this.pnlDir_EF.Size = new System.Drawing.Size(150, 162); this.pnlDir_EF.Size = new System.Drawing.Size(150, 162);
this.pnlDir_EF.TabIndex = 23; this.pnlDir_EF.TabIndex = 23;
@ -513,7 +528,7 @@
this.chbLivre_EF.AutoSize = true; this.chbLivre_EF.AutoSize = true;
this.chbLivre_EF.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.chbLivre_EF.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.chbLivre_EF.Location = new System.Drawing.Point(101, 144); this.chbLivre_EF.Location = new System.Drawing.Point(101, 144);
this.chbLivre_EF.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.chbLivre_EF.Margin = new System.Windows.Forms.Padding(2);
this.chbLivre_EF.Name = "chbLivre_EF"; this.chbLivre_EF.Name = "chbLivre_EF";
this.chbLivre_EF.Size = new System.Drawing.Size(49, 17); this.chbLivre_EF.Size = new System.Drawing.Size(49, 17);
this.chbLivre_EF.TabIndex = 17; this.chbLivre_EF.TabIndex = 17;
@ -524,7 +539,7 @@
// //
this.chbCmd_EF.AutoSize = true; this.chbCmd_EF.AutoSize = true;
this.chbCmd_EF.Location = new System.Drawing.Point(3, 144); this.chbCmd_EF.Location = new System.Drawing.Point(3, 144);
this.chbCmd_EF.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.chbCmd_EF.Margin = new System.Windows.Forms.Padding(2);
this.chbCmd_EF.Name = "chbCmd_EF"; this.chbCmd_EF.Name = "chbCmd_EF";
this.chbCmd_EF.Size = new System.Drawing.Size(68, 17); this.chbCmd_EF.Size = new System.Drawing.Size(68, 17);
this.chbCmd_EF.TabIndex = 15; this.chbCmd_EF.TabIndex = 15;
@ -534,7 +549,7 @@
// btnRef_EF // btnRef_EF
// //
this.btnRef_EF.Location = new System.Drawing.Point(111, 2); this.btnRef_EF.Location = new System.Drawing.Point(111, 2);
this.btnRef_EF.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnRef_EF.Margin = new System.Windows.Forms.Padding(2);
this.btnRef_EF.Name = "btnRef_EF"; this.btnRef_EF.Name = "btnRef_EF";
this.btnRef_EF.Size = new System.Drawing.Size(37, 19); this.btnRef_EF.Size = new System.Drawing.Size(37, 19);
this.btnRef_EF.TabIndex = 13; this.btnRef_EF.TabIndex = 13;
@ -548,7 +563,7 @@
this.pnlDir_ET.Controls.Add(this.btnRef_ET); this.pnlDir_ET.Controls.Add(this.btnRef_ET);
this.pnlDir_ET.Controls.Add(this.lblDir_ET); this.pnlDir_ET.Controls.Add(this.lblDir_ET);
this.pnlDir_ET.Location = new System.Drawing.Point(0, 162); this.pnlDir_ET.Location = new System.Drawing.Point(0, 162);
this.pnlDir_ET.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlDir_ET.Margin = new System.Windows.Forms.Padding(2);
this.pnlDir_ET.Name = "pnlDir_ET"; this.pnlDir_ET.Name = "pnlDir_ET";
this.pnlDir_ET.Size = new System.Drawing.Size(150, 162); this.pnlDir_ET.Size = new System.Drawing.Size(150, 162);
this.pnlDir_ET.TabIndex = 24; this.pnlDir_ET.TabIndex = 24;
@ -558,7 +573,7 @@
this.chbLivre_ET.AutoSize = true; this.chbLivre_ET.AutoSize = true;
this.chbLivre_ET.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.chbLivre_ET.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.chbLivre_ET.Location = new System.Drawing.Point(101, 144); this.chbLivre_ET.Location = new System.Drawing.Point(101, 144);
this.chbLivre_ET.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.chbLivre_ET.Margin = new System.Windows.Forms.Padding(2);
this.chbLivre_ET.Name = "chbLivre_ET"; this.chbLivre_ET.Name = "chbLivre_ET";
this.chbLivre_ET.Size = new System.Drawing.Size(49, 17); this.chbLivre_ET.Size = new System.Drawing.Size(49, 17);
this.chbLivre_ET.TabIndex = 16; this.chbLivre_ET.TabIndex = 16;
@ -569,7 +584,7 @@
// //
this.chbCmd_ET.AutoSize = true; this.chbCmd_ET.AutoSize = true;
this.chbCmd_ET.Location = new System.Drawing.Point(3, 144); this.chbCmd_ET.Location = new System.Drawing.Point(3, 144);
this.chbCmd_ET.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.chbCmd_ET.Margin = new System.Windows.Forms.Padding(2);
this.chbCmd_ET.Name = "chbCmd_ET"; this.chbCmd_ET.Name = "chbCmd_ET";
this.chbCmd_ET.Size = new System.Drawing.Size(68, 17); this.chbCmd_ET.Size = new System.Drawing.Size(68, 17);
this.chbCmd_ET.TabIndex = 15; this.chbCmd_ET.TabIndex = 15;
@ -579,7 +594,7 @@
// btnRef_ET // btnRef_ET
// //
this.btnRef_ET.Location = new System.Drawing.Point(111, 2); this.btnRef_ET.Location = new System.Drawing.Point(111, 2);
this.btnRef_ET.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnRef_ET.Margin = new System.Windows.Forms.Padding(2);
this.btnRef_ET.Name = "btnRef_ET"; this.btnRef_ET.Name = "btnRef_ET";
this.btnRef_ET.Size = new System.Drawing.Size(37, 19); this.btnRef_ET.Size = new System.Drawing.Size(37, 19);
this.btnRef_ET.TabIndex = 13; this.btnRef_ET.TabIndex = 13;
@ -593,7 +608,7 @@
this.pnlDir_DT.Controls.Add(this.btnRef_DT); this.pnlDir_DT.Controls.Add(this.btnRef_DT);
this.pnlDir_DT.Controls.Add(this.lblDir_DT); this.pnlDir_DT.Controls.Add(this.lblDir_DT);
this.pnlDir_DT.Location = new System.Drawing.Point(486, 162); this.pnlDir_DT.Location = new System.Drawing.Point(486, 162);
this.pnlDir_DT.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlDir_DT.Margin = new System.Windows.Forms.Padding(2);
this.pnlDir_DT.Name = "pnlDir_DT"; this.pnlDir_DT.Name = "pnlDir_DT";
this.pnlDir_DT.Size = new System.Drawing.Size(150, 162); this.pnlDir_DT.Size = new System.Drawing.Size(150, 162);
this.pnlDir_DT.TabIndex = 24; this.pnlDir_DT.TabIndex = 24;
@ -603,7 +618,7 @@
this.chbLivre_DT.AutoSize = true; this.chbLivre_DT.AutoSize = true;
this.chbLivre_DT.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.chbLivre_DT.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.chbLivre_DT.Location = new System.Drawing.Point(101, 144); this.chbLivre_DT.Location = new System.Drawing.Point(101, 144);
this.chbLivre_DT.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.chbLivre_DT.Margin = new System.Windows.Forms.Padding(2);
this.chbLivre_DT.Name = "chbLivre_DT"; this.chbLivre_DT.Name = "chbLivre_DT";
this.chbLivre_DT.Size = new System.Drawing.Size(49, 17); this.chbLivre_DT.Size = new System.Drawing.Size(49, 17);
this.chbLivre_DT.TabIndex = 19; this.chbLivre_DT.TabIndex = 19;
@ -614,7 +629,7 @@
// //
this.chbCmd_DT.AutoSize = true; this.chbCmd_DT.AutoSize = true;
this.chbCmd_DT.Location = new System.Drawing.Point(3, 144); this.chbCmd_DT.Location = new System.Drawing.Point(3, 144);
this.chbCmd_DT.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.chbCmd_DT.Margin = new System.Windows.Forms.Padding(2);
this.chbCmd_DT.Name = "chbCmd_DT"; this.chbCmd_DT.Name = "chbCmd_DT";
this.chbCmd_DT.Size = new System.Drawing.Size(68, 17); this.chbCmd_DT.Size = new System.Drawing.Size(68, 17);
this.chbCmd_DT.TabIndex = 13; this.chbCmd_DT.TabIndex = 13;
@ -624,7 +639,7 @@
// btnRef_DT // btnRef_DT
// //
this.btnRef_DT.Location = new System.Drawing.Point(111, 2); this.btnRef_DT.Location = new System.Drawing.Point(111, 2);
this.btnRef_DT.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnRef_DT.Margin = new System.Windows.Forms.Padding(2);
this.btnRef_DT.Name = "btnRef_DT"; this.btnRef_DT.Name = "btnRef_DT";
this.btnRef_DT.Size = new System.Drawing.Size(37, 19); this.btnRef_DT.Size = new System.Drawing.Size(37, 19);
this.btnRef_DT.TabIndex = 12; this.btnRef_DT.TabIndex = 12;
@ -638,7 +653,7 @@
this.pnlDir_DF.Controls.Add(this.btnRef_DF); this.pnlDir_DF.Controls.Add(this.btnRef_DF);
this.pnlDir_DF.Controls.Add(this.lblDir_DF); this.pnlDir_DF.Controls.Add(this.lblDir_DF);
this.pnlDir_DF.Location = new System.Drawing.Point(486, 0); this.pnlDir_DF.Location = new System.Drawing.Point(486, 0);
this.pnlDir_DF.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pnlDir_DF.Margin = new System.Windows.Forms.Padding(2);
this.pnlDir_DF.Name = "pnlDir_DF"; this.pnlDir_DF.Name = "pnlDir_DF";
this.pnlDir_DF.Size = new System.Drawing.Size(150, 162); this.pnlDir_DF.Size = new System.Drawing.Size(150, 162);
this.pnlDir_DF.TabIndex = 24; this.pnlDir_DF.TabIndex = 24;
@ -648,7 +663,7 @@
this.chbLivre_DF.AutoSize = true; this.chbLivre_DF.AutoSize = true;
this.chbLivre_DF.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.chbLivre_DF.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.chbLivre_DF.Location = new System.Drawing.Point(101, 144); this.chbLivre_DF.Location = new System.Drawing.Point(101, 144);
this.chbLivre_DF.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.chbLivre_DF.Margin = new System.Windows.Forms.Padding(2);
this.chbLivre_DF.Name = "chbLivre_DF"; this.chbLivre_DF.Name = "chbLivre_DF";
this.chbLivre_DF.Size = new System.Drawing.Size(49, 17); this.chbLivre_DF.Size = new System.Drawing.Size(49, 17);
this.chbLivre_DF.TabIndex = 18; this.chbLivre_DF.TabIndex = 18;
@ -659,7 +674,7 @@
// //
this.chbCmd_DF.AutoSize = true; this.chbCmd_DF.AutoSize = true;
this.chbCmd_DF.Location = new System.Drawing.Point(3, 144); this.chbCmd_DF.Location = new System.Drawing.Point(3, 144);
this.chbCmd_DF.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.chbCmd_DF.Margin = new System.Windows.Forms.Padding(2);
this.chbCmd_DF.Name = "chbCmd_DF"; this.chbCmd_DF.Name = "chbCmd_DF";
this.chbCmd_DF.Size = new System.Drawing.Size(68, 17); this.chbCmd_DF.Size = new System.Drawing.Size(68, 17);
this.chbCmd_DF.TabIndex = 14; this.chbCmd_DF.TabIndex = 14;
@ -669,25 +684,13 @@
// btnRef_DF // btnRef_DF
// //
this.btnRef_DF.Location = new System.Drawing.Point(111, 2); this.btnRef_DF.Location = new System.Drawing.Point(111, 2);
this.btnRef_DF.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnRef_DF.Margin = new System.Windows.Forms.Padding(2);
this.btnRef_DF.Name = "btnRef_DF"; this.btnRef_DF.Name = "btnRef_DF";
this.btnRef_DF.Size = new System.Drawing.Size(37, 19); this.btnRef_DF.Size = new System.Drawing.Size(37, 19);
this.btnRef_DF.TabIndex = 13; this.btnRef_DF.TabIndex = 13;
this.btnRef_DF.Text = "REF"; this.btnRef_DF.Text = "REF";
this.btnRef_DF.UseVisualStyleBackColor = true; this.btnRef_DF.UseVisualStyleBackColor = true;
// //
// btnIniciarOperacao
//
this.btnIniciarOperacao.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnIniciarOperacao.Location = new System.Drawing.Point(1116, 588);
this.btnIniciarOperacao.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnIniciarOperacao.Name = "btnIniciarOperacao";
this.btnIniciarOperacao.Size = new System.Drawing.Size(113, 53);
this.btnIniciarOperacao.TabIndex = 25;
this.btnIniciarOperacao.Text = "Iniciar Operação";
this.btnIniciarOperacao.UseVisualStyleBackColor = true;
this.btnIniciarOperacao.Click += new System.EventHandler(this.btnIniciarOperacao_Click);
//
// lblDistanciaEsquerda // lblDistanciaEsquerda
// //
this.lblDistanciaEsquerda.AutoSize = true; this.lblDistanciaEsquerda.AutoSize = true;
@ -726,9 +729,9 @@
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White; this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(1238, 649); this.ClientSize = new System.Drawing.Size(1243, 649);
this.Controls.Add(this.chbSonar);
this.Controls.Add(this.btnIniciarOperacao); this.Controls.Add(this.btnIniciarOperacao);
this.Controls.Add(this.chbSonar);
this.Controls.Add(this.lblDistanciaEsquerda); this.Controls.Add(this.lblDistanciaEsquerda);
this.Controls.Add(this.tabControl1); this.Controls.Add(this.tabControl1);
this.Controls.Add(this.lblDistanciaDireita); this.Controls.Add(this.lblDistanciaDireita);
@ -740,7 +743,7 @@
this.Controls.Add(this.chartGraficos); this.Controls.Add(this.chartGraficos);
this.Controls.Add(this.pnlAtuadores); this.Controls.Add(this.pnlAtuadores);
this.Controls.Add(this.pnlCamerasSolo); this.Controls.Add(this.pnlCamerasSolo);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "frmOperacaoManual"; this.Name = "frmOperacaoManual";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Operação Manual"; this.Text = "Operação Manual";

View File

@ -139,7 +139,7 @@ namespace AgroBase.Forms.Operacoes
} }
Variaveis.OperacaoEmAndamento.DispDir.Dados.Motores.ForEach(Motor => Variaveis.OperacaoEmAndamento.DispDir.Dados.Motores.ForEach(Motor =>
{ {
Variaveis.OperacaoEmAndamento.DispDir.EnviarDadosSerial(Motor.ProtocoloComando(direcaoDesvio)); Variaveis.OperacaoEmAndamento.DispDir.AdicionarMensagemFila(Motor.ProtocoloComando(direcaoDesvio));
}); });
UltimoComandoDir = DateTime.Now; UltimoComandoDir = DateTime.Now;
} }
@ -349,7 +349,7 @@ namespace AgroBase.Forms.Operacoes
var Dispositivo = Variaveis.OperacaoEmAndamento.DispDir; var Dispositivo = Variaveis.OperacaoEmAndamento.DispDir;
var Motor = Dispositivo.Dados.Motores.FirstOrDefault(x => x.ID == ID); var Motor = Dispositivo.Dados.Motores.FirstOrDefault(x => x.ID == ID);
string Comando = Motor.ProtocoloComando(Direcao.Parado, true); string Comando = Motor.ProtocoloComando(Direcao.Parado, true);
Dispositivo.EnviarDadosSerial(Comando); Dispositivo.AdicionarMensagemFila(Comando);
} }
private void chbCmd_CheckedChanged(object sender, EventArgs e) private void chbCmd_CheckedChanged(object sender, EventArgs e)
@ -676,7 +676,7 @@ namespace AgroBase.Forms.Operacoes
{ {
Bico.Atuado = Bico.Atuado ? !Variaveis.OperacaoEmAndamento.DispAtu.Dados.AtuacaoNivelAlto : Variaveis.OperacaoEmAndamento.DispAtu.Dados.AtuacaoNivelAlto; Bico.Atuado = Bico.Atuado ? !Variaveis.OperacaoEmAndamento.DispAtu.Dados.AtuacaoNivelAlto : Variaveis.OperacaoEmAndamento.DispAtu.Dados.AtuacaoNivelAlto;
string Protocolo = Bico.ProtocoloComando(); string Protocolo = Bico.ProtocoloComando();
Variaveis.OperacaoEmAndamento.DispAtu.EnviarDadosSerial(Protocolo); Variaveis.OperacaoEmAndamento.DispAtu.AdicionarMensagemFila(Protocolo);
pnlAtuadores.Controls.OfType<Label>().First(x => x.Name == "lblCmd_" + ID).Text = "Comando: " + (Bico.Atuado ? "Ligado" : "Desligado"); pnlAtuadores.Controls.OfType<Label>().First(x => x.Name == "lblCmd_" + ID).Text = "Comando: " + (Bico.Atuado ? "Ligado" : "Desligado");
btn.Text = Bico.Atuado ? "Desligar" : "Ligar"; btn.Text = Bico.Atuado ? "Desligar" : "Ligar";
@ -704,7 +704,7 @@ namespace AgroBase.Forms.Operacoes
private void EnviarProtocoloComandoBomba() private void EnviarProtocoloComandoBomba()
{ {
string Protocolo = Variaveis.OperacaoEmAndamento.DispAtu.Dados.BombaPressurizadora.ProtocoloComando(); string Protocolo = Variaveis.OperacaoEmAndamento.DispAtu.Dados.BombaPressurizadora.ProtocoloComando();
Variaveis.OperacaoEmAndamento.DispAtu.EnviarDadosSerial(Protocolo); Variaveis.OperacaoEmAndamento.DispAtu.AdicionarMensagemFila(Protocolo);
} }
private void pnlAtuadores_Paint(object sender, PaintEventArgs e) private void pnlAtuadores_Paint(object sender, PaintEventArgs e)

View File

@ -376,7 +376,7 @@ namespace AgroBase.Forms
{ {
var Motor = ((DirecionalModel)Dispositivo.Dados).Motores.FirstOrDefault(x => x.ID == ID); var Motor = ((DirecionalModel)Dispositivo.Dados).Motores.FirstOrDefault(x => x.ID == ID);
string Comando = Motor.ProtocoloComando(Direcao.Parado, true); string Comando = Motor.ProtocoloComando(Direcao.Parado, true);
Dispositivo.EnviarDadosSerial(Comando); Dispositivo.AdicionarMensagemFila(Comando);
} }
} }

View File

@ -1,4 +1,5 @@
using AgroBase.Forms.Movimentacao; using AgroBase.Forms.Movimentacao;
using AgroBase.Services;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
@ -20,6 +21,7 @@ namespace AgroBase.Forms
public frmInstancial() public frmInstancial()
{ {
InitializeComponent(); InitializeComponent();
FilaService.Inicializar(false);
} }
private void frmInstancial_Shown(object sender, EventArgs e) private void frmInstancial_Shown(object sender, EventArgs e)

View File

@ -78,6 +78,7 @@ namespace AgroBase
this.gpbJoystick = new System.Windows.Forms.GroupBox(); this.gpbJoystick = new System.Windows.Forms.GroupBox();
this.gpbControleDirecional = new System.Windows.Forms.GroupBox(); this.gpbControleDirecional = new System.Windows.Forms.GroupBox();
this.gpbAtalhos = new System.Windows.Forms.GroupBox(); this.gpbAtalhos = new System.Windows.Forms.GroupBox();
this.btnSimulador = new System.Windows.Forms.Button();
this.btnSonar = new System.Windows.Forms.Button(); this.btnSonar = new System.Windows.Forms.Button();
this.btnAtuCalibragem = new System.Windows.Forms.Button(); this.btnAtuCalibragem = new System.Windows.Forms.Button();
this.btnContornos = new System.Windows.Forms.Button(); this.btnContornos = new System.Windows.Forms.Button();
@ -89,7 +90,6 @@ namespace AgroBase
this.btnIniciarOperacao = new System.Windows.Forms.Button(); this.btnIniciarOperacao = new System.Windows.Forms.Button();
this.lblModoOperacao = new System.Windows.Forms.Label(); this.lblModoOperacao = new System.Windows.Forms.Label();
this.cmbModoOperacao = new System.Windows.Forms.ComboBox(); this.cmbModoOperacao = new System.Windows.Forms.ComboBox();
this.btnSimulador = new System.Windows.Forms.Button();
this.gpbAcoes.SuspendLayout(); this.gpbAcoes.SuspendLayout();
this.erroStrip.SuspendLayout(); this.erroStrip.SuspendLayout();
this.pnlLateral.SuspendLayout(); this.pnlLateral.SuspendLayout();
@ -114,11 +114,11 @@ namespace AgroBase
this.gpbAcoes.Controls.Add(this.erroStrip); this.gpbAcoes.Controls.Add(this.erroStrip);
this.gpbAcoes.Controls.Add(this.pnlLateral); this.gpbAcoes.Controls.Add(this.pnlLateral);
this.gpbAcoes.Dock = System.Windows.Forms.DockStyle.Right; this.gpbAcoes.Dock = System.Windows.Forms.DockStyle.Right;
this.gpbAcoes.Location = new System.Drawing.Point(588, 0); this.gpbAcoes.Location = new System.Drawing.Point(441, 0);
this.gpbAcoes.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbAcoes.Margin = new System.Windows.Forms.Padding(2);
this.gpbAcoes.Name = "gpbAcoes"; this.gpbAcoes.Name = "gpbAcoes";
this.gpbAcoes.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbAcoes.Padding = new System.Windows.Forms.Padding(2);
this.gpbAcoes.Size = new System.Drawing.Size(823, 750); this.gpbAcoes.Size = new System.Drawing.Size(587, 609);
this.gpbAcoes.TabIndex = 0; this.gpbAcoes.TabIndex = 0;
this.gpbAcoes.TabStop = false; this.gpbAcoes.TabStop = false;
this.gpbAcoes.Text = "Conexão"; this.gpbAcoes.Text = "Conexão";
@ -128,17 +128,17 @@ namespace AgroBase
this.erroStrip.ImageScalingSize = new System.Drawing.Size(20, 20); this.erroStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
this.erroStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.erroStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lblStripErro}); this.lblStripErro});
this.erroStrip.Location = new System.Drawing.Point(3, 722); this.erroStrip.Location = new System.Drawing.Point(2, 585);
this.erroStrip.Name = "erroStrip"; this.erroStrip.Name = "erroStrip";
this.erroStrip.Padding = new System.Windows.Forms.Padding(1, 0, 13, 0); this.erroStrip.Padding = new System.Windows.Forms.Padding(1, 0, 10, 0);
this.erroStrip.Size = new System.Drawing.Size(817, 26); this.erroStrip.Size = new System.Drawing.Size(583, 22);
this.erroStrip.TabIndex = 1; this.erroStrip.TabIndex = 1;
this.erroStrip.Text = "statusStrip1"; this.erroStrip.Text = "statusStrip1";
// //
// lblStripErro // lblStripErro
// //
this.lblStripErro.Name = "lblStripErro"; this.lblStripErro.Name = "lblStripErro";
this.lblStripErro.Size = new System.Drawing.Size(62, 20); this.lblStripErro.Size = new System.Drawing.Size(49, 17);
this.lblStripErro.Text = "Iniciado"; this.lblStripErro.Text = "Iniciado";
// //
// pnlLateral // pnlLateral
@ -152,19 +152,18 @@ namespace AgroBase
this.pnlLateral.Controls.Add(this.gpbNovoDispositivo); this.pnlLateral.Controls.Add(this.gpbNovoDispositivo);
this.pnlLateral.Controls.Add(this.btnNovoDispositivo); this.pnlLateral.Controls.Add(this.btnNovoDispositivo);
this.pnlLateral.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlLateral.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlLateral.Location = new System.Drawing.Point(3, 17); this.pnlLateral.Location = new System.Drawing.Point(2, 15);
this.pnlLateral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.pnlLateral.Margin = new System.Windows.Forms.Padding(2);
this.pnlLateral.Name = "pnlLateral"; this.pnlLateral.Name = "pnlLateral";
this.pnlLateral.Size = new System.Drawing.Size(817, 731); this.pnlLateral.Size = new System.Drawing.Size(583, 592);
this.pnlLateral.TabIndex = 0; this.pnlLateral.TabIndex = 0;
// //
// chbConexaoautomatica // chbConexaoautomatica
// //
this.chbConexaoautomatica.AutoSize = true; this.chbConexaoautomatica.AutoSize = true;
this.chbConexaoautomatica.Location = new System.Drawing.Point(229, 34); this.chbConexaoautomatica.Location = new System.Drawing.Point(172, 28);
this.chbConexaoautomatica.Margin = new System.Windows.Forms.Padding(4);
this.chbConexaoautomatica.Name = "chbConexaoautomatica"; this.chbConexaoautomatica.Name = "chbConexaoautomatica";
this.chbConexaoautomatica.Size = new System.Drawing.Size(152, 20); this.chbConexaoautomatica.Size = new System.Drawing.Size(123, 17);
this.chbConexaoautomatica.TabIndex = 21; this.chbConexaoautomatica.TabIndex = 21;
this.chbConexaoautomatica.Text = "Conexão automática"; this.chbConexaoautomatica.Text = "Conexão automática";
this.chbConexaoautomatica.UseVisualStyleBackColor = true; this.chbConexaoautomatica.UseVisualStyleBackColor = true;
@ -172,11 +171,11 @@ namespace AgroBase
// gpbDispositivos // gpbDispositivos
// //
this.gpbDispositivos.Controls.Add(this.lstDisponiveis); this.gpbDispositivos.Controls.Add(this.lstDisponiveis);
this.gpbDispositivos.Location = new System.Drawing.Point(215, 96); this.gpbDispositivos.Location = new System.Drawing.Point(161, 78);
this.gpbDispositivos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbDispositivos.Margin = new System.Windows.Forms.Padding(2);
this.gpbDispositivos.Name = "gpbDispositivos"; this.gpbDispositivos.Name = "gpbDispositivos";
this.gpbDispositivos.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbDispositivos.Padding = new System.Windows.Forms.Padding(2);
this.gpbDispositivos.Size = new System.Drawing.Size(599, 164); this.gpbDispositivos.Size = new System.Drawing.Size(413, 133);
this.gpbDispositivos.TabIndex = 3; this.gpbDispositivos.TabIndex = 3;
this.gpbDispositivos.TabStop = false; this.gpbDispositivos.TabStop = false;
this.gpbDispositivos.Text = "Dispositivos disponíveis"; this.gpbDispositivos.Text = "Dispositivos disponíveis";
@ -184,20 +183,20 @@ namespace AgroBase
// lstDisponiveis // lstDisponiveis
// //
this.lstDisponiveis.HideSelection = false; this.lstDisponiveis.HideSelection = false;
this.lstDisponiveis.Location = new System.Drawing.Point(15, 25); this.lstDisponiveis.Location = new System.Drawing.Point(11, 20);
this.lstDisponiveis.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.lstDisponiveis.Margin = new System.Windows.Forms.Padding(2);
this.lstDisponiveis.Name = "lstDisponiveis"; this.lstDisponiveis.Name = "lstDisponiveis";
this.lstDisponiveis.Size = new System.Drawing.Size(335, 125); this.lstDisponiveis.Size = new System.Drawing.Size(252, 102);
this.lstDisponiveis.TabIndex = 0; this.lstDisponiveis.TabIndex = 0;
this.lstDisponiveis.UseCompatibleStateImageBehavior = false; this.lstDisponiveis.UseCompatibleStateImageBehavior = false;
this.lstDisponiveis.View = System.Windows.Forms.View.List; this.lstDisponiveis.View = System.Windows.Forms.View.List;
// //
// btnRemover // btnRemover
// //
this.btnRemover.Location = new System.Drawing.Point(116, 62); this.btnRemover.Location = new System.Drawing.Point(87, 50);
this.btnRemover.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnRemover.Margin = new System.Windows.Forms.Padding(2);
this.btnRemover.Name = "btnRemover"; this.btnRemover.Name = "btnRemover";
this.btnRemover.Size = new System.Drawing.Size(83, 28); this.btnRemover.Size = new System.Drawing.Size(62, 23);
this.btnRemover.TabIndex = 12; this.btnRemover.TabIndex = 12;
this.btnRemover.Text = "Remover"; this.btnRemover.Text = "Remover";
this.btnRemover.UseVisualStyleBackColor = true; this.btnRemover.UseVisualStyleBackColor = true;
@ -206,9 +205,10 @@ namespace AgroBase
// lblDispositivos // lblDispositivos
// //
this.lblDispositivos.AutoSize = true; this.lblDispositivos.AutoSize = true;
this.lblDispositivos.Location = new System.Drawing.Point(27, 12); this.lblDispositivos.Location = new System.Drawing.Point(20, 10);
this.lblDispositivos.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblDispositivos.Name = "lblDispositivos"; this.lblDispositivos.Name = "lblDispositivos";
this.lblDispositivos.Size = new System.Drawing.Size(81, 16); this.lblDispositivos.Size = new System.Drawing.Size(63, 13);
this.lblDispositivos.TabIndex = 11; this.lblDispositivos.TabIndex = 11;
this.lblDispositivos.Text = "Dispositivos"; this.lblDispositivos.Text = "Dispositivos";
// //
@ -216,10 +216,10 @@ namespace AgroBase
// //
this.cmbDispositivos.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbDispositivos.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbDispositivos.FormattingEnabled = true; this.cmbDispositivos.FormattingEnabled = true;
this.cmbDispositivos.Location = new System.Drawing.Point(29, 32); this.cmbDispositivos.Location = new System.Drawing.Point(22, 26);
this.cmbDispositivos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cmbDispositivos.Margin = new System.Windows.Forms.Padding(2);
this.cmbDispositivos.Name = "cmbDispositivos"; this.cmbDispositivos.Name = "cmbDispositivos";
this.cmbDispositivos.Size = new System.Drawing.Size(169, 24); this.cmbDispositivos.Size = new System.Drawing.Size(128, 21);
this.cmbDispositivos.TabIndex = 10; this.cmbDispositivos.TabIndex = 10;
this.cmbDispositivos.SelectedIndexChanged += new System.EventHandler(this.cmbDispositivos_SelectedIndexChanged); this.cmbDispositivos.SelectedIndexChanged += new System.EventHandler(this.cmbDispositivos_SelectedIndexChanged);
// //
@ -231,11 +231,11 @@ namespace AgroBase
this.gpbNovoDispositivo.Controls.Add(this.lblDescricao); this.gpbNovoDispositivo.Controls.Add(this.lblDescricao);
this.gpbNovoDispositivo.Controls.Add(this.lblTipo); this.gpbNovoDispositivo.Controls.Add(this.lblTipo);
this.gpbNovoDispositivo.Enabled = false; this.gpbNovoDispositivo.Enabled = false;
this.gpbNovoDispositivo.Location = new System.Drawing.Point(21, 96); this.gpbNovoDispositivo.Location = new System.Drawing.Point(16, 78);
this.gpbNovoDispositivo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbNovoDispositivo.Margin = new System.Windows.Forms.Padding(2);
this.gpbNovoDispositivo.Name = "gpbNovoDispositivo"; this.gpbNovoDispositivo.Name = "gpbNovoDispositivo";
this.gpbNovoDispositivo.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbNovoDispositivo.Padding = new System.Windows.Forms.Padding(2);
this.gpbNovoDispositivo.Size = new System.Drawing.Size(188, 164); this.gpbNovoDispositivo.Size = new System.Drawing.Size(141, 133);
this.gpbNovoDispositivo.TabIndex = 9; this.gpbNovoDispositivo.TabIndex = 9;
this.gpbNovoDispositivo.TabStop = false; this.gpbNovoDispositivo.TabStop = false;
this.gpbNovoDispositivo.Text = "Novo Dispositivo"; this.gpbNovoDispositivo.Text = "Novo Dispositivo";
@ -244,18 +244,18 @@ namespace AgroBase
// //
this.cmbTipos.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbTipos.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbTipos.FormattingEnabled = true; this.cmbTipos.FormattingEnabled = true;
this.cmbTipos.Location = new System.Drawing.Point(9, 46); this.cmbTipos.Location = new System.Drawing.Point(7, 37);
this.cmbTipos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cmbTipos.Margin = new System.Windows.Forms.Padding(2);
this.cmbTipos.Name = "cmbTipos"; this.cmbTipos.Name = "cmbTipos";
this.cmbTipos.Size = new System.Drawing.Size(169, 24); this.cmbTipos.Size = new System.Drawing.Size(128, 21);
this.cmbTipos.TabIndex = 2; this.cmbTipos.TabIndex = 2;
// //
// btnSalvar // btnSalvar
// //
this.btnSalvar.Location = new System.Drawing.Point(9, 124); this.btnSalvar.Location = new System.Drawing.Point(7, 101);
this.btnSalvar.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnSalvar.Margin = new System.Windows.Forms.Padding(2);
this.btnSalvar.Name = "btnSalvar"; this.btnSalvar.Name = "btnSalvar";
this.btnSalvar.Size = new System.Drawing.Size(169, 25); this.btnSalvar.Size = new System.Drawing.Size(127, 20);
this.btnSalvar.TabIndex = 9; this.btnSalvar.TabIndex = 9;
this.btnSalvar.Text = "Salvar"; this.btnSalvar.Text = "Salvar";
this.btnSalvar.UseVisualStyleBackColor = true; this.btnSalvar.UseVisualStyleBackColor = true;
@ -263,36 +263,38 @@ namespace AgroBase
// //
// txtDescricao // txtDescricao
// //
this.txtDescricao.Location = new System.Drawing.Point(9, 94); this.txtDescricao.Location = new System.Drawing.Point(7, 76);
this.txtDescricao.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txtDescricao.Margin = new System.Windows.Forms.Padding(2);
this.txtDescricao.Name = "txtDescricao"; this.txtDescricao.Name = "txtDescricao";
this.txtDescricao.Size = new System.Drawing.Size(169, 22); this.txtDescricao.Size = new System.Drawing.Size(128, 20);
this.txtDescricao.TabIndex = 3; this.txtDescricao.TabIndex = 3;
// //
// lblDescricao // lblDescricao
// //
this.lblDescricao.AutoSize = true; this.lblDescricao.AutoSize = true;
this.lblDescricao.Location = new System.Drawing.Point(5, 74); this.lblDescricao.Location = new System.Drawing.Point(4, 60);
this.lblDescricao.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblDescricao.Name = "lblDescricao"; this.lblDescricao.Name = "lblDescricao";
this.lblDescricao.Size = new System.Drawing.Size(69, 16); this.lblDescricao.Size = new System.Drawing.Size(55, 13);
this.lblDescricao.TabIndex = 2; this.lblDescricao.TabIndex = 2;
this.lblDescricao.Text = "Descrição"; this.lblDescricao.Text = "Descrição";
// //
// lblTipo // lblTipo
// //
this.lblTipo.AutoSize = true; this.lblTipo.AutoSize = true;
this.lblTipo.Location = new System.Drawing.Point(5, 25); this.lblTipo.Location = new System.Drawing.Point(4, 20);
this.lblTipo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblTipo.Name = "lblTipo"; this.lblTipo.Name = "lblTipo";
this.lblTipo.Size = new System.Drawing.Size(35, 16); this.lblTipo.Size = new System.Drawing.Size(28, 13);
this.lblTipo.TabIndex = 0; this.lblTipo.TabIndex = 0;
this.lblTipo.Text = "Tipo"; this.lblTipo.Text = "Tipo";
// //
// btnNovoDispositivo // btnNovoDispositivo
// //
this.btnNovoDispositivo.Location = new System.Drawing.Point(29, 62); this.btnNovoDispositivo.Location = new System.Drawing.Point(22, 50);
this.btnNovoDispositivo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnNovoDispositivo.Margin = new System.Windows.Forms.Padding(2);
this.btnNovoDispositivo.Name = "btnNovoDispositivo"; this.btnNovoDispositivo.Name = "btnNovoDispositivo";
this.btnNovoDispositivo.Size = new System.Drawing.Size(80, 28); this.btnNovoDispositivo.Size = new System.Drawing.Size(60, 23);
this.btnNovoDispositivo.TabIndex = 8; this.btnNovoDispositivo.TabIndex = 8;
this.btnNovoDispositivo.Text = "Novo dispositivo"; this.btnNovoDispositivo.Text = "Novo dispositivo";
this.btnNovoDispositivo.UseVisualStyleBackColor = true; this.btnNovoDispositivo.UseVisualStyleBackColor = true;
@ -307,41 +309,41 @@ namespace AgroBase
this.lblStripOperacao, this.lblStripOperacao,
this.lblStripOperacaoStatus, this.lblStripOperacaoStatus,
this.lblStripMqtt}); this.lblStripMqtt});
this.generalStrip.Location = new System.Drawing.Point(0, 724); this.generalStrip.Location = new System.Drawing.Point(0, 587);
this.generalStrip.Name = "generalStrip"; this.generalStrip.Name = "generalStrip";
this.generalStrip.Padding = new System.Windows.Forms.Padding(1, 0, 13, 0); this.generalStrip.Padding = new System.Windows.Forms.Padding(1, 0, 10, 0);
this.generalStrip.Size = new System.Drawing.Size(588, 26); this.generalStrip.Size = new System.Drawing.Size(441, 22);
this.generalStrip.TabIndex = 1; this.generalStrip.TabIndex = 1;
this.generalStrip.Text = "statusStrip1"; this.generalStrip.Text = "statusStrip1";
// //
// lblStripJoystick // lblStripJoystick
// //
this.lblStripJoystick.Name = "lblStripJoystick"; this.lblStripJoystick.Name = "lblStripJoystick";
this.lblStripJoystick.Size = new System.Drawing.Size(161, 20); this.lblStripJoystick.Size = new System.Drawing.Size(129, 17);
this.lblStripJoystick.Text = "Joystick: Desconectado"; this.lblStripJoystick.Text = "Joystick: Desconectado";
// //
// lblStripJoystickComando // lblStripJoystickComando
// //
this.lblStripJoystickComando.Name = "lblStripJoystickComando"; this.lblStripJoystickComando.Name = "lblStripJoystickComando";
this.lblStripJoystickComando.Size = new System.Drawing.Size(18, 20); this.lblStripJoystickComando.Size = new System.Drawing.Size(16, 17);
this.lblStripJoystickComando.Text = "..."; this.lblStripJoystickComando.Text = "...";
// //
// lblStripOperacao // lblStripOperacao
// //
this.lblStripOperacao.Name = "lblStripOperacao"; this.lblStripOperacao.Name = "lblStripOperacao";
this.lblStripOperacao.Size = new System.Drawing.Size(130, 20); this.lblStripOperacao.Size = new System.Drawing.Size(104, 17);
this.lblStripOperacao.Text = "Operação: Manual"; this.lblStripOperacao.Text = "Operação: Manual";
// //
// lblStripOperacaoStatus // lblStripOperacaoStatus
// //
this.lblStripOperacaoStatus.Name = "lblStripOperacaoStatus"; this.lblStripOperacaoStatus.Name = "lblStripOperacaoStatus";
this.lblStripOperacaoStatus.Size = new System.Drawing.Size(94, 20); this.lblStripOperacaoStatus.Size = new System.Drawing.Size(74, 17);
this.lblStripOperacaoStatus.Text = "Não iniciado"; this.lblStripOperacaoStatus.Text = "Não iniciado";
// //
// lblStripMqtt // lblStripMqtt
// //
this.lblStripMqtt.Name = "lblStripMqtt"; this.lblStripMqtt.Name = "lblStripMqtt";
this.lblStripMqtt.Size = new System.Drawing.Size(150, 20); this.lblStripMqtt.Size = new System.Drawing.Size(119, 15);
this.lblStripMqtt.Text = "MQTT: Desconectado"; this.lblStripMqtt.Text = "MQTT: Desconectado";
// //
// gpbMovimentacao // gpbMovimentacao
@ -350,11 +352,11 @@ namespace AgroBase
this.gpbMovimentacao.Controls.Add(this.trkKmh); this.gpbMovimentacao.Controls.Add(this.trkKmh);
this.gpbMovimentacao.Controls.Add(this.trkRPM); this.gpbMovimentacao.Controls.Add(this.trkRPM);
this.gpbMovimentacao.Controls.Add(this.lblRPM); this.gpbMovimentacao.Controls.Add(this.lblRPM);
this.gpbMovimentacao.Location = new System.Drawing.Point(12, 78); this.gpbMovimentacao.Location = new System.Drawing.Point(9, 63);
this.gpbMovimentacao.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbMovimentacao.Margin = new System.Windows.Forms.Padding(2);
this.gpbMovimentacao.Name = "gpbMovimentacao"; this.gpbMovimentacao.Name = "gpbMovimentacao";
this.gpbMovimentacao.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbMovimentacao.Padding = new System.Windows.Forms.Padding(2);
this.gpbMovimentacao.Size = new System.Drawing.Size(440, 105); this.gpbMovimentacao.Size = new System.Drawing.Size(330, 85);
this.gpbMovimentacao.TabIndex = 2; this.gpbMovimentacao.TabIndex = 2;
this.gpbMovimentacao.TabStop = false; this.gpbMovimentacao.TabStop = false;
this.gpbMovimentacao.Text = "Controle Movimentação"; this.gpbMovimentacao.Text = "Controle Movimentação";
@ -362,19 +364,20 @@ namespace AgroBase
// lblKmh // lblKmh
// //
this.lblKmh.AutoSize = true; this.lblKmh.AutoSize = true;
this.lblKmh.Location = new System.Drawing.Point(221, 25); this.lblKmh.Location = new System.Drawing.Point(166, 20);
this.lblKmh.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblKmh.Name = "lblKmh"; this.lblKmh.Name = "lblKmh";
this.lblKmh.Size = new System.Drawing.Size(122, 16); this.lblKmh.Size = new System.Drawing.Size(100, 13);
this.lblKmh.TabIndex = 23; this.lblKmh.TabIndex = 23;
this.lblKmh.Text = "Velocidade: 3 km/h"; this.lblKmh.Text = "Velocidade: 3 km/h";
// //
// trkKmh // trkKmh
// //
this.trkKmh.Location = new System.Drawing.Point(224, 46); this.trkKmh.Location = new System.Drawing.Point(168, 37);
this.trkKmh.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.trkKmh.Margin = new System.Windows.Forms.Padding(2);
this.trkKmh.Maximum = 34; this.trkKmh.Maximum = 34;
this.trkKmh.Name = "trkKmh"; this.trkKmh.Name = "trkKmh";
this.trkKmh.Size = new System.Drawing.Size(211, 56); this.trkKmh.Size = new System.Drawing.Size(158, 45);
this.trkKmh.TabIndex = 22; this.trkKmh.TabIndex = 22;
this.trkKmh.TickFrequency = 2; this.trkKmh.TickFrequency = 2;
this.trkKmh.Value = 3; this.trkKmh.Value = 3;
@ -382,12 +385,12 @@ namespace AgroBase
// //
// trkRPM // trkRPM
// //
this.trkRPM.Location = new System.Drawing.Point(5, 46); this.trkRPM.Location = new System.Drawing.Point(4, 37);
this.trkRPM.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.trkRPM.Margin = new System.Windows.Forms.Padding(2);
this.trkRPM.Maximum = 500; this.trkRPM.Maximum = 500;
this.trkRPM.Minimum = 5; this.trkRPM.Minimum = 5;
this.trkRPM.Name = "trkRPM"; this.trkRPM.Name = "trkRPM";
this.trkRPM.Size = new System.Drawing.Size(211, 56); this.trkRPM.Size = new System.Drawing.Size(158, 45);
this.trkRPM.TabIndex = 20; this.trkRPM.TabIndex = 20;
this.trkRPM.TickFrequency = 20; this.trkRPM.TickFrequency = 20;
this.trkRPM.Value = 5; this.trkRPM.Value = 5;
@ -396,19 +399,20 @@ namespace AgroBase
// lblRPM // lblRPM
// //
this.lblRPM.AutoSize = true; this.lblRPM.AutoSize = true;
this.lblRPM.Location = new System.Drawing.Point(3, 25); this.lblRPM.Location = new System.Drawing.Point(2, 20);
this.lblRPM.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblRPM.Name = "lblRPM"; this.lblRPM.Name = "lblRPM";
this.lblRPM.Size = new System.Drawing.Size(50, 16); this.lblRPM.Size = new System.Drawing.Size(43, 13);
this.lblRPM.TabIndex = 21; this.lblRPM.TabIndex = 21;
this.lblRPM.Text = "RPM: 5"; this.lblRPM.Text = "RPM: 5";
// //
// tkbAngulo // tkbAngulo
// //
this.tkbAngulo.Location = new System.Drawing.Point(5, 117); this.tkbAngulo.Location = new System.Drawing.Point(4, 95);
this.tkbAngulo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tkbAngulo.Margin = new System.Windows.Forms.Padding(2);
this.tkbAngulo.Maximum = 180; this.tkbAngulo.Maximum = 180;
this.tkbAngulo.Name = "tkbAngulo"; this.tkbAngulo.Name = "tkbAngulo";
this.tkbAngulo.Size = new System.Drawing.Size(419, 56); this.tkbAngulo.Size = new System.Drawing.Size(314, 45);
this.tkbAngulo.TabIndex = 17; this.tkbAngulo.TabIndex = 17;
this.tkbAngulo.TickFrequency = 5; this.tkbAngulo.TickFrequency = 5;
this.tkbAngulo.ValueChanged += new System.EventHandler(this.tkbRampa_ValueChanged); this.tkbAngulo.ValueChanged += new System.EventHandler(this.tkbRampa_ValueChanged);
@ -416,29 +420,31 @@ namespace AgroBase
// lblAngulo // lblAngulo
// //
this.lblAngulo.AutoSize = true; this.lblAngulo.AutoSize = true;
this.lblAngulo.Location = new System.Drawing.Point(3, 97); this.lblAngulo.Location = new System.Drawing.Point(2, 79);
this.lblAngulo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblAngulo.Name = "lblAngulo"; this.lblAngulo.Name = "lblAngulo";
this.lblAngulo.Size = new System.Drawing.Size(67, 16); this.lblAngulo.Size = new System.Drawing.Size(56, 13);
this.lblAngulo.TabIndex = 16; this.lblAngulo.TabIndex = 16;
this.lblAngulo.Text = "Angulo: 0º"; this.lblAngulo.Text = "Angulo: 0º";
// //
// lblVelocidade // lblVelocidade
// //
this.lblVelocidade.AutoSize = true; this.lblVelocidade.AutoSize = true;
this.lblVelocidade.Location = new System.Drawing.Point(3, 23); this.lblVelocidade.Location = new System.Drawing.Point(2, 19);
this.lblVelocidade.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblVelocidade.Name = "lblVelocidade"; this.lblVelocidade.Name = "lblVelocidade";
this.lblVelocidade.Size = new System.Drawing.Size(102, 16); this.lblVelocidade.Size = new System.Drawing.Size(80, 13);
this.lblVelocidade.TabIndex = 15; this.lblVelocidade.TabIndex = 15;
this.lblVelocidade.Text = "Velocidade: 1%"; this.lblVelocidade.Text = "Velocidade: 1%";
// //
// tkbVelocidade // tkbVelocidade
// //
this.tkbVelocidade.Location = new System.Drawing.Point(5, 43); this.tkbVelocidade.Location = new System.Drawing.Point(4, 35);
this.tkbVelocidade.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tkbVelocidade.Margin = new System.Windows.Forms.Padding(2);
this.tkbVelocidade.Maximum = 100; this.tkbVelocidade.Maximum = 100;
this.tkbVelocidade.Minimum = 1; this.tkbVelocidade.Minimum = 1;
this.tkbVelocidade.Name = "tkbVelocidade"; this.tkbVelocidade.Name = "tkbVelocidade";
this.tkbVelocidade.Size = new System.Drawing.Size(419, 56); this.tkbVelocidade.Size = new System.Drawing.Size(314, 45);
this.tkbVelocidade.TabIndex = 14; this.tkbVelocidade.TabIndex = 14;
this.tkbVelocidade.TickFrequency = 5; this.tkbVelocidade.TickFrequency = 5;
this.tkbVelocidade.Value = 1; this.tkbVelocidade.Value = 1;
@ -446,10 +452,10 @@ namespace AgroBase
// //
// btnVer // btnVer
// //
this.btnVer.Location = new System.Drawing.Point(341, 25); this.btnVer.Location = new System.Drawing.Point(256, 20);
this.btnVer.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnVer.Margin = new System.Windows.Forms.Padding(2);
this.btnVer.Name = "btnVer"; this.btnVer.Name = "btnVer";
this.btnVer.Size = new System.Drawing.Size(84, 25); this.btnVer.Size = new System.Drawing.Size(63, 20);
this.btnVer.TabIndex = 13; this.btnVer.TabIndex = 13;
this.btnVer.Text = "Ver"; this.btnVer.Text = "Ver";
this.btnVer.UseVisualStyleBackColor = true; this.btnVer.UseVisualStyleBackColor = true;
@ -457,10 +463,10 @@ namespace AgroBase
// //
// btnJoyAtt // btnJoyAtt
// //
this.btnJoyAtt.Location = new System.Drawing.Point(161, 25); this.btnJoyAtt.Location = new System.Drawing.Point(121, 20);
this.btnJoyAtt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnJoyAtt.Margin = new System.Windows.Forms.Padding(2);
this.btnJoyAtt.Name = "btnJoyAtt"; this.btnJoyAtt.Name = "btnJoyAtt";
this.btnJoyAtt.Size = new System.Drawing.Size(84, 25); this.btnJoyAtt.Size = new System.Drawing.Size(63, 20);
this.btnJoyAtt.TabIndex = 12; this.btnJoyAtt.TabIndex = 12;
this.btnJoyAtt.Text = "Atualizar"; this.btnJoyAtt.Text = "Atualizar";
this.btnJoyAtt.UseVisualStyleBackColor = true; this.btnJoyAtt.UseVisualStyleBackColor = true;
@ -468,10 +474,10 @@ namespace AgroBase
// //
// btnJoyEdt // btnJoyEdt
// //
this.btnJoyEdt.Location = new System.Drawing.Point(251, 25); this.btnJoyEdt.Location = new System.Drawing.Point(188, 20);
this.btnJoyEdt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnJoyEdt.Margin = new System.Windows.Forms.Padding(2);
this.btnJoyEdt.Name = "btnJoyEdt"; this.btnJoyEdt.Name = "btnJoyEdt";
this.btnJoyEdt.Size = new System.Drawing.Size(84, 25); this.btnJoyEdt.Size = new System.Drawing.Size(63, 20);
this.btnJoyEdt.TabIndex = 11; this.btnJoyEdt.TabIndex = 11;
this.btnJoyEdt.Text = "Editar"; this.btnJoyEdt.Text = "Editar";
this.btnJoyEdt.UseVisualStyleBackColor = true; this.btnJoyEdt.UseVisualStyleBackColor = true;
@ -481,10 +487,10 @@ namespace AgroBase
// //
this.cmbJoysticks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbJoysticks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbJoysticks.FormattingEnabled = true; this.cmbJoysticks.FormattingEnabled = true;
this.cmbJoysticks.Location = new System.Drawing.Point(5, 26); this.cmbJoysticks.Location = new System.Drawing.Point(4, 21);
this.cmbJoysticks.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cmbJoysticks.Margin = new System.Windows.Forms.Padding(2);
this.cmbJoysticks.Name = "cmbJoysticks"; this.cmbJoysticks.Name = "cmbJoysticks";
this.cmbJoysticks.Size = new System.Drawing.Size(148, 24); this.cmbJoysticks.Size = new System.Drawing.Size(112, 21);
this.cmbJoysticks.TabIndex = 3; this.cmbJoysticks.TabIndex = 3;
// //
// timerDispositivos // timerDispositivos
@ -499,11 +505,11 @@ namespace AgroBase
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.gpbSensoriamento.Controls.Add(this.lblSenMotores); this.gpbSensoriamento.Controls.Add(this.lblSenMotores);
this.gpbSensoriamento.Controls.Add(this.gridSenMotores); this.gpbSensoriamento.Controls.Add(this.gridSenMotores);
this.gpbSensoriamento.Location = new System.Drawing.Point(12, 508); this.gpbSensoriamento.Location = new System.Drawing.Point(9, 413);
this.gpbSensoriamento.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbSensoriamento.Margin = new System.Windows.Forms.Padding(2);
this.gpbSensoriamento.Name = "gpbSensoriamento"; this.gpbSensoriamento.Name = "gpbSensoriamento";
this.gpbSensoriamento.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbSensoriamento.Padding = new System.Windows.Forms.Padding(2);
this.gpbSensoriamento.Size = new System.Drawing.Size(564, 212); this.gpbSensoriamento.Size = new System.Drawing.Size(428, 172);
this.gpbSensoriamento.TabIndex = 13; this.gpbSensoriamento.TabIndex = 13;
this.gpbSensoriamento.TabStop = false; this.gpbSensoriamento.TabStop = false;
this.gpbSensoriamento.Text = "Sensoriamento"; this.gpbSensoriamento.Text = "Sensoriamento";
@ -511,9 +517,10 @@ namespace AgroBase
// lblSenMotores // lblSenMotores
// //
this.lblSenMotores.AutoSize = true; this.lblSenMotores.AutoSize = true;
this.lblSenMotores.Location = new System.Drawing.Point(12, 23); this.lblSenMotores.Location = new System.Drawing.Point(9, 19);
this.lblSenMotores.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblSenMotores.Name = "lblSenMotores"; this.lblSenMotores.Name = "lblSenMotores";
this.lblSenMotores.Size = new System.Drawing.Size(56, 16); this.lblSenMotores.Size = new System.Drawing.Size(45, 13);
this.lblSenMotores.TabIndex = 1; this.lblSenMotores.TabIndex = 1;
this.lblSenMotores.Text = "Motores"; this.lblSenMotores.Text = "Motores";
// //
@ -523,20 +530,20 @@ namespace AgroBase
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.gridSenMotores.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.gridSenMotores.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.gridSenMotores.Location = new System.Drawing.Point(5, 43); this.gridSenMotores.Location = new System.Drawing.Point(4, 35);
this.gridSenMotores.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gridSenMotores.Margin = new System.Windows.Forms.Padding(2);
this.gridSenMotores.Name = "gridSenMotores"; this.gridSenMotores.Name = "gridSenMotores";
this.gridSenMotores.RowHeadersWidth = 51; this.gridSenMotores.RowHeadersWidth = 51;
this.gridSenMotores.RowTemplate.Height = 24; this.gridSenMotores.RowTemplate.Height = 24;
this.gridSenMotores.Size = new System.Drawing.Size(552, 162); this.gridSenMotores.Size = new System.Drawing.Size(419, 132);
this.gridSenMotores.TabIndex = 0; this.gridSenMotores.TabIndex = 0;
// //
// btnDiagnosticos // btnDiagnosticos
// //
this.btnDiagnosticos.Location = new System.Drawing.Point(5, 21); this.btnDiagnosticos.Location = new System.Drawing.Point(4, 17);
this.btnDiagnosticos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnDiagnosticos.Margin = new System.Windows.Forms.Padding(2);
this.btnDiagnosticos.Name = "btnDiagnosticos"; this.btnDiagnosticos.Name = "btnDiagnosticos";
this.btnDiagnosticos.Size = new System.Drawing.Size(112, 25); this.btnDiagnosticos.Size = new System.Drawing.Size(84, 20);
this.btnDiagnosticos.TabIndex = 14; this.btnDiagnosticos.TabIndex = 14;
this.btnDiagnosticos.Text = "Diagnósticos"; this.btnDiagnosticos.Text = "Diagnósticos";
this.btnDiagnosticos.UseVisualStyleBackColor = true; this.btnDiagnosticos.UseVisualStyleBackColor = true;
@ -544,10 +551,10 @@ namespace AgroBase
// //
// btnAcompanhamento // btnAcompanhamento
// //
this.btnAcompanhamento.Location = new System.Drawing.Point(5, 52); this.btnAcompanhamento.Location = new System.Drawing.Point(4, 42);
this.btnAcompanhamento.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnAcompanhamento.Margin = new System.Windows.Forms.Padding(2);
this.btnAcompanhamento.Name = "btnAcompanhamento"; this.btnAcompanhamento.Name = "btnAcompanhamento";
this.btnAcompanhamento.Size = new System.Drawing.Size(112, 25); this.btnAcompanhamento.Size = new System.Drawing.Size(84, 20);
this.btnAcompanhamento.TabIndex = 15; this.btnAcompanhamento.TabIndex = 15;
this.btnAcompanhamento.Text = "Plotagem"; this.btnAcompanhamento.Text = "Plotagem";
this.btnAcompanhamento.UseVisualStyleBackColor = true; this.btnAcompanhamento.UseVisualStyleBackColor = true;
@ -555,10 +562,10 @@ namespace AgroBase
// //
// btnAtuCamera // btnAtuCamera
// //
this.btnAtuCamera.Location = new System.Drawing.Point(5, 82); this.btnAtuCamera.Location = new System.Drawing.Point(4, 67);
this.btnAtuCamera.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnAtuCamera.Margin = new System.Windows.Forms.Padding(2);
this.btnAtuCamera.Name = "btnAtuCamera"; this.btnAtuCamera.Name = "btnAtuCamera";
this.btnAtuCamera.Size = new System.Drawing.Size(112, 25); this.btnAtuCamera.Size = new System.Drawing.Size(84, 20);
this.btnAtuCamera.TabIndex = 16; this.btnAtuCamera.TabIndex = 16;
this.btnAtuCamera.Text = "Ver solo"; this.btnAtuCamera.Text = "Ver solo";
this.btnAtuCamera.UseVisualStyleBackColor = true; this.btnAtuCamera.UseVisualStyleBackColor = true;
@ -566,10 +573,10 @@ namespace AgroBase
// //
// btnMapas // btnMapas
// //
this.btnMapas.Location = new System.Drawing.Point(5, 145); this.btnMapas.Location = new System.Drawing.Point(4, 118);
this.btnMapas.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnMapas.Margin = new System.Windows.Forms.Padding(2);
this.btnMapas.Name = "btnMapas"; this.btnMapas.Name = "btnMapas";
this.btnMapas.Size = new System.Drawing.Size(112, 25); this.btnMapas.Size = new System.Drawing.Size(84, 20);
this.btnMapas.TabIndex = 17; this.btnMapas.TabIndex = 17;
this.btnMapas.Text = "Mapas"; this.btnMapas.Text = "Mapas";
this.btnMapas.UseVisualStyleBackColor = true; this.btnMapas.UseVisualStyleBackColor = true;
@ -577,10 +584,10 @@ namespace AgroBase
// //
// btnSenCamera // btnSenCamera
// //
this.btnSenCamera.Location = new System.Drawing.Point(5, 114); this.btnSenCamera.Location = new System.Drawing.Point(4, 93);
this.btnSenCamera.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnSenCamera.Margin = new System.Windows.Forms.Padding(2);
this.btnSenCamera.Name = "btnSenCamera"; this.btnSenCamera.Name = "btnSenCamera";
this.btnSenCamera.Size = new System.Drawing.Size(112, 25); this.btnSenCamera.Size = new System.Drawing.Size(84, 20);
this.btnSenCamera.TabIndex = 18; this.btnSenCamera.TabIndex = 18;
this.btnSenCamera.Text = "Ver caminho"; this.btnSenCamera.Text = "Ver caminho";
this.btnSenCamera.UseVisualStyleBackColor = true; this.btnSenCamera.UseVisualStyleBackColor = true;
@ -592,11 +599,11 @@ namespace AgroBase
this.gpbJoystick.Controls.Add(this.btnJoyEdt); this.gpbJoystick.Controls.Add(this.btnJoyEdt);
this.gpbJoystick.Controls.Add(this.btnJoyAtt); this.gpbJoystick.Controls.Add(this.btnJoyAtt);
this.gpbJoystick.Controls.Add(this.btnVer); this.gpbJoystick.Controls.Add(this.btnVer);
this.gpbJoystick.Location = new System.Drawing.Point(12, 12); this.gpbJoystick.Location = new System.Drawing.Point(9, 10);
this.gpbJoystick.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbJoystick.Margin = new System.Windows.Forms.Padding(2);
this.gpbJoystick.Name = "gpbJoystick"; this.gpbJoystick.Name = "gpbJoystick";
this.gpbJoystick.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbJoystick.Padding = new System.Windows.Forms.Padding(2);
this.gpbJoystick.Size = new System.Drawing.Size(440, 60); this.gpbJoystick.Size = new System.Drawing.Size(330, 49);
this.gpbJoystick.TabIndex = 18; this.gpbJoystick.TabIndex = 18;
this.gpbJoystick.TabStop = false; this.gpbJoystick.TabStop = false;
this.gpbJoystick.Text = "Joystick"; this.gpbJoystick.Text = "Joystick";
@ -607,11 +614,11 @@ namespace AgroBase
this.gpbControleDirecional.Controls.Add(this.tkbAngulo); this.gpbControleDirecional.Controls.Add(this.tkbAngulo);
this.gpbControleDirecional.Controls.Add(this.lblAngulo); this.gpbControleDirecional.Controls.Add(this.lblAngulo);
this.gpbControleDirecional.Controls.Add(this.lblVelocidade); this.gpbControleDirecional.Controls.Add(this.lblVelocidade);
this.gpbControleDirecional.Location = new System.Drawing.Point(12, 190); this.gpbControleDirecional.Location = new System.Drawing.Point(9, 154);
this.gpbControleDirecional.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbControleDirecional.Margin = new System.Windows.Forms.Padding(2);
this.gpbControleDirecional.Name = "gpbControleDirecional"; this.gpbControleDirecional.Name = "gpbControleDirecional";
this.gpbControleDirecional.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbControleDirecional.Padding = new System.Windows.Forms.Padding(2);
this.gpbControleDirecional.Size = new System.Drawing.Size(440, 183); this.gpbControleDirecional.Size = new System.Drawing.Size(330, 149);
this.gpbControleDirecional.TabIndex = 19; this.gpbControleDirecional.TabIndex = 19;
this.gpbControleDirecional.TabStop = false; this.gpbControleDirecional.TabStop = false;
this.gpbControleDirecional.Text = "Controle Direcional"; this.gpbControleDirecional.Text = "Controle Direcional";
@ -628,21 +635,32 @@ namespace AgroBase
this.gpbAtalhos.Controls.Add(this.btnSenCamera); this.gpbAtalhos.Controls.Add(this.btnSenCamera);
this.gpbAtalhos.Controls.Add(this.btnAtuCamera); this.gpbAtalhos.Controls.Add(this.btnAtuCamera);
this.gpbAtalhos.Controls.Add(this.btnMapas); this.gpbAtalhos.Controls.Add(this.btnMapas);
this.gpbAtalhos.Location = new System.Drawing.Point(459, 12); this.gpbAtalhos.Location = new System.Drawing.Point(344, 10);
this.gpbAtalhos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbAtalhos.Margin = new System.Windows.Forms.Padding(2);
this.gpbAtalhos.Name = "gpbAtalhos"; this.gpbAtalhos.Name = "gpbAtalhos";
this.gpbAtalhos.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbAtalhos.Padding = new System.Windows.Forms.Padding(2);
this.gpbAtalhos.Size = new System.Drawing.Size(124, 359); this.gpbAtalhos.Size = new System.Drawing.Size(93, 292);
this.gpbAtalhos.TabIndex = 20; this.gpbAtalhos.TabIndex = 20;
this.gpbAtalhos.TabStop = false; this.gpbAtalhos.TabStop = false;
this.gpbAtalhos.Text = "Atalhos"; this.gpbAtalhos.Text = "Atalhos";
// //
// btnSimulador
//
this.btnSimulador.Location = new System.Drawing.Point(4, 236);
this.btnSimulador.Margin = new System.Windows.Forms.Padding(2);
this.btnSimulador.Name = "btnSimulador";
this.btnSimulador.Size = new System.Drawing.Size(84, 20);
this.btnSimulador.TabIndex = 23;
this.btnSimulador.Text = "Simulador";
this.btnSimulador.UseVisualStyleBackColor = true;
this.btnSimulador.Click += new System.EventHandler(this.btnSimulador_Click);
//
// btnSonar // btnSonar
// //
this.btnSonar.Location = new System.Drawing.Point(5, 262); this.btnSonar.Location = new System.Drawing.Point(4, 213);
this.btnSonar.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnSonar.Margin = new System.Windows.Forms.Padding(2);
this.btnSonar.Name = "btnSonar"; this.btnSonar.Name = "btnSonar";
this.btnSonar.Size = new System.Drawing.Size(112, 25); this.btnSonar.Size = new System.Drawing.Size(84, 20);
this.btnSonar.TabIndex = 22; this.btnSonar.TabIndex = 22;
this.btnSonar.Text = "Sonar"; this.btnSonar.Text = "Sonar";
this.btnSonar.UseVisualStyleBackColor = true; this.btnSonar.UseVisualStyleBackColor = true;
@ -650,10 +668,10 @@ namespace AgroBase
// //
// btnAtuCalibragem // btnAtuCalibragem
// //
this.btnAtuCalibragem.Location = new System.Drawing.Point(6, 233); this.btnAtuCalibragem.Location = new System.Drawing.Point(4, 189);
this.btnAtuCalibragem.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnAtuCalibragem.Margin = new System.Windows.Forms.Padding(2);
this.btnAtuCalibragem.Name = "btnAtuCalibragem"; this.btnAtuCalibragem.Name = "btnAtuCalibragem";
this.btnAtuCalibragem.Size = new System.Drawing.Size(112, 25); this.btnAtuCalibragem.Size = new System.Drawing.Size(84, 20);
this.btnAtuCalibragem.TabIndex = 21; this.btnAtuCalibragem.TabIndex = 21;
this.btnAtuCalibragem.Text = "Atuador"; this.btnAtuCalibragem.Text = "Atuador";
this.btnAtuCalibragem.UseVisualStyleBackColor = true; this.btnAtuCalibragem.UseVisualStyleBackColor = true;
@ -661,10 +679,10 @@ namespace AgroBase
// //
// btnContornos // btnContornos
// //
this.btnContornos.Location = new System.Drawing.Point(5, 204); this.btnContornos.Location = new System.Drawing.Point(4, 166);
this.btnContornos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnContornos.Margin = new System.Windows.Forms.Padding(2);
this.btnContornos.Name = "btnContornos"; this.btnContornos.Name = "btnContornos";
this.btnContornos.Size = new System.Drawing.Size(112, 25); this.btnContornos.Size = new System.Drawing.Size(84, 20);
this.btnContornos.TabIndex = 20; this.btnContornos.TabIndex = 20;
this.btnContornos.Text = "Contornos"; this.btnContornos.Text = "Contornos";
this.btnContornos.UseVisualStyleBackColor = true; this.btnContornos.UseVisualStyleBackColor = true;
@ -672,10 +690,10 @@ namespace AgroBase
// //
// btnGPS // btnGPS
// //
this.btnGPS.Location = new System.Drawing.Point(5, 175); this.btnGPS.Location = new System.Drawing.Point(4, 142);
this.btnGPS.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnGPS.Margin = new System.Windows.Forms.Padding(2);
this.btnGPS.Name = "btnGPS"; this.btnGPS.Name = "btnGPS";
this.btnGPS.Size = new System.Drawing.Size(112, 25); this.btnGPS.Size = new System.Drawing.Size(84, 20);
this.btnGPS.TabIndex = 19; this.btnGPS.TabIndex = 19;
this.btnGPS.Text = "GPS"; this.btnGPS.Text = "GPS";
this.btnGPS.UseVisualStyleBackColor = true; this.btnGPS.UseVisualStyleBackColor = true;
@ -689,21 +707,21 @@ namespace AgroBase
this.gpbOperacao.Controls.Add(this.btnIniciarOperacao); this.gpbOperacao.Controls.Add(this.btnIniciarOperacao);
this.gpbOperacao.Controls.Add(this.lblModoOperacao); this.gpbOperacao.Controls.Add(this.lblModoOperacao);
this.gpbOperacao.Controls.Add(this.cmbModoOperacao); this.gpbOperacao.Controls.Add(this.cmbModoOperacao);
this.gpbOperacao.Location = new System.Drawing.Point(12, 378); this.gpbOperacao.Location = new System.Drawing.Point(9, 307);
this.gpbOperacao.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbOperacao.Margin = new System.Windows.Forms.Padding(2);
this.gpbOperacao.Name = "gpbOperacao"; this.gpbOperacao.Name = "gpbOperacao";
this.gpbOperacao.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpbOperacao.Padding = new System.Windows.Forms.Padding(2);
this.gpbOperacao.Size = new System.Drawing.Size(571, 124); this.gpbOperacao.Size = new System.Drawing.Size(428, 101);
this.gpbOperacao.TabIndex = 21; this.gpbOperacao.TabIndex = 21;
this.gpbOperacao.TabStop = false; this.gpbOperacao.TabStop = false;
this.gpbOperacao.Text = "Operação"; this.gpbOperacao.Text = "Operação";
// //
// btnIHM // btnIHM
// //
this.btnIHM.Location = new System.Drawing.Point(395, 78); this.btnIHM.Location = new System.Drawing.Point(296, 63);
this.btnIHM.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnIHM.Margin = new System.Windows.Forms.Padding(2);
this.btnIHM.Name = "btnIHM"; this.btnIHM.Name = "btnIHM";
this.btnIHM.Size = new System.Drawing.Size(163, 41); this.btnIHM.Size = new System.Drawing.Size(122, 33);
this.btnIHM.TabIndex = 16; this.btnIHM.TabIndex = 16;
this.btnIHM.Text = "IHM"; this.btnIHM.Text = "IHM";
this.btnIHM.UseVisualStyleBackColor = true; this.btnIHM.UseVisualStyleBackColor = true;
@ -711,10 +729,10 @@ namespace AgroBase
// //
// btnConfigurarOperacao // btnConfigurarOperacao
// //
this.btnConfigurarOperacao.Location = new System.Drawing.Point(161, 78); this.btnConfigurarOperacao.Location = new System.Drawing.Point(121, 63);
this.btnConfigurarOperacao.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnConfigurarOperacao.Margin = new System.Windows.Forms.Padding(2);
this.btnConfigurarOperacao.Name = "btnConfigurarOperacao"; this.btnConfigurarOperacao.Name = "btnConfigurarOperacao";
this.btnConfigurarOperacao.Size = new System.Drawing.Size(163, 41); this.btnConfigurarOperacao.Size = new System.Drawing.Size(122, 33);
this.btnConfigurarOperacao.TabIndex = 15; this.btnConfigurarOperacao.TabIndex = 15;
this.btnConfigurarOperacao.Text = "Configurar Operação"; this.btnConfigurarOperacao.Text = "Configurar Operação";
this.btnConfigurarOperacao.UseVisualStyleBackColor = true; this.btnConfigurarOperacao.UseVisualStyleBackColor = true;
@ -723,20 +741,20 @@ namespace AgroBase
// chbDebugMode // chbDebugMode
// //
this.chbDebugMode.AutoSize = true; this.chbDebugMode.AutoSize = true;
this.chbDebugMode.Location = new System.Drawing.Point(179, 49); this.chbDebugMode.Location = new System.Drawing.Point(134, 40);
this.chbDebugMode.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.chbDebugMode.Margin = new System.Windows.Forms.Padding(2);
this.chbDebugMode.Name = "chbDebugMode"; this.chbDebugMode.Name = "chbDebugMode";
this.chbDebugMode.Size = new System.Drawing.Size(135, 20); this.chbDebugMode.Size = new System.Drawing.Size(109, 17);
this.chbDebugMode.TabIndex = 14; this.chbDebugMode.TabIndex = 14;
this.chbDebugMode.Text = "Modo Depuração"; this.chbDebugMode.Text = "Modo Depuração";
this.chbDebugMode.UseVisualStyleBackColor = true; this.chbDebugMode.UseVisualStyleBackColor = true;
// //
// btnIniciarOperacao // btnIniciarOperacao
// //
this.btnIniciarOperacao.Location = new System.Drawing.Point(9, 78); this.btnIniciarOperacao.Location = new System.Drawing.Point(7, 63);
this.btnIniciarOperacao.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnIniciarOperacao.Margin = new System.Windows.Forms.Padding(2);
this.btnIniciarOperacao.Name = "btnIniciarOperacao"; this.btnIniciarOperacao.Name = "btnIniciarOperacao";
this.btnIniciarOperacao.Size = new System.Drawing.Size(145, 41); this.btnIniciarOperacao.Size = new System.Drawing.Size(109, 33);
this.btnIniciarOperacao.TabIndex = 13; this.btnIniciarOperacao.TabIndex = 13;
this.btnIniciarOperacao.Text = "Iniciar Operação"; this.btnIniciarOperacao.Text = "Iniciar Operação";
this.btnIniciarOperacao.UseVisualStyleBackColor = true; this.btnIniciarOperacao.UseVisualStyleBackColor = true;
@ -745,9 +763,10 @@ namespace AgroBase
// lblModoOperacao // lblModoOperacao
// //
this.lblModoOperacao.AutoSize = true; this.lblModoOperacao.AutoSize = true;
this.lblModoOperacao.Location = new System.Drawing.Point(5, 27); this.lblModoOperacao.Location = new System.Drawing.Point(4, 22);
this.lblModoOperacao.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblModoOperacao.Name = "lblModoOperacao"; this.lblModoOperacao.Name = "lblModoOperacao";
this.lblModoOperacao.Size = new System.Drawing.Size(42, 16); this.lblModoOperacao.Size = new System.Drawing.Size(34, 13);
this.lblModoOperacao.TabIndex = 13; this.lblModoOperacao.TabIndex = 13;
this.lblModoOperacao.Text = "Modo"; this.lblModoOperacao.Text = "Modo";
// //
@ -755,29 +774,18 @@ namespace AgroBase
// //
this.cmbModoOperacao.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbModoOperacao.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbModoOperacao.FormattingEnabled = true; this.cmbModoOperacao.FormattingEnabled = true;
this.cmbModoOperacao.Location = new System.Drawing.Point(9, 47); this.cmbModoOperacao.Location = new System.Drawing.Point(7, 38);
this.cmbModoOperacao.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cmbModoOperacao.Margin = new System.Windows.Forms.Padding(2);
this.cmbModoOperacao.Name = "cmbModoOperacao"; this.cmbModoOperacao.Name = "cmbModoOperacao";
this.cmbModoOperacao.Size = new System.Drawing.Size(145, 24); this.cmbModoOperacao.Size = new System.Drawing.Size(110, 21);
this.cmbModoOperacao.TabIndex = 13; this.cmbModoOperacao.TabIndex = 13;
this.cmbModoOperacao.SelectedIndexChanged += new System.EventHandler(this.cmbModoOperacao_SelectedIndexChanged); this.cmbModoOperacao.SelectedIndexChanged += new System.EventHandler(this.cmbModoOperacao_SelectedIndexChanged);
// //
// btnSimulador
//
this.btnSimulador.Location = new System.Drawing.Point(5, 291);
this.btnSimulador.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnSimulador.Name = "btnSimulador";
this.btnSimulador.Size = new System.Drawing.Size(112, 25);
this.btnSimulador.TabIndex = 23;
this.btnSimulador.Text = "Simulador";
this.btnSimulador.UseVisualStyleBackColor = true;
this.btnSimulador.Click += new System.EventHandler(this.btnSimulador_Click);
//
// frmPrincipal // frmPrincipal
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1411, 750); this.ClientSize = new System.Drawing.Size(1028, 609);
this.Controls.Add(this.gpbOperacao); this.Controls.Add(this.gpbOperacao);
this.Controls.Add(this.gpbAtalhos); this.Controls.Add(this.gpbAtalhos);
this.Controls.Add(this.gpbControleDirecional); this.Controls.Add(this.gpbControleDirecional);
@ -786,7 +794,7 @@ namespace AgroBase
this.Controls.Add(this.gpbSensoriamento); this.Controls.Add(this.gpbSensoriamento);
this.Controls.Add(this.generalStrip); this.Controls.Add(this.generalStrip);
this.Controls.Add(this.gpbAcoes); this.Controls.Add(this.gpbAcoes);
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "frmPrincipal"; this.Name = "frmPrincipal";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Agro Base"; this.Text = "Agro Base";

View File

@ -63,6 +63,7 @@ namespace AgroBase.Models
Tst = 288, Tst = 288,
Cmd = 293, Cmd = 293,
Err = 404, Err = 404,
Msg = 655,
} }
public enum S_Code public enum S_Code

View File

@ -599,7 +599,7 @@ namespace AgroBase
} }
foreach (var ProtocoloMotor in Protocolos) foreach (var ProtocoloMotor in Protocolos)
{ {
Dispositivo.EnviarDadosSerial(ProtocoloMotor); Dispositivo.AdicionarMensagemFila(ProtocoloMotor);
Task.Delay(10); Task.Delay(10);
Console.WriteLine(ProtocoloMotor); Console.WriteLine(ProtocoloMotor);
} }

View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static AgroBase.Models.Enuns;
namespace AgroBase.Models
{
public class MensagemFilaModel
{
public int Id { get; set; }
public T_Code Dispositivo { get; set; }
public string Mensagem { get;set; }
public DateTime AdicionadoEm { get; set; }
public bool Enviado { get; set; }
public DateTime? EnviadoEm { get; set; }
public bool Recebido { get; set; }
public DateTime? RecebidoEm { get; set; }
}
}

View File

@ -12,6 +12,16 @@ namespace AgroBase.Models.Modules
{ {
public class AtuadorModel : DispositivoBaseModel public class AtuadorModel : DispositivoBaseModel
{ {
private bool _MensagemConexaoRecebida { get; set; } = false;
public bool MensagemConexaoRecebida(bool Reset = false)
{
if (Reset)
{
_MensagemConexaoRecebida = false;
}
return _MensagemConexaoRecebida;
}
public static int _TaxaAmostragem { get; set; } = 500; public static int _TaxaAmostragem { get; set; } = 500;
public bool Conectado { get; set; } = false; public bool Conectado { get; set; } = false;
public static PinoutDataModel Pinout { get; set; } public static PinoutDataModel Pinout { get; set; }
@ -259,6 +269,7 @@ namespace AgroBase.Models.Modules
if (_id == "MD") if (_id == "MD")
{ {
Conectado = Dados[2] == "1"; Conectado = Dados[2] == "1";
_MensagemConexaoRecebida = true;
} }
return; return;
} }

View File

@ -15,6 +15,16 @@ namespace AgroBase.Models.Modules
{ {
public class DirecionalModel : DispositivoBaseModel public class DirecionalModel : DispositivoBaseModel
{ {
private bool _MensagemConexaoRecebida { get; set; } = false;
public bool MensagemConexaoRecebida(bool Reset = false)
{
if (Reset)
{
_MensagemConexaoRecebida = false;
}
return _MensagemConexaoRecebida;
}
public static int _TaxaAmostragem { get; set; } = 500; public static int _TaxaAmostragem { get; set; } = 500;
public bool Conectado { get; set; } = false; public bool Conectado { get; set; } = false;
public bool AA_Ref000 { get; set; } = false; public bool AA_Ref000 { get; set; } = false;
@ -127,7 +137,7 @@ namespace AgroBase.Models.Modules
public List<string> ProtocoloConfiguracao(bool Conectar) public List<string> ProtocoloConfiguracao(bool Conectar)
{ {
List<string> Config = Motores.Select(x => x.ProtocoloConfiguracaoMotor(Conectar)).ToList(); List<string> Config = Motores.Select(x => x.ProtocoloConfiguracaoMotor(Conectar)).ToList();
string ProtocoloMOD = ((int)F_Code.Cfg).ToString() + string ProtocoloMOD = ((int)F_Code.Cfg).ToString() + (FilaService.FeatureAtivada ? ";" : "") +
"MD" + ";" + // 0 ~ 1 "MD" + ";" + // 0 ~ 1
(Conectar ? "1" : "0") + ";" + // 3 (Conectar ? "1" : "0") + ";" + // 3
_TaxaAmostragem.ToString("00000") + ";" + // 5 ~ 9 _TaxaAmostragem.ToString("00000") + ";" + // 5 ~ 9
@ -152,6 +162,7 @@ namespace AgroBase.Models.Modules
if (Dados[1] == "MD") if (Dados[1] == "MD")
{ {
Conectado = Dados[2] == "1"; Conectado = Dados[2] == "1";
_MensagemConexaoRecebida = true;
} }
return; return;
} }
@ -345,7 +356,7 @@ namespace AgroBase.Models.Modules
Pinos = DirecionalModel.Pinout.Pinos.ToList(), Pinos = DirecionalModel.Pinout.Pinos.ToList(),
}; };
_pinout.Pinos = _pinout.Pinos.Where(x => x.ComponenteID == ID).ToList(); _pinout.Pinos = _pinout.Pinos.Where(x => x.ComponenteID == ID).ToList();
return ((int)F_Code.Cfg).ToString() + return ((int)F_Code.Cfg).ToString() + (FilaService.FeatureAtivada ? ";" : "") +
ID + ";" + // 0 ~ 1 ID + ";" + // 0 ~ 1
(Conectar ? "1" : "0") + ";" + // 3 (Conectar ? "1" : "0") + ";" + // 3
Canal.ToString() + ";" + // 5 Canal.ToString() + ";" + // 5

View File

@ -10,6 +10,7 @@ namespace AgroBase.Models
{ {
public interface DispositivoBaseModel public interface DispositivoBaseModel
{ {
bool MensagemConexaoRecebida(bool Reset = false);
void RecebeProtocoloSerial(string Protocolo); void RecebeProtocoloSerial(string Protocolo);
string GetTaxaAmostragem(); string GetTaxaAmostragem();
void SetTaxaAmostragem(int TaxaAmostragem); void SetTaxaAmostragem(int TaxaAmostragem);

View File

@ -15,6 +15,16 @@ namespace AgroBase.Models
{ {
public class MovimentacaoModel : DispositivoBaseModel public class MovimentacaoModel : DispositivoBaseModel
{ {
private bool _MensagemConexaoRecebida { get; set; } = false;
public bool MensagemConexaoRecebida(bool Reset = false)
{
if (Reset)
{
_MensagemConexaoRecebida = false;
}
return _MensagemConexaoRecebida;
}
public static int _TaxaAmostragem { get; set; } = 500; public static int _TaxaAmostragem { get; set; } = 500;
public static int RampaMin { get; set; } = 0; public static int RampaMin { get; set; } = 0;
public static int RampaMax { get; set; } = 1023; public static int RampaMax { get; set; } = 1023;
@ -166,6 +176,7 @@ namespace AgroBase.Models
if (Dados[1] == "MD") if (Dados[1] == "MD")
{ {
Conectado = Dados[2] == "1"; Conectado = Dados[2] == "1";
_MensagemConexaoRecebida = true;
} }
return; return;
} }
@ -578,7 +589,7 @@ namespace AgroBase.Models
if (Inicializado && (!AlarmeAnterior || Adicionado) && AlarmeAtual) // Motor iniciado, Não estava em alarme anteriormente ou foi adicionado agora, alarme atual if (Inicializado && (!AlarmeAnterior || Adicionado) && AlarmeAtual) // Motor iniciado, Não estava em alarme anteriormente ou foi adicionado agora, alarme atual
{ {
Variaveis.DispositivosConectados.FirstOrDefault(x => x.Dispositivo == T_Code.Mov).EnviarDadosSerial(ProtocoloComando(Direcao.Frente, true)); Variaveis.DispositivosConectados.FirstOrDefault(x => x.Dispositivo == T_Code.Mov).AdicionarMensagemFila(ProtocoloComando(Direcao.Frente, true));
} }
Alm.Valor = _Alarme.Valor; Alm.Valor = _Alarme.Valor;

View File

@ -14,6 +14,16 @@ namespace AgroBase.Models.Modules
{ {
public class SensoriamentoModel : DispositivoBaseModel public class SensoriamentoModel : DispositivoBaseModel
{ {
private bool _MensagemConexaoRecebida { get; set; } = false;
public bool MensagemConexaoRecebida(bool Reset = false)
{
if (Reset)
{
_MensagemConexaoRecebida = false;
}
return _MensagemConexaoRecebida;
}
public static int _TaxaAmostragem { get; set; } = 500; public static int _TaxaAmostragem { get; set; } = 500;
public bool Conectado { get; set; } = false; public bool Conectado { get; set; } = false;
public static int LogsManter { get; set; } = 60; public static int LogsManter { get; set; } = 60;
@ -340,7 +350,7 @@ namespace AgroBase.Models.Modules
public List<string> ProtocoloConfiguracao(bool Conectar) public List<string> ProtocoloConfiguracao(bool Conectar)
{ {
List<string> Config = Sensores.Select(x => x.ProtocoloConfiguracaoSensor(Pinout, Conectar)).ToList(); List<string> Config = Sensores.Where(x => x.Aferir).Select(x => x.ProtocoloConfiguracaoSensor(Pinout, Conectar)).ToList();
Config.AddRange(Sinaleiros.Select(x => x.ProtocoloConfiguracaoSinaleiro(Pinout, Conectar)).ToList()); Config.AddRange(Sinaleiros.Select(x => x.ProtocoloConfiguracaoSinaleiro(Pinout, Conectar)).ToList());
string ProtocoloMOD = ((int)F_Code.Cfg).ToString() + string ProtocoloMOD = ((int)F_Code.Cfg).ToString() +
"MD".PadRight(5, ' ') + ";" + // 0 ~ 4 "MD".PadRight(5, ' ') + ";" + // 0 ~ 4
@ -372,6 +382,7 @@ namespace AgroBase.Models.Modules
if (Dados[1] == "MD") if (Dados[1] == "MD")
{ {
Conectado = Dados[2] == "1"; Conectado = Dados[2] == "1";
_MensagemConexaoRecebida = true;
} }
return; return;
} }
@ -615,7 +626,7 @@ namespace AgroBase.Models.Modules
foreach (var _motor in Variaveis.OperacaoEmAndamento.DispMov.Dados.Motores) foreach (var _motor in Variaveis.OperacaoEmAndamento.DispMov.Dados.Motores)
{ {
string ProtocoloParada = _motor.ProtocoloComando(Direcao.Frente, true); string ProtocoloParada = _motor.ProtocoloComando(Direcao.Frente, true);
Variaveis.OperacaoEmAndamento.DispMov.EnviarDadosSerial(ProtocoloParada); Variaveis.OperacaoEmAndamento.DispMov.AdicionarMensagemFila(ProtocoloParada);
} }
} }
} }

View File

@ -135,7 +135,7 @@ namespace AgroBase.Models.Operacoes
null; null;
foreach (var ProtocoloMotor in Protocolos) foreach (var ProtocoloMotor in Protocolos)
{ {
Dispositivo.EnviarDadosSerial(ProtocoloMotor); Dispositivo.AdicionarMensagemFila(ProtocoloMotor);
System.Threading.Thread.Sleep(10); System.Threading.Thread.Sleep(10);
} }

View File

@ -415,7 +415,7 @@ namespace AgroBase.Models
SensorSinaleiroModel Sinaleiro = OperacaoCarregar.DispSen.Dados.Sinaleiros.First(x => x.ID == (Modo == ModoOperacao.Manual ? "LEDMN" : "LEDAT")); SensorSinaleiroModel Sinaleiro = OperacaoCarregar.DispSen.Dados.Sinaleiros.First(x => x.ID == (Modo == ModoOperacao.Manual ? "LEDMN" : "LEDAT"));
Sinaleiro.Comportamento.statusLED = StatusLED.Aceso; Sinaleiro.Comportamento.statusLED = StatusLED.Aceso;
OperacaoCarregar.DispSen.Dados.Sinaleiros.ForEach(x => OperacaoCarregar.DispSen.EnviarDadosSerial(x.ProtocoloComando())); OperacaoCarregar.DispSen.Dados.Sinaleiros.ForEach(x => OperacaoCarregar.DispSen.AdicionarMensagemFila(x.ProtocoloComando()));
} }
@ -540,7 +540,7 @@ namespace AgroBase.Models
{ {
DispAtu.Dados.BombaPressurizadora.BombaAtuada = false; DispAtu.Dados.BombaPressurizadora.BombaAtuada = false;
string Protocolo = DispAtu.Dados.BombaPressurizadora.ProtocoloComando(); string Protocolo = DispAtu.Dados.BombaPressurizadora.ProtocoloComando();
DispAtu.EnviarDadosSerial(Protocolo); DispAtu.AdicionarMensagemFila(Protocolo);
} }
Iniciado = false; Iniciado = false;
@ -565,7 +565,7 @@ namespace AgroBase.Models
{ {
DispAtu.Dados.BombaPressurizadora.BombaAtuada = true; DispAtu.Dados.BombaPressurizadora.BombaAtuada = true;
string Protocolo = DispAtu.Dados.BombaPressurizadora.ProtocoloComando(); string Protocolo = DispAtu.Dados.BombaPressurizadora.ProtocoloComando();
DispAtu.EnviarDadosSerial(Protocolo); DispAtu.AdicionarMensagemFila(Protocolo);
} }
await Task.Delay(5000); await Task.Delay(5000);
@ -577,12 +577,12 @@ namespace AgroBase.Models
if (Bico.Inicializado) if (Bico.Inicializado)
{ {
Bico.Atuado = true; Bico.Atuado = true;
DispAtu.EnviarDadosSerial(Bico.ProtocoloComando()); DispAtu.AdicionarMensagemFila(Bico.ProtocoloComando());
await Task.Delay(1000); await Task.Delay(1000);
Bico.Atuado = false; Bico.Atuado = false;
DispAtu.EnviarDadosSerial(Bico.ProtocoloComando()); DispAtu.AdicionarMensagemFila(Bico.ProtocoloComando());
} }
} }
@ -594,7 +594,7 @@ namespace AgroBase.Models
{ {
foreach (var Motor in DispDir.Dados.Motores) foreach (var Motor in DispDir.Dados.Motores)
{ {
DispDir.EnviarDadosSerial(Motor.ProtocoloComando(Direcao.Parado, true)); DispDir.AdicionarMensagemFila(Motor.ProtocoloComando(Direcao.Parado, true));
while (Motor.Referenciando) while (Motor.Referenciando)
{ {
@ -674,7 +674,7 @@ namespace AgroBase.Models
{ {
var Sinaleiro = DispSen.Dados.Sinaleiros.FirstOrDefault(x => x.ID == "LEDOP"); var Sinaleiro = DispSen.Dados.Sinaleiros.FirstOrDefault(x => x.ID == "LEDOP");
Sinaleiro.Comportamento = Variaveis.ComportamentoPorStatus(); Sinaleiro.Comportamento = Variaveis.ComportamentoPorStatus();
DispSen.EnviarDadosSerial(Sinaleiro.ProtocoloComando()); DispSen.AdicionarMensagemFila(Sinaleiro.ProtocoloComando());
} }
} }

View File

@ -128,6 +128,9 @@ namespace AgroBase.Comum
{ {
_Porta.PortName = PortaCOM(); _Porta.PortName = PortaCOM();
_Porta.BaudRate = BaudRate(); _Porta.BaudRate = BaudRate();
//_Porta = new SerialPort(PortaCOM(), BaudRate());
_Porta.ReadBufferSize = 16384;
_Porta.WriteBufferSize = 8192;
if (_Porta.IsOpen) if (_Porta.IsOpen)
{ {
@ -177,18 +180,42 @@ namespace AgroBase.Comum
{ {
if (!_Porta.IsOpen || string.IsNullOrEmpty(Dados)) if (!_Porta.IsOpen || string.IsNullOrEmpty(Dados))
{ {
return; //Console.WriteLine("Dados não enviados: " + Dados + " - Porta " + _Porta.PortName + " aberta " + _Porta.IsOpen);
if (FilaService.FeatureAtivada)
{
throw new Exception("A porta " + _Porta.PortName + " não está aberta");
}
else
{
return;
}
} }
Dados += SerialService.EndLine;
AtualizarConsole("> " + DateTime.Now.ToString("HH:mm:ss:fff") + " - " + Dados); AtualizarConsole("> " + DateTime.Now.ToString("HH:mm:ss:fff") + " - " + Dados);
_Porta.Write(Dados + SerialService.EndLine); try
Logs.Add(new DispositivoLogModel()
{ {
Momento = DateTime.Now, _Porta.Write(Dados);
Enviado = true, //Console.WriteLine("Dados enviados: " + Dados);
Protocolo = Dados, Logs.Add(new DispositivoLogModel()
}); {
Momento = DateTime.Now,
Enviado = true,
Protocolo = Dados,
});
}
catch (Exception ex)
{
Console.WriteLine("Erro ao enviar comando para a porta: " + _Porta.PortName + " - " + ex.Message);
throw ex;
}
}
public void AdicionarMensagemFila(string Dados)
{
FilaService.AdicionarMensagemFila(Dispositivo, Dados);
} }
public Control InstanciarDispositivo(int index) public Control InstanciarDispositivo(int index)
@ -433,7 +460,7 @@ namespace AgroBase.Comum
}; };
tmrConexao = new Timer() tmrConexao = new Timer()
{ {
Interval = 3000, Interval = 1000,
Enabled = false Enabled = false
}; };
tmrConexao.Tick -= TmrConexao_Tick; tmrConexao.Tick -= TmrConexao_Tick;
@ -526,8 +553,12 @@ namespace AgroBase.Comum
private void TmrConexao_Tick(object sender, EventArgs e) private void TmrConexao_Tick(object sender, EventArgs e)
{ {
AcaoConexao(); if (!FilaService.ExistemMensagensPendentesEnvio(Dispositivo) && Dados.MensagemConexaoRecebida())
tmrConexao.Enabled = false; {
AcaoConexao();
Dados.MensagemConexaoRecebida(true);
tmrConexao.Enabled = false;
}
} }
private void TmrLimpeza_Tick(object sender, EventArgs e) private void TmrLimpeza_Tick(object sender, EventArgs e)
@ -681,7 +712,7 @@ namespace AgroBase.Comum
{ {
if (e.KeyCode == Keys.Enter && txtEnvios.Text != "") if (e.KeyCode == Keys.Enter && txtEnvios.Text != "")
{ {
EnviarDadosSerial(txtEnvios.Text); AdicionarMensagemFila(txtEnvios.Text);
txtEnvios.Text = ""; txtEnvios.Text = "";
txtEnvios.Focus(); txtEnvios.Focus();
} }
@ -702,7 +733,7 @@ namespace AgroBase.Comum
} }
catch (Exception ex) catch (Exception ex)
{ {
Console.WriteLine(ex.Message); Console.WriteLine("Erro ao receber dados da porta " + _Porta.PortName + " - " + ex.Message);
} }
if (Recebido == "") if (Recebido == "")
{ {
@ -715,6 +746,19 @@ namespace AgroBase.Comum
lblStatus.Invoke((Action)(() => lblStatus.Text = StatusPorta() + " - " + Enum.GetName(typeof(T_Code), Dispositivo))); lblStatus.Invoke((Action)(() => lblStatus.Text = StatusPorta() + " - " + Enum.GetName(typeof(T_Code), Dispositivo)));
} }
if (FilaService.FeatureAtivada)
{
if (Recebido.Length >= 3 && int.TryParse(Recebido.Substring(0, 3), out int val))
{
F_Code funcao = (F_Code)(val);
if (funcao == F_Code.Msg)
{
int _id = int.Parse(Recebido.Split(';')[1]);
FilaService.MarcarMensagemRecebida(_id);
}
}
}
Logs.Add(new DispositivoLogModel() Logs.Add(new DispositivoLogModel()
{ {
Momento = DateTime.Now, Momento = DateTime.Now,
@ -744,8 +788,8 @@ namespace AgroBase.Comum
{ {
if (ProtocoloConfiguracao != "") if (ProtocoloConfiguracao != "")
{ {
EnviarDadosSerial(ProtocoloConfiguracao); AdicionarMensagemFila(ProtocoloConfiguracao);
System.Threading.Thread.Sleep(100); //System.Threading.Thread.Sleep(100);
} }
} }
} }
@ -760,8 +804,8 @@ namespace AgroBase.Comum
{ {
if (ProtocoloConfiguracao != "") if (ProtocoloConfiguracao != "")
{ {
EnviarDadosSerial(ProtocoloConfiguracao); AdicionarMensagemFila(ProtocoloConfiguracao);
System.Threading.Thread.Sleep(100); //System.Threading.Thread.Sleep(100);
} }
} }
} }

View File

@ -0,0 +1,151 @@
using AgroBase.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static AgroBase.Models.Enuns;
namespace AgroBase.Services
{
public class FilaService
{
private static List<MensagemFilaModel> MensagensFila;
public static bool FeatureAtivada = false;
public static void Inicializar(bool Ativado)
{
MensagensFila = new List<MensagemFilaModel>();
EnviarMensagensLoop().ConfigureAwait(false);
FeatureAtivada = Ativado;
}
public static void AdicionarMensagemFila(T_Code Dispositivo, string Mensagem)
{
MensagensFila.Add(new MensagemFilaModel()
{
Id = MensagensFila.Count + 1,
Dispositivo = Dispositivo,
Mensagem = Mensagem,
AdicionadoEm = DateTime.Now,
Enviado = false,
Recebido = false,
});
}
private static void MarcarMensagemEnviada(int Id)
{
var Mensagem = MensagensFila.FirstOrDefault(x => x.Id == Id);
if (Mensagem != null)
{
Console.WriteLine("Mensagem Enviada: " + Mensagem.Mensagem);
Mensagem.Enviado = true;
Mensagem.EnviadoEm = DateTime.Now;
}
}
public static void MarcarMensagemRecebida(int Id)
{
var Mensagem = MensagensFila.FirstOrDefault(x => x.Id == Id);
if (Mensagem != null)
{
Mensagem.Enviado = true;
Mensagem.Recebido = true;
Mensagem.RecebidoEm = DateTime.Now;
}
}
private static bool RealizarEnvio(MensagemFilaModel Mensagem)
{
var Dispositivo = Variaveis.DispositivosConectados.FirstOrDefault(x => x.Dispositivo == Mensagem.Dispositivo);
if (Dispositivo != null)
{
if (FeatureAtivada)
{
try
{
Dispositivo.EnviarDadosSerial(Mensagem.Id + ";" + Mensagem.Mensagem);
return true;
}
catch (Exception ex)
{
Console.WriteLine("Erro ao enviar mensagem para o dispositivo " + Dispositivo.Dispositivo.ToString() + " - " + ex.Message);
return false;
}
}
else
{
Dispositivo.EnviarDadosSerial(Mensagem.Mensagem);
MarcarMensagemRecebida(Mensagem.Id);
return true;
}
}
else
{
return false;
}
}
public static bool ExistemMensagensPendentesEnvio(T_Code Dispositivo)
{
return MensagensFila.Any(x => x.Dispositivo == Dispositivo && !x.Enviado);
}
private static bool FilaLiberada(T_Code Dispositivo)
{
// Consulta mensagens do dispositivo
var Fila = MensagensFila.Where(x => x.Dispositivo == Dispositivo).OrderBy(x => x.AdicionadoEm).ToList();
// Verifica se existe alguma mensagem que foi enviada e ainda não foi respondida
var MensagemPendente = Fila.FirstOrDefault(x => x.Enviado && !x.Recebido);
// Caso não hajam mensagens pendentes, então a fila está liberada
bool Liberado = MensagemPendente == null;
if (!Liberado)
{
// Se a mensagem pendente já foi enviada a mais de um segundo, recoloca ela na fila
if (MensagemPendente.EnviadoEm?.AddSeconds(1) < DateTime.Now)
{
MensagemPendente.Enviado = false;
MensagemPendente.AdicionadoEm = DateTime.Now;
Liberado = true;
}
}
if (Dispositivo == T_Code.Dir && Fila.Any())
{
}
return Liberado;
}
public static async Task EnviarMensagensLoop()
{
while (true)
{
var Filas = MensagensFila.Where(x => !x.Enviado).GroupBy(x => x.Dispositivo).ToList();
foreach (var Fila in Filas)
{
if (FilaLiberada(Fila.Key))
{
var Mensagem = Fila.OrderBy(x => x.AdicionadoEm).FirstOrDefault();
if (RealizarEnvio(Mensagem))
{
MarcarMensagemEnviada(Mensagem.Id);
}
}
}
await Task.Delay(10);
}
}
}
}

View File

@ -28,6 +28,7 @@ namespace AgroBase.Services
void AcaoDesconectar(); void AcaoDesconectar();
void SalvarParametros(DispositivoBaseModel dados); void SalvarParametros(DispositivoBaseModel dados);
void LimparBufferSerial(bool LimparConsole); void LimparBufferSerial(bool LimparConsole);
void AdicionarMensagemFila(string Protocolo);
void EnviarDadosSerial(string Protocolo); void EnviarDadosSerial(string Protocolo);
void btnConectar_Click(object sender, EventArgs e); void btnConectar_Click(object sender, EventArgs e);
} }

View File

@ -92,7 +92,7 @@ namespace AgroBase.Services
byte[] buffer = new byte[bytesToRead]; byte[] buffer = new byte[bytesToRead];
Porta.Read(buffer, 0, bytesToRead); Porta.Read(buffer, 0, bytesToRead);
var Res = DecifrarRespostaAquisicao(buffer); var Res = DecifrarRespostaAquisicao(buffer);
if (Res != null && Res.Tensao > 0) if (Res != null)
{ {
PortaPZEM = Porta; PortaPZEM = Porta;
Iniciado = true; Iniciado = true;
@ -277,9 +277,9 @@ namespace AgroBase.Services
{ {
PZEMModel modelo = new PZEMModel(); PZEMModel modelo = new PZEMModel();
var tensao_raw = "0x" + resposta[3].ToString("X") + resposta[4].ToString("X"); var tensao_raw = "0x" + resposta[3].ToString("X") + resposta[4].ToString("X");
modelo.Tensao = Convert.ToInt32(tensao_raw, 16) * 0.01; modelo.Tensao = Convert.ToInt32(tensao_raw, 16) * 0.02;
var corrente_raw = "0x" + resposta[5].ToString("X") + resposta[6].ToString("X"); var corrente_raw = "0x" + resposta[5].ToString("X") + resposta[6].ToString("X");
modelo.Corrente = Convert.ToInt32(corrente_raw, 16) * 0.01; modelo.Corrente = Convert.ToInt32(corrente_raw, 16) * 0.0015;
var potencia_raw = "0x" + resposta[7].ToString("X") + resposta[8].ToString("X") + resposta[9].ToString("X") + resposta[10].ToString("X"); var potencia_raw = "0x" + resposta[7].ToString("X") + resposta[8].ToString("X") + resposta[9].ToString("X") + resposta[10].ToString("X");
modelo.Potencia = Convert.ToInt32(potencia_raw, 16) * 0.1; modelo.Potencia = Convert.ToInt32(potencia_raw, 16) * 0.1;
var energia_raw = "0x" + resposta[11].ToString("X") + resposta[12].ToString("X") + resposta[13].ToString("X") + resposta[14].ToString("X"); var energia_raw = "0x" + resposta[11].ToString("X") + resposta[12].ToString("X") + resposta[13].ToString("X") + resposta[14].ToString("X");
@ -295,7 +295,7 @@ namespace AgroBase.Services
UltimaLeitura = modelo; UltimaLeitura = modelo;
Console.WriteLine("PZEM Tensão: " + modelo.Tensao.ToString("0.00")); Console.WriteLine("PZEM Tensão: " + modelo.Tensao.ToString("0.00") + " - Corrente: " + modelo.Corrente.ToString("0.00")) ;
return modelo; return modelo;
} }

View File

@ -32,8 +32,7 @@ namespace AgroBase.Services
Args += ' '.ToString() + '"'.ToString() + arg + '"'.ToString(); Args += ' '.ToString() + '"'.ToString() + arg + '"'.ToString();
} }
Process pythonProcess = new Process(); Process pythonProcess = new Process();
pythonProcess.StartInfo.FileName = "C:\\Users\\USER\\AppData\\Local\\Programs\\Python\\Python311\\python"; pythonProcess.StartInfo.FileName = "python";
//pythonProcess.StartInfo.FileName = "python";
pythonProcess.StartInfo.Arguments = ScriptPath + Args; pythonProcess.StartInfo.Arguments = ScriptPath + Args;
pythonProcess.StartInfo.UseShellExecute = false; pythonProcess.StartInfo.UseShellExecute = false;
pythonProcess.StartInfo.RedirectStandardOutput = true; pythonProcess.StartInfo.RedirectStandardOutput = true;

View File

@ -66,8 +66,10 @@ namespace AgroBase.Services
}); });
PortasSucesso.ForEach(x => PortasComErro.Remove(x)); PortasSucesso.ForEach(x => PortasComErro.Remove(x));
var dispositivosMapeados = DispositivosMapeados.ToList();
var Portas = SerialPort.GetPortNames(); var Portas = SerialPort.GetPortNames();
var PortasNaoMapeadas = Portas.Where(x => !DispositivosMapeados.Select(y => y.PortaCOM).Contains(x) && !PortasComErro.Select(y => y.PortName).Contains(x)).ToList(); var PortasNaoMapeadas = Portas.Where(x => !dispositivosMapeados.Select(y => y.PortaCOM).Contains(x) && !PortasComErro.Select(y => y.PortName).Contains(x)).ToList();
if (GPSService.PortaGPS != null) if (GPSService.PortaGPS != null)
{ {
PortasNaoMapeadas = PortasNaoMapeadas.Where(x => x != GPSService.PortaGPS.PortName).ToList(); PortasNaoMapeadas = PortasNaoMapeadas.Where(x => x != GPSService.PortaGPS.PortName).ToList();
@ -84,7 +86,7 @@ namespace AgroBase.Services
SerialPort _Porta = new SerialPort() { PortName = PortaCom, BaudRate = 115200 }; SerialPort _Porta = new SerialPort() { PortName = PortaCom, BaudRate = 115200 };
_Porta.DataReceived -= _Porta_DataReceived; _Porta.DataReceived -= _Porta_DataReceived;
_Porta.DataReceived += _Porta_DataReceived; _Porta.DataReceived += _Porta_DataReceived;
string CodigoTest = ((int)F_Code.Chk).ToString() + "check" + EndLine; string CodigoTest = (FilaService.FeatureAtivada ? "-1;" + ((int)F_Code.Chk).ToString() + ";check" : ((int)F_Code.Chk).ToString() + "check") + EndLine;
try try
{ {
_Porta.Open(); _Porta.Open();
@ -98,7 +100,7 @@ namespace AgroBase.Services
PortasComErro.Add(_Porta); PortasComErro.Add(_Porta);
} }
} }
var DispositivosRemovidos = DispositivosMapeados.Where(x => !Portas.Contains(x.PortaCOM)).ToList(); var DispositivosRemovidos = dispositivosMapeados.Where(x => !Portas.Contains(x.PortaCOM)).ToList();
foreach (var Dispositivo in DispositivosRemovidos) foreach (var Dispositivo in DispositivosRemovidos)
{ {
DispositivosMapeados.Remove(Dispositivo); DispositivosMapeados.Remove(Dispositivo);
@ -159,9 +161,9 @@ namespace AgroBase.Services
private static void _Porta_DataReceived(object sender, SerialDataReceivedEventArgs e) private static void _Porta_DataReceived(object sender, SerialDataReceivedEventArgs e)
{ {
var Porta = ((SerialPort)sender); var Porta = ((SerialPort)sender);
string Recebido = Porta.ReadLine();
try try
{ {
string Recebido = Porta.ReadLine();
if (Recebido.Length > 2) if (Recebido.Length > 2)
{ {
T_Code Dispositivo = T_Code.Vzo; T_Code Dispositivo = T_Code.Vzo;
@ -184,6 +186,11 @@ namespace AgroBase.Services
return; return;
} }
if ((F_Code)code == F_Code.Msg)
{
return;
}
Dispositivo = (T_Code)(int.Parse(Dados[0])); Dispositivo = (T_Code)(int.Parse(Dados[0]));
int.TryParse(Dados[1], out int check); int.TryParse(Dados[1], out int check);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[{"Momento":"2024-04-23T15:14:47.4849856-03:00","Protocolo":"258ET;1;0;1;0;0;0022;006,005,004,007,015,016,017,018","Enviado":true},{"Momento":"2024-04-23T15:14:47.4889862-03:00","Protocolo":"258EF;1;1;1;0;0;-010;042,002,001,040,041,039,037,038","Enviado":true},{"Momento":"2024-04-23T15:14:47.4939845-03:00","Protocolo":"258DT;1;2;1;0;0;0008;012,013,014,010,011,009,003,046","Enviado":true},{"Momento":"2024-04-23T15:14:47.500985-03:00","Protocolo":"258DF;1;3;1;0;0;-007;021,020,019,048,047,045,036,035","Enviado":true},{"Momento":"2024-04-23T15:14:47.5049862-03:00","Protocolo":"258MD;1;00500;1;0;0;0-1","Enviado":true},{"Momento":"2024-04-23T15:14:52.4304166-03:00","Protocolo":"258ET;1;0;1;0;0;0022;006,005,004,007,015,016,017,018","Enviado":true},{"Momento":"2024-04-23T15:14:52.434417-03:00","Protocolo":"258EF;1;1;1;0;0;-010;042,002,001,040,041,039,037,038","Enviado":true},{"Momento":"2024-04-23T15:14:52.440419-03:00","Protocolo":"258DT;1;2;1;0;0;0008;012,013,014,010,011,009,003,046","Enviado":true},{"Momento":"2024-04-23T15:14:52.4454181-03:00","Protocolo":"258DF;1;3;1;0;0;-007;021,020,019,048,047,045,036,035","Enviado":true},{"Momento":"2024-04-23T15:14:52.4504173-03:00","Protocolo":"258MD;1;00500;1;0;0;0-1","Enviado":true},{"Momento":"2024-04-23T15:14:57.5161789-03:00","Protocolo":"258ET;1;0;1;0;0;0022;006,005,004,007,015,016,017,018","Enviado":true},{"Momento":"2024-04-23T15:14:57.5211805-03:00","Protocolo":"258EF;1;1;1;0;0;-010;042,002,001,040,041,039,037,038","Enviado":true},{"Momento":"2024-04-23T15:14:57.5251777-03:00","Protocolo":"258DT;1;2;1;0;0;0008;012,013,014,010,011,009,003,046","Enviado":true},{"Momento":"2024-04-23T15:14:57.5311788-03:00","Protocolo":"258DF;1;3;1;0;0;-007;021,020,019,048,047,045,036,035","Enviado":true},{"Momento":"2024-04-23T15:14:57.5381803-03:00","Protocolo":"258MD;1;00500;1;0;0;0-1","Enviado":true},{"Momento":"2024-04-23T15:15:02.4690174-03:00","Protocolo":"258ET;1;0;1;0;0;0022;006,005,004,007,015,016,017,018","Enviado":true},{"Momento":"2024-04-23T15:15:02.4740195-03:00","Protocolo":"258EF;1;1;1;0;0;-010;042,002,001,040,041,039,037,038","Enviado":true},{"Momento":"2024-04-23T15:15:02.4790193-03:00","Protocolo":"258DT;1;2;1;0;0;0008;012,013,014,010,011,009,003,046","Enviado":true},{"Momento":"2024-04-23T15:15:02.4850181-03:00","Protocolo":"258DF;1;3;1;0;0;-007;021,020,019,048,047,045,036,035","Enviado":true},{"Momento":"2024-04-23T15:15:02.4900196-03:00","Protocolo":"258MD;1;00500;1;0;0;0-1","Enviado":true},{"Momento":"2024-04-23T15:15:07.4332228-03:00","Protocolo":"258ET;1;0;1;0;0;0022;006,005,004,007,015,016,017,018","Enviado":true},{"Momento":"2024-04-23T15:15:07.4392211-03:00","Protocolo":"258EF;1;1;1;0;0;-010;042,002,001,040,041,039,037,038","Enviado":true},{"Momento":"2024-04-23T15:15:07.4442194-03:00","Protocolo":"258DT;1;2;1;0;0;0008;012,013,014,010,011,009,003,046","Enviado":true},{"Momento":"2024-04-23T15:15:07.4492198-03:00","Protocolo":"258DF;1;3;1;0;0;-007;021,020,019,048,047,045,036,035","Enviado":true},{"Momento":"2024-04-23T15:15:07.4552202-03:00","Protocolo":"258MD;1;00500;1;0;0;0-1","Enviado":true}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[{"Momento":"2024-04-23T09:24:01.3592838-03:00","Protocolo":"258ET;1;0;1;0;0;0022;006,005,004,007,015,016,017,018","Enviado":true},{"Momento":"2024-04-23T09:24:01.4760188-03:00","Protocolo":"258EF;1;1;1;0;0;-010;042,002,001,040,041,039,037,038","Enviado":true},{"Momento":"2024-04-23T09:24:01.5843183-03:00","Protocolo":"258DT;1;2;1;0;0;0008;012,013,014,010,011,009,003,046","Enviado":true},{"Momento":"2024-04-23T09:24:01.6928099-03:00","Protocolo":"258DF;1;3;1;0;0;-007;021,020,019,048,047,045,036,035","Enviado":true},{"Momento":"2024-04-23T09:24:01.8012625-03:00","Protocolo":"258MD;1;00500;1;0;0;0-1","Enviado":true},{"Momento":"2024-04-23T09:24:40.4055057-03:00","Protocolo":"258ET;1;0;1;0;0;0022;006,005,004,007,015,016,017,018","Enviado":true},{"Momento":"2024-04-23T09:24:40.5130566-03:00","Protocolo":"258EF;1;1;1;0;0;-010;042,002,001,040,041,039,037,038","Enviado":true},{"Momento":"2024-04-23T09:24:40.6233481-03:00","Protocolo":"258DT;1;2;1;0;0;0008;012,013,014,010,011,009,003,046","Enviado":true},{"Momento":"2024-04-23T09:24:40.7314767-03:00","Protocolo":"258DF;1;3;1;0;0;-007;021,020,019,048,047,045,036,035","Enviado":true},{"Momento":"2024-04-23T09:24:40.8401501-03:00","Protocolo":"258MD;1;00500;1;0;0;0-1","Enviado":true},{"Momento":"2024-04-23T09:25:27.8401704-03:00","Protocolo":"258ET;1;0;1;0;0;0022;006,005,004,007,015,016,017,018","Enviado":true},{"Momento":"2024-04-23T09:25:27.9571101-03:00","Protocolo":"258EF;1;1;1;0;0;-010;042,002,001,040,041,039,037,038","Enviado":true},{"Momento":"2024-04-23T09:25:28.0653636-03:00","Protocolo":"258DT;1;2;1;0;0;0008;012,013,014,010,011,009,003,046","Enviado":true},{"Momento":"2024-04-23T09:25:28.1738761-03:00","Protocolo":"258DF;1;3;1;0;0;-007;021,020,019,048,047,045,036,035","Enviado":true},{"Momento":"2024-04-23T09:25:28.2812003-03:00","Protocolo":"258MD;1;00500;1;0;0;0-1","Enviado":true},{"Momento":"2024-04-23T09:25:56.9762816-03:00","Protocolo":"258ET;1;0;1;0;0;0022;006,005,004,007,015,016,017,018","Enviado":true},{"Momento":"2024-04-23T09:25:57.0930098-03:00","Protocolo":"258EF;1;1;1;0;0;-010;042,002,001,040,041,039,037,038","Enviado":true},{"Momento":"2024-04-23T09:25:57.2019435-03:00","Protocolo":"258DT;1;2;1;0;0;0008;012,013,014,010,011,009,003,046","Enviado":true},{"Momento":"2024-04-23T09:25:57.3095898-03:00","Protocolo":"258DF;1;3;1;0;0;-007;021,020,019,048,047,045,036,035","Enviado":true},{"Momento":"2024-04-23T09:25:57.4156193-03:00","Protocolo":"258MD;1;00500;1;0;0;0-1","Enviado":true}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[{"Momento":"2024-04-23T13:51:49.1958049-03:00","Protocolo":"5;258;ET;1;0;1;0;0;0022;006,005,004,007,015,016,017,018","Enviado":true},{"Momento":"2024-04-23T13:51:49.2698106-03:00","Protocolo":"655;-1515870811;$\r","Enviado":false},{"Momento":"2024-04-23T13:51:49.2858166-03:00","Protocolo":"655;5;$\r","Enviado":false},{"Momento":"2024-04-23T13:51:49.2998088-03:00","Protocolo":"6;258;EF;1;1;1;0;0;-010;042,002,001,040,041,039,037,038","Enviado":true},{"Momento":"2024-04-23T13:51:49.3088069-03:00","Protocolo":"655;-1515870811;$\r","Enviado":false},{"Momento":"2024-04-23T13:51:49.373809-03:00","Protocolo":"655;6;$\r","Enviado":false},{"Momento":"2024-04-23T13:51:49.3828097-03:00","Protocolo":"7;258;DT;1;2;1;0;0;0008;012,013,014,010,011,009,003,046","Enviado":true},{"Momento":"2024-04-23T13:51:49.3928077-03:00","Protocolo":"655;-1515870811;$\r","Enviado":false},{"Momento":"2024-04-23T13:51:49.4048088-03:00","Protocolo":"655;7;$\r","Enviado":false},{"Momento":"2024-04-23T13:51:49.4178128-03:00","Protocolo":"8;258;DF;1;3;1;0;0;-007;021,020,019,048,047,045,036,035","Enviado":true},{"Momento":"2024-04-23T13:51:49.4278074-03:00","Protocolo":"655;-1515870811;$\r","Enviado":false},{"Momento":"2024-04-23T13:51:49.4408087-03:00","Protocolo":"655;8;$\r","Enviado":false},{"Momento":"2024-04-23T13:51:49.4508095-03:00","Protocolo":"9;258;MD;1;00500;1;0;0;0-1","Enviado":true},{"Momento":"2024-04-23T13:51:49.4588061-03:00","Protocolo":"655;-1515870811;$\r","Enviado":false},{"Momento":"2024-04-23T13:51:49.4688086-03:00","Protocolo":"655;9;$\r","Enviado":false}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[{"Momento":"2024-04-23T15:14:47.4859854-03:00","Protocolo":"258ET;1;0;0;1;1.750,2.100,0.080,004,005,006,007,015,016,017,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:47.4909868-03:00","Protocolo":"258EF;1;1;0;1;1.750,2.100,0.080,001,002,042,041,040,039,038,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:47.496986-03:00","Protocolo":"258DT;1;2;0;1;1.750,2.100,0.080,014,013,012,011,010,009,046,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:47.5029876-03:00","Protocolo":"258DF;1;3;0;1;1.750,2.100,0.080,019,020,047,021,048,045,035,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:47.5079848-03:00","Protocolo":"258MD;1;00500;0000;1023;022;00500;05;25","Enviado":true},{"Momento":"2024-04-23T15:14:52.4324181-03:00","Protocolo":"258ET;1;0;0;1;1.750,2.100,0.080,004,005,006,007,015,016,017,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:52.4384178-03:00","Protocolo":"258EF;1;1;0;1;1.750,2.100,0.080,001,002,042,041,040,039,038,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:52.4434197-03:00","Protocolo":"258DT;1;2;0;1;1.750,2.100,0.080,014,013,012,011,010,009,046,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:52.4494177-03:00","Protocolo":"258DF;1;3;0;1;1.750,2.100,0.080,019,020,047,021,048,045,035,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:52.4554175-03:00","Protocolo":"258MD;1;00500;0000;1023;022;00500;05;25","Enviado":true},{"Momento":"2024-04-23T15:14:57.5181798-03:00","Protocolo":"258ET;1;0;0;1;1.750,2.100,0.080,004,005,006,007,015,016,017,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:57.5231791-03:00","Protocolo":"258EF;1;1;0;1;1.750,2.100,0.080,001,002,042,041,040,039,038,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:57.5291778-03:00","Protocolo":"258DT;1;2;0;1;1.750,2.100,0.080,014,013,012,011,010,009,046,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:57.5341774-03:00","Protocolo":"258DF;1;3;0;1;1.750,2.100,0.080,019,020,047,021,048,045,035,0-1","Enviado":true},{"Momento":"2024-04-23T15:14:57.5401793-03:00","Protocolo":"258MD;1;00500;0000;1023;022;00500;05;25","Enviado":true},{"Momento":"2024-04-23T15:15:02.4720191-03:00","Protocolo":"258ET;1;0;0;1;1.750,2.100,0.080,004,005,006,007,015,016,017,0-1","Enviado":true},{"Momento":"2024-04-23T15:15:02.477019-03:00","Protocolo":"258EF;1;1;0;1;1.750,2.100,0.080,001,002,042,041,040,039,038,0-1","Enviado":true},{"Momento":"2024-04-23T15:15:02.4830193-03:00","Protocolo":"258DT;1;2;0;1;1.750,2.100,0.080,014,013,012,011,010,009,046,0-1","Enviado":true},{"Momento":"2024-04-23T15:15:02.4880192-03:00","Protocolo":"258DF;1;3;0;1;1.750,2.100,0.080,019,020,047,021,048,045,035,0-1","Enviado":true},{"Momento":"2024-04-23T15:15:02.4940177-03:00","Protocolo":"258MD;1;00500;0000;1023;022;00500;05;25","Enviado":true},{"Momento":"2024-04-23T15:15:07.4362193-03:00","Protocolo":"258ET;1;0;0;1;1.750,2.100,0.080,004,005,006,007,015,016,017,0-1","Enviado":true},{"Momento":"2024-04-23T15:15:07.4422216-03:00","Protocolo":"258EF;1;1;0;1;1.750,2.100,0.080,001,002,042,041,040,039,038,0-1","Enviado":true},{"Momento":"2024-04-23T15:15:07.4472214-03:00","Protocolo":"258DT;1;2;0;1;1.750,2.100,0.080,014,013,012,011,010,009,046,0-1","Enviado":true},{"Momento":"2024-04-23T15:15:07.4532207-03:00","Protocolo":"258DF;1;3;0;1;1.750,2.100,0.080,019,020,047,021,048,045,035,0-1","Enviado":true},{"Momento":"2024-04-23T15:15:07.4592197-03:00","Protocolo":"258MD;1;00500;0000;1023;022;00500;05;25","Enviado":true}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[{"Momento":"2024-04-23T09:24:05.0362068-03:00","Protocolo":"258ET;1;0;0;1;1.750,2.100,0.080,004,005,006,007,015,016,017,0-1","Enviado":true},{"Momento":"2024-04-23T09:24:05.1519407-03:00","Protocolo":"258EF;1;1;0;1;1.750,2.100,0.080,001,002,042,041,040,039,038,0-1","Enviado":true},{"Momento":"2024-04-23T09:24:05.2594327-03:00","Protocolo":"258DT;1;2;0;1;1.750,2.100,0.080,014,013,012,011,010,009,046,0-1","Enviado":true},{"Momento":"2024-04-23T09:24:05.3695289-03:00","Protocolo":"258DF;1;3;0;1;1.750,2.100,0.080,019,020,047,021,048,045,035,0-1","Enviado":true},{"Momento":"2024-04-23T09:24:05.4779234-03:00","Protocolo":"258MD;1;00500;0000;1023;022;00500;05;25","Enviado":true},{"Momento":"2024-04-23T09:24:46.6352001-03:00","Protocolo":"258ET;1;0;0;1;1.750,2.100,0.080,004,005,006,007,015,016,017,0-1","Enviado":true},{"Momento":"2024-04-23T09:24:46.7435015-03:00","Protocolo":"258EF;1;1;0;1;1.750,2.100,0.080,001,002,042,041,040,039,038,0-1","Enviado":true},{"Momento":"2024-04-23T09:24:46.8511303-03:00","Protocolo":"258DT;1;2;0;1;1.750,2.100,0.080,014,013,012,011,010,009,046,0-1","Enviado":true},{"Momento":"2024-04-23T09:24:46.9609322-03:00","Protocolo":"258DF;1;3;0;1;1.750,2.100,0.080,019,020,047,021,048,045,035,0-1","Enviado":true},{"Momento":"2024-04-23T09:24:47.0692693-03:00","Protocolo":"258MD;1;00500;0000;1023;022;00500;05;25","Enviado":true},{"Momento":"2024-04-23T09:25:41.640858-03:00","Protocolo":"258ET;1;0;0;1;1.750,2.100,0.080,004,005,006,007,015,016,017,0-1","Enviado":true},{"Momento":"2024-04-23T09:25:41.7472758-03:00","Protocolo":"258EF;1;1;0;1;1.750,2.100,0.080,001,002,042,041,040,039,038,0-1","Enviado":true},{"Momento":"2024-04-23T09:25:41.8555302-03:00","Protocolo":"258DT;1;2;0;1;1.750,2.100,0.080,014,013,012,011,010,009,046,0-1","Enviado":true},{"Momento":"2024-04-23T09:25:41.9659086-03:00","Protocolo":"258DF;1;3;0;1;1.750,2.100,0.080,019,020,047,021,048,045,035,0-1","Enviado":true},{"Momento":"2024-04-23T09:25:42.0748467-03:00","Protocolo":"258MD;1;00500;0000;1023;022;00500;05;25","Enviado":true},{"Momento":"2024-04-23T09:26:02.636319-03:00","Protocolo":"258ET;1;0;0;1;1.750,2.100,0.080,004,005,006,007,015,016,017,0-1","Enviado":true},{"Momento":"2024-04-23T09:26:02.7422143-03:00","Protocolo":"258EF;1;1;0;1;1.750,2.100,0.080,001,002,042,041,040,039,038,0-1","Enviado":true},{"Momento":"2024-04-23T09:26:02.8518215-03:00","Protocolo":"258DT;1;2;0;1;1.750,2.100,0.080,014,013,012,011,010,009,046,0-1","Enviado":true},{"Momento":"2024-04-23T09:26:02.9612456-03:00","Protocolo":"258DF;1;3;0;1;1.750,2.100,0.080,019,020,047,021,048,045,035,0-1","Enviado":true},{"Momento":"2024-04-23T09:26:03.066386-03:00","Protocolo":"258MD;1;00500;0000;1023;022;00500;05;25","Enviado":true}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[{"Momento":"2024-04-23T16:03:15.2365155-03:00","Protocolo":"258TMVET;1;411;1;00200;00;035;-1.038","Enviado":true},{"Momento":"2024-04-23T16:03:15.2375164-03:00","Protocolo":"258TMVEF;1;411;1;00200;00;025;-1.038","Enviado":true},{"Momento":"2024-04-23T16:03:15.2385164-03:00","Protocolo":"258TMVDT;1;411;1;00200;00;032;-1.038","Enviado":true},{"Momento":"2024-04-23T16:03:15.2395155-03:00","Protocolo":"258TMVDF;1;411;1;00200;00;033;-1.038","Enviado":true},{"Momento":"2024-04-23T16:03:15.2435173-03:00","Protocolo":"258AB3V ;1;322;1;00500;10;0-1;0x44 ;219 ","Enviado":true},{"Momento":"2024-04-23T16:03:15.2455154-03:00","Protocolo":"258AB5V ;1;322;1;00500;10;0-1;0x41 ;219 ","Enviado":true},{"Momento":"2024-04-23T16:03:15.2475165-03:00","Protocolo":"258AB7V2;1;322;1;00500;10;0-1;0x40 ;219 ","Enviado":true},{"Momento":"2024-04-23T16:03:15.2485162-03:00","Protocolo":"258AB12V;1;322;1;00500;10;0-1;0x45 ;226 ","Enviado":true},{"Momento":"2024-04-23T16:03:15.2495164-03:00","Protocolo":"258TBAT ;1;411;0;00500;05;0-1;0.0000","Enviado":true},{"Momento":"2024-04-23T16:03:15.251516-03:00","Protocolo":"258SUESQ;1;531;0;01000;02;0-1,0-1","Enviado":true},{"Momento":"2024-04-23T16:03:15.252516-03:00","Protocolo":"258SUDIR;1;531;0;01000;02;0-1,0-1","Enviado":true},{"Momento":"2024-04-23T16:03:15.254517-03:00","Protocolo":"258SMAG ;1;855;1;00500;15;0-1","Enviado":true},{"Momento":"2024-04-23T16:03:15.2565171-03:00","Protocolo":"258SNR_F;1;532;0;01000;20;017,005,016,004;5 ;30 ","Enviado":true},{"Momento":"2024-04-23T16:03:15.2575159-03:00","Protocolo":"258LEDMN;1;013","Enviado":true},{"Momento":"2024-04-23T16:03:15.259517-03:00","Protocolo":"258LEDAT;1;012","Enviado":true},{"Momento":"2024-04-23T16:03:15.260516-03:00","Protocolo":"258LEDOP;1;014","Enviado":true},{"Momento":"2024-04-23T16:03:15.2625175-03:00","Protocolo":"258MD ;1;0050021;22","Enviado":true},{"Momento":"2024-04-23T16:03:17.3442036-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:03:22.3447591-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:03:27.3453125-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:03:32.3435873-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:03:37.3464838-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:03:42.3427428-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:03:47.3428222-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:03:50.0238091-03:00","Protocolo":"258TMVET;0;411;1;00200;00;035;-1.038","Enviado":true},{"Momento":"2024-04-23T16:03:50.0258096-03:00","Protocolo":"258TMVEF;0;411;1;00200;00;025;-1.038","Enviado":true},{"Momento":"2024-04-23T16:03:50.0268095-03:00","Protocolo":"258TMVDT;0;411;1;00200;00;032;-1.038","Enviado":true},{"Momento":"2024-04-23T16:03:50.0278094-03:00","Protocolo":"258TMVDF;0;411;1;00200;00;033;-1.038","Enviado":true},{"Momento":"2024-04-23T16:03:50.0298083-03:00","Protocolo":"258AB3V ;0;322;1;00500;10;0-1;0x44 ;219 ","Enviado":true},{"Momento":"2024-04-23T16:03:50.0318091-03:00","Protocolo":"258AB5V ;0;322;1;00500;10;0-1;0x41 ;219 ","Enviado":true},{"Momento":"2024-04-23T16:03:50.0338106-03:00","Protocolo":"258AB7V2;0;322;1;00500;10;0-1;0x40 ;219 ","Enviado":true},{"Momento":"2024-04-23T16:03:50.0348095-03:00","Protocolo":"258AB12V;0;322;1;00500;10;0-1;0x45 ;226 ","Enviado":true},{"Momento":"2024-04-23T16:03:50.0368086-03:00","Protocolo":"258TBAT ;0;411;0;00500;05;0-1;0.0000","Enviado":true},{"Momento":"2024-04-23T16:03:50.037809-03:00","Protocolo":"258SUESQ;0;531;0;01000;02;0-1,0-1","Enviado":true},{"Momento":"2024-04-23T16:03:50.0398099-03:00","Protocolo":"258SUDIR;0;531;0;01000;02;0-1,0-1","Enviado":true},{"Momento":"2024-04-23T16:03:50.040809-03:00","Protocolo":"258SMAG ;0;855;1;00500;15;0-1","Enviado":true},{"Momento":"2024-04-23T16:03:50.0428086-03:00","Protocolo":"258SNR_F;0;532;0;01000;20;017,005,016,004;5 ;30 ","Enviado":true},{"Momento":"2024-04-23T16:03:50.0438102-03:00","Protocolo":"258LEDMN;0;013","Enviado":true},{"Momento":"2024-04-23T16:03:50.0458094-03:00","Protocolo":"258LEDAT;0;012","Enviado":true},{"Momento":"2024-04-23T16:03:50.0468101-03:00","Protocolo":"258LEDOP;0;014","Enviado":true},{"Momento":"2024-04-23T16:03:50.0498109-03:00","Protocolo":"258MD ;0;0050021;22","Enviado":true}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[{"Momento":"2024-04-23T15:46:12.856271-03:00","Protocolo":"258TMVET;1;411;0;00200;00;035;-1.038","Enviado":true},{"Momento":"2024-04-23T15:46:12.8582708-03:00","Protocolo":"258TMVEF;1;411;0;00200;00;025;-1.038","Enviado":true},{"Momento":"2024-04-23T15:46:12.8602716-03:00","Protocolo":"258TMVDT;1;411;0;00200;00;032;-1.038","Enviado":true},{"Momento":"2024-04-23T15:46:12.861272-03:00","Protocolo":"258TMVDF;1;411;0;00200;00;033;-1.038","Enviado":true},{"Momento":"2024-04-23T15:46:12.8642721-03:00","Protocolo":"258AB3V ;1;322;0;00500;10;0-1;0x44 ;219 ","Enviado":true},{"Momento":"2024-04-23T15:46:12.8662715-03:00","Protocolo":"258AB5V ;1;322;0;00500;10;0-1;0x41 ;219 ","Enviado":true},{"Momento":"2024-04-23T15:46:12.8682708-03:00","Protocolo":"258AB7V2;1;322;1;00500;10;0-1;0x40 ;219 ","Enviado":true},{"Momento":"2024-04-23T15:46:12.8692712-03:00","Protocolo":"258AB12V;1;322;0;00500;10;0-1;0x45 ;226 ","Enviado":true},{"Momento":"2024-04-23T15:46:12.8702722-03:00","Protocolo":"258TBAT ;1;411;0;00500;05;0-1;0.0000","Enviado":true},{"Momento":"2024-04-23T15:46:12.8722715-03:00","Protocolo":"258SUESQ;1;531;0;01000;02;0-1,0-1","Enviado":true},{"Momento":"2024-04-23T15:46:12.874272-03:00","Protocolo":"258SUDIR;1;531;0;01000;02;0-1,0-1","Enviado":true},{"Momento":"2024-04-23T15:46:12.8752723-03:00","Protocolo":"258SMAG ;1;855;0;00500;15;0-1","Enviado":true},{"Momento":"2024-04-23T15:46:12.8772705-03:00","Protocolo":"258SNR_F;1;532;0;01000;20;017,005,016,004;5 ;30 ","Enviado":true},{"Momento":"2024-04-23T15:46:12.8782712-03:00","Protocolo":"258LEDMN;1;013","Enviado":true},{"Momento":"2024-04-23T15:46:12.8792713-03:00","Protocolo":"258LEDAT;1;012","Enviado":true},{"Momento":"2024-04-23T15:46:12.8812724-03:00","Protocolo":"258LEDOP;1;014","Enviado":true},{"Momento":"2024-04-23T15:46:12.8852719-03:00","Protocolo":"258MD ;1;0050021;22","Enviado":true},{"Momento":"2024-04-23T15:46:13.7500318-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T15:46:18.7487682-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T15:46:18.9633353-03:00","Protocolo":"258TMVET;0;411;0;00200;00;035;-1.038","Enviado":true},{"Momento":"2024-04-23T15:46:18.9643363-03:00","Protocolo":"258TMVEF;0;411;0;00200;00;025;-1.038","Enviado":true},{"Momento":"2024-04-23T15:46:18.9653365-03:00","Protocolo":"258TMVDT;0;411;0;00200;00;032;-1.038","Enviado":true},{"Momento":"2024-04-23T15:46:18.968335-03:00","Protocolo":"258TMVDF;0;411;0;00200;00;033;-1.038","Enviado":true},{"Momento":"2024-04-23T15:46:18.9703365-03:00","Protocolo":"258AB3V ;0;322;0;00500;10;0-1;0x44 ;219 ","Enviado":true},{"Momento":"2024-04-23T15:46:18.9713365-03:00","Protocolo":"258AB5V ;0;322;0;00500;10;0-1;0x41 ;219 ","Enviado":true},{"Momento":"2024-04-23T15:46:18.9733357-03:00","Protocolo":"258AB7V2;0;322;1;00500;10;0-1;0x40 ;219 ","Enviado":true},{"Momento":"2024-04-23T15:46:18.9743361-03:00","Protocolo":"258AB12V;0;322;0;00500;10;0-1;0x45 ;226 ","Enviado":true},{"Momento":"2024-04-23T15:46:18.9763358-03:00","Protocolo":"258TBAT ;0;411;0;00500;05;0-1;0.0000","Enviado":true},{"Momento":"2024-04-23T15:46:18.9773363-03:00","Protocolo":"258SUESQ;0;531;0;01000;02;0-1,0-1","Enviado":true},{"Momento":"2024-04-23T15:46:18.9793351-03:00","Protocolo":"258SUDIR;0;531;0;01000;02;0-1,0-1","Enviado":true},{"Momento":"2024-04-23T15:46:18.9803359-03:00","Protocolo":"258SMAG ;0;855;0;00500;15;0-1","Enviado":true},{"Momento":"2024-04-23T15:46:18.9823352-03:00","Protocolo":"258SNR_F;0;532;0;01000;20;017,005,016,004;5 ;30 ","Enviado":true},{"Momento":"2024-04-23T15:46:18.9833373-03:00","Protocolo":"258LEDMN;0;013","Enviado":true},{"Momento":"2024-04-23T15:46:18.9853363-03:00","Protocolo":"258LEDAT;0;012","Enviado":true},{"Momento":"2024-04-23T15:46:18.9903364-03:00","Protocolo":"258LEDOP;0;014","Enviado":true},{"Momento":"2024-04-23T15:46:18.991336-03:00","Protocolo":"258MD ;0;0050021;22","Enviado":true},{"Momento":"2024-04-23T15:46:23.7490542-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[{"Momento":"2024-04-23T15:58:54.7176356-03:00","Protocolo":"258TMVET;1;411;1;00200;00;035;-1.038","Enviado":true},{"Momento":"2024-04-23T15:58:54.7196359-03:00","Protocolo":"258TMVEF;1;411;1;00200;00;025;-1.038","Enviado":true},{"Momento":"2024-04-23T15:58:54.7206363-03:00","Protocolo":"258TMVDT;1;411;1;00200;00;032;-1.038","Enviado":true},{"Momento":"2024-04-23T15:58:54.7216364-03:00","Protocolo":"258TMVDF;1;411;1;00200;00;033;-1.038","Enviado":true},{"Momento":"2024-04-23T15:58:54.7246352-03:00","Protocolo":"258AB3V ;1;322;1;00500;10;0-1;0x44 ;219 ","Enviado":true},{"Momento":"2024-04-23T15:58:54.7266364-03:00","Protocolo":"258AB5V ;1;322;1;00500;10;0-1;0x41 ;219 ","Enviado":true},{"Momento":"2024-04-23T15:58:54.7286367-03:00","Protocolo":"258AB7V2;1;322;1;00500;10;0-1;0x40 ;219 ","Enviado":true},{"Momento":"2024-04-23T15:58:54.7296356-03:00","Protocolo":"258AB12V;1;322;1;00500;10;0-1;0x45 ;226 ","Enviado":true},{"Momento":"2024-04-23T15:58:54.7306351-03:00","Protocolo":"258TBAT ;1;411;0;00500;05;0-1;0.0000","Enviado":true},{"Momento":"2024-04-23T15:58:54.7326362-03:00","Protocolo":"258SUESQ;1;531;0;01000;02;0-1,0-1","Enviado":true},{"Momento":"2024-04-23T15:58:54.7346353-03:00","Protocolo":"258SUDIR;1;531;0;01000;02;0-1,0-1","Enviado":true},{"Momento":"2024-04-23T15:58:54.7356366-03:00","Protocolo":"258SMAG ;1;855;1;00500;15;0-1","Enviado":true},{"Momento":"2024-04-23T15:58:54.7376357-03:00","Protocolo":"258SNR_F;1;532;0;01000;20;017,005,016,004;5 ;30 ","Enviado":true},{"Momento":"2024-04-23T15:58:54.7386356-03:00","Protocolo":"258LEDMN;1;013","Enviado":true},{"Momento":"2024-04-23T15:58:54.7406353-03:00","Protocolo":"258LEDAT;1;012","Enviado":true},{"Momento":"2024-04-23T15:58:54.7426357-03:00","Protocolo":"258LEDOP;1;014","Enviado":true},{"Momento":"2024-04-23T15:58:54.7436359-03:00","Protocolo":"258MD ;1;0050021;22","Enviado":true},{"Momento":"2024-04-23T15:58:58.8452743-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T15:59:03.8461074-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T15:59:07.5145955-03:00","Protocolo":"258TMVET;1;411;1;00200;00;035;-1.038$","Enviado":true},{"Momento":"2024-04-23T15:59:08.8439809-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T15:59:13.8453987-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T15:59:18.8440639-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T15:59:23.8455823-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T15:59:33.7645251-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T15:59:34.3126283-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T15:59:57.8575184-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:00:09.5699871-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:00:09.9306001-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:00:10.1666013-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:00:10.3390403-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:00:10.8093401-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:00:10.812342-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true},{"Momento":"2024-04-23T16:00:13.8430867-03:00","Protocolo":"293LEDOP;1;0;0000;0000","Enviado":true}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[{"Momento":"2024-04-24T10:01:46.3912751-03:00","Protocolo":"258TMVET;1;411;1;00200;00;035;-1.038$","Enviado":true},{"Momento":"2024-04-24T10:01:46.3912751-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.4069014-03:00","Protocolo":"TMVET Iniciado\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.4225256-03:00","Protocolo":"#211;TMVET;1$\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.5006525-03:00","Protocolo":"258TMVEF;1;411;1;00200;00;025;-1.038$","Enviado":true},{"Momento":"2024-04-24T10:01:46.5006525-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.5162787-03:00","Protocolo":"TMVEF Iniciado\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.5162787-03:00","Protocolo":"#211;TMVEF;1$\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.6100263-03:00","Protocolo":"258TMVDT;1;411;1;00200;00;032;-1.038$","Enviado":true},{"Momento":"2024-04-24T10:01:46.6100263-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.6256522-03:00","Protocolo":"TMVDT Iniciado\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.6256522-03:00","Protocolo":"#211;TMVDT;1$\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.7194013-03:00","Protocolo":"258TMVDF;1;411;1;00200;00;033;-1.038$","Enviado":true},{"Momento":"2024-04-24T10:01:46.7194013-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.7350278-03:00","Protocolo":"TMVDF Iniciado\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.7350278-03:00","Protocolo":"#211;TMVDF;1$\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.8289779-03:00","Protocolo":"258AB3V ;1;322;1;00500;10;0-1;0x44 ;219 $","Enviado":true},{"Momento":"2024-04-24T10:01:46.8289779-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:01:46.9383494-03:00","Protocolo":"258AB5V ;1;322;1;00500;10;0-1;0x41 ;219 $","Enviado":true},{"Momento":"2024-04-24T10:01:47.0477205-03:00","Protocolo":"258AB7V2;1;322;1;00500;10;0-1;0x40 ;219 $","Enviado":true},{"Momento":"2024-04-24T10:01:47.157095-03:00","Protocolo":"258AB12V;1;322;1;00500;10;0-1;0x45 ;226 $","Enviado":true},{"Momento":"2024-04-24T10:01:47.2664707-03:00","Protocolo":"258SMAG ;1;855;1;00500;15;0-1$","Enviado":true},{"Momento":"2024-04-24T10:01:47.3762283-03:00","Protocolo":"258LEDMN;1;013$","Enviado":true},{"Momento":"2024-04-24T10:01:47.485604-03:00","Protocolo":"258LEDAT;1;012$","Enviado":true},{"Momento":"2024-04-24T10:01:47.5875038-03:00","Protocolo":"258LEDOP;1;014$","Enviado":true},{"Momento":"2024-04-24T10:01:47.6968863-03:00","Protocolo":"258MD ;1;0050021;22$","Enviado":true},{"Momento":"2024-04-24T10:01:47.8376087-03:00","Protocolo":"#211;AB3V ;0$\r","Enviado":false},{"Momento":"2024-04-24T10:01:47.8532334-03:00","Protocolo":"OK\r","Enviado":false}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
[{"Momento":"2024-04-24T10:03:07.8674519-03:00","Protocolo":"258TMVET;1;411;1;00200;00;035;-1.038$","Enviado":true},{"Momento":"2024-04-24T10:03:07.8674519-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:03:07.8830784-03:00","Protocolo":"TMVET ja inicializado\r","Enviado":false},{"Momento":"2024-04-24T10:03:07.8987027-03:00","Protocolo":"#211;TMVET;1$\r","Enviado":false},{"Momento":"2024-04-24T10:03:07.9143273-03:00","Protocolo":"#411;TMVET;2886.78$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.02371-03:00","Protocolo":"#411;TMVEF;2876.92$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.0705835-03:00","Protocolo":"258TMVEF;1;411;1;00200;00;025;-1.038$","Enviado":true},{"Momento":"2024-04-24T10:03:08.0705835-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.0862125-03:00","Protocolo":"TMVEF ja inicializado\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.1018403-03:00","Protocolo":"#211;TMVEF;1$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.1330854-03:00","Protocolo":"#411;TMVDT;2918.97$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.2580774-03:00","Protocolo":"#411;TMVDF;2943.14$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.2737097-03:00","Protocolo":"258TMVDT;1;411;1;00200;00;032;-1.038$","Enviado":true},{"Momento":"2024-04-24T10:03:08.2737097-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.2893353-03:00","Protocolo":"TMVDT ja inicializado\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.3049601-03:00","Protocolo":"#211;TMVDT;1$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.3988244-03:00","Protocolo":"#855;SMAG ;0;0;1073487416;0.00$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.4769496-03:00","Protocolo":"258TMVDF;1;411;1;00200;00;033;-1.038$","Enviado":true},{"Momento":"2024-04-24T10:03:08.4769496-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.492575-03:00","Protocolo":"TMVDF ja inicializado\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.5082013-03:00","Protocolo":"#211;TMVDF;1$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.6332011-03:00","Protocolo":"#411;TMVET;2886.19$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.6800698-03:00","Protocolo":"258AB3V ;1;322;1;00500;10;0-1;0x44 ;219 $","Enviado":true},{"Momento":"2024-04-24T10:03:08.6800698-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.7425687-03:00","Protocolo":"#411;TMVEF;2875.79$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.8524418-03:00","Protocolo":"#411;TMVDT;2918.87$\r","Enviado":false},{"Momento":"2024-04-24T10:03:08.8837125-03:00","Protocolo":"258AB5V ;1;322;1;00500;10;0-1;0x41 ;219 $","Enviado":true},{"Momento":"2024-04-24T10:03:08.9774621-03:00","Protocolo":"#411;TMVDF;2946.92$\r","Enviado":false},{"Momento":"2024-04-24T10:03:09.0868411-03:00","Protocolo":"258AB7V2;1;322;1;00500;10;0-1;0x40 ;219 $","Enviado":true},{"Momento":"2024-04-24T10:03:09.2899606-03:00","Protocolo":"258AB12V;1;322;1;00500;10;0-1;0x45 ;226 $","Enviado":true},{"Momento":"2024-04-24T10:03:09.3368382-03:00","Protocolo":"#411;TMVET;2885.89$\r","Enviado":false},{"Momento":"2024-04-24T10:03:09.4467109-03:00","Protocolo":"#411;TMVEF;2877.69$\r","Enviado":false},{"Momento":"2024-04-24T10:03:09.4935867-03:00","Protocolo":"258SMAG ;1;855;1;00500;15;0-1$","Enviado":true},{"Momento":"2024-04-24T10:03:09.5560872-03:00","Protocolo":"#411;TMVDT;2919.58$\r","Enviado":false},{"Momento":"2024-04-24T10:03:09.6967121-03:00","Protocolo":"#411;TMVDF;2940.08$\r","Enviado":false},{"Momento":"2024-04-24T10:03:09.6967121-03:00","Protocolo":"258LEDMN;1;013$","Enviado":true},{"Momento":"2024-04-24T10:03:09.7123383-03:00","Protocolo":"#211;AB3V ;0$\r","Enviado":false},{"Momento":"2024-04-24T10:03:09.9000009-03:00","Protocolo":"258LEDAT;1;012$","Enviado":true},{"Momento":"2024-04-24T10:03:10.056253-03:00","Protocolo":"OK\r","Enviado":false},{"Momento":"2024-04-24T10:03:10.103129-03:00","Protocolo":"258LEDOP;1;014$","Enviado":true},{"Momento":"2024-04-24T10:03:10.1656278-03:00","Protocolo":"#411;TMVET;2885.75$\r","Enviado":false},{"Momento":"2024-04-24T10:03:10.2750057-03:00","Protocolo":"#411;TMVEF;2876.33$\r","Enviado":false},{"Momento":"2024-04-24T10:03:10.306253-03:00","Protocolo":"258MD ;1;0050021;22$","Enviado":true},{"Momento":"2024-04-24T10:03:10.4005303-03:00","Protocolo":"#411;TMVDT;2921.98$\r","Enviado":false},{"Momento":"2024-04-24T10:03:10.6974319-03:00","Protocolo":"#411;TMVDF;2940.83$\r","Enviado":false},{"Momento":"2024-04-24T10:03:10.7755571-03:00","Protocolo":"#855;SMAG ;0;0;1073487416;0.00$\r","Enviado":false}

Some files were not shown because too many files have changed in this diff Show More