//----------------------------------------------------------------------- // // Copyright © 2012 Nils Hammar. All rights reserved. // //----------------------------------------------------------------------- /* * Software to access vehicle information via the OBD-II connector. * * Copyright © 2012 Nils Hammar * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Alternative licensing is possible, see the licensing document. * * The above text may not be removed or modified. */ namespace LoggingLibrary { [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.OrderingRules", "SA1202:ElementsMustBeOrderedByAccess", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:FieldsMustBePrivate", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1101:PrefixLocalCallsWithThis", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1400:AccessModifierMustBeDeclared", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1513:ClosingCurlyBracketMustBeFollowedByBlankLine", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Tool Generated.")] [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1601:PartialElementsMustBeDocumented", Justification = "Tool Generated.")] partial class LoggingForm { /// /// 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 (canDataLogWriter != null) { canDataLogWriter.Dispose(); } if (valueDataLogWriter != null) { valueDataLogWriter.Dispose(); } if (eventLogWriter != null) { eventLogWriter.Dispose(); } 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.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoggingForm)); this.eventLogWindow = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.logLevelCB = new System.Windows.Forms.ComboBox(); this.saveFileDialog2 = new System.Windows.Forms.SaveFileDialog(); this.label8 = new System.Windows.Forms.Label(); this.measurementDataLogFileName = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.eventLogFileName = new System.Windows.Forms.TextBox(); this.canDataLogFileName = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.saveFileDialog3 = new System.Windows.Forms.SaveFileDialog(); this.clearButton = new System.Windows.Forms.Button(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.clearButton2 = new System.Windows.Forms.Button(); this.trafficDataGridView = new System.Windows.Forms.DataGridView(); this.col_timestamp = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_direction = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_address = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_mode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_pid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_length = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.col_payload = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.saveFileDialog4 = new System.Windows.Forms.SaveFileDialog(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trafficDataGridView)).BeginInit(); this.SuspendLayout(); // // eventLogWindow // this.eventLogWindow.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.eventLogWindow.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.eventLogWindow.Location = new System.Drawing.Point(7, 33); this.eventLogWindow.Multiline = true; this.eventLogWindow.Name = "eventLogWindow"; this.eventLogWindow.ReadOnly = true; this.eventLogWindow.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.eventLogWindow.Size = new System.Drawing.Size(967, 285); this.eventLogWindow.TabIndex = 38; this.eventLogWindow.Text = "CAN Data Miner\r\n\r\nStandards:\r\n - SAE J2534\r\n - SAE J1979\r\n----------------------\r" + "\n"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(7, 9); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(195, 13); this.label6.TabIndex = 37; this.label6.Text = "Events (limited to last 10000 characters)"; // // label7 // this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(826, 9); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(47, 13); this.label7.TabIndex = 44; this.label7.Text = "Loglevel"; // // logLevelCB // this.logLevelCB.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.logLevelCB.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.logLevelCB.FormattingEnabled = true; this.logLevelCB.Items.AddRange(new object[] { "Trace", "Debug", "Info", "Warning", "Error"}); this.logLevelCB.Location = new System.Drawing.Point(879, 6); this.logLevelCB.Name = "logLevelCB"; this.logLevelCB.Size = new System.Drawing.Size(95, 21); this.logLevelCB.TabIndex = 43; // // label8 // this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(7, 379); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(137, 13); this.label8.TabIndex = 57; this.label8.Text = "Measurement Data Log File"; // // measurementDataLogFileName // this.measurementDataLogFileName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.measurementDataLogFileName.Location = new System.Drawing.Point(150, 376); this.measurementDataLogFileName.Name = "measurementDataLogFileName"; this.measurementDataLogFileName.ReadOnly = true; this.measurementDataLogFileName.Size = new System.Drawing.Size(824, 20); this.measurementDataLogFileName.TabIndex = 58; this.measurementDataLogFileName.Text = " * None *"; // // label4 // this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(69, 353); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(75, 13); this.label4.TabIndex = 55; this.label4.Text = "Event Log File"; // // eventLogFileName // this.eventLogFileName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.eventLogFileName.Location = new System.Drawing.Point(150, 350); this.eventLogFileName.Name = "eventLogFileName"; this.eventLogFileName.ReadOnly = true; this.eventLogFileName.Size = new System.Drawing.Size(824, 20); this.eventLogFileName.TabIndex = 56; this.eventLogFileName.Text = " * None *"; // // canDataLogFileName // this.canDataLogFileName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.canDataLogFileName.Location = new System.Drawing.Point(150, 324); this.canDataLogFileName.Name = "canDataLogFileName"; this.canDataLogFileName.ReadOnly = true; this.canDataLogFileName.Size = new System.Drawing.Size(824, 20); this.canDataLogFileName.TabIndex = 53; this.canDataLogFileName.Text = " * None *"; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(49, 327); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(95, 13); this.label3.TabIndex = 54; this.label3.Text = "CAN Data Log File"; // // clearButton // this.clearButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.clearButton.Location = new System.Drawing.Point(745, 4); this.clearButton.Name = "clearButton"; this.clearButton.Size = new System.Drawing.Size(75, 23); this.clearButton.TabIndex = 59; this.clearButton.Text = "Clear"; this.clearButton.UseVisualStyleBackColor = true; this.clearButton.Click += new System.EventHandler(this.clearButton_Click); // // tabControl1 // this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Location = new System.Drawing.Point(12, 12); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(989, 431); this.tabControl1.TabIndex = 60; // // tabPage1 // this.tabPage1.Controls.Add(this.label6); this.tabPage1.Controls.Add(this.logLevelCB); this.tabPage1.Controls.Add(this.clearButton); this.tabPage1.Controls.Add(this.eventLogWindow); this.tabPage1.Controls.Add(this.label8); this.tabPage1.Controls.Add(this.label7); this.tabPage1.Controls.Add(this.measurementDataLogFileName); this.tabPage1.Controls.Add(this.label3); this.tabPage1.Controls.Add(this.label4); this.tabPage1.Controls.Add(this.canDataLogFileName); this.tabPage1.Controls.Add(this.eventLogFileName); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(981, 405); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Event Log"; this.tabPage1.UseVisualStyleBackColor = true; // // tabPage2 // this.tabPage2.Controls.Add(this.clearButton2); this.tabPage2.Controls.Add(this.trafficDataGridView); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(981, 405); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "CAN Traffic"; this.tabPage2.UseVisualStyleBackColor = true; // // clearButton2 // this.clearButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.clearButton2.Location = new System.Drawing.Point(903, 6); this.clearButton2.Name = "clearButton2"; this.clearButton2.Size = new System.Drawing.Size(75, 23); this.clearButton2.TabIndex = 60; this.clearButton2.Text = "Clear"; this.clearButton2.UseVisualStyleBackColor = true; this.clearButton2.Click += new System.EventHandler(this.clearButton2_Click); // // trafficDataGridView // this.trafficDataGridView.AllowUserToAddRows = false; this.trafficDataGridView.AllowUserToDeleteRows = false; this.trafficDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.trafficDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.trafficDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.col_timestamp, this.col_direction, this.col_address, this.col_mode, this.col_pid, this.col_length, this.col_payload}); dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle2.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.trafficDataGridView.DefaultCellStyle = dataGridViewCellStyle2; this.trafficDataGridView.Location = new System.Drawing.Point(6, 6); this.trafficDataGridView.Name = "trafficDataGridView"; this.trafficDataGridView.ReadOnly = true; this.trafficDataGridView.RowTemplate.Height = 14; this.trafficDataGridView.Size = new System.Drawing.Size(891, 393); this.trafficDataGridView.TabIndex = 19; // // col_timestamp // dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; this.col_timestamp.DefaultCellStyle = dataGridViewCellStyle1; this.col_timestamp.HeaderText = "Timestamp"; this.col_timestamp.Name = "col_timestamp"; this.col_timestamp.ReadOnly = true; // // col_direction // this.col_direction.HeaderText = "Dir."; this.col_direction.Name = "col_direction"; this.col_direction.ReadOnly = true; this.col_direction.Width = 40; // // col_address // this.col_address.HeaderText = "Address"; this.col_address.Name = "col_address"; this.col_address.ReadOnly = true; this.col_address.Width = 80; // // col_mode // this.col_mode.HeaderText = "Mode"; this.col_mode.Name = "col_mode"; this.col_mode.ReadOnly = true; this.col_mode.Width = 40; // // col_pid // this.col_pid.HeaderText = "PID"; this.col_pid.Name = "col_pid"; this.col_pid.ReadOnly = true; this.col_pid.Width = 80; // // col_length // this.col_length.HeaderText = "Length"; this.col_length.Name = "col_length"; this.col_length.ReadOnly = true; this.col_length.Width = 50; // // col_payload // this.col_payload.HeaderText = "Payload"; this.col_payload.Name = "col_payload"; this.col_payload.ReadOnly = true; this.col_payload.Width = 440; // // LoggingForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1014, 449); this.ControlBox = false; this.Controls.Add(this.tabControl1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(700, 400); this.Name = "LoggingForm"; this.Text = "LoggingForm"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LoggingForm_FormClosing); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.tabPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.trafficDataGridView)).EndInit(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.TextBox eventLogWindow; private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label7; private System.Windows.Forms.ComboBox logLevelCB; private System.Windows.Forms.SaveFileDialog saveFileDialog2; private System.Windows.Forms.Label label8; private System.Windows.Forms.TextBox measurementDataLogFileName; private System.Windows.Forms.Label label4; private System.Windows.Forms.TextBox eventLogFileName; private System.Windows.Forms.TextBox canDataLogFileName; private System.Windows.Forms.Label label3; private System.Windows.Forms.SaveFileDialog saveFileDialog1; private System.Windows.Forms.SaveFileDialog saveFileDialog3; private System.Windows.Forms.Button clearButton; private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.TabPage tabPage1; private System.Windows.Forms.TabPage tabPage2; private System.Windows.Forms.DataGridView trafficDataGridView; private System.Windows.Forms.Button clearButton2; private System.Windows.Forms.DataGridViewTextBoxColumn col_timestamp; private System.Windows.Forms.DataGridViewTextBoxColumn col_direction; private System.Windows.Forms.DataGridViewTextBoxColumn col_address; private System.Windows.Forms.DataGridViewTextBoxColumn col_mode; private System.Windows.Forms.DataGridViewTextBoxColumn col_pid; private System.Windows.Forms.DataGridViewTextBoxColumn col_length; private System.Windows.Forms.DataGridViewTextBoxColumn col_payload; private System.Windows.Forms.SaveFileDialog saveFileDialog4; } }