Initial Release

This commit is contained in:
bmg 2021-01-16 02:23:41 +13:00
commit 495b5251b5
36 changed files with 1014 additions and 0 deletions

BIN
.vs/CL7-9-DashTool/v16/.suo Normal file

Binary file not shown.

84
CL7-9-DashTool.csproj Normal file
View File

@ -0,0 +1,84 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{A448A254-C1E6-4357-A81D-2080059A8F73}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>CL7_9_DashTool</RootNamespace>
<AssemblyName>CL7-9-DashTool</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>icon_CZI_icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="icon_CZI_icon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

25
CL7-9-DashTool.sln Normal file
View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30611.23
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CL7-9-DashTool", "CL7-9-DashTool.csproj", "{A448A254-C1E6-4357-A81D-2080059A8F73}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A448A254-C1E6-4357-A81D-2080059A8F73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A448A254-C1E6-4357-A81D-2080059A8F73}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A448A254-C1E6-4357-A81D-2080059A8F73}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A448A254-C1E6-4357-A81D-2080059A8F73}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {943B4DB3-AD7F-4DCA-BF80-134867F46AEF}
EndGlobalSection
EndGlobal

206
Form1.Designer.cs generated Normal file
View File

@ -0,0 +1,206 @@
namespace CL7_9_DashTool
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label4 = new System.Windows.Forms.Label();
this.maskedTextBox1 = new System.Windows.Forms.MaskedTextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.label5 = new System.Windows.Forms.Label();
this.button3 = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.button3);
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.maskedTextBox1);
this.groupBox1.Controls.Add(this.textBox3);
this.groupBox1.Controls.Add(this.textBox2);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(304, 146);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "CL7/9 Dash Tool";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(254, 51);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(44, 25);
this.label4.TabIndex = 7;
this.label4.Text = "KM";
//
// maskedTextBox1
//
this.maskedTextBox1.Location = new System.Drawing.Point(141, 44);
this.maskedTextBox1.Mask = "000000";
this.maskedTextBox1.Name = "maskedTextBox1";
this.maskedTextBox1.Size = new System.Drawing.Size(110, 31);
this.maskedTextBox1.TabIndex = 6;
this.maskedTextBox1.ValidatingType = typeof(int);
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(106, 186);
this.textBox3.Name = "textBox3";
this.textBox3.ReadOnly = true;
this.textBox3.Size = new System.Drawing.Size(126, 31);
this.textBox3.TabIndex = 5;
this.textBox3.Visible = false;
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(106, 146);
this.textBox2.Name = "textBox2";
this.textBox2.ReadOnly = true;
this.textBox2.Size = new System.Drawing.Size(126, 31);
this.textBox2.TabIndex = 4;
this.textBox2.Visible = false;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(25, 192);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(75, 25);
this.label3.TabIndex = 2;
this.label3.Text = "Trip B:";
this.label3.Visible = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(25, 149);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(75, 25);
this.label2.TabIndex = 1;
this.label2.Text = "Trip A:";
this.label2.Visible = false;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(25, 47);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(112, 25);
this.label1.TabIndex = 0;
this.label1.Text = "Odometer:";
//
// button1
//
this.button1.Location = new System.Drawing.Point(158, 168);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(158, 49);
this.button1.TabIndex = 1;
this.button1.Text = "Open";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Enabled = false;
this.button2.Location = new System.Drawing.Point(12, 165);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(140, 49);
this.button2.TabIndex = 2;
this.button2.Text = "Save";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(6, 110);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(105, 25);
this.label5.TabIndex = 3;
this.label5.Text = "by bmgjet";
//
// button3
//
this.button3.Location = new System.Drawing.Point(141, 92);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(110, 43);
this.button3.TabIndex = 8;
this.button3.Text = "Set";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(330, 226);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Form1";
this.Text = "Honda";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.MaskedTextBox maskedTextBox1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Button button3;
}
}

