Up to framework 4.8
This commit is contained in:
parent
0b0bdc9bf0
commit
7a21a10aa0
@ -7,7 +7,7 @@
|
||||
<ProjectGuid>{8C21DBEE-193D-45EA-8EAD-06C77A14BA4E}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AssemblyName>HPG-68D.resources</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<ApplicationVersion>1.0.0.0</ApplicationVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<FileUpgradeFlags>
|
||||
|
||||
@ -1,10 +1,4 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: HPG_68D.AboutForm
|
||||
// Assembly: HPG-68D, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 530C99A8-8EEF-42C8-8A74-66FDE7B322C3
|
||||
// Assembly location: C:\Program Files (x86)\HONGKAIDE\HPG-68D\HPG-68D.exe
|
||||
|
||||
using HPG_68D.My;
|
||||
using HPG_68D.My;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using System;
|
||||
using System.Collections;
|
||||
@ -150,8 +144,10 @@ namespace HPG_68D
|
||||
|
||||
internal virtual Label Label发布时间
|
||||
{
|
||||
[DebuggerNonUserCode] get => _Label发布时间;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
[DebuggerNonUserCode]
|
||||
get => _Label发布时间;
|
||||
[DebuggerNonUserCode][MethodImpl(MethodImplOptions.Synchronized)]
|
||||
set
|
||||
{
|
||||
_Label发布时间 = value;
|
||||
}
|
||||
@ -167,8 +163,8 @@ namespace HPG_68D
|
||||
|
||||
private void AboutForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
Label版本.Text = Operators.CompareString(publicva.Language, "zh-CN", false) != 0 ? "Version " + MyProject.Application.Info.Version.ToString() : "版本 " + MyProject.Application.Info.Version.ToString();
|
||||
Label发布时间.Text = MyProject.Application.Info.Description.ToString();
|
||||
Label版本.Text = "Version " + MyProject.Application.Info.Version;
|
||||
Label发布时间.Text = MyProject.Application.Info.Description;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -4003,44 +4003,27 @@ namespace HPG_68D
|
||||
{
|
||||
MyProject.Forms.MDIParent1.提示音AToolStripMenuItem.Checked = true;
|
||||
DataGridView1.RowCount = 14;
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
DataGridView1.TopLeftHeaderCell.Value = "序号";
|
||||
else
|
||||
DataGridView1.TopLeftHeaderCell.Value = "NO.";
|
||||
DataGridView2.RowCount = 14;
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
DataGridView2.TopLeftHeaderCell.Value = "序号";
|
||||
else
|
||||
|
||||
DataGridView2.TopLeftHeaderCell.Value = "NO.";
|
||||
DataGridView3.RowCount = 14;
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
DataGridView3.TopLeftHeaderCell.Value = "序号";
|
||||
else
|
||||
|
||||
DataGridView3.TopLeftHeaderCell.Value = "NO.";
|
||||
DataGridView4.RowCount = 14;
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
DataGridView4.TopLeftHeaderCell.Value = "序号";
|
||||
else
|
||||
|
||||
DataGridView4.TopLeftHeaderCell.Value = "NO.";
|
||||
DataGridView5.RowCount = 14;
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
DataGridView5.TopLeftHeaderCell.Value = "序号";
|
||||
else
|
||||
|
||||
DataGridView5.TopLeftHeaderCell.Value = "NO.";
|
||||
DataGridView6.RowCount = 14;
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
DataGridView6.TopLeftHeaderCell.Value = "序号";
|
||||
else
|
||||
|
||||
DataGridView6.TopLeftHeaderCell.Value = "NO.";
|
||||
DataGridView7.RowCount = 14;
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
DataGridView7.TopLeftHeaderCell.Value = "序号";
|
||||
else
|
||||
|
||||
DataGridView7.TopLeftHeaderCell.Value = "NO.";
|
||||
DataGridView8.RowCount = 14;
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
DataGridView8.TopLeftHeaderCell.Value = "序号";
|
||||
else
|
||||
|
||||
DataGridView8.TopLeftHeaderCell.Value = "NO.";
|
||||
Column1_1.Items.RemoveAt(0);
|
||||
Column1_2.Items.RemoveAt(0);
|
||||
@ -4050,19 +4033,7 @@ namespace HPG_68D
|
||||
Column1_6.Items.RemoveAt(0);
|
||||
Column1_7.Items.RemoveAt(0);
|
||||
Column1_8.Items.RemoveAt(0);
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
{
|
||||
Column1_1.Items.Insert(0, "无");
|
||||
Column1_2.Items.Insert(0, "无");
|
||||
Column1_3.Items.Insert(0, "无");
|
||||
Column1_4.Items.Insert(0, "无");
|
||||
Column1_5.Items.Insert(0, "无");
|
||||
Column1_6.Items.Insert(0, "无");
|
||||
Column1_7.Items.Insert(0, "无");
|
||||
Column1_8.Items.Insert(0, "无");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Column1_1.Items.Insert(0, "None");
|
||||
Column1_2.Items.Insert(0, "None");
|
||||
Column1_3.Items.Insert(0, "None");
|
||||
@ -4071,7 +4042,7 @@ namespace HPG_68D
|
||||
Column1_6.Items.Insert(0, "None");
|
||||
Column1_7.Items.Insert(0, "None");
|
||||
Column1_8.Items.Insert(0, "None");
|
||||
}
|
||||
|
||||
var num1 = 4608;
|
||||
ComboBox1.SelectedIndex = publicva.EEPROM_Byte[checked (num1 + 0)];
|
||||
NumericUpDown1.Value = new Decimal(publicva.EEPROM_Byte[checked (num1 + 1)]);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -8,195 +8,198 @@ using HPG_68D.My;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
namespace HPG_68D
|
||||
{
|
||||
[DesignerGenerated]
|
||||
public class ComForm : Form
|
||||
{
|
||||
private static ArrayList __ENCList = new ArrayList();
|
||||
private IContainer components;
|
||||
[AccessedThroughProperty("Button2")]
|
||||
private Button _Button2;
|
||||
[AccessedThroughProperty("Button1")]
|
||||
private Button _Button1;
|
||||
[AccessedThroughProperty("ComboBox1")]
|
||||
private ComboBox _ComboBox1;
|
||||
[AccessedThroughProperty("Label1")]
|
||||
private Label _Label1;
|
||||
|
||||
[DebuggerNonUserCode]
|
||||
static ComForm()
|
||||
[DesignerGenerated]
|
||||
public class ComForm : Form
|
||||
{
|
||||
}
|
||||
private static ArrayList __ENCList = new ArrayList();
|
||||
private IContainer components;
|
||||
[AccessedThroughProperty("Button2")]
|
||||
private Button _Button2;
|
||||
[AccessedThroughProperty("Button1")]
|
||||
private Button _Button1;
|
||||
[AccessedThroughProperty("ComboBox1")]
|
||||
private ComboBox _ComboBox1;
|
||||
[AccessedThroughProperty("Label1")]
|
||||
private Label _Label1;
|
||||
|
||||
[DebuggerNonUserCode]
|
||||
public ComForm()
|
||||
{
|
||||
Load += ComForm_Load;
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
[DebuggerNonUserCode]
|
||||
static ComForm()
|
||||
{
|
||||
}
|
||||
|
||||
[DebuggerNonUserCode]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && components != null)
|
||||
components.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
[DebuggerNonUserCode]
|
||||
public ComForm()
|
||||
{
|
||||
Load += ComForm_Load;
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (ComForm));
|
||||
Button2 = new Button();
|
||||
Button1 = new Button();
|
||||
ComboBox1 = new ComboBox();
|
||||
Label1 = new Label();
|
||||
SuspendLayout();
|
||||
Button2.AccessibleDescription = null;
|
||||
Button2.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button2, "Button2");
|
||||
Button2.BackgroundImage = null;
|
||||
Button2.Font = null;
|
||||
Button2.Name = "Button2";
|
||||
Button2.UseVisualStyleBackColor = true;
|
||||
Button1.AccessibleDescription = null;
|
||||
Button1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button1, "Button1");
|
||||
Button1.BackgroundImage = null;
|
||||
Button1.Font = null;
|
||||
Button1.Name = "Button1";
|
||||
Button1.UseVisualStyleBackColor = true;
|
||||
ComboBox1.AccessibleDescription = null;
|
||||
ComboBox1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(ComboBox1, "ComboBox1");
|
||||
ComboBox1.BackgroundImage = null;
|
||||
ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
ComboBox1.Font = null;
|
||||
ComboBox1.FormattingEnabled = true;
|
||||
ComboBox1.Name = "ComboBox1";
|
||||
Label1.AccessibleDescription = null;
|
||||
Label1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label1, "Label1");
|
||||
Label1.Font = null;
|
||||
Label1.Name = "Label1";
|
||||
AccessibleDescription = null;
|
||||
AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = null;
|
||||
Controls.Add(Button2);
|
||||
Controls.Add(Button1);
|
||||
Controls.Add(ComboBox1);
|
||||
Controls.Add(Label1);
|
||||
Font = null;
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
Name = nameof (ComForm);
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
[DebuggerNonUserCode]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && components != null)
|
||||
components.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
internal virtual Button Button2
|
||||
{
|
||||
[DebuggerNonUserCode] get => _Button2;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
{
|
||||
if (_Button2 != null)
|
||||
_Button2.Click -= Button2_Click;
|
||||
_Button2 = value;
|
||||
if (_Button2 == null)
|
||||
return;
|
||||
_Button2.Click += Button2_Click;
|
||||
}
|
||||
}
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
var componentResourceManager = new ComponentResourceManager(typeof(ComForm));
|
||||
Button2 = new Button();
|
||||
Button1 = new Button();
|
||||
ComboBox1 = new ComboBox();
|
||||
Label1 = new Label();
|
||||
SuspendLayout();
|
||||
Button2.AccessibleDescription = null;
|
||||
Button2.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button2, "Button2");
|
||||
Button2.BackgroundImage = null;
|
||||
Button2.Font = null;
|
||||
Button2.Name = "Button2";
|
||||
Button2.UseVisualStyleBackColor = true;
|
||||
Button1.AccessibleDescription = null;
|
||||
Button1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button1, "Button1");
|
||||
Button1.BackgroundImage = null;
|
||||
Button1.Font = null;
|
||||
Button1.Name = "Button1";
|
||||
Button1.UseVisualStyleBackColor = true;
|
||||
ComboBox1.AccessibleDescription = null;
|
||||
ComboBox1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(ComboBox1, "ComboBox1");
|
||||
ComboBox1.BackgroundImage = null;
|
||||
ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
ComboBox1.Font = null;
|
||||
ComboBox1.FormattingEnabled = true;
|
||||
ComboBox1.Name = "ComboBox1";
|
||||
Label1.AccessibleDescription = null;
|
||||
Label1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label1, "Label1");
|
||||
Label1.Font = null;
|
||||
Label1.Name = "Label1";
|
||||
AccessibleDescription = null;
|
||||
AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = null;
|
||||
Controls.Add(Button2);
|
||||
Controls.Add(Button1);
|
||||
Controls.Add(ComboBox1);
|
||||
Controls.Add(Label1);
|
||||
Font = null;
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
Name = nameof(ComForm);
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
internal virtual Button Button1
|
||||
{
|
||||
[DebuggerNonUserCode] get => _Button1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
{
|
||||
if (_Button1 != null)
|
||||
_Button1.Click -= Button1_Click;
|
||||
_Button1 = value;
|
||||
if (_Button1 == null)
|
||||
return;
|
||||
_Button1.Click += Button1_Click;
|
||||
}
|
||||
}
|
||||
internal virtual Button Button2
|
||||
{
|
||||
[DebuggerNonUserCode]
|
||||
get => _Button2;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)]
|
||||
set
|
||||
{
|
||||
if (_Button2 != null)
|
||||
_Button2.Click -= Button2_Click;
|
||||
_Button2 = value;
|
||||
if (_Button2 == null)
|
||||
return;
|
||||
_Button2.Click += Button2_Click;
|
||||
}
|
||||
}
|
||||
|
||||
internal virtual ComboBox ComboBox1
|
||||
{
|
||||
[DebuggerNonUserCode] get => _ComboBox1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
||||
{
|
||||
if (_ComboBox1 != null)
|
||||
_ComboBox1.MouseClick -= ComboBox1_MouseClick;
|
||||
_ComboBox1 = value;
|
||||
if (_ComboBox1 == null)
|
||||
return;
|
||||
_ComboBox1.MouseClick += ComboBox1_MouseClick;
|
||||
}
|
||||
}
|
||||
internal virtual Button Button1
|
||||
{
|
||||
[DebuggerNonUserCode]
|
||||
get => _Button1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)]
|
||||
set
|
||||
{
|
||||
if (_Button1 != null)
|
||||
_Button1.Click -= Button1_Click;
|
||||
_Button1 = value;
|
||||
if (_Button1 == null)
|
||||
return;
|
||||
_Button1.Click += Button1_Click;
|
||||
}
|
||||
}
|
||||
|
||||
internal virtual Label Label1
|
||||
{
|
||||
[DebuggerNonUserCode] get => _Label1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => _Label1 = value;
|
||||
}
|
||||
internal virtual ComboBox ComboBox1
|
||||
{
|
||||
[DebuggerNonUserCode]
|
||||
get => _ComboBox1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)]
|
||||
set
|
||||
{
|
||||
if (_ComboBox1 != null)
|
||||
_ComboBox1.MouseClick -= ComboBox1_MouseClick;
|
||||
_ComboBox1 = value;
|
||||
if (_ComboBox1 == null)
|
||||
return;
|
||||
_ComboBox1.MouseClick += ComboBox1_MouseClick;
|
||||
}
|
||||
}
|
||||
|
||||
private void ComForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
ComboBox1.SelectedIndex = checked ((int) publicva.COM_SelectIndex);
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
Label1.Text = "通信端口";
|
||||
else
|
||||
Label1.Text = "Port";
|
||||
}
|
||||
internal virtual Label Label1
|
||||
{
|
||||
[DebuggerNonUserCode]
|
||||
get => _Label1;
|
||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)]
|
||||
set => _Label1 = value;
|
||||
}
|
||||
|
||||
private void ComboBox1_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
var selectedIndex = ComboBox1.SelectedIndex;
|
||||
ComboBox1.Items.Clear();
|
||||
GetSerialPortNames();
|
||||
if (-1 == ComboBox1.FindString(ComboBox1.Text))
|
||||
ComboBox1.SelectedIndex = 0;
|
||||
else
|
||||
ComboBox1.SelectedIndex = selectedIndex;
|
||||
}
|
||||
private void ComForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
ComboBox1.SelectedIndex = checked((int) publicva.COM_SelectIndex);
|
||||
Label1.Text = "Port";
|
||||
}
|
||||
|
||||
private void Button1_Click(object sender, EventArgs e) => Close();
|
||||
private void ComboBox1_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
var selectedIndex = ComboBox1.SelectedIndex;
|
||||
ComboBox1.Items.Clear();
|
||||
GetSerialPortNames();
|
||||
if (-1 == ComboBox1.FindString(ComboBox1.Text))
|
||||
ComboBox1.SelectedIndex = 0;
|
||||
else
|
||||
ComboBox1.SelectedIndex = selectedIndex;
|
||||
}
|
||||
|
||||
public void GetSerialPortNames()
|
||||
{
|
||||
try
|
||||
{
|
||||
foreach (object serialPortName in MyProject.Computer.Ports.SerialPortNames)
|
||||
ComboBox1.Items.Add(serialPortName);
|
||||
}
|
||||
finally
|
||||
{
|
||||
}
|
||||
if (ComboBox1.Items.Count >= 1)
|
||||
return;
|
||||
ComboBox1.Items.Add("COM1");
|
||||
}
|
||||
private void Button1_Click(object sender, EventArgs e) => Close();
|
||||
|
||||
private void Button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
publicva.COM_SelectIndex = checked ((uint) ComboBox1.SelectedIndex);
|
||||
MyProject.Forms.MDIParent1.SerialPort1.PortName = ComboBox1.Text;
|
||||
Close();
|
||||
public void GetSerialPortNames()
|
||||
{
|
||||
try
|
||||
{
|
||||
foreach (object serialPortName in MyProject.Computer.Ports.SerialPortNames)
|
||||
ComboBox1.Items.Add(serialPortName);
|
||||
}
|
||||
finally
|
||||
{
|
||||
}
|
||||
|
||||
if (ComboBox1.Items.Count >= 1)
|
||||
return;
|
||||
ComboBox1.Items.Add("COM1");
|
||||
}
|
||||
|
||||
private void Button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
publicva.COM_SelectIndex = checked((uint) ComboBox1.SelectedIndex);
|
||||
MyProject.Forms.MDIParent1.SerialPort1.PortName = ComboBox1.Text;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1
HPG-68D/Config.hpg
Normal file
1
HPG-68D/Config.hpg
Normal file
@ -0,0 +1 @@
|
||||
en-US
|
||||
@ -1399,7 +1399,7 @@ namespace HPG_68D
|
||||
{
|
||||
var address = 4032;
|
||||
GetDTMF_Code(address, TextBox1.Text);
|
||||
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) TextBox1.Text.ToString().Length);
|
||||
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) TextBox1.Text.Length);
|
||||
}
|
||||
|
||||
private void TextBox2_KeyPress(object sender, KeyPressEventArgs e)
|
||||
@ -1418,7 +1418,7 @@ namespace HPG_68D
|
||||
{
|
||||
var address = 4048;
|
||||
GetDTMF_Code(address, TextBox2.Text);
|
||||
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) TextBox2.Text.ToString().Length);
|
||||
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) TextBox2.Text.Length);
|
||||
}
|
||||
|
||||
private void TextBox3_KeyPress(object sender, KeyPressEventArgs e)
|
||||
@ -1437,7 +1437,7 @@ namespace HPG_68D
|
||||
{
|
||||
var address = 4064;
|
||||
GetDTMF_Code(address, TextBox3.Text);
|
||||
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) TextBox3.Text.ToString().Length);
|
||||
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) TextBox3.Text.Length);
|
||||
}
|
||||
|
||||
private void TextBox4_KeyPress(object sender, KeyPressEventArgs e)
|
||||
@ -1456,7 +1456,7 @@ namespace HPG_68D
|
||||
{
|
||||
var address = 4080;
|
||||
GetDTMF_Code(address, TextBox4.Text);
|
||||
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) TextBox4.Text.ToString().Length);
|
||||
publicva.EEPROM_Byte[checked (address + 12)] = checked ((byte) TextBox4.Text.Length);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<ProjectGuid>{761C095A-01C0-445E-891B-951A94D4A5D7}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AssemblyName>HPG-68D</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<ApplicationVersion>1.0.0.0</ApplicationVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<RootNamespace>HPG_68D</RootNamespace>
|
||||
@ -136,5 +136,13 @@
|
||||
<EmbeddedResource Include="TypeFuncMsgForm.resx" />
|
||||
<EmbeddedResource Include="TypeMsgForm.resx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Config.hpg">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="default_data.hpg">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@ -1,4 +1,43 @@
|
||||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FChannelEditForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002F_005F2ToneForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002F_005F5ToneForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FAboutForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FBeepForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FChannelMsg_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FComForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FDtmfForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FInputPasswordForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FMDIParent1_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FMSCommReadForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FMSCommWriteForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FMsgForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FPasswordForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FRadioMsgForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FScanFuncMsgForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FSofeMsgForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FSOSMsgForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FTypeFuncMsgForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002Eresources_002FHPG_005F68D_002FTypeMsgForm_002Fen/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FResources/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002F_005F2ToneForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002F_005F5ToneForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FAboutForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FBeepForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FChannelEditForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FChannelMsg/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FComForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FDtmfForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FInputPasswordForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FMDIParent1/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FMSCommReadForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FMSCommWriteForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FMsgForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FPasswordForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FRadioMsgForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FScanFuncMsgForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FSofeMsgForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FSOSMsgForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FTypeFuncMsgForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=HPG_002D68D_002FTypeMsgForm/@EntryIndexedValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/Initialized/@EntryValue">True</s:Boolean></wpf:ResourceDictionary>
|
||||
@ -10,7 +10,6 @@ using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@ -1,19 +1,10 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: HPG_68D.LanguageHelper
|
||||
// Assembly: HPG-68D, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 530C99A8-8EEF-42C8-8A74-66FDE7B322C3
|
||||
// Assembly location: C:\Program Files (x86)\HONGKAIDE\HPG-68D\HPG-68D.exe
|
||||
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.Layout;
|
||||
|
||||
|
||||
namespace HPG_68D
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,4 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: HPG_68D.My.MyApplication
|
||||
// Assembly: HPG-68D, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 530C99A8-8EEF-42C8-8A74-66FDE7B322C3
|
||||
// Assembly location: C:\Program Files (x86)\HONGKAIDE\HPG-68D\HPG-68D.exe
|
||||
|
||||
using Microsoft.VisualBasic.ApplicationServices;
|
||||
using Microsoft.VisualBasic.ApplicationServices;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Collections;
|
||||
@ -27,7 +21,6 @@ namespace HPG_68D.My
|
||||
|
||||
[STAThread]
|
||||
[DebuggerHidden]
|
||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
internal static void Main(string[] Args)
|
||||
{
|
||||
try
|
||||
@ -48,6 +41,7 @@ namespace HPG_68D.My
|
||||
IsSingleInstance = false;
|
||||
EnableVisualStyles = true;
|
||||
SaveMySettingsOnExit = true;
|
||||
|
||||
ShutdownStyle = ShutdownMode.AfterMainFormCloses;
|
||||
}
|
||||
|
||||
|
||||
@ -1,10 +1,4 @@
|
||||
// Decompiled with JetBrains decompiler
|
||||
// Type: HPG_68D.My.MyProject
|
||||
// Assembly: HPG-68D, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
// MVID: 530C99A8-8EEF-42C8-8A74-66FDE7B322C3
|
||||
// Assembly location: C:\Program Files (x86)\HONGKAIDE\HPG-68D\HPG-68D.exe
|
||||
|
||||
using Microsoft.VisualBasic;
|
||||
using Microsoft.VisualBasic;
|
||||
using Microsoft.VisualBasic.ApplicationServices;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using System;
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
// MVID: 530C99A8-8EEF-42C8-8A74-66FDE7B322C3
|
||||
// Assembly location: C:\Program Files (x86)\HONGKAIDE\HPG-68D\HPG-68D.exe
|
||||
|
||||
using Microsoft.VisualBasic.ApplicationServices;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,6 @@ using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
@ -10,7 +10,6 @@ using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
@ -10,7 +10,6 @@ using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
@ -9,7 +9,6 @@ using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
18654
HPG-68D/_2ToneForm.cs
18654
HPG-68D/_2ToneForm.cs
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
32768
HPG-68D/default_data.hpg
Normal file
32768
HPG-68D/default_data.hpg
Normal file
File diff suppressed because it is too large
Load Diff
@ -47,11 +47,11 @@ namespace HPG_68D
|
||||
3000000U
|
||||
}
|
||||
};
|
||||
public static string TypeName = "HPG-68D";
|
||||
public static string Language = "zh-CN";
|
||||
public static readonly string TypeName = "HPG-68D";
|
||||
public static string Language = "en-US";
|
||||
public const int C_Min = 0;
|
||||
public const int C_Max = 1;
|
||||
public static uint[,] RxFreqRang = new uint[7, 2]
|
||||
public static readonly uint[,] RxFreqRang = new uint[7, 2]
|
||||
{
|
||||
{
|
||||
13600000U,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user