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>
|
<ProjectGuid>{8C21DBEE-193D-45EA-8EAD-06C77A14BA4E}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<AssemblyName>HPG-68D.resources</AssemblyName>
|
<AssemblyName>HPG-68D.resources</AssemblyName>
|
||||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
<ApplicationVersion>1.0.0.0</ApplicationVersion>
|
<ApplicationVersion>1.0.0.0</ApplicationVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<FileUpgradeFlags>
|
<FileUpgradeFlags>
|
||||||
|
|||||||
@ -1,10 +1,4 @@
|
|||||||
// Decompiled with JetBrains decompiler
|
using HPG_68D.My;
|
||||||
// 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 Microsoft.VisualBasic.CompilerServices;
|
using Microsoft.VisualBasic.CompilerServices;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
@ -150,8 +144,10 @@ namespace HPG_68D
|
|||||||
|
|
||||||
internal virtual Label Label发布时间
|
internal virtual Label Label发布时间
|
||||||
{
|
{
|
||||||
[DebuggerNonUserCode] get => _Label发布时间;
|
[DebuggerNonUserCode]
|
||||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
get => _Label发布时间;
|
||||||
|
[DebuggerNonUserCode][MethodImpl(MethodImplOptions.Synchronized)]
|
||||||
|
set
|
||||||
{
|
{
|
||||||
_Label发布时间 = value;
|
_Label发布时间 = value;
|
||||||
}
|
}
|
||||||
@ -167,8 +163,8 @@ namespace HPG_68D
|
|||||||
|
|
||||||
private void AboutForm_Load(object sender, EventArgs e)
|
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 = "Version " + MyProject.Application.Info.Version;
|
||||||
Label发布时间.Text = MyProject.Application.Info.Description.ToString();
|
Label发布时间.Text = MyProject.Application.Info.Description;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4003,44 +4003,27 @@ namespace HPG_68D
|
|||||||
{
|
{
|
||||||
MyProject.Forms.MDIParent1.提示音AToolStripMenuItem.Checked = true;
|
MyProject.Forms.MDIParent1.提示音AToolStripMenuItem.Checked = true;
|
||||||
DataGridView1.RowCount = 14;
|
DataGridView1.RowCount = 14;
|
||||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
||||||
DataGridView1.TopLeftHeaderCell.Value = "序号";
|
|
||||||
else
|
|
||||||
DataGridView1.TopLeftHeaderCell.Value = "NO.";
|
DataGridView1.TopLeftHeaderCell.Value = "NO.";
|
||||||
DataGridView2.RowCount = 14;
|
DataGridView2.RowCount = 14;
|
||||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
||||||
DataGridView2.TopLeftHeaderCell.Value = "序号";
|
|
||||||
else
|
|
||||||
DataGridView2.TopLeftHeaderCell.Value = "NO.";
|
DataGridView2.TopLeftHeaderCell.Value = "NO.";
|
||||||
DataGridView3.RowCount = 14;
|
DataGridView3.RowCount = 14;
|
||||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
||||||
DataGridView3.TopLeftHeaderCell.Value = "序号";
|
|
||||||
else
|
|
||||||
DataGridView3.TopLeftHeaderCell.Value = "NO.";
|
DataGridView3.TopLeftHeaderCell.Value = "NO.";
|
||||||
DataGridView4.RowCount = 14;
|
DataGridView4.RowCount = 14;
|
||||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
||||||
DataGridView4.TopLeftHeaderCell.Value = "序号";
|
|
||||||
else
|
|
||||||
DataGridView4.TopLeftHeaderCell.Value = "NO.";
|
DataGridView4.TopLeftHeaderCell.Value = "NO.";
|
||||||
DataGridView5.RowCount = 14;
|
DataGridView5.RowCount = 14;
|
||||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
||||||
DataGridView5.TopLeftHeaderCell.Value = "序号";
|
|
||||||
else
|
|
||||||
DataGridView5.TopLeftHeaderCell.Value = "NO.";
|
DataGridView5.TopLeftHeaderCell.Value = "NO.";
|
||||||
DataGridView6.RowCount = 14;
|
DataGridView6.RowCount = 14;
|
||||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
||||||
DataGridView6.TopLeftHeaderCell.Value = "序号";
|
|
||||||
else
|
|
||||||
DataGridView6.TopLeftHeaderCell.Value = "NO.";
|
DataGridView6.TopLeftHeaderCell.Value = "NO.";
|
||||||
DataGridView7.RowCount = 14;
|
DataGridView7.RowCount = 14;
|
||||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
||||||
DataGridView7.TopLeftHeaderCell.Value = "序号";
|
|
||||||
else
|
|
||||||
DataGridView7.TopLeftHeaderCell.Value = "NO.";
|
DataGridView7.TopLeftHeaderCell.Value = "NO.";
|
||||||
DataGridView8.RowCount = 14;
|
DataGridView8.RowCount = 14;
|
||||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
|
||||||
DataGridView8.TopLeftHeaderCell.Value = "序号";
|
|
||||||
else
|
|
||||||
DataGridView8.TopLeftHeaderCell.Value = "NO.";
|
DataGridView8.TopLeftHeaderCell.Value = "NO.";
|
||||||
Column1_1.Items.RemoveAt(0);
|
Column1_1.Items.RemoveAt(0);
|
||||||
Column1_2.Items.RemoveAt(0);
|
Column1_2.Items.RemoveAt(0);
|
||||||
@ -4050,19 +4033,7 @@ namespace HPG_68D
|
|||||||
Column1_6.Items.RemoveAt(0);
|
Column1_6.Items.RemoveAt(0);
|
||||||
Column1_7.Items.RemoveAt(0);
|
Column1_7.Items.RemoveAt(0);
|
||||||
Column1_8.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_1.Items.Insert(0, "None");
|
||||||
Column1_2.Items.Insert(0, "None");
|
Column1_2.Items.Insert(0, "None");
|
||||||
Column1_3.Items.Insert(0, "None");
|
Column1_3.Items.Insert(0, "None");
|
||||||
@ -4071,7 +4042,7 @@ namespace HPG_68D
|
|||||||
Column1_6.Items.Insert(0, "None");
|
Column1_6.Items.Insert(0, "None");
|
||||||
Column1_7.Items.Insert(0, "None");
|
Column1_7.Items.Insert(0, "None");
|
||||||
Column1_8.Items.Insert(0, "None");
|
Column1_8.Items.Insert(0, "None");
|
||||||
}
|
|
||||||
var num1 = 4608;
|
var num1 = 4608;
|
||||||
ComboBox1.SelectedIndex = publicva.EEPROM_Byte[checked (num1 + 0)];
|
ComboBox1.SelectedIndex = publicva.EEPROM_Byte[checked (num1 + 0)];
|
||||||
NumericUpDown1.Value = new Decimal(publicva.EEPROM_Byte[checked (num1 + 1)]);
|
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 Microsoft.VisualBasic.CompilerServices;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Drawing;
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
|
||||||
namespace HPG_68D
|
namespace HPG_68D
|
||||||
{
|
{
|
||||||
[DesignerGenerated]
|
[DesignerGenerated]
|
||||||
public class ComForm : Form
|
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()
|
|
||||||
{
|
{
|
||||||
}
|
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]
|
[DebuggerNonUserCode]
|
||||||
public ComForm()
|
static ComForm()
|
||||||
{
|
{
|
||||||
Load += ComForm_Load;
|
}
|
||||||
__ENCList.Add(new WeakReference(this));
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
|
|
||||||
[DebuggerNonUserCode]
|
[DebuggerNonUserCode]
|
||||||
protected override void Dispose(bool disposing)
|
public ComForm()
|
||||||
{
|
{
|
||||||
if (disposing && components != null)
|
Load += ComForm_Load;
|
||||||
components.Dispose();
|
__ENCList.Add(new WeakReference(this));
|
||||||
base.Dispose(disposing);
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
[DebuggerStepThrough]
|
[DebuggerNonUserCode]
|
||||||
private void InitializeComponent()
|
protected override void Dispose(bool disposing)
|
||||||
{
|
{
|
||||||
var componentResourceManager = new ComponentResourceManager(typeof (ComForm));
|
if (disposing && components != null)
|
||||||
Button2 = new Button();
|
components.Dispose();
|
||||||
Button1 = new Button();
|
base.Dispose(disposing);
|
||||||
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 Button2
|
[DebuggerStepThrough]
|
||||||
{
|
private void InitializeComponent()
|
||||||
[DebuggerNonUserCode] get => _Button2;
|
{
|
||||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
var componentResourceManager = new ComponentResourceManager(typeof(ComForm));
|
||||||
{
|
Button2 = new Button();
|
||||||
if (_Button2 != null)
|
Button1 = new Button();
|
||||||
_Button2.Click -= Button2_Click;
|
ComboBox1 = new ComboBox();
|
||||||
_Button2 = value;
|
Label1 = new Label();
|
||||||
if (_Button2 == null)
|
SuspendLayout();
|
||||||
return;
|
Button2.AccessibleDescription = null;
|
||||||
_Button2.Click += Button2_Click;
|
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
|
internal virtual Button Button2
|
||||||
{
|
{
|
||||||
[DebuggerNonUserCode] get => _Button1;
|
[DebuggerNonUserCode]
|
||||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
get => _Button2;
|
||||||
{
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)]
|
||||||
if (_Button1 != null)
|
set
|
||||||
_Button1.Click -= Button1_Click;
|
{
|
||||||
_Button1 = value;
|
if (_Button2 != null)
|
||||||
if (_Button1 == null)
|
_Button2.Click -= Button2_Click;
|
||||||
return;
|
_Button2 = value;
|
||||||
_Button1.Click += Button1_Click;
|
if (_Button2 == null)
|
||||||
}
|
return;
|
||||||
}
|
_Button2.Click += Button2_Click;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal virtual ComboBox ComboBox1
|
internal virtual Button Button1
|
||||||
{
|
{
|
||||||
[DebuggerNonUserCode] get => _ComboBox1;
|
[DebuggerNonUserCode]
|
||||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
|
get => _Button1;
|
||||||
{
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)]
|
||||||
if (_ComboBox1 != null)
|
set
|
||||||
_ComboBox1.MouseClick -= ComboBox1_MouseClick;
|
{
|
||||||
_ComboBox1 = value;
|
if (_Button1 != null)
|
||||||
if (_ComboBox1 == null)
|
_Button1.Click -= Button1_Click;
|
||||||
return;
|
_Button1 = value;
|
||||||
_ComboBox1.MouseClick += ComboBox1_MouseClick;
|
if (_Button1 == null)
|
||||||
}
|
return;
|
||||||
}
|
_Button1.Click += Button1_Click;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal virtual Label Label1
|
internal virtual ComboBox ComboBox1
|
||||||
{
|
{
|
||||||
[DebuggerNonUserCode] get => _Label1;
|
[DebuggerNonUserCode]
|
||||||
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => _Label1 = value;
|
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)
|
internal virtual Label Label1
|
||||||
{
|
{
|
||||||
ComboBox1.SelectedIndex = checked ((int) publicva.COM_SelectIndex);
|
[DebuggerNonUserCode]
|
||||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
get => _Label1;
|
||||||
Label1.Text = "通信端口";
|
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)]
|
||||||
else
|
set => _Label1 = value;
|
||||||
Label1.Text = "Port";
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void ComboBox1_MouseClick(object sender, MouseEventArgs e)
|
private void ComForm_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var selectedIndex = ComboBox1.SelectedIndex;
|
ComboBox1.SelectedIndex = checked((int) publicva.COM_SelectIndex);
|
||||||
ComboBox1.Items.Clear();
|
Label1.Text = "Port";
|
||||||
GetSerialPortNames();
|
}
|
||||||
if (-1 == ComboBox1.FindString(ComboBox1.Text))
|
|
||||||
ComboBox1.SelectedIndex = 0;
|
|
||||||
else
|
|
||||||
ComboBox1.SelectedIndex = selectedIndex;
|
|
||||||
}
|
|
||||||
|
|
||||||
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()
|
private void Button1_Click(object sender, EventArgs e) => Close();
|
||||||
{
|
|
||||||
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)
|
public void GetSerialPortNames()
|
||||||
{
|
{
|
||||||
publicva.COM_SelectIndex = checked ((uint) ComboBox1.SelectedIndex);
|
try
|
||||||
MyProject.Forms.MDIParent1.SerialPort1.PortName = ComboBox1.Text;
|
{
|
||||||
Close();
|
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;
|
var address = 4032;
|
||||||
GetDTMF_Code(address, TextBox1.Text);
|
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)
|
private void TextBox2_KeyPress(object sender, KeyPressEventArgs e)
|
||||||
@ -1418,7 +1418,7 @@ namespace HPG_68D
|
|||||||
{
|
{
|
||||||
var address = 4048;
|
var address = 4048;
|
||||||
GetDTMF_Code(address, TextBox2.Text);
|
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)
|
private void TextBox3_KeyPress(object sender, KeyPressEventArgs e)
|
||||||
@ -1437,7 +1437,7 @@ namespace HPG_68D
|
|||||||
{
|
{
|
||||||
var address = 4064;
|
var address = 4064;
|
||||||
GetDTMF_Code(address, TextBox3.Text);
|
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)
|
private void TextBox4_KeyPress(object sender, KeyPressEventArgs e)
|
||||||
@ -1456,7 +1456,7 @@ namespace HPG_68D
|
|||||||
{
|
{
|
||||||
var address = 4080;
|
var address = 4080;
|
||||||
GetDTMF_Code(address, TextBox4.Text);
|
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>
|
<ProjectGuid>{761C095A-01C0-445E-891B-951A94D4A5D7}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<AssemblyName>HPG-68D</AssemblyName>
|
<AssemblyName>HPG-68D</AssemblyName>
|
||||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
<ApplicationVersion>1.0.0.0</ApplicationVersion>
|
<ApplicationVersion>1.0.0.0</ApplicationVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<RootNamespace>HPG_68D</RootNamespace>
|
<RootNamespace>HPG_68D</RootNamespace>
|
||||||
@ -136,5 +136,13 @@
|
|||||||
<EmbeddedResource Include="TypeFuncMsgForm.resx" />
|
<EmbeddedResource Include="TypeFuncMsgForm.resx" />
|
||||||
<EmbeddedResource Include="TypeMsgForm.resx" />
|
<EmbeddedResource Include="TypeMsgForm.resx" />
|
||||||
</ItemGroup>
|
</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" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</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">
|
<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_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_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>
|
<s:Boolean x:Key="/Default/ResxEditorPersonal/Initialized/@EntryValue">True</s:Boolean></wpf:ResourceDictionary>
|
||||||
@ -10,7 +10,6 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Drawing;
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|||||||
@ -1,19 +1,10 @@
|
|||||||
// Decompiled with JetBrains decompiler
|
using Microsoft.VisualBasic.CompilerServices;
|
||||||
// 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 System;
|
using System;
|
||||||
using System.Collections;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Windows.Forms.Layout;
|
|
||||||
|
|
||||||
|
|
||||||
namespace HPG_68D
|
namespace HPG_68D
|
||||||
{
|
{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,4 @@
|
|||||||
// Decompiled with JetBrains decompiler
|
using Microsoft.VisualBasic.ApplicationServices;
|
||||||
// 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 System;
|
using System;
|
||||||
using System.CodeDom.Compiler;
|
using System.CodeDom.Compiler;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
@ -27,7 +21,6 @@ namespace HPG_68D.My
|
|||||||
|
|
||||||
[STAThread]
|
[STAThread]
|
||||||
[DebuggerHidden]
|
[DebuggerHidden]
|
||||||
[EditorBrowsable(EditorBrowsableState.Advanced)]
|
|
||||||
internal static void Main(string[] Args)
|
internal static void Main(string[] Args)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@ -48,6 +41,7 @@ namespace HPG_68D.My
|
|||||||
IsSingleInstance = false;
|
IsSingleInstance = false;
|
||||||
EnableVisualStyles = true;
|
EnableVisualStyles = true;
|
||||||
SaveMySettingsOnExit = true;
|
SaveMySettingsOnExit = true;
|
||||||
|
|
||||||
ShutdownStyle = ShutdownMode.AfterMainFormCloses;
|
ShutdownStyle = ShutdownMode.AfterMainFormCloses;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,10 +1,4 @@
|
|||||||
// Decompiled with JetBrains decompiler
|
using Microsoft.VisualBasic;
|
||||||
// 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.ApplicationServices;
|
using Microsoft.VisualBasic.ApplicationServices;
|
||||||
using Microsoft.VisualBasic.CompilerServices;
|
using Microsoft.VisualBasic.CompilerServices;
|
||||||
using System;
|
using System;
|
||||||
|
|||||||
@ -4,7 +4,6 @@
|
|||||||
// MVID: 530C99A8-8EEF-42C8-8A74-66FDE7B322C3
|
// MVID: 530C99A8-8EEF-42C8-8A74-66FDE7B322C3
|
||||||
// Assembly location: C:\Program Files (x86)\HONGKAIDE\HPG-68D\HPG-68D.exe
|
// Assembly location: C:\Program Files (x86)\HONGKAIDE\HPG-68D\HPG-68D.exe
|
||||||
|
|
||||||
using Microsoft.VisualBasic.ApplicationServices;
|
|
||||||
using Microsoft.VisualBasic.CompilerServices;
|
using Microsoft.VisualBasic.CompilerServices;
|
||||||
using System;
|
using System;
|
||||||
using System.CodeDom.Compiler;
|
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.Collections;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Drawing;
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,6 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Drawing;
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,6 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Drawing;
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,6 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Drawing;
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Windows.Forms;
|
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
|
3000000U
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
public static string TypeName = "HPG-68D";
|
public static readonly string TypeName = "HPG-68D";
|
||||||
public static string Language = "zh-CN";
|
public static string Language = "en-US";
|
||||||
public const int C_Min = 0;
|
public const int C_Min = 0;
|
||||||
public const int C_Max = 1;
|
public const int C_Max = 1;
|
||||||
public static uint[,] RxFreqRang = new uint[7, 2]
|
public static readonly uint[,] RxFreqRang = new uint[7, 2]
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
13600000U,
|
13600000U,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user