192
Form1.cs Normal file
View File

@ -0,0 +1,192 @@
using System;
using System.IO;
using System.Windows.Forms;
// ▄▀▀█▄▄ ▄▀▀▄ ▀▀▄ ▄▀▀█▄▄ ▄▀▀▄ ▄▀▄ ▄▀▀▀▀▄ ▄█ ▄▀▀█▄▄▄▄ ▄▀▀▀█▀▀▄
//▐ ▄▀ █ █ ▀▄ ▄▀ ▐ ▄▀ █ █ █ ▀ █ █ ▄▀▀▀█▀ ▐ ▐ ▄▀ ▐ █ █ ▐
// █▄▄▄▀ ▐ █ █▄▄▄▀ ▐ █ █ █ ▀▄▄ █ █ █▄▄▄▄▄ ▐ █
// █ █ █ █ █ █ █ █ █ █ ▐ █ █ ▌ █
// ▄▀▄▄▄▀ ▄▀ ▄▀▄▄▄▀ ▄▀ ▄▀ ▐▀▄▄▄▄▀ ▐ ▄ ▀▄ ▄▀▄▄▄▄ ▄▀
//█ ▐ █ █ ▐ █ █ ▐ ▀▀▀▀ █ ▐ █
//▐ ▐ ▐ ▐ ▐ ▐ ▐
// 2021
namespace CL7_9_DashTool
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public byte[] dashbin; //Holds contents of bin
byte selectedgood = 0; //selected valid reading
//total = 179856
//Trip A = 458.8
//Trip B = 458.9
//public byte[] Sample1 = { 0x03, 0x36, 0x38, 0x00, 0xF2, 0x02, 0x95, 0x2D, 0xE0, 0x00, 0xB7, 0xCA, 0xA1, 0xA9, 0xB6, 0xA3, 0x0A, 0x00, 0x2C, 0x00, 0x20, 0x12, 0x7C, 0x67, 0x16, 0x51, 0xF1, 0x03, 0x2E, 0x03, 0x7C, 0xF4, 0x9D, 0x4B, 0x0C, 0x20, 0x05, 0x0C, 0xBB, 0xCC, 0x0E, 0x11, 0x03, 0x00, 0x18, 0x0C, 0x80, 0x10, 0x10, 0x23, 0x41, 0x55, 0x8D, 0x40, 0x13, 0x6F, 0x69, 0xC9, 0x00, 0x00, 0xFF, 0xFF, 0x10, 0x42, 0x10, 0x42, 0x02, 0x42, 0x10, 0x42, 0x10, 0x42, 0x00, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0xFF, 0x7D, 0xED, 0xBD, 0x73, 0x4B, 0x67, 0xA2, 0x00, 0x00, 0xFF, 0x00, 0x08, 0x10, 0x60, 0x00, 0x80, 0x82, 0x85, 0x62, 0xB6, 0xA6, 0x90, 0x00, 0x86, 0x88, 0x71, 0x22, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x03, 0x01, 0xB1, 0x46, 0x01, 0x54, 0x2A, 0x05, 0x44, 0x55, 0x85, 0x10, 0x64, 0xE2, 0x02, 0x1F, 0x04, 0x00, 0x00, 0x08, 0x0A, 0xFD, 0x02, 0x8A, 0x40, 0x9D, 0xAF, 0xAD, 0x35, 0xAD, 0x41, 0x10, 0x42, 0x10, 0x92, 0x5B, 0x57, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x2D, 0x54, 0x0F, 0xA0, 0x29, 0x08, 0x2D, 0x54, 0x17, 0xA0, 0x31, 0x08, 0x37, 0xE0, 0x28, 0xE3, 0x0D, 0xE0, 0x12, 0xE3, 0x0B, 0xE0, 0x14, 0xE3, 0x36, 0x00, 0xC9, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x45, 0x00, 0xBA, 0x01, 0x5A, 0x00, 0xA5, 0x00, 0x0D, 0x00, 0xF2, 0x01, 0x50, 0x00, 0xAF, 0x00, 0x56, 0x00, 0xA9, 0x00, 0xE4, 0x2B, 0x1C, 0xD4, 0xE3, 0x2B, 0x1C, 0xD4, 0xE3, 0x2B, 0x1C, 0xD4, 0xE3, 0x2B, 0x1C, 0xD4, 0xE3, 0x2B, 0x1C, 0xD4, 0xE3, 0x2B, 0x1C, 0xD4, 0xE3, 0x2B, 0x1C, 0xD4, 0xE3, 0x2B, 0x1C, 0xD4 };
//total = 151996
//Trip A = 0.4
//Trip B = 0.1
//public byte[] Sample2 = { 0x3A, 0x3A, 0x00, 0x06, 0xF9, 0x00, 0x95, 0x2D, 0xE0, 0x00, 0xB7, 0xCA, 0xA1, 0xA9, 0xB6, 0xA3, 0x0A, 0x00, 0x2C, 0x00, 0x20, 0x12, 0x7C, 0x67, 0x16, 0x51, 0xF1, 0x03, 0x2E, 0x03, 0x7C, 0xF4, 0xF2, 0x40, 0x0B, 0x20, 0x66, 0x1E, 0x0E, 0xD0, 0x05, 0x11, 0x03, 0x00, 0x18, 0x0C, 0x22, 0xC0, 0x10, 0x23, 0x41, 0x55, 0x00, 0x40, 0x13, 0x6F, 0xE4, 0xC9, 0x00, 0x00, 0xFF, 0xFF, 0x10, 0x42, 0x10, 0x42, 0x02, 0x42, 0x10, 0x42, 0x10, 0x42, 0x00, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0x10, 0x42, 0xFF, 0x7D, 0xED, 0xBD, 0xA2, 0x5B, 0xBE, 0xBE, 0x00, 0x00, 0xFF, 0x00, 0xDF, 0xED, 0x2D, 0x00, 0xFE, 0xFE, 0xE0, 0x26, 0xBC, 0xBA, 0xB7, 0x4D, 0x89, 0x8B, 0x01, 0x62, 0x00, 0x00, 0x0E, 0x00, 0x00, 0x00, 0x05, 0xB1, 0x45, 0x10, 0x54, 0x2A, 0x05, 0x44, 0x55, 0x85, 0x10, 0x64, 0xE2, 0x02, 0x1F, 0x04, 0x00, 0x00, 0x89, 0x0A, 0x7C, 0x02, 0x8A, 0x40, 0x9D, 0xAF, 0xAD, 0x35, 0xAD, 0x41, 0x10, 0x42, 0x10, 0x92, 0x5B, 0x57, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x37, 0x4A, 0x3A, 0x80, 0x38, 0x0E, 0x37, 0x4A, 0x3A, 0x80, 0x38, 0x0E, 0x55, 0x00, 0xAA, 0x00, 0x56, 0x00, 0xA9, 0x00, 0x58, 0x00, 0xA7, 0x01, 0x39, 0x00, 0xC6, 0x00, 0x3A, 0x00, 0xC5, 0x00, 0x03, 0xE0, 0x1C, 0xE2, 0x53, 0xE0, 0x4C, 0xE2, 0x30, 0xE0, 0x2F, 0xE2, 0x52, 0xE0, 0x4D, 0xE3, 0x53, 0xE0, 0x4C, 0xE2, 0x18, 0x25, 0xE7, 0xDA, 0x18, 0x25, 0xE7, 0xDA, 0x18, 0x25, 0xE7, 0xDA, 0x18, 0x25, 0xE7, 0xDA, 0x18, 0x25, 0xE7, 0xDA, 0x18, 0x25, 0xE7, 0xDA, 0x18, 0x25, 0xE0, 0xDA, 0x1F, 0x25, 0xFF, 0xFF };
private void button1_Click(object sender, EventArgs e)
{
//Open file button
selectedgood = 0;
OpenFileDialog theDialog = new OpenFileDialog();
theDialog.Title = "Open Dash Bin";
theDialog.Filter = "bin files|*.bin";
if (theDialog.ShowDialog() == DialogResult.OK)
{
if (File.Exists(theDialog.FileName))
{
dashbin = File.ReadAllBytes(theDialog.FileName);
//Check its expected length
if (dashbin.Length == 256)
{
checksanaty();
Processbin();
button2.Enabled = true;
}
else
{
MessageBox.Show("Bin wrong file size");
button2.Enabled = false;
}
}
else
{
MessageBox.Show("Nothing Opened");
button2.Enabled = false;
}
}
}
private void Processbin()
{
//Gets current values stored
//trip B 0xAC
// textBox2.Text = ((dashbin[0xAC] | dashbin[0xAC+1] << 8 | dashbin[0xAC+2] << 16) - 1000).ToString();
//trip A 0xB2
//textBox3.Text = ((dashbin[0xB2] | dashbin[0xB2 + 1] << 8 | dashbin[0xB2 + 2] << 16) - 1000).ToString();
//Low QWord 0xCC
byte offset = dashbin[0xCC];
int rev = 0;
if (offset != 0xFF)
{
int minor = offset;
while (Convert.ToBoolean(minor))
{
int r = minor % 10;
rev = rev * 10 + r;
minor = minor / 10;
}
}
//High Qword
//0 E0
//1 E4
//2 E8
//3 EC
//4 F0
//5 F4
//6 F8
//7 FC
maskedTextBox1.Text = (((dashbin[selectedgood] | dashbin[selectedgood + 1] << 8) * 16) + rev).ToString();
}
private byte checksum(byte inbyte)
{
//CheckSum function.
return (byte)(inbyte ^ byte.MaxValue);
}
private bool checksanaty()
{
//Checks each km reading to see what ones have valid checksums.
int OdomAddress = 0xE0;
for (int i = 0; i < 8; i++)
{
if (dashbin[OdomAddress] != checksum(dashbin[OdomAddress+2]))
{
//MessageBox.Show("CS mismatch @ " + OdomAddress);
}
else
{
if (selectedgood == 0)
selectedgood = (byte)OdomAddress;
}
OdomAddress += 0x04;
}
return true;
}
private void button2_Click(object sender, EventArgs e)
{
//Save modded bin.
try
{
int NewKs = (int)(int.Parse(maskedTextBox1.Text) / 16);
byte NKbyte1 = (byte)NewKs,
NKbyte2 = (byte)(NewKs >> 8),
NKCS1 = checksum(NKbyte1),
NKCS2 = checksum(NKbyte2);
//Zeros out the minor steps
byte minoroffset = 0xCC;
dashbin[minoroffset] = 0xFF;
dashbin[minoroffset + 1] = 0xFF;
dashbin[minoroffset + 2] = 0x00;
dashbin[minoroffset + 3] = 0x00;
//sets major steps
int OdomAddress = 0xE0;
for (int i = 0; i < 8; i++)
{
dashbin[OdomAddress] = NKbyte1;
dashbin[OdomAddress + 1] = NKbyte2;
dashbin[OdomAddress + 2] = NKCS1;
dashbin[OdomAddress + 3] = NKCS2;
OdomAddress += 0x04;
}
SaveFileDialog saveFileDialog1 = new SaveFileDialog();
saveFileDialog1.Title = "Save Bin File";
saveFileDialog1.DefaultExt = "bin";
saveFileDialog1.Filter = "bin files (*.bin)|*.bin|All files (*.*)|*.*";
saveFileDialog1.FilterIndex = 1;
saveFileDialog1.RestoreDirectory = true;
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
{
File.WriteAllBytes(saveFileDialog1.FileName, dashbin);
MessageBox.Show(saveFileDialog1.FileName + " has been saved");
Processbin();
}
}
catch (Exception error)
{
MessageBox.Show(error.Message.ToString());
}
}
private void button3_Click(object sender, EventArgs e)
{
//validates KM to nearest major step.
int NewKs = (int)(int.Parse(maskedTextBox1.Text) / 16);
maskedTextBox1.Text = (NewKs * 16).ToString();
}
}
}

