diff --git a/AgroBase/.vs/AgroBase/FileContentIndex/00048a6f-094d-4fac-acc3-e1c782cade53.vsidx b/AgroBase/.vs/AgroBase/FileContentIndex/00048a6f-094d-4fac-acc3-e1c782cade53.vsidx deleted file mode 100644 index c167471fb..000000000 Binary files a/AgroBase/.vs/AgroBase/FileContentIndex/00048a6f-094d-4fac-acc3-e1c782cade53.vsidx and /dev/null differ diff --git a/AgroBase/.vs/AgroBase/FileContentIndex/547f20f5-cb86-47c8-97ea-07234aeb4a38.vsidx b/AgroBase/.vs/AgroBase/FileContentIndex/547f20f5-cb86-47c8-97ea-07234aeb4a38.vsidx new file mode 100644 index 000000000..f4a1f51ca Binary files /dev/null and b/AgroBase/.vs/AgroBase/FileContentIndex/547f20f5-cb86-47c8-97ea-07234aeb4a38.vsidx differ diff --git a/AgroBase/.vs/AgroBase/FileContentIndex/593bf2d3-d600-4ddf-b6ff-45c869dde8ba.vsidx b/AgroBase/.vs/AgroBase/FileContentIndex/593bf2d3-d600-4ddf-b6ff-45c869dde8ba.vsidx new file mode 100644 index 000000000..b082c7ec1 Binary files /dev/null and b/AgroBase/.vs/AgroBase/FileContentIndex/593bf2d3-d600-4ddf-b6ff-45c869dde8ba.vsidx differ diff --git a/AgroBase/.vs/AgroBase/FileContentIndex/65216b90-20c7-4ea7-a686-296aa805f9a0.vsidx b/AgroBase/.vs/AgroBase/FileContentIndex/65216b90-20c7-4ea7-a686-296aa805f9a0.vsidx deleted file mode 100644 index b384bf18a..000000000 Binary files a/AgroBase/.vs/AgroBase/FileContentIndex/65216b90-20c7-4ea7-a686-296aa805f9a0.vsidx and /dev/null differ diff --git a/AgroBase/.vs/AgroBase/FileContentIndex/74c6665f-e51f-4def-b8c5-528ffcaaa326.vsidx b/AgroBase/.vs/AgroBase/FileContentIndex/74c6665f-e51f-4def-b8c5-528ffcaaa326.vsidx deleted file mode 100644 index 5183e5486..000000000 Binary files a/AgroBase/.vs/AgroBase/FileContentIndex/74c6665f-e51f-4def-b8c5-528ffcaaa326.vsidx and /dev/null differ diff --git a/AgroBase/.vs/AgroBase/FileContentIndex/85f72b04-3967-4373-bdd1-5e6e1f8bdd9b.vsidx b/AgroBase/.vs/AgroBase/FileContentIndex/85f72b04-3967-4373-bdd1-5e6e1f8bdd9b.vsidx deleted file mode 100644 index 81ccbb265..000000000 Binary files a/AgroBase/.vs/AgroBase/FileContentIndex/85f72b04-3967-4373-bdd1-5e6e1f8bdd9b.vsidx and /dev/null differ diff --git a/AgroBase/.vs/AgroBase/FileContentIndex/94322d3c-ae5a-4683-84ea-9d8ca24d5d14.vsidx b/AgroBase/.vs/AgroBase/FileContentIndex/94322d3c-ae5a-4683-84ea-9d8ca24d5d14.vsidx new file mode 100644 index 000000000..b1e4120a7 Binary files /dev/null and b/AgroBase/.vs/AgroBase/FileContentIndex/94322d3c-ae5a-4683-84ea-9d8ca24d5d14.vsidx differ diff --git a/AgroBase/.vs/AgroBase/FileContentIndex/a45d7714-b30d-4fd7-9df5-442afd603b72.vsidx b/AgroBase/.vs/AgroBase/FileContentIndex/a45d7714-b30d-4fd7-9df5-442afd603b72.vsidx new file mode 100644 index 000000000..abed8d842 Binary files /dev/null and b/AgroBase/.vs/AgroBase/FileContentIndex/a45d7714-b30d-4fd7-9df5-442afd603b72.vsidx differ diff --git a/AgroBase/.vs/AgroBase/FileContentIndex/a4d88e6d-a94f-44ef-bd90-7e640b2f4ee8.vsidx b/AgroBase/.vs/AgroBase/FileContentIndex/a4d88e6d-a94f-44ef-bd90-7e640b2f4ee8.vsidx new file mode 100644 index 000000000..1c1989f1c Binary files /dev/null and b/AgroBase/.vs/AgroBase/FileContentIndex/a4d88e6d-a94f-44ef-bd90-7e640b2f4ee8.vsidx differ diff --git a/AgroBase/.vs/AgroBase/FileContentIndex/d52c10eb-92d8-4b8c-90ff-7e80dd9d0fab.vsidx b/AgroBase/.vs/AgroBase/FileContentIndex/d52c10eb-92d8-4b8c-90ff-7e80dd9d0fab.vsidx deleted file mode 100644 index c9147810b..000000000 Binary files a/AgroBase/.vs/AgroBase/FileContentIndex/d52c10eb-92d8-4b8c-90ff-7e80dd9d0fab.vsidx and /dev/null differ diff --git a/AgroBase/.vs/AgroBase/v17/.suo b/AgroBase/.vs/AgroBase/v17/.suo index cfdd939e3..04020a800 100644 Binary files a/AgroBase/.vs/AgroBase/v17/.suo and b/AgroBase/.vs/AgroBase/v17/.suo differ diff --git a/AgroBase/.vs/AgroBase/v17/DocumentLayout.json b/AgroBase/.vs/AgroBase/v17/DocumentLayout.json index f26e97d3f..8d4cfef84 100644 --- a/AgroBase/.vs/AgroBase/v17/DocumentLayout.json +++ b/AgroBase/.vs/AgroBase/v17/DocumentLayout.json @@ -3,28 +3,24 @@ "WorkspaceRootPath": "C:\\ZendionINC\\agrobot_base\\AgroBase\\", "Documents": [ { - "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|c:\\zendioninc\\agrobot_base\\agrobase\\agrobase\\models\\modules\\atuadormodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|solutionrelative:agrobase\\models\\modules\\atuadormodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|c:\\zendioninc\\agrobot_base\\agrobase\\agrobase\\forms\\operacoes\\frmoperacaomanual.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", + "RelativeMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|solutionrelative:agrobase\\forms\\operacoes\\frmoperacaomanual.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" }, { - "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|C:\\ZendionINC\\agrobot_base\\AgroBase\\agrobase\\forms\\atuador\\frmatucalibragem.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|solutionrelative:agrobase\\forms\\atuador\\frmatucalibragem.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|c:\\zendioninc\\agrobot_base\\agrobase\\agrobase\\forms\\operacoes\\frmoperacaomanual.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|solutionrelative:agrobase\\forms\\operacoes\\frmoperacaomanual.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, { - "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|C:\\ZendionINC\\agrobot_base\\AgroBase\\agrobase\\forms\\atuador\\frmatucalibragem.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", - "RelativeMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|solutionrelative:agrobase\\forms\\atuador\\frmatucalibragem.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" - }, - { - "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|C:\\ZendionINC\\agrobot_base\\AgroBase\\agrobase\\forms\\frmprincipal.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|solutionrelative:agrobase\\forms\\frmprincipal.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|C:\\ZendionINC\\agrobot_base\\AgroBase\\agrobase\\forms\\operacoes\\frmoperacaomapagps.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|c:\\zendioninc\\agrobot_base\\agrobase\\agrobase\\forms\\operacoes\\frmoperacaomapagps.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|solutionrelative:agrobase\\forms\\operacoes\\frmoperacaomapagps.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, { - "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|C:\\ZendionINC\\agrobot_base\\AgroBase\\agrobase\\forms\\frmprincipal.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", - "RelativeMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|solutionrelative:agrobase\\forms\\frmprincipal.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" + "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|C:\\ZendionINC\\agrobot_base\\AgroBase\\agrobase\\forms\\operacoes\\frmoperacaomapagps.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form", + "RelativeMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|solutionrelative:agrobase\\forms\\operacoes\\frmoperacaomapagps.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form" + }, + { + "AbsoluteMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|C:\\ZendionINC\\agrobot_base\\AgroBase\\agrobase\\models\\operacoes\\operacaomodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C54B41C0-1D21-4E3E-949E-0F86BBC86A33}|AgroBase\\AgroBase.csproj|solutionrelative:agrobase\\models\\operacoes\\operacaomodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" } ], "DocumentGroupContainers": [ @@ -36,76 +32,68 @@ "DockedWidth": 200, "SelectedChildIndex": 2, "Children": [ - { - "$type": "Document", - "DocumentIndex": 1, - "Title": "frmAtuCalibragem.cs", - "DocumentMoniker": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Atuador\\frmAtuCalibragem.cs", - "RelativeDocumentMoniker": "AgroBase\\Forms\\Atuador\\frmAtuCalibragem.cs", - "ToolTip": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Atuador\\frmAtuCalibragem.cs", - "RelativeToolTip": "AgroBase\\Forms\\Atuador\\frmAtuCalibragem.cs", - "ViewState": "AQIAAJ8AAAAAAAAAAAAswCMBAAAAAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-03-26T19:38:16.149Z" - }, { "$type": "Document", "DocumentIndex": 2, - "Title": "frmAtuCalibragem.cs [Design]", - "DocumentMoniker": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Atuador\\frmAtuCalibragem.cs", - "RelativeDocumentMoniker": "AgroBase\\Forms\\Atuador\\frmAtuCalibragem.cs", - "ToolTip": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Atuador\\frmAtuCalibragem.cs [Design]", - "RelativeToolTip": "AgroBase\\Forms\\Atuador\\frmAtuCalibragem.cs [Design]", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-03-26T19:26:25.571Z" - }, - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "AtuadorModel.cs", - "DocumentMoniker": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Models\\Modules\\AtuadorModel.cs", - "RelativeDocumentMoniker": "AgroBase\\Models\\Modules\\AtuadorModel.cs", - "ToolTip": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Models\\Modules\\AtuadorModel.cs", - "RelativeToolTip": "AgroBase\\Models\\Modules\\AtuadorModel.cs", - "ViewState": "AQIAAAAAAAAAAAAAAAAAACAAAAAIAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-03-26T12:45:51.9Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 3, - "Title": "frmPrincipal.cs", - "DocumentMoniker": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\frmPrincipal.cs", - "RelativeDocumentMoniker": "AgroBase\\Forms\\frmPrincipal.cs", - "ToolTip": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\frmPrincipal.cs", - "RelativeToolTip": "AgroBase\\Forms\\frmPrincipal.cs", - "ViewState": "AQIAACoAAAAAAAAAAADwv4AAAAAAAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-03-25T19:55:51.951Z" - }, - { - "$type": "Document", - "DocumentIndex": 5, - "Title": "frmPrincipal.cs [Design]", - "DocumentMoniker": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\frmPrincipal.cs", - "RelativeDocumentMoniker": "AgroBase\\Forms\\frmPrincipal.cs", - "ToolTip": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\frmPrincipal.cs [Design]", - "RelativeToolTip": "AgroBase\\Forms\\frmPrincipal.cs [Design]", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-03-25T19:55:44.547Z" - }, - { - "$type": "Document", - "DocumentIndex": 4, "Title": "frmOperacaoMapaGPS.cs", "DocumentMoniker": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Operacoes\\frmOperacaoMapaGPS.cs", "RelativeDocumentMoniker": "AgroBase\\Forms\\Operacoes\\frmOperacaoMapaGPS.cs", "ToolTip": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Operacoes\\frmOperacaoMapaGPS.cs", "RelativeToolTip": "AgroBase\\Forms\\Operacoes\\frmOperacaoMapaGPS.cs", - "ViewState": "AQIAAF8BAAAAAAAAAAAwwGcBAAB1AAAA", + "ViewState": "AQIAAE8BAAAAAAAAAAAuwGUBAAAMAAAA", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2024-03-20T13:42:47.8Z" + "WhenOpened": "2024-04-02T18:31:03.966Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "frmOperacaoManual.cs", + "DocumentMoniker": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Operacoes\\frmOperacaoManual.cs", + "RelativeDocumentMoniker": "AgroBase\\Forms\\Operacoes\\frmOperacaoManual.cs", + "ToolTip": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Operacoes\\frmOperacaoManual.cs", + "RelativeToolTip": "AgroBase\\Forms\\Operacoes\\frmOperacaoManual.cs", + "ViewState": "AQIAAAsAAAAAAAAAAAAIwEwAAAAkAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-04-02T10:59:16.426Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "frmOperacaoManual.cs [Design]", + "DocumentMoniker": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Operacoes\\frmOperacaoManual.cs", + "RelativeDocumentMoniker": "AgroBase\\Forms\\Operacoes\\frmOperacaoManual.cs", + "ToolTip": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Operacoes\\frmOperacaoManual.cs [Design]", + "RelativeToolTip": "AgroBase\\Forms\\Operacoes\\frmOperacaoManual.cs [Design]", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-04-02T00:33:46.091Z", + "EditorCaption": " [Design]" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "frmOperacaoMapaGPS.cs [Design]", + "DocumentMoniker": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Operacoes\\frmOperacaoMapaGPS.cs", + "RelativeDocumentMoniker": "AgroBase\\Forms\\Operacoes\\frmOperacaoMapaGPS.cs", + "ToolTip": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Forms\\Operacoes\\frmOperacaoMapaGPS.cs [Design]", + "RelativeToolTip": "AgroBase\\Forms\\Operacoes\\frmOperacaoMapaGPS.cs [Design]", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-04-02T00:34:02.185Z", + "EditorCaption": " [Design]" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "OperacaoModel.cs", + "DocumentMoniker": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Models\\Operacoes\\OperacaoModel.cs", + "RelativeDocumentMoniker": "AgroBase\\Models\\Operacoes\\OperacaoModel.cs", + "ToolTip": "C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Models\\Operacoes\\OperacaoModel.cs", + "RelativeToolTip": "AgroBase\\Models\\Operacoes\\OperacaoModel.cs", + "ViewState": "AQIAAGECAAAAAAAAAAAzwAoDAAAAAAAA", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-04-01T16:36:28.825Z", + "EditorCaption": "" } ] } diff --git a/AgroBase/AgroBase/.vs/AgroBase.csproj.dtbcache.json b/AgroBase/AgroBase/.vs/AgroBase.csproj.dtbcache.json index 059736aa3..496abafa5 100644 --- a/AgroBase/AgroBase/.vs/AgroBase.csproj.dtbcache.json +++ b/AgroBase/AgroBase/.vs/AgroBase.csproj.dtbcache.json @@ -1 +1 @@ -{"RootPath":"C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase","ProjectFileName":"AgroBase.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"Forms\\Atuador\\frmAtuConfig.cs"},{"SourceFile":"Forms\\Atuador\\frmAtuConfig.Designer.cs"},{"SourceFile":"Forms\\Direcional\\frmDirConfig.cs"},{"SourceFile":"Forms\\Direcional\\frmDirConfig.Designer.cs"},{"SourceFile":"Forms\\Direcional\\frmDirPlot.cs"},{"SourceFile":"Forms\\Direcional\\frmDirPlot.Designer.cs"},{"SourceFile":"Forms\\frmAcompanhamento.cs"},{"SourceFile":"Forms\\frmAcompanhamento.Designer.cs"},{"SourceFile":"Forms\\Atuador\\frmAtuCamera.cs"},{"SourceFile":"Forms\\Atuador\\frmAtuCamera.Designer.cs"},{"SourceFile":"Forms\\frmGPS.cs"},{"SourceFile":"Forms\\frmGPS.Designer.cs"},{"SourceFile":"Forms\\frmMapa.cs"},{"SourceFile":"Forms\\frmMapa.Designer.cs"},{"SourceFile":"Forms\\frmPinout.cs"},{"SourceFile":"Forms\\frmPinout.Designer.cs"},{"SourceFile":"Forms\\IHM\\frmIHM.cs"},{"SourceFile":"Forms\\IHM\\frmIHM.Designer.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovCamera.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovCamera.Designer.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovDiagnosticos.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovDiagnosticos.Designer.cs"},{"SourceFile":"Forms\\frmInstancial.cs"},{"SourceFile":"Forms\\frmInstancial.Designer.cs"},{"SourceFile":"Forms\\frmJoystick.cs"},{"SourceFile":"Forms\\frmJoystick.Designer.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovConfig.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovConfig.Designer.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovPlot.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovPlot.Designer.cs"},{"SourceFile":"Forms\\Operacoes\\frmOperacaoMapaGPS.cs"},{"SourceFile":"Forms\\Operacoes\\frmOperacaoSeguidorLinha.Designer.cs"},{"SourceFile":"Forms\\Operacoes\\frmParametrizacaoOperacao.cs"},{"SourceFile":"Forms\\Operacoes\\frmParametrizacaoOperacao.Designer.cs"},{"SourceFile":"Forms\\Sensoriamento\\frmSenCamera.cs"},{"SourceFile":"Forms\\Sensoriamento\\frmSenCamera.Designer.cs"},{"SourceFile":"Forms\\Sensoriamento\\frmSenConfig.cs"},{"SourceFile":"Forms\\Sensoriamento\\frmSenConfig.Designer.cs"},{"SourceFile":"Models\\AlarmeModel.cs"},{"SourceFile":"Models\\CameraCaminhoModel.cs"},{"SourceFile":"Models\\CameraModel.cs"},{"SourceFile":"Models\\CameraSoloModel.cs"},{"SourceFile":"Models\\GPSModel.cs"},{"SourceFile":"Models\\MapasModel.cs"},{"SourceFile":"Models\\Modules\\AtuadorModel.cs"},{"SourceFile":"Models\\Modules\\DirecionalModel.cs"},{"SourceFile":"Models\\Modules\\DispositivoBaseModel.cs"},{"SourceFile":"Models\\Enuns.cs"},{"SourceFile":"Models\\GeneralJoystick.cs"},{"SourceFile":"Models\\Modules\\MovimentacaoModel.cs"},{"SourceFile":"Models\\Modules\\PinoutModel.cs"},{"SourceFile":"Models\\Modules\\SensoriamentoModel.cs"},{"SourceFile":"Models\\MotorComum.cs"},{"SourceFile":"Models\\Operacoes\\OperacaoModel.cs"},{"SourceFile":"Models\\PIDModel.cs"},{"SourceFile":"Models\\PZEMModel.cs"},{"SourceFile":"Models\\Variaveis.cs"},{"SourceFile":"Services\\APIService.cs"},{"SourceFile":"Services\\CameraService.cs"},{"SourceFile":"Services\\DispositivosService.cs"},{"SourceFile":"Forms\\frmPrincipal.cs"},{"SourceFile":"Forms\\frmPrincipal.Designer.cs"},{"SourceFile":"Program.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"Services\\DispositivosServiceFactory.cs"},{"SourceFile":"Services\\GPSService.cs"},{"SourceFile":"Services\\IDispositivosService.cs"},{"SourceFile":"Services\\MapasService.cs"},{"SourceFile":"Services\\MqttService.cs"},{"SourceFile":"Services\\PythonService.cs"},{"SourceFile":"Services\\PZEMService.cs"},{"SourceFile":"Services\\SerialService.cs"},{"SourceFile":"Services\\SocketService.cs"},{"SourceFile":"Properties\\Resources.Designer.cs"},{"SourceFile":"Properties\\Settings.Designer.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs"}],"References":[{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\AForge.2.2.5\\lib\\AForge.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\AForge.Video.DirectShow.2.2.5\\lib\\AForge.Video.DirectShow.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\AForge.Video.2.2.5\\lib\\AForge.Video.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\CefSharp.Common.119.4.30\\lib\\net462\\CefSharp.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\CefSharp.Common.119.4.30\\lib\\net462\\CefSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\CefSharp.WinForms.119.4.30\\lib\\net462\\CefSharp.WinForms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\Emgu.CV.4.8.1.5350\\lib\\netstandard2.0\\Emgu.CV.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\Microsoft.Bcl.AsyncInterfaces.7.0.0\\lib\\net462\\Microsoft.Bcl.AsyncInterfaces.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Microsoft.DirectX.DirectInput.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Microsoft.DirectX.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\MQTTnet.3.1.1\\lib\\net461\\MQTTnet.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\Newtonsoft.Json.13.0.3\\lib\\net45\\Newtonsoft.Json.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\OpenTK.1.1.2225.0\\lib\\net20\\OpenTK.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\OpenTK.GLControl.1.1.2225.0\\lib\\net20\\OpenTK.GLControl.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\SharpDX.DirectInput.4.2.0\\lib\\net45\\SharpDX.DirectInput.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\SharpDX.4.2.0\\lib\\net45\\SharpDX.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Buffers.4.5.1\\lib\\net461\\System.Buffers.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.CodeDom.8.0.0\\lib\\net462\\System.CodeDom.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.ComponentModel.Composition.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Deployment.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Facades\\System.Drawing.Primitives.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Management.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Memory.4.5.5\\lib\\net461\\System.Memory.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Numerics.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Numerics.Vectors.4.5.0\\lib\\net46\\System.Numerics.Vectors.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Runtime.CompilerServices.Unsafe.6.0.0\\lib\\net461\\System.Runtime.CompilerServices.Unsafe.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Facades\\System.Runtime.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Facades\\System.Runtime.InteropServices.RuntimeInformation.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Text.Encodings.Web.7.0.0\\lib\\net462\\System.Text.Encodings.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Text.Json.7.0.3\\lib\\net462\\System.Text.Json.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Threading.Tasks.Extensions.4.5.4\\lib\\net461\\System.Threading.Tasks.Extensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.ValueTuple.4.5.0\\lib\\net47\\System.ValueTuple.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Windows.Forms.DataVisualization.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Windows.Forms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\System32\\WinMetadata\\Windows.Gaming.winmd","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\ZedGraph.5.1.5\\lib\\ZedGraph.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\bin\\Debug\\AgroBase.exe","OutputItemRelativePath":"AgroBase.exe"},{"OutputItemFullPath":"C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\bin\\Debug\\AgroBase.pdb","OutputItemRelativePath":"AgroBase.pdb"}],"CopyToOutputEntries":[]} \ No newline at end of file +{"RootPath":"C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase","ProjectFileName":"AgroBase.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"Forms\\Atuador\\frmAtuCalibragem.cs"},{"SourceFile":"Forms\\Atuador\\frmAtuCalibragem.Designer.cs"},{"SourceFile":"Forms\\Atuador\\frmAtuConfig.cs"},{"SourceFile":"Forms\\Atuador\\frmAtuConfig.Designer.cs"},{"SourceFile":"Forms\\Direcional\\frmDirConfig.cs"},{"SourceFile":"Forms\\Direcional\\frmDirConfig.Designer.cs"},{"SourceFile":"Forms\\Direcional\\frmDirPlot.cs"},{"SourceFile":"Forms\\Direcional\\frmDirPlot.Designer.cs"},{"SourceFile":"Forms\\frmAcompanhamento.cs"},{"SourceFile":"Forms\\frmAcompanhamento.Designer.cs"},{"SourceFile":"Forms\\Atuador\\frmAtuCamera.cs"},{"SourceFile":"Forms\\Atuador\\frmAtuCamera.Designer.cs"},{"SourceFile":"Forms\\frmGPS.cs"},{"SourceFile":"Forms\\frmGPS.Designer.cs"},{"SourceFile":"Forms\\frmMapa.cs"},{"SourceFile":"Forms\\frmMapa.Designer.cs"},{"SourceFile":"Forms\\frmPinout.cs"},{"SourceFile":"Forms\\frmPinout.Designer.cs"},{"SourceFile":"Forms\\IHM\\frmIHM.cs"},{"SourceFile":"Forms\\IHM\\frmIHM.Designer.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovCamera.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovCamera.Designer.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovDiagnosticos.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovDiagnosticos.Designer.cs"},{"SourceFile":"Forms\\frmInstancial.cs"},{"SourceFile":"Forms\\frmInstancial.Designer.cs"},{"SourceFile":"Forms\\frmJoystick.cs"},{"SourceFile":"Forms\\frmJoystick.Designer.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovConfig.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovConfig.Designer.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovPlot.cs"},{"SourceFile":"Forms\\Movimentacao\\frmMovPlot.Designer.cs"},{"SourceFile":"Forms\\Operacoes\\frmInicioOperacao.cs"},{"SourceFile":"Forms\\Operacoes\\frmInicioOperacao.Designer.cs"},{"SourceFile":"Forms\\Operacoes\\frmOperacaoMapaGPS.cs"},{"SourceFile":"Forms\\Operacoes\\frmOperacaoSeguidorLinha.Designer.cs"},{"SourceFile":"Forms\\Operacoes\\frmParametrizacaoOperacao.cs"},{"SourceFile":"Forms\\Operacoes\\frmParametrizacaoOperacao.Designer.cs"},{"SourceFile":"Forms\\Sensoriamento\\frmSenCamera.cs"},{"SourceFile":"Forms\\Sensoriamento\\frmSenCamera.Designer.cs"},{"SourceFile":"Forms\\Sensoriamento\\frmSenConfig.cs"},{"SourceFile":"Forms\\Sensoriamento\\frmSenConfig.Designer.cs"},{"SourceFile":"Models\\AlarmeModel.cs"},{"SourceFile":"Models\\CameraCaminhoModel.cs"},{"SourceFile":"Models\\CameraModel.cs"},{"SourceFile":"Models\\CameraSoloModel.cs"},{"SourceFile":"Models\\GPSModel.cs"},{"SourceFile":"Models\\MapasModel.cs"},{"SourceFile":"Models\\Modules\\AtuadorModel.cs"},{"SourceFile":"Models\\Modules\\DirecionalModel.cs"},{"SourceFile":"Models\\Modules\\DispositivoBaseModel.cs"},{"SourceFile":"Models\\Enuns.cs"},{"SourceFile":"Models\\GeneralJoystick.cs"},{"SourceFile":"Models\\Modules\\MovimentacaoModel.cs"},{"SourceFile":"Models\\Modules\\PinoutModel.cs"},{"SourceFile":"Models\\Modules\\SensoriamentoModel.cs"},{"SourceFile":"Models\\MotorComum.cs"},{"SourceFile":"Models\\Operacoes\\OperacaoModel.cs"},{"SourceFile":"Models\\PIDModel.cs"},{"SourceFile":"Models\\PZEMModel.cs"},{"SourceFile":"Models\\Variaveis.cs"},{"SourceFile":"Services\\APIService.cs"},{"SourceFile":"Services\\CameraService.cs"},{"SourceFile":"Services\\DispositivosService.cs"},{"SourceFile":"Forms\\frmPrincipal.cs"},{"SourceFile":"Forms\\frmPrincipal.Designer.cs"},{"SourceFile":"Program.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"Services\\DispositivosServiceFactory.cs"},{"SourceFile":"Services\\GPSService.cs"},{"SourceFile":"Services\\IDispositivosService.cs"},{"SourceFile":"Services\\MapasService.cs"},{"SourceFile":"Services\\MqttService.cs"},{"SourceFile":"Services\\PythonService.cs"},{"SourceFile":"Services\\PZEMService.cs"},{"SourceFile":"Services\\SerialService.cs"},{"SourceFile":"Services\\SocketService.cs"},{"SourceFile":"Properties\\Resources.Designer.cs"},{"SourceFile":"Properties\\Settings.Designer.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs"}],"References":[{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\AForge.2.2.5\\lib\\AForge.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\AForge.Video.DirectShow.2.2.5\\lib\\AForge.Video.DirectShow.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\AForge.Video.2.2.5\\lib\\AForge.Video.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\CefSharp.Common.119.4.30\\lib\\net462\\CefSharp.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\CefSharp.Common.119.4.30\\lib\\net462\\CefSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\CefSharp.WinForms.119.4.30\\lib\\net462\\CefSharp.WinForms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\Emgu.CV.4.8.1.5350\\lib\\netstandard2.0\\Emgu.CV.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\Microsoft.Bcl.AsyncInterfaces.7.0.0\\lib\\net462\\Microsoft.Bcl.AsyncInterfaces.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Microsoft.DirectX.DirectInput.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\Microsoft.DirectX.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\MQTTnet.3.1.1\\lib\\net461\\MQTTnet.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\Newtonsoft.Json.13.0.3\\lib\\net45\\Newtonsoft.Json.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\OpenTK.1.1.2225.0\\lib\\net20\\OpenTK.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\OpenTK.GLControl.1.1.2225.0\\lib\\net20\\OpenTK.GLControl.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\SharpDX.DirectInput.4.2.0\\lib\\net45\\SharpDX.DirectInput.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\SharpDX.4.2.0\\lib\\net45\\SharpDX.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Buffers.4.5.1\\lib\\net461\\System.Buffers.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.CodeDom.8.0.0\\lib\\net462\\System.CodeDom.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.ComponentModel.Composition.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Deployment.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Facades\\System.Drawing.Primitives.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Management.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Memory.4.5.5\\lib\\net461\\System.Memory.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Numerics.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Numerics.Vectors.4.5.0\\lib\\net46\\System.Numerics.Vectors.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Runtime.CompilerServices.Unsafe.6.0.0\\lib\\net461\\System.Runtime.CompilerServices.Unsafe.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Facades\\System.Runtime.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Facades\\System.Runtime.InteropServices.RuntimeInformation.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Text.Encodings.Web.7.0.0\\lib\\net462\\System.Text.Encodings.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Text.Json.7.0.3\\lib\\net462\\System.Text.Json.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.Threading.Tasks.Extensions.4.5.4\\lib\\net461\\System.Threading.Tasks.Extensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\System.ValueTuple.4.5.0\\lib\\net47\\System.ValueTuple.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Windows.Forms.DataVisualization.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Windows.Forms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\System32\\WinMetadata\\Windows.Gaming.winmd","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\ZendionINC\\agrobot_base\\AgroBase\\packages\\ZedGraph.5.1.5\\lib\\ZedGraph.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\bin\\Debug\\AgroBase.exe","OutputItemRelativePath":"AgroBase.exe"},{"OutputItemFullPath":"C:\\ZendionINC\\agrobot_base\\AgroBase\\AgroBase\\bin\\Debug\\AgroBase.pdb","OutputItemRelativePath":"AgroBase.pdb"}],"CopyToOutputEntries":[]} \ No newline at end of file diff --git a/AgroBase/AgroBase/AgroBase.csproj b/AgroBase/AgroBase/AgroBase.csproj index a47339594..ab5b64641 100644 --- a/AgroBase/AgroBase/AgroBase.csproj +++ b/AgroBase/AgroBase/AgroBase.csproj @@ -264,6 +264,18 @@ frmMovPlot.cs + + Form + + + frmInicioOperacao.cs + + + Form + + + frmOperacaoManual.cs + Form @@ -456,6 +468,12 @@ frmJoystick.cs + + frmInicioOperacao.cs + + + frmOperacaoManual.cs + frmOperacaoMapaGPS.cs diff --git a/AgroBase/AgroBase/Forms/Atuador/frmAtuCalibragem.cs b/AgroBase/AgroBase/Forms/Atuador/frmAtuCalibragem.cs index fd6bc0ae3..9fe8df6ae 100644 --- a/AgroBase/AgroBase/Forms/Atuador/frmAtuCalibragem.cs +++ b/AgroBase/AgroBase/Forms/Atuador/frmAtuCalibragem.cs @@ -334,58 +334,5 @@ namespace AgroBase.Forms.Atuador } } - class CalibragemVazao - { - public bool Calibrando { get; set; } = false; - public double TempoCalibragem { get; set; } = 10000.0; - public double VolumeComputado { get; set; } = 0; - public List PressoesAferidas { get; set; } = new List(); - public double MassaInicial { get; set; } = 0.0; - public double MassaFinal { get; set; } = 0.0; - public int QtdPulsos { get; set; } = 0; - public double Periodo { get; set; } = 0.0; - public double PressaoMedia - { - get - { - return PressoesAferidas.Average(); - } - } - public double MassaPerdida - { - get - { - return (MassaInicial - MassaFinal) * 1000; - } - } - public double Q - { - get - { - return (double)VolumeComputado / (double)Periodo; - } - } - public double VolumeCalculado { get; set;} = 0.0; - public double d - { - get - { - return (double)MassaPerdida / (double)VolumeComputado; - } - } - public double x - { - get - { - return (double)VolumeComputado / (double)QtdPulsos; - } - } - public double Q2 - { - get - { - return (double)x * (double)QtdPulsos; - } - } - } + } diff --git a/AgroBase/AgroBase/Forms/Atuador/frmAtuCamera.cs b/AgroBase/AgroBase/Forms/Atuador/frmAtuCamera.cs index 642f957d4..91d17711d 100644 --- a/AgroBase/AgroBase/Forms/Atuador/frmAtuCamera.cs +++ b/AgroBase/AgroBase/Forms/Atuador/frmAtuCamera.cs @@ -85,7 +85,7 @@ namespace AgroBase.Forms private void btnIniciar_Click(object sender, EventArgs e) { cameraSolo.camera.IniciarCamera( - PythonService.ScriptWeedDetector, + Variaveis.OperacaoEmAndamento.DispAtu.Dados.ScriptDeteccaoErvas, new string[] { cameraSolo.MaxLeituras.ToString(), cameraSolo.VideoPorta, diff --git a/AgroBase/AgroBase/Forms/IHM/frmIHM.Designer.cs b/AgroBase/AgroBase/Forms/IHM/frmIHM.Designer.cs index 8eb17b9ec..5075a8120 100644 --- a/AgroBase/AgroBase/Forms/IHM/frmIHM.Designer.cs +++ b/AgroBase/AgroBase/Forms/IHM/frmIHM.Designer.cs @@ -41,6 +41,7 @@ this.lblOperacao = new System.Windows.Forms.Label(); this.lblOperacaoStatus = new System.Windows.Forms.Label(); this.lblMqtt = new System.Windows.Forms.Label(); + this.lblD_PZM = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.picRobo)).BeginInit(); this.SuspendLayout(); // @@ -59,7 +60,7 @@ this.lblD_Mov.AutoSize = true; this.lblD_Mov.Location = new System.Drawing.Point(457, 40); this.lblD_Mov.Name = "lblD_Mov"; - this.lblD_Mov.Size = new System.Drawing.Size(133, 24); + this.lblD_Mov.Size = new System.Drawing.Size(169, 29); this.lblD_Mov.TabIndex = 2; this.lblD_Mov.Text = "Movimentação"; // @@ -68,7 +69,7 @@ this.lblD_Dir.AutoSize = true; this.lblD_Dir.Location = new System.Drawing.Point(61, 422); this.lblD_Dir.Name = "lblD_Dir"; - this.lblD_Dir.Size = new System.Drawing.Size(94, 24); + this.lblD_Dir.Size = new System.Drawing.Size(122, 29); this.lblD_Dir.TabIndex = 3; this.lblD_Dir.Text = "Direcional"; // @@ -77,7 +78,7 @@ this.lblD_Atu.AutoSize = true; this.lblD_Atu.Location = new System.Drawing.Point(435, 645); this.lblD_Atu.Name = "lblD_Atu"; - this.lblD_Atu.Size = new System.Drawing.Size(76, 24); + this.lblD_Atu.Size = new System.Drawing.Size(96, 29); this.lblD_Atu.TabIndex = 4; this.lblD_Atu.Text = "Atuador"; // @@ -86,7 +87,7 @@ this.lblD_Sen.AutoSize = true; this.lblD_Sen.Location = new System.Drawing.Point(311, 519); this.lblD_Sen.Name = "lblD_Sen"; - this.lblD_Sen.Size = new System.Drawing.Size(137, 24); + this.lblD_Sen.Size = new System.Drawing.Size(176, 29); this.lblD_Sen.TabIndex = 5; this.lblD_Sen.Text = "Sensoriamento"; // @@ -95,7 +96,7 @@ this.lblD_Gps.AutoSize = true; this.lblD_Gps.Location = new System.Drawing.Point(129, 193); this.lblD_Gps.Name = "lblD_Gps"; - this.lblD_Gps.Size = new System.Drawing.Size(48, 24); + this.lblD_Gps.Size = new System.Drawing.Size(63, 29); this.lblD_Gps.TabIndex = 6; this.lblD_Gps.Text = "GPS"; // @@ -125,7 +126,7 @@ this.cmbOperacao.FormattingEnabled = true; this.cmbOperacao.Location = new System.Drawing.Point(775, 81); this.cmbOperacao.Name = "cmbOperacao"; - this.cmbOperacao.Size = new System.Drawing.Size(202, 32); + this.cmbOperacao.Size = new System.Drawing.Size(202, 37); this.cmbOperacao.TabIndex = 10; this.cmbOperacao.SelectedIndexChanged += new System.EventHandler(this.cmbOperacao_SelectedIndexChanged); // @@ -134,16 +135,16 @@ this.lblOperacao.AutoSize = true; this.lblOperacao.Location = new System.Drawing.Point(771, 45); this.lblOperacao.Name = "lblOperacao"; - this.lblOperacao.Size = new System.Drawing.Size(175, 24); + this.lblOperacao.Size = new System.Drawing.Size(222, 29); this.lblOperacao.TabIndex = 11; this.lblOperacao.Text = "Modo de Operação"; // // lblOperacaoStatus // this.lblOperacaoStatus.AutoSize = true; - this.lblOperacaoStatus.Location = new System.Drawing.Point(671, 602); + this.lblOperacaoStatus.Location = new System.Drawing.Point(651, 602); this.lblOperacaoStatus.Name = "lblOperacaoStatus"; - this.lblOperacaoStatus.Size = new System.Drawing.Size(287, 24); + this.lblOperacaoStatus.Size = new System.Drawing.Size(365, 29); this.lblOperacaoStatus.TabIndex = 12; this.lblOperacaoStatus.Text = "Operação: Manual - Não iniciado"; // @@ -154,15 +155,25 @@ this.lblMqtt.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblMqtt.Location = new System.Drawing.Point(894, 675); this.lblMqtt.Name = "lblMqtt"; - this.lblMqtt.Size = new System.Drawing.Size(114, 13); + this.lblMqtt.Size = new System.Drawing.Size(147, 17); this.lblMqtt.TabIndex = 13; this.lblMqtt.Text = "MQTT: Desconectado"; // + // lblD_PZM + // + this.lblD_PZM.AutoSize = true; + this.lblD_PZM.Location = new System.Drawing.Point(356, 306); + this.lblD_PZM.Name = "lblD_PZM"; + this.lblD_PZM.Size = new System.Drawing.Size(79, 29); + this.lblD_PZM.TabIndex = 14; + this.lblD_PZM.Text = "PZEM"; + // // frmIHM // - this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F); + this.AutoScaleDimensions = new System.Drawing.SizeF(14F, 29F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1020, 697); + this.Controls.Add(this.lblD_PZM); this.Controls.Add(this.lblMqtt); this.Controls.Add(this.lblOperacaoStatus); this.Controls.Add(this.lblOperacao); @@ -202,5 +213,6 @@ private System.Windows.Forms.Label lblOperacao; private System.Windows.Forms.Label lblOperacaoStatus; private System.Windows.Forms.Label lblMqtt; + private System.Windows.Forms.Label lblD_PZM; } } \ No newline at end of file diff --git a/AgroBase/AgroBase/Forms/IHM/frmIHM.cs b/AgroBase/AgroBase/Forms/IHM/frmIHM.cs index 3acf153aa..5a3d0bfe2 100644 --- a/AgroBase/AgroBase/Forms/IHM/frmIHM.cs +++ b/AgroBase/AgroBase/Forms/IHM/frmIHM.cs @@ -70,6 +70,10 @@ namespace AgroBase.Forms.IHM DispositivoConectado = false; } } + else if (Modulo.Dispositivo == T_Code.Pzm) + { + DispositivoConectado = PZEMService.PortaPZEM.IsOpen && PZEMService.Iniciado; + } else { IDispositivosService dispositivoService = Variaveis.DispositivosConectados.FirstOrDefault(x => x.Dispositivo == Modulo.Dispositivo && x._Porta.PortName == Modulo.PortaCOM); @@ -98,6 +102,16 @@ namespace AgroBase.Forms.IHM lblMqtt.Text = "MQTT: " + (Variaveis.MqttService.StatusConexao() ? "Conectado" : "Desconectado"); lblMqtt.ForeColor = Variaveis.MqttService.StatusConexao() ? Color.Green : Color.Red; + + if ( + Variaveis.OperacaoEmAndamento.DispAtu == null && Variaveis.DispositivosConectados.Any(x => x.Dispositivo == T_Code.Atu) || + Variaveis.OperacaoEmAndamento.DispDir == null && Variaveis.DispositivosConectados.Any(x => x.Dispositivo == T_Code.Dir) || + Variaveis.OperacaoEmAndamento.DispMov == null && Variaveis.DispositivosConectados.Any(x => x.Dispositivo == T_Code.Mov) || + Variaveis.OperacaoEmAndamento.DispSen == null && Variaveis.DispositivosConectados.Any(x => x.Dispositivo == T_Code.Sen) + ) + { + Variaveis.OperacaoEmAndamento = OperacaoModel.CarregarParametrosOperacaoPadrao((ModoOperacao)cmbOperacao.SelectedIndex); + } } @@ -110,30 +124,34 @@ namespace AgroBase.Forms.IHM private void cmbOperacao_SelectedIndexChanged(object sender, EventArgs e) { Variaveis.OperacaoEmAndamento = OperacaoModel.CarregarParametrosOperacaoPadrao((ModoOperacao)cmbOperacao.SelectedIndex); + AtualizarLabelOperacao(); } private void btnIniciar_Click(object sender, EventArgs e) { - if (Variaveis.OperacaoEmAndamento.Iniciado) + if (Variaveis.OperacaoEmAndamento.ModulosConectados) { - Variaveis.OperacaoEmAndamento.FinalizarOperacao(); + /*if (Variaveis.OperacaoEmAndamento.Modo == ModoOperacao.Manual) + { + Variaveis.OperacaoEmAndamento.frmOperacao = new frmAcompanhamento(); + } + else if (Variaveis.OperacaoEmAndamento.Modo == ModoOperacao.MapaGPS) + { + Variaveis.OperacaoEmAndamento.frmOperacao = new frmOperacaoMapaGPS(); + }*/ + Variaveis.OperacaoEmAndamento.frmOperacao = (Form)Activator.CreateInstance(Variaveis.OperacaoEmAndamento.frmOperacao.GetType()); + Variaveis.OperacaoEmAndamento.frmOperacao.ShowDialog(); } else { - if (Variaveis.OperacaoEmAndamento.ModulosConectados) - { - Variaveis.OperacaoEmAndamento.frmOperacao = (Form)Activator.CreateInstance(Variaveis.OperacaoEmAndamento.frmOperacao.GetType()); - Variaveis.OperacaoEmAndamento.frmOperacao.ShowDialog(); - } - else - { - MessageBox.Show(Variaveis.OperacaoEmAndamento.ErroOperacaoLiberada, "Conexão de módulos pendentes", MessageBoxButtons.OK, MessageBoxIcon.Warning); - } - + MessageBox.Show(Variaveis.OperacaoEmAndamento.ErroOperacaoLiberada, "Conexão de módulos pendentes", MessageBoxButtons.OK, MessageBoxIcon.Warning); } - btnIniciar.Text = Variaveis.OperacaoEmAndamento.Iniciado ? "Finalizar" : "Iniciar"; - cmbOperacao.Enabled = !Variaveis.OperacaoEmAndamento.Iniciado; + AtualizarLabelOperacao(); + } + + private void AtualizarLabelOperacao() + { lblOperacaoStatus.Text = "Operação: " + Enum.GetName(typeof(ModoOperacao), Variaveis.OperacaoEmAndamento.Modo) + " " + (Variaveis.OperacaoEmAndamento.Iniciado ? "Iniciado" : "Não iniciado"); } } diff --git a/AgroBase/AgroBase/Forms/Operacoes/frmInicioOperacao.Designer.cs b/AgroBase/AgroBase/Forms/Operacoes/frmInicioOperacao.Designer.cs new file mode 100644 index 000000000..06131e524 --- /dev/null +++ b/AgroBase/AgroBase/Forms/Operacoes/frmInicioOperacao.Designer.cs @@ -0,0 +1,47 @@ +namespace AgroBase.Forms.Operacoes +{ + partial class frmInicioOperacao + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.SuspendLayout(); + // + // frmInicioOperacao + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1176, 578); + this.Name = "frmInicioOperacao"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Preparando operação..."; + this.ResumeLayout(false); + + } + + #endregion + } +} \ No newline at end of file diff --git a/AgroBase/AgroBase/Forms/Operacoes/frmInicioOperacao.cs b/AgroBase/AgroBase/Forms/Operacoes/frmInicioOperacao.cs new file mode 100644 index 000000000..f9115ce5c --- /dev/null +++ b/AgroBase/AgroBase/Forms/Operacoes/frmInicioOperacao.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace AgroBase.Forms.Operacoes +{ + public partial class frmInicioOperacao : Form + { + public frmInicioOperacao() + { + InitializeComponent(); + } + } +} diff --git a/AgroBase/AgroBase/Forms/Operacoes/frmInicioOperacao.resx b/AgroBase/AgroBase/Forms/Operacoes/frmInicioOperacao.resx new file mode 100644 index 000000000..1af7de150 --- /dev/null +++ b/AgroBase/AgroBase/Forms/Operacoes/frmInicioOperacao.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/AgroBase/AgroBase/Forms/Operacoes/frmOperacaoManual.Designer.cs b/AgroBase/AgroBase/Forms/Operacoes/frmOperacaoManual.Designer.cs new file mode 100644 index 000000000..ff11d5ee8 --- /dev/null +++ b/AgroBase/AgroBase/Forms/Operacoes/frmOperacaoManual.Designer.cs @@ -0,0 +1,550 @@ +namespace AgroBase.Forms.Operacoes +{ + partial class frmOperacaoManual + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea6 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); + System.Windows.Forms.DataVisualization.Charting.Legend legend6 = new System.Windows.Forms.DataVisualization.Charting.Legend(); + System.Windows.Forms.DataVisualization.Charting.Series series6 = new System.Windows.Forms.DataVisualization.Charting.Series(); + this.pnlCamerasSolo = new System.Windows.Forms.Panel(); + this.pnlCameraSoloE = new System.Windows.Forms.Panel(); + this.picCameraSoloE = new System.Windows.Forms.PictureBox(); + this.pnlCameraSoloD = new System.Windows.Forms.Panel(); + this.picCameraSoloD = new System.Windows.Forms.PictureBox(); + this.pnlAtuadores = new System.Windows.Forms.Panel(); + this.chartGraficos = new System.Windows.Forms.DataVisualization.Charting.Chart(); + this.lblDir_EF = new System.Windows.Forms.Label(); + this.lblDir_DF = new System.Windows.Forms.Label(); + this.lblDir_DT = new System.Windows.Forms.Label(); + this.lblDir_ET = new System.Windows.Forms.Label(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabMapa = new System.Windows.Forms.TabPage(); + this.pnlMapa = new System.Windows.Forms.Panel(); + this.tabInformacoes = new System.Windows.Forms.TabPage(); + this.gridDados = new System.Windows.Forms.DataGridView(); + this.tabDeteccoes = new System.Windows.Forms.TabPage(); + this.pnlDeteccoesRua = new System.Windows.Forms.Panel(); + this.pnlAnguloGPS = new System.Windows.Forms.Panel(); + this.lblGPS = new System.Windows.Forms.Label(); + this.lblMagnetometro = new System.Windows.Forms.Label(); + this.pnlAnguloMagnetometro = new System.Windows.Forms.Panel(); + this.pnlCameraRua = new System.Windows.Forms.Panel(); + this.picCameraRua = new System.Windows.Forms.PictureBox(); + this.pnlDir_EF = new System.Windows.Forms.Panel(); + this.pnlDir_ET = new System.Windows.Forms.Panel(); + this.pnlDir_DT = new System.Windows.Forms.Panel(); + this.pnlDir_DF = new System.Windows.Forms.Panel(); + this.btnIniciarOperacao = new System.Windows.Forms.Button(); + this.tabPulverizador = new System.Windows.Forms.TabPage(); + this.btnLigarBomba = new System.Windows.Forms.Button(); + this.btnDesligarBomba = new System.Windows.Forms.Button(); + this.nudPressaoSP = new System.Windows.Forms.NumericUpDown(); + this.lblPressaoSP = new System.Windows.Forms.Label(); + this.lblDistanciaEsquerda = new System.Windows.Forms.Label(); + this.lblDistanciaDireita = new System.Windows.Forms.Label(); + this.pnlCamerasSolo.SuspendLayout(); + this.pnlCameraSoloE.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.picCameraSoloE)).BeginInit(); + this.pnlCameraSoloD.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.picCameraSoloD)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.chartGraficos)).BeginInit(); + this.tabControl1.SuspendLayout(); + this.tabMapa.SuspendLayout(); + this.tabInformacoes.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gridDados)).BeginInit(); + this.tabDeteccoes.SuspendLayout(); + this.pnlCameraRua.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.picCameraRua)).BeginInit(); + this.pnlDir_EF.SuspendLayout(); + this.pnlDir_ET.SuspendLayout(); + this.pnlDir_DT.SuspendLayout(); + this.pnlDir_DF.SuspendLayout(); + this.tabPulverizador.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudPressaoSP)).BeginInit(); + this.SuspendLayout(); + // + // pnlCamerasSolo + // + this.pnlCamerasSolo.BackColor = System.Drawing.SystemColors.ButtonFace; + this.pnlCamerasSolo.Controls.Add(this.pnlCameraSoloE); + this.pnlCamerasSolo.Controls.Add(this.pnlCameraSoloD); + this.pnlCamerasSolo.Location = new System.Drawing.Point(12, 404); + this.pnlCamerasSolo.Name = "pnlCamerasSolo"; + this.pnlCamerasSolo.Size = new System.Drawing.Size(784, 227); + this.pnlCamerasSolo.TabIndex = 0; + // + // pnlCameraSoloE + // + this.pnlCameraSoloE.Controls.Add(this.picCameraSoloE); + this.pnlCameraSoloE.Location = new System.Drawing.Point(3, 3); + this.pnlCameraSoloE.Name = "pnlCameraSoloE"; + this.pnlCameraSoloE.Size = new System.Drawing.Size(385, 219); + this.pnlCameraSoloE.TabIndex = 24; + // + // picCameraSoloE + // + this.picCameraSoloE.Dock = System.Windows.Forms.DockStyle.Fill; + this.picCameraSoloE.Location = new System.Drawing.Point(0, 0); + this.picCameraSoloE.Name = "picCameraSoloE"; + this.picCameraSoloE.Size = new System.Drawing.Size(385, 219); + this.picCameraSoloE.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.picCameraSoloE.TabIndex = 1; + this.picCameraSoloE.TabStop = false; + // + // pnlCameraSoloD + // + this.pnlCameraSoloD.Controls.Add(this.picCameraSoloD); + this.pnlCameraSoloD.Location = new System.Drawing.Point(394, 3); + this.pnlCameraSoloD.Name = "pnlCameraSoloD"; + this.pnlCameraSoloD.Size = new System.Drawing.Size(385, 219); + this.pnlCameraSoloD.TabIndex = 23; + // + // picCameraSoloD + // + this.picCameraSoloD.Dock = System.Windows.Forms.DockStyle.Fill; + this.picCameraSoloD.Location = new System.Drawing.Point(0, 0); + this.picCameraSoloD.Name = "picCameraSoloD"; + this.picCameraSoloD.Size = new System.Drawing.Size(385, 219); + this.picCameraSoloD.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.picCameraSoloD.TabIndex = 1; + this.picCameraSoloD.TabStop = false; + // + // pnlAtuadores + // + this.pnlAtuadores.BackColor = System.Drawing.Color.White; + this.pnlAtuadores.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.pnlAtuadores.Location = new System.Drawing.Point(12, 637); + this.pnlAtuadores.Name = "pnlAtuadores"; + this.pnlAtuadores.Size = new System.Drawing.Size(784, 155); + this.pnlAtuadores.TabIndex = 1; + this.pnlAtuadores.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlAtuadores_Paint); + // + // chartGraficos + // + chartArea6.Name = "ChartArea1"; + this.chartGraficos.ChartAreas.Add(chartArea6); + legend6.Name = "Legend1"; + this.chartGraficos.Legends.Add(legend6); + this.chartGraficos.Location = new System.Drawing.Point(802, 404); + this.chartGraficos.Name = "chartGraficos"; + series6.ChartArea = "ChartArea1"; + series6.Legend = "Legend1"; + series6.Name = "Series1"; + this.chartGraficos.Series.Add(series6); + this.chartGraficos.Size = new System.Drawing.Size(837, 388); + this.chartGraficos.TabIndex = 2; + this.chartGraficos.Text = "chart1"; + // + // lblDir_EF + // + this.lblDir_EF.AutoSize = true; + this.lblDir_EF.Location = new System.Drawing.Point(1, 1); + this.lblDir_EF.Name = "lblDir_EF"; + this.lblDir_EF.Size = new System.Drawing.Size(53, 16); + this.lblDir_EF.TabIndex = 9; + this.lblDir_EF.Text = "EF 000º"; + // + // lblDir_DF + // + this.lblDir_DF.AutoSize = true; + this.lblDir_DF.Location = new System.Drawing.Point(3, 1); + this.lblDir_DF.Name = "lblDir_DF"; + this.lblDir_DF.Size = new System.Drawing.Size(54, 16); + this.lblDir_DF.TabIndex = 10; + this.lblDir_DF.Text = "DF 000º"; + // + // lblDir_DT + // + this.lblDir_DT.AutoSize = true; + this.lblDir_DT.Location = new System.Drawing.Point(3, 183); + this.lblDir_DT.Name = "lblDir_DT"; + this.lblDir_DT.Size = new System.Drawing.Size(55, 16); + this.lblDir_DT.TabIndex = 11; + this.lblDir_DT.Text = "DT 000º"; + // + // lblDir_ET + // + this.lblDir_ET.AutoSize = true; + this.lblDir_ET.Location = new System.Drawing.Point(1, 183); + this.lblDir_ET.Name = "lblDir_ET"; + this.lblDir_ET.Size = new System.Drawing.Size(54, 16); + this.lblDir_ET.TabIndex = 12; + this.lblDir_ET.Text = "ET 000º"; + // + // tabControl1 + // + this.tabControl1.Controls.Add(this.tabMapa); + this.tabControl1.Controls.Add(this.tabInformacoes); + this.tabControl1.Controls.Add(this.tabDeteccoes); + this.tabControl1.Controls.Add(this.tabPulverizador); + this.tabControl1.Location = new System.Drawing.Point(1011, 12); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(628, 387); + this.tabControl1.TabIndex = 17; + // + // tabMapa + // + this.tabMapa.Controls.Add(this.pnlMapa); + this.tabMapa.Location = new System.Drawing.Point(4, 25); + this.tabMapa.Name = "tabMapa"; + this.tabMapa.Padding = new System.Windows.Forms.Padding(3); + this.tabMapa.Size = new System.Drawing.Size(620, 358); + this.tabMapa.TabIndex = 0; + this.tabMapa.Text = "Mapa"; + this.tabMapa.UseVisualStyleBackColor = true; + // + // pnlMapa + // + this.pnlMapa.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlMapa.Location = new System.Drawing.Point(3, 3); + this.pnlMapa.Name = "pnlMapa"; + this.pnlMapa.Size = new System.Drawing.Size(614, 352); + this.pnlMapa.TabIndex = 0; + // + // tabInformacoes + // + this.tabInformacoes.Controls.Add(this.gridDados); + this.tabInformacoes.Location = new System.Drawing.Point(4, 25); + this.tabInformacoes.Name = "tabInformacoes"; + this.tabInformacoes.Padding = new System.Windows.Forms.Padding(3); + this.tabInformacoes.Size = new System.Drawing.Size(620, 358); + this.tabInformacoes.TabIndex = 1; + this.tabInformacoes.Text = "Informações"; + this.tabInformacoes.UseVisualStyleBackColor = true; + // + // gridDados + // + this.gridDados.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.gridDados.Dock = System.Windows.Forms.DockStyle.Fill; + this.gridDados.Location = new System.Drawing.Point(3, 3); + this.gridDados.Name = "gridDados"; + this.gridDados.RowHeadersWidth = 51; + this.gridDados.RowTemplate.Height = 24; + this.gridDados.Size = new System.Drawing.Size(614, 352); + this.gridDados.TabIndex = 0; + // + // tabDeteccoes + // + this.tabDeteccoes.Controls.Add(this.pnlDeteccoesRua); + this.tabDeteccoes.Location = new System.Drawing.Point(4, 25); + this.tabDeteccoes.Name = "tabDeteccoes"; + this.tabDeteccoes.Padding = new System.Windows.Forms.Padding(3); + this.tabDeteccoes.Size = new System.Drawing.Size(620, 358); + this.tabDeteccoes.TabIndex = 2; + this.tabDeteccoes.Text = "Detecção rua"; + this.tabDeteccoes.UseVisualStyleBackColor = true; + // + // pnlDeteccoesRua + // + this.pnlDeteccoesRua.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnlDeteccoesRua.Location = new System.Drawing.Point(3, 3); + this.pnlDeteccoesRua.Name = "pnlDeteccoesRua"; + this.pnlDeteccoesRua.Size = new System.Drawing.Size(614, 352); + this.pnlDeteccoesRua.TabIndex = 0; + // + // pnlAnguloGPS + // + this.pnlAnguloGPS.BackColor = System.Drawing.Color.White; + this.pnlAnguloGPS.BackgroundImage = global::AgroBase.Properties.Resources.rosa_dos_ventos; + this.pnlAnguloGPS.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.pnlAnguloGPS.Location = new System.Drawing.Point(879, 37); + this.pnlAnguloGPS.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.pnlAnguloGPS.Name = "pnlAnguloGPS"; + this.pnlAnguloGPS.Size = new System.Drawing.Size(104, 103); + this.pnlAnguloGPS.TabIndex = 18; + this.pnlAnguloGPS.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlAnguloGPS_Paint); + // + // lblGPS + // + this.lblGPS.AutoSize = true; + this.lblGPS.Location = new System.Drawing.Point(876, 18); + this.lblGPS.Name = "lblGPS"; + this.lblGPS.Size = new System.Drawing.Size(35, 16); + this.lblGPS.TabIndex = 19; + this.lblGPS.Text = "GPS"; + // + // lblMagnetometro + // + this.lblMagnetometro.AutoSize = true; + this.lblMagnetometro.Location = new System.Drawing.Point(876, 165); + this.lblMagnetometro.Name = "lblMagnetometro"; + this.lblMagnetometro.Size = new System.Drawing.Size(94, 16); + this.lblMagnetometro.TabIndex = 21; + this.lblMagnetometro.Text = "Magnetômetro"; + // + // pnlAnguloMagnetometro + // + this.pnlAnguloMagnetometro.BackColor = System.Drawing.Color.White; + this.pnlAnguloMagnetometro.BackgroundImage = global::AgroBase.Properties.Resources.rosa_dos_ventos; + this.pnlAnguloMagnetometro.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.pnlAnguloMagnetometro.Location = new System.Drawing.Point(879, 184); + this.pnlAnguloMagnetometro.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.pnlAnguloMagnetometro.Name = "pnlAnguloMagnetometro"; + this.pnlAnguloMagnetometro.Size = new System.Drawing.Size(104, 103); + this.pnlAnguloMagnetometro.TabIndex = 20; + this.pnlAnguloMagnetometro.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlAnguloMagnetometro_Paint); + // + // pnlCameraRua + // + this.pnlCameraRua.Controls.Add(this.picCameraRua); + this.pnlCameraRua.Location = new System.Drawing.Point(186, 28); + this.pnlCameraRua.Name = "pnlCameraRua"; + this.pnlCameraRua.Size = new System.Drawing.Size(476, 369); + this.pnlCameraRua.TabIndex = 22; + // + // picCameraRua + // + this.picCameraRua.Dock = System.Windows.Forms.DockStyle.Fill; + this.picCameraRua.Location = new System.Drawing.Point(0, 0); + this.picCameraRua.Name = "picCameraRua"; + this.picCameraRua.Size = new System.Drawing.Size(476, 369); + this.picCameraRua.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.picCameraRua.TabIndex = 0; + this.picCameraRua.TabStop = false; + // + // pnlDir_EF + // + this.pnlDir_EF.Controls.Add(this.lblDir_EF); + this.pnlDir_EF.Location = new System.Drawing.Point(0, 0); + this.pnlDir_EF.Name = "pnlDir_EF"; + this.pnlDir_EF.Size = new System.Drawing.Size(200, 200); + this.pnlDir_EF.TabIndex = 23; + // + // pnlDir_ET + // + this.pnlDir_ET.Controls.Add(this.lblDir_ET); + this.pnlDir_ET.Location = new System.Drawing.Point(0, 200); + this.pnlDir_ET.Name = "pnlDir_ET"; + this.pnlDir_ET.Size = new System.Drawing.Size(200, 200); + this.pnlDir_ET.TabIndex = 24; + // + // pnlDir_DT + // + this.pnlDir_DT.Controls.Add(this.lblDir_DT); + this.pnlDir_DT.Location = new System.Drawing.Point(648, 200); + this.pnlDir_DT.Name = "pnlDir_DT"; + this.pnlDir_DT.Size = new System.Drawing.Size(200, 200); + this.pnlDir_DT.TabIndex = 24; + // + // pnlDir_DF + // + this.pnlDir_DF.Controls.Add(this.lblDir_DF); + this.pnlDir_DF.Location = new System.Drawing.Point(648, 0); + this.pnlDir_DF.Name = "pnlDir_DF"; + this.pnlDir_DF.Size = new System.Drawing.Size(200, 200); + this.pnlDir_DF.TabIndex = 24; + // + // 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(854, 330); + this.btnIniciarOperacao.Name = "btnIniciarOperacao"; + this.btnIniciarOperacao.Size = new System.Drawing.Size(151, 65); + this.btnIniciarOperacao.TabIndex = 25; + this.btnIniciarOperacao.Text = "Iniciar Operação"; + this.btnIniciarOperacao.UseVisualStyleBackColor = true; + this.btnIniciarOperacao.Click += new System.EventHandler(this.btnIniciarOperacao_Click); + // + // tabPulverizador + // + this.tabPulverizador.Controls.Add(this.lblPressaoSP); + this.tabPulverizador.Controls.Add(this.nudPressaoSP); + this.tabPulverizador.Controls.Add(this.btnDesligarBomba); + this.tabPulverizador.Controls.Add(this.btnLigarBomba); + this.tabPulverizador.Location = new System.Drawing.Point(4, 25); + this.tabPulverizador.Name = "tabPulverizador"; + this.tabPulverizador.Padding = new System.Windows.Forms.Padding(3); + this.tabPulverizador.Size = new System.Drawing.Size(620, 358); + this.tabPulverizador.TabIndex = 3; + this.tabPulverizador.Text = "Pulverizador"; + this.tabPulverizador.UseVisualStyleBackColor = true; + // + // btnLigarBomba + // + 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(158, 21); + this.btnLigarBomba.Name = "btnLigarBomba"; + this.btnLigarBomba.Size = new System.Drawing.Size(139, 34); + this.btnLigarBomba.TabIndex = 26; + this.btnLigarBomba.Text = "Ligar Bomba"; + this.btnLigarBomba.UseVisualStyleBackColor = true; + this.btnLigarBomba.Click += new System.EventHandler(this.btnLigarBomba_Click); + // + // btnDesligarBomba + // + 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(325, 21); + this.btnDesligarBomba.Name = "btnDesligarBomba"; + this.btnDesligarBomba.Size = new System.Drawing.Size(139, 34); + this.btnDesligarBomba.TabIndex = 27; + this.btnDesligarBomba.Text = "Desligar Bomba"; + this.btnDesligarBomba.UseVisualStyleBackColor = true; + this.btnDesligarBomba.Click += new System.EventHandler(this.btnDesligarBomba_Click); + // + // nudPressaoSP + // + 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(24, 33); + this.nudPressaoSP.Maximum = new decimal(new int[] { + 200, + 0, + 0, + 0}); + this.nudPressaoSP.Name = "nudPressaoSP"; + this.nudPressaoSP.Size = new System.Drawing.Size(105, 22); + this.nudPressaoSP.TabIndex = 28; + this.nudPressaoSP.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.nudPressaoSP.ValueChanged += new System.EventHandler(this.nudPressaoSP_ValueChanged); + // + // lblPressaoSP + // + this.lblPressaoSP.AutoSize = true; + this.lblPressaoSP.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblPressaoSP.Location = new System.Drawing.Point(24, 14); + this.lblPressaoSP.Name = "lblPressaoSP"; + this.lblPressaoSP.Size = new System.Drawing.Size(89, 16); + this.lblPressaoSP.TabIndex = 29; + this.lblPressaoSP.Text = "Pressão SP"; + // + // lblDistanciaEsquerda + // + this.lblDistanciaEsquerda.AutoSize = true; + this.lblDistanciaEsquerda.Font = new System.Drawing.Font("Mongolian Baiti", 9.25F, System.Drawing.FontStyle.Bold); + this.lblDistanciaEsquerda.Location = new System.Drawing.Point(206, 9); + this.lblDistanciaEsquerda.Name = "lblDistanciaEsquerda"; + this.lblDistanciaEsquerda.Size = new System.Drawing.Size(184, 16); + this.lblDistanciaEsquerda.TabIndex = 26; + this.lblDistanciaEsquerda.Text = "Distancia Esq: 00.00 cm"; + // + // lblDistanciaDireita + // + this.lblDistanciaDireita.AutoSize = true; + this.lblDistanciaDireita.Font = new System.Drawing.Font("Mongolian Baiti", 9F, System.Drawing.FontStyle.Bold); + this.lblDistanciaDireita.Location = new System.Drawing.Point(459, 9); + this.lblDistanciaDireita.Name = "lblDistanciaDireita"; + this.lblDistanciaDireita.Size = new System.Drawing.Size(179, 16); + this.lblDistanciaDireita.TabIndex = 27; + this.lblDistanciaDireita.Text = "Distancia Dir: 00.00 cm"; + // + // frmOperacaoManual + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.ClientSize = new System.Drawing.Size(1651, 804); + this.Controls.Add(this.lblDistanciaEsquerda); + this.Controls.Add(this.lblDistanciaDireita); + this.Controls.Add(this.btnIniciarOperacao); + this.Controls.Add(this.pnlDir_DF); + this.Controls.Add(this.pnlDir_DT); + this.Controls.Add(this.pnlDir_ET); + this.Controls.Add(this.pnlDir_EF); + this.Controls.Add(this.pnlCameraRua); + this.Controls.Add(this.lblMagnetometro); + this.Controls.Add(this.pnlAnguloMagnetometro); + this.Controls.Add(this.lblGPS); + this.Controls.Add(this.pnlAnguloGPS); + this.Controls.Add(this.tabControl1); + this.Controls.Add(this.chartGraficos); + this.Controls.Add(this.pnlAtuadores); + this.Controls.Add(this.pnlCamerasSolo); + this.Name = "frmOperacaoManual"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Operação Manual"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmOperacaoManual_FormClosing); + this.Load += new System.EventHandler(this.frmOperacaoManual_Load); + this.pnlCamerasSolo.ResumeLayout(false); + this.pnlCameraSoloE.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.picCameraSoloE)).EndInit(); + this.pnlCameraSoloD.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.picCameraSoloD)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.chartGraficos)).EndInit(); + this.tabControl1.ResumeLayout(false); + this.tabMapa.ResumeLayout(false); + this.tabInformacoes.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gridDados)).EndInit(); + this.tabDeteccoes.ResumeLayout(false); + this.pnlCameraRua.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.picCameraRua)).EndInit(); + this.pnlDir_EF.ResumeLayout(false); + this.pnlDir_EF.PerformLayout(); + this.pnlDir_ET.ResumeLayout(false); + this.pnlDir_ET.PerformLayout(); + this.pnlDir_DT.ResumeLayout(false); + this.pnlDir_DT.PerformLayout(); + this.pnlDir_DF.ResumeLayout(false); + this.pnlDir_DF.PerformLayout(); + this.tabPulverizador.ResumeLayout(false); + this.tabPulverizador.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudPressaoSP)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Panel pnlCamerasSolo; + private System.Windows.Forms.Panel pnlAtuadores; + private System.Windows.Forms.DataVisualization.Charting.Chart chartGraficos; + private System.Windows.Forms.Label lblDir_EF; + private System.Windows.Forms.Label lblDir_DF; + private System.Windows.Forms.Label lblDir_DT; + private System.Windows.Forms.Label lblDir_ET; + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage tabMapa; + private System.Windows.Forms.TabPage tabInformacoes; + private System.Windows.Forms.TabPage tabDeteccoes; + private System.Windows.Forms.Panel pnlAnguloGPS; + private System.Windows.Forms.Panel pnlMapa; + private System.Windows.Forms.DataGridView gridDados; + private System.Windows.Forms.Panel pnlDeteccoesRua; + private System.Windows.Forms.Label lblGPS; + private System.Windows.Forms.Label lblMagnetometro; + private System.Windows.Forms.Panel pnlAnguloMagnetometro; + private System.Windows.Forms.Panel pnlCameraRua; + private System.Windows.Forms.Panel pnlDir_EF; + private System.Windows.Forms.Panel pnlCameraSoloE; + private System.Windows.Forms.Panel pnlCameraSoloD; + private System.Windows.Forms.Panel pnlDir_ET; + private System.Windows.Forms.Panel pnlDir_DT; + private System.Windows.Forms.Panel pnlDir_DF; + private System.Windows.Forms.PictureBox picCameraRua; + private System.Windows.Forms.Button btnIniciarOperacao; + private System.Windows.Forms.PictureBox picCameraSoloE; + private System.Windows.Forms.PictureBox picCameraSoloD; + private System.Windows.Forms.TabPage tabPulverizador; + private System.Windows.Forms.Label lblPressaoSP; + private System.Windows.Forms.NumericUpDown nudPressaoSP; + private System.Windows.Forms.Button btnDesligarBomba; + private System.Windows.Forms.Button btnLigarBomba; + private System.Windows.Forms.Label lblDistanciaEsquerda; + private System.Windows.Forms.Label lblDistanciaDireita; + } +} \ No newline at end of file diff --git a/AgroBase/AgroBase/Forms/Operacoes/frmOperacaoManual.cs b/AgroBase/AgroBase/Forms/Operacoes/frmOperacaoManual.cs new file mode 100644 index 000000000..624888938 --- /dev/null +++ b/AgroBase/AgroBase/Forms/Operacoes/frmOperacaoManual.cs @@ -0,0 +1,716 @@ +using AgroBase.Models.Modules; +using AgroBase.Models; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using static AgroBase.Models.Enuns; +using AForge.Video.DirectShow; +using AForge.Video; +using System.Drawing.Drawing2D; +using System.Windows.Forms.DataVisualization.Charting; +using AgroBase.Services; + +namespace AgroBase.Forms.Operacoes +{ + public partial class frmOperacaoManual : Form + { + Timer tmrLeitura; + + public frmOperacaoManual() + { + InitializeComponent(); + + // Ativa o double buffering + this.DoubleBuffered = true; + this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); + this.SetStyle(ControlStyles.UserPaint, true); + this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); + + pnlAtuadores.GetType().GetMethod("SetStyle", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).Invoke(pnlAtuadores, new object[] { ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true }); + pnlAnguloGPS.GetType().GetMethod("SetStyle", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).Invoke(pnlAnguloGPS, new object[] { ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true }); + pnlAnguloMagnetometro.GetType().GetMethod("SetStyle", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).Invoke(pnlAnguloMagnetometro, new object[] { ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true }); + pnlDir_DF.GetType().GetMethod("SetStyle", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).Invoke(pnlDir_DF, new object[] { ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true }); + pnlDir_DT.GetType().GetMethod("SetStyle", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).Invoke(pnlDir_DT, new object[] { ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true }); + pnlDir_EF.GetType().GetMethod("SetStyle", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).Invoke(pnlDir_EF, new object[] { ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true }); + pnlDir_ET.GetType().GetMethod("SetStyle", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).Invoke(pnlDir_ET, new object[] { ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true }); + } + + private void frmOperacaoManual_Load(object sender, EventArgs e) + { + pnlDir_DF.Paint += pnlDir_Paint; + pnlDir_DT.Paint += pnlDir_Paint; + pnlDir_EF.Paint += pnlDir_Paint; + pnlDir_ET.Paint += pnlDir_Paint; + + + IniciarCameras(); + PopularInformacoesGerais(); + InicializarMapa(); + PopularBicos(); + + tmrLeitura = new Timer() { Interval = 500 }; + tmrLeitura.Tick += tmrLeitura_Tick; + tmrLeitura.Start(); + } + + private void frmOperacaoManual_FormClosing(object sender, FormClosingEventArgs e) + { + tmrLeitura.Stop(); + tmrLeitura.Dispose(); + Mapa.PararProcessamento(); + videoSourceRua.Stop(); + videoSourceSoloD.Stop(); + videoSourceSoloE.Stop(); + } + + private void tmrLeitura_Tick(object sender, EventArgs e) + { + AtualizarDados(); + } + + public void AtualizarDados() + { + var statusAtual = Variaveis.OperacaoEmAndamento.ReferencialRuaGPS.StatusAtual; + + if (statusAtual == StatusOperacao.Parametrizando) + { + this.Text = "Operação Manual - Parametrização"; + } + else if (statusAtual == StatusOperacao.Aguardando) + { + this.Text = "Operação Manual - Iniciando em " + (Variaveis.OperacaoEmAndamento.TempoAguardando.AddSeconds(Variaveis.OperacaoEmAndamento.TempoIniciarOperacao) - DateTime.Now).TotalSeconds.ToString("0") + " segundo" + ((Variaveis.OperacaoEmAndamento.TempoAguardando.AddSeconds(Variaveis.OperacaoEmAndamento.TempoIniciarOperacao) - DateTime.Now).TotalSeconds < 1 ? "" : "s") + "..."; + } + else if (statusAtual == StatusOperacao.Concluida) + { + this.Text = "Operação Manual - Concluída"; + } + else if (Variaveis.OperacaoEmAndamento.Iniciado) + { + this.Text = "Operação Manual - Em andamento"; + } + + pnlDir_DF.Invalidate(); + pnlDir_DT.Invalidate(); + pnlDir_EF.Invalidate(); + pnlDir_ET.Invalidate(); + + pnlAtuadores.Invalidate(); + pnlAnguloGPS.Invalidate(); + pnlAnguloMagnetometro.Invalidate(); + + AtualizarGrafico(); + AtualizarInformacoesGerais(); + + lblDistanciaEsquerda.Text = "Distancia Esq: " + Variaveis.OperacaoEmAndamento.Sensoriamento.DistanciaEsquerda.ToString("0.00") + " cm"; + lblDistanciaDireita.Text = "Distancia Dir: " + Variaveis.OperacaoEmAndamento.Sensoriamento.DistanciaDireita.ToString("0.00") + " cm"; + } + + + #region Direcionais + + private void pnlDir_Paint(object sender, PaintEventArgs e) + { + DesenharGraficos(sender, e); + } + + private void DesenharGraficos(object sender, PaintEventArgs e) + { + if (!Variaveis.DispositivosConectados.Any(d => d.Dispositivo == T_Code.Dir)) + { + return; + } + + Panel pnl = (Panel)sender; + string ID = pnl.Name.Replace("pnlDir_", ""); + + var Motor = ((DirecionalModel)Variaveis.DispositivosConectados.FirstOrDefault(d => d.Dispositivo == T_Code.Dir).Dados).Motores.FirstOrDefault(m => m.ID == ID); + Label lblAngulo = pnl.Controls.OfType