197
Form1.resx Normal file
View File

@ -0,0 +1,197 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAIcdAACHHQAAAAAAAAAA
AAD+/v5x/v7+cf7+/nH+/v5x/v7+cf7+/nH+/v5x/v7+cf7+/nH+/v5x/v7+cf7+/nH+/v5x/v7+cf7+
/nH+/v5x/v7+cf7+/nH+/v5x/v7+cf7+/nH+/v5x/v7+cf7+/nH+/v5x/v7+cf7+/nH+/v5x/v7+cf7+
/nH+/v5x////cf7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+
/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+
/v7+/v7+/v7+/v7+/v7////+/v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+///////+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v///////v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7///////7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//f39/+/v7//4+Pj///////7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v///////v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//3+/v/n6Oj/vr+//8LC
wf/v7+////////7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+///////+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v//////5+fo/8bI
yf+4ubn/pKSk/7Ozs//h4eH//f39//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7///////7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//////9fX
1/+oqar/wsXG/7m6uv+kpKT/oqKi/6mpqf/Q0ND/+Pj4///////+/v7//v7+//7+/v/+/v7//v7+//7+
/v///////v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+////
///V1dX/Z2dn/4iJiv/GyMn/ysvL/7Gxsf+jo6P/o6Oj/6SkpP+/v7//7u7u///////+/v7//v7+//7+
/v/+/v7//v7+///////+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v//////0dHR/2VlZf9GRkb/jIyN/9LT0//Y2Nj/1dXV/7y8vP+mpqb/o6Oj/6Kiov+xsbH/39/f//39
/f///////v7+//7+/v/+/v7///////7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//////87Ozv9hYWH/R0dH/0dHR/9iYmL/rK2t/9DQ0P/V1dX/1tbW/8bGxv+srKz/o6Oj/6Ki
ov+np6f/zc3N//f39////////v7+//7+/v///////v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/IyMj/Xl5e/0ZGRv9ISEj/RERE/0BAQP9MTEz/ioqK/8PDw//S0tL/1dXV/8/P
z/+1tbX/pKSk/6Kiov+jo6P/u7u7/+zs7P///////v7+///////+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7/xMTE/1paWv9FRUX/R0dH/0RERP9CQkL/QkJC/0FBQf9BQUH/Z2dn/6ys
rP/Nzc3/09PT/9PT0/+/v7//qKio/6Kiov+hoaH/ra2t/93d3f/9/f3///////7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+/8DAwP9XV1f/RUVF/0ZGRv9DQ0P/QkJC/0JCQv9BQUH/QkJC/0JC
Qv8/Pz//Tk5O/4yMjP/Dw8P/0NDQ/9PT0//Kysr/sLCw/6Kiov+fn5//r6+v//b29v///////v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//39/f+8vLz/VVVV/0RERP9FRUX/QkJC/0JCQv9CQkL/QkJC/0JC
Qv9CQkL/QkJC/0JCQv9BQUH/QUFB/2tra/+vr6//zc3N/9LS0v/Q0ND/urq6/6Ojo/+pqan/8fHx////
///+/v7//v7+//7+/v/+/v7//v7+//7+/v/8/Pz/tbW1/1FRUf9DQ0P/RERE/0JCQv9BQUH/QkJC/0JC
Qv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/Pz8//1BQUP+RkZH/xcXF/9DQ0P/S0tL/xMTE/7Gx
sf/u7u7///////7+/v/+/v7//v7+//7+/v//////+/v7/7Gxsf9OTk7/Q0ND/0NDQ/9CQkL/QUFB/0FB
Qf9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9CQkL/QkJC/0JCQv9DQ0P/QUFB/0NDQ/9wcHD/s7Oz/8/P
z//U1NT/29vb//f39////////v7+//7+/v/+/v7///////v7+/+rq6v/TExM/0JCQv9CQkL/QUFB/0BA
QP9BQUH/QUFB/0FBQf9BQUH/QkJC/0JCQv9CQkL/QkJC/0JCQv9DQ0P/Q0ND/0NDQ/9DQ0P/Q0ND/0BA
QP9UVFT/mpqa/+Hh4f/6+vr////////////+/v7//v7+///////5+fn/pqam/0pKSv9BQUH/QkJC/0BA
QP9AQED/QEBA/0BAQP9BQUH/QUFB/0FBQf9CQkL/QkJC/0JCQv9CQkL/QkJC/0NDQ/9DQ0P/Q0ND/0ND
Q/9DQ0P/QkJC/0JCQv+IiIj/9vb2///////+/v7///////7+/v//////+Pj4/6CgoP9HR0f/QUFB/0FB
Qf9AQED/QEBA/0BAQP9AQED/QEBA/0BAQP9AQED/QUFB/0JCQv9CQkL/QkJC/0JCQv9DQ0P/Q0ND/0ND
Q/9DQ0P/Q0ND/0FBQf9QUFD/pKSk//Pz8////////v7+//7+/v////////////Hx8f+ZmZn/RUVF/z8/
P/9AQED/QEBA/0BAQP9AQED/QEBA/0BAQP9AQED/QEBA/0BAQP9BQUH/QkJC/0JCQv9CQkL/QkJC/0ND
Q/9DQ0P/Q0ND/0NDQ/9BQUH/Z2dn/8jIyP/9/f3///////7+/v/+/v7//v7+///////29vb/tLS0/0ZG
Rv8/Pz//QEBA/0BAQP9AQED/QEBA/0BAQP9AQED/QEBA/0BAQP9AQED/QEBA/0FBQf9CQkL/QkJC/0JC
Qv9CQkL/Q0ND/0NDQ/9BQUH/R0dH/4eHh//l5eX///////7+/v/+/v7//v7+//7+/v/+/v7//////9zc
3P+enp7/Q0ND/z8/P/9AQED/QEBA/0BAQP9AQED/QEBA/0BAQP9AQED/QEBA/0BAQP9AQED/QUFB/0JC
Qv9CQkL/QkJC/0NDQ/9DQ0P/QUFB/1VVVf+urq7/9/f3///////+/v7//v7+//7+/v/+/v7//v7+//7+
/v//////1dXV/5eXl/8/Pz//Pz8//0BAQP9AQED/QEBA/0BAQP9AQED/QEBA/0BAQP9AQED/QEBA/0BA
QP9BQUH/QkJC/0JCQv9CQkL/QkJC/0JCQv9ubm7/0dHR//7+/v///////v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+///////W1tb/wcHB/35+fv9NTU3/Pj4+/z8/P/9AQED/QEBA/0BAQP9AQED/QEBA/0BA
QP9AQED/QEBA/0FBQf9CQkL/QkJC/0BAQP9JSUn/kZGR/+rq6v///////v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7///////Hx8f/m5ub/2NjY/7S0tP97e3v/TU1N/z4+Pv8/Pz//QEBA/0BA
QP9AQED/QEBA/0BAQP9BQUH/QUFB/0JCQv9AQED/Wlpa/7e3t//5+fn///////7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v////////////z8/P/y8vL/4+Pj/9PT0/+ysrL/enp6/0xM
TP8+Pj7/Pz8//0BAQP9AQED/QEBA/0FBQf9BQUH/QkJC/3Z2dv/Y2Nj///////7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+///////+/v7//v7+//7+/v/8/Pz/8vLy/+Li
4v/R0dH/sbGx/3t7e/9NTU3/Pz8//0BAQP9AQED/Pz8//0xMTP+bm5v/7+/v///////+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7///////7+/v/+/v7//v7+//7+
/v///////Pz8//Ly8v/i4uL/0tLS/7Kysv97e3v/TU1N/z4+Pv9fX1//wMDA//v7+////////v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v///////v7+//7+
/v/+/v7//v7+//7+/v/+/v7///////39/f/z8/P/4+Pj/9PT0/+4uLj/o6Oj/9/f3////////v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+////
///+/v74/v7++P7+/vj+/v74/v7++P7+/vj+/v74/v7++P////j9/f349PT0+Pb29vj////4////+P7+
/vj+/v74/v7++P7+/vj+/v74/v7++P7+/vj+/v74/v7++P7+/vj+/v74/v7++P7+/vj+/v74/v7++P7+
/vj+/v74////+P7+/lP+/v5T/v7+U/7+/lP+/v5T/v7+U/7+/lP+/v5T/v7+U/7+/lP///9T////U/7+
/lP+/v5T/v7+U/7+/lP+/v5T/v7+U/7+/lP+/v5T/v7+U/7+/lP+/v5T/v7+U/7+/lP+/v5T/v7+U/7+
/lP+/v5T/v7+U/7+/lP///9TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
</value>
</data>
</root>

21
Program.cs Normal file
View File

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace CL7_9_DashTool
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CL7-9-DashTool")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CL7-9-DashTool")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("a448a254-c1e6-4357-a81d-2080059a8f73")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

71
Properties/Resources.Designer.cs generated Normal file
View File

@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace CL7_9_DashTool.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CL7_9_DashTool.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

117
Properties/Resources.resx Normal file
View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

30
Properties/Settings.Designer.cs generated Normal file
View File

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace CL7_9_DashTool.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View File

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

Binary file not shown.

Binary file not shown.

BIN
eeprom_test_points.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 KiB

BIN
icon_CZI_icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]

View File

@ -0,0 +1 @@
39cccbf4a98a1433f571555b1010037539a8891e

View File

@ -0,0 +1,9 @@
C:\Users\bmg\source\repos\CL7-9-DashTool\bin\Debug\CL7-9-DashTool.exe
C:\Users\bmg\source\repos\CL7-9-DashTool\bin\Debug\CL7-9-DashTool.pdb
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Debug\CL7-9-DashTool.csprojAssemblyReference.cache
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Debug\CL7_9_DashTool.Form1.resources
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Debug\CL7_9_DashTool.Properties.Resources.resources
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Debug\CL7-9-DashTool.csproj.GenerateResource.cache
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Debug\CL7-9-DashTool.csproj.CoreCompileInputs.cache
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Debug\CL7-9-DashTool.exe
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Debug\CL7-9-DashTool.pdb

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]

View File

@ -0,0 +1 @@
d95146cfc4ca030997e4f4278d9b7358daf7d909

View File

@ -0,0 +1,9 @@
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Release\CL7-9-DashTool.csprojAssemblyReference.cache
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Release\CL7_9_DashTool.Form1.resources
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Release\CL7_9_DashTool.Properties.Resources.resources
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Release\CL7-9-DashTool.csproj.GenerateResource.cache
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Release\CL7-9-DashTool.csproj.CoreCompileInputs.cache
C:\Users\bmg\source\repos\CL7-9-DashTool\bin\Release\CL7-9-DashTool.exe
C:\Users\bmg\source\repos\CL7-9-DashTool\bin\Release\CL7-9-DashTool.pdb
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Release\CL7-9-DashTool.exe
C:\Users\bmg\source\repos\CL7-9-DashTool\obj\Release\CL7-9-DashTool.pdb

Binary file not shown.

Binary file not shown.

Binary file not shown.