Clean code
This commit is contained in:
parent
33381d28b0
commit
0b0bdc9bf0
@ -45,7 +45,7 @@ namespace HPG_68D
|
||||
public AboutForm()
|
||||
{
|
||||
Load += AboutForm_Load;
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@ -60,7 +60,7 @@ namespace HPG_68D
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (AboutForm));
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (AboutForm));
|
||||
PictureBox1 = new PictureBox();
|
||||
Label1 = new Label();
|
||||
Label2 = new Label();
|
||||
@ -70,31 +70,31 @@ namespace HPG_68D
|
||||
Label5 = new Label();
|
||||
((ISupportInitialize) PictureBox1).BeginInit();
|
||||
SuspendLayout();
|
||||
componentResourceManager.ApplyResources((object) PictureBox1, "PictureBox1");
|
||||
componentResourceManager.ApplyResources(PictureBox1, "PictureBox1");
|
||||
PictureBox1.Name = "PictureBox1";
|
||||
PictureBox1.TabStop = false;
|
||||
componentResourceManager.ApplyResources((object) Label1, "Label1");
|
||||
componentResourceManager.ApplyResources(Label1, "Label1");
|
||||
Label1.Name = "Label1";
|
||||
componentResourceManager.ApplyResources((object) Label2, "Label2");
|
||||
componentResourceManager.ApplyResources(Label2, "Label2");
|
||||
Label2.Name = "Label2";
|
||||
componentResourceManager.ApplyResources((object) Label版本, "Label版本");
|
||||
componentResourceManager.ApplyResources(Label版本, "Label版本");
|
||||
Label版本.Name = "Label版本";
|
||||
componentResourceManager.ApplyResources((object) Button1, "Button1");
|
||||
componentResourceManager.ApplyResources(Button1, "Button1");
|
||||
Button1.Name = "Button1";
|
||||
Button1.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) Label发布时间, "Label发布时间");
|
||||
componentResourceManager.ApplyResources(Label发布时间, "Label发布时间");
|
||||
Label发布时间.Name = "Label发布时间";
|
||||
componentResourceManager.ApplyResources((object) Label5, "Label5");
|
||||
componentResourceManager.ApplyResources(Label5, "Label5");
|
||||
Label5.Name = "Label5";
|
||||
componentResourceManager.ApplyResources((object) this, "$this");
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
Controls.Add((Control) Label5);
|
||||
Controls.Add((Control) Label发布时间);
|
||||
Controls.Add((Control) Button1);
|
||||
Controls.Add((Control) Label版本);
|
||||
Controls.Add((Control) Label2);
|
||||
Controls.Add((Control) Label1);
|
||||
Controls.Add((Control) PictureBox1);
|
||||
Controls.Add(Label5);
|
||||
Controls.Add(Label发布时间);
|
||||
Controls.Add(Button1);
|
||||
Controls.Add(Label版本);
|
||||
Controls.Add(Label2);
|
||||
Controls.Add(Label1);
|
||||
Controls.Add(PictureBox1);
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
|
||||
5344
HPG-68D/BeepForm.cs
5344
HPG-68D/BeepForm.cs
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -71,7 +71,7 @@ namespace HPG_68D
|
||||
Deactivate += ChannelMsg_Deactivate;
|
||||
FormClosing += ChannelMsg_FormClosing;
|
||||
Load += ChannelMsg_Load;
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@ -86,13 +86,13 @@ namespace HPG_68D
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
DataGridViewCellStyle gridViewCellStyle1 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle gridViewCellStyle2 = new DataGridViewCellStyle();
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (ChannelMsg));
|
||||
DataGridViewCellStyle gridViewCellStyle3 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle gridViewCellStyle4 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle gridViewCellStyle5 = new DataGridViewCellStyle();
|
||||
DataGridViewCellStyle gridViewCellStyle6 = new DataGridViewCellStyle();
|
||||
var gridViewCellStyle1 = new DataGridViewCellStyle();
|
||||
var gridViewCellStyle2 = new DataGridViewCellStyle();
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (ChannelMsg));
|
||||
var gridViewCellStyle3 = new DataGridViewCellStyle();
|
||||
var gridViewCellStyle4 = new DataGridViewCellStyle();
|
||||
var gridViewCellStyle5 = new DataGridViewCellStyle();
|
||||
var gridViewCellStyle6 = new DataGridViewCellStyle();
|
||||
ChannelMsgDataGridView = new DataGridView();
|
||||
Panel1 = new Panel();
|
||||
Button3 = new Button();
|
||||
@ -122,19 +122,19 @@ namespace HPG_68D
|
||||
ChannelMsgDataGridView.AlternatingRowsDefaultCellStyle = gridViewCellStyle1;
|
||||
gridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||||
gridViewCellStyle2.BackColor = SystemColors.Control;
|
||||
gridViewCellStyle2.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 134);
|
||||
gridViewCellStyle2.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||
gridViewCellStyle2.ForeColor = SystemColors.WindowText;
|
||||
gridViewCellStyle2.SelectionBackColor = SystemColors.Highlight;
|
||||
gridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText;
|
||||
gridViewCellStyle2.WrapMode = DataGridViewTriState.True;
|
||||
ChannelMsgDataGridView.ColumnHeadersDefaultCellStyle = gridViewCellStyle2;
|
||||
componentResourceManager.ApplyResources((object) ChannelMsgDataGridView, "ChannelMsgDataGridView");
|
||||
componentResourceManager.ApplyResources(ChannelMsgDataGridView, "ChannelMsgDataGridView");
|
||||
ChannelMsgDataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
ChannelMsgDataGridView.Columns.AddRange((DataGridViewColumn) ColumnRxFreq, (DataGridViewColumn) Column差频方向, (DataGridViewColumn) ColumnTxFreq, (DataGridViewColumn) Column亚音解码类型, (DataGridViewColumn) Column亚音解码, (DataGridViewColumn) Column亚音编码类型, (DataGridViewColumn) Column亚音编码, (DataGridViewColumn) Column发射功率, (DataGridViewColumn) Column扫描添加, (DataGridViewColumn) Column带宽, (DataGridViewColumn) Column可选信令, (DataGridViewColumn) Column更多);
|
||||
ChannelMsgDataGridView.Columns.AddRange(ColumnRxFreq, Column差频方向, ColumnTxFreq, Column亚音解码类型, Column亚音解码, Column亚音编码类型, Column亚音编码, Column发射功率, Column扫描添加, Column带宽, Column可选信令, Column更多);
|
||||
ChannelMsgDataGridView.Name = "ChannelMsgDataGridView";
|
||||
gridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||||
gridViewCellStyle3.BackColor = SystemColors.Control;
|
||||
gridViewCellStyle3.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 134);
|
||||
gridViewCellStyle3.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||
gridViewCellStyle3.ForeColor = SystemColors.WindowText;
|
||||
gridViewCellStyle3.SelectionBackColor = SystemColors.Highlight;
|
||||
gridViewCellStyle3.SelectionForeColor = SystemColors.HighlightText;
|
||||
@ -144,87 +144,87 @@ namespace HPG_68D
|
||||
gridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||||
ChannelMsgDataGridView.RowsDefaultCellStyle = gridViewCellStyle4;
|
||||
ChannelMsgDataGridView.RowTemplate.Height = 23;
|
||||
componentResourceManager.ApplyResources((object) Panel1, "Panel1");
|
||||
componentResourceManager.ApplyResources(Panel1, "Panel1");
|
||||
Panel1.BorderStyle = BorderStyle.Fixed3D;
|
||||
Panel1.Controls.Add((Control) ChannelMsgDataGridView);
|
||||
Panel1.Controls.Add(ChannelMsgDataGridView);
|
||||
Panel1.Name = "Panel1";
|
||||
componentResourceManager.ApplyResources((object) Button3, "Button3");
|
||||
componentResourceManager.ApplyResources(Button3, "Button3");
|
||||
Button3.Name = "Button3";
|
||||
Button3.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) Button2, "Button2");
|
||||
componentResourceManager.ApplyResources(Button2, "Button2");
|
||||
Button2.Name = "Button2";
|
||||
Button2.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) Button1, "Button1");
|
||||
componentResourceManager.ApplyResources(Button1, "Button1");
|
||||
Button1.Name = "Button1";
|
||||
Button1.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) Button信道编辑, "Button信道编辑");
|
||||
componentResourceManager.ApplyResources(Button信道编辑, "Button信道编辑");
|
||||
Button信道编辑.Name = "Button信道编辑";
|
||||
Button信道编辑.UseVisualStyleBackColor = true;
|
||||
gridViewCellStyle5.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||||
ColumnRxFreq.DefaultCellStyle = gridViewCellStyle5;
|
||||
componentResourceManager.ApplyResources((object) ColumnRxFreq, "ColumnRxFreq");
|
||||
componentResourceManager.ApplyResources(ColumnRxFreq, "ColumnRxFreq");
|
||||
ColumnRxFreq.MaxInputLength = 9;
|
||||
ColumnRxFreq.Name = "ColumnRxFreq";
|
||||
ColumnRxFreq.Resizable = DataGridViewTriState.False;
|
||||
ColumnRxFreq.SortMode = DataGridViewColumnSortMode.NotSortable;
|
||||
Column差频方向.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
componentResourceManager.ApplyResources((object) Column差频方向, "Column差频方向");
|
||||
Column差频方向.Items.AddRange((object) "OFF", (object) "DUP -", (object) "DUP +");
|
||||
componentResourceManager.ApplyResources(Column差频方向, "Column差频方向");
|
||||
Column差频方向.Items.AddRange("OFF", "DUP -", "DUP +");
|
||||
Column差频方向.Name = "Column差频方向";
|
||||
componentResourceManager.ApplyResources((object) ColumnTxFreq, "ColumnTxFreq");
|
||||
componentResourceManager.ApplyResources(ColumnTxFreq, "ColumnTxFreq");
|
||||
ColumnTxFreq.MaxInputLength = 9;
|
||||
ColumnTxFreq.Name = "ColumnTxFreq";
|
||||
ColumnTxFreq.SortMode = DataGridViewColumnSortMode.NotSortable;
|
||||
Column亚音解码类型.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
componentResourceManager.ApplyResources((object) Column亚音解码类型, "Column亚音解码类型");
|
||||
Column亚音解码类型.Items.AddRange((object) "OFF", (object) "TONE", (object) "CTCSS", (object) "DCS");
|
||||
componentResourceManager.ApplyResources(Column亚音解码类型, "Column亚音解码类型");
|
||||
Column亚音解码类型.Items.AddRange("OFF", "TONE", "CTCSS", "DCS");
|
||||
Column亚音解码类型.Name = "Column亚音解码类型";
|
||||
Column亚音解码.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
componentResourceManager.ApplyResources((object) Column亚音解码, "Column亚音解码");
|
||||
Column亚音解码.Items.AddRange((object) "OFF", (object) "67.0", (object) "69.3", (object) "71.9", (object) "74.4", (object) "77.0", (object) "79.7", (object) "82.5", (object) "85.4", (object) "88.5", (object) "91.5", (object) "94.8", (object) "97.4", (object) "100.0", (object) "103.5", (object) "107.2", (object) "110.9", (object) "114.8", (object) "118.8", (object) "123.0", (object) "127.3", (object) "131.8", (object) "136.5", (object) "141.3", (object) "146.2", (object) "151.4", (object) "156.7", (object) "159.8", (object) "162.2", (object) "165.5", (object) "167.9", (object) "171.3", (object) "173.8", (object) "177.3", (object) "179.9", (object) "183.5", (object) "186.2", (object) "189.9", (object) "192.8", (object) "196.6", (object) "199.5", (object) "203.5", (object) "206.5", (object) "210.7", (object) "218.1", (object) "225.7", (object) "229.1", (object) "233.6", (object) "241.8", (object) "250.3", (object) "254.1", (object) "D017N", (object) "D023N", (object) "D025N", (object) "D026N", (object) "D031N", (object) "D032N", (object) "D036N", (object) "D043N", (object) "D047N", (object) "D050N", (object) "D051N", (object) "D053N", (object) "D054N", (object) "D065N", (object) "D071N", (object) "D072N", (object) "D073N", (object) "D074N", (object) "D114N", (object) "D115N", (object) "D116N", (object) "D122N", (object) "D125N", (object) "D131N", (object) "D132N", (object) "D134N", (object) "D143N", (object) "D145N", (object) "D152N", (object) "D155N", (object) "D156N", (object) "D162N", (object) "D165N", (object) "D172N", (object) "D174N", (object) "D205N", (object) "D212N", (object) "D223N", (object) "D225N", (object) "D226N", (object) "D243N", (object) "D244N", (object) "D245N", (object) "D246N", (object) "D251N", (object) "D252N", (object) "D255N", (object) "D261N", (object) "D263N", (object) "D265N", (object) "D266N", (object) "D271N", (object) "D274N", (object) "D306N", (object) "D311N", (object) "D315N", (object) "D325N", (object) "D331N", (object) "D332N", (object) "D343N", (object) "D346N", (object) "D351N", (object) "D356N", (object) "D364N", (object) "D365N", (object) "D371N", (object) "D411N", (object) "D412N", (object) "D413N", (object) "D423N", (object) "D431N", (object) "D432N", (object) "D445N", (object) "D446N", (object) "D452N", (object) "D454N", (object) "D455N", (object) "D462N", (object) "D464N", (object) "D465N", (object) "D466N", (object) "D503N", (object) "D506N", (object) "D516N", (object) "D523N", (object) "D526N", (object) "D532N", (object) "D546N", (object) "D565N", (object) "D606N", (object) "D612N", (object) "D624N", (object) "D627N", (object) "D631N", (object) "D632N", (object) "D645N", (object) "D654N", (object) "D662N", (object) "D664N", (object) "D703N", (object) "D712N", (object) "D723N", (object) "D731N", (object) "D732N", (object) "D734N", (object) "D743N", (object) "D754N", (object) "D017I", (object) "D023I", (object) "D025I", (object) "D026I", (object) "D031I", (object) "D032I", (object) "D036I", (object) "D043I", (object) "D047I", (object) "D050I", (object) "D051I", (object) "D053I", (object) "D054I", (object) "D065I", (object) "D071I", (object) "D072I", (object) "D073I", (object) "D074I", (object) "D114I", (object) "D115I", (object) "D116I", (object) "D122I", (object) "D125I", (object) "D131I", (object) "D132I", (object) "D134I", (object) "D143I", (object) "D145I", (object) "D152I", (object) "D155I", (object) "D156I", (object) "D162I", (object) "D165I", (object) "D172I", (object) "D174I", (object) "D205I", (object) "D212I", (object) "D223I", (object) "D225I", (object) "D226I", (object) "D243I", (object) "D244I", (object) "D245I", (object) "D246I", (object) "D251I", (object) "D252I", (object) "D255I", (object) "D261I", (object) "D263I", (object) "D265I", (object) "D266I", (object) "D271I", (object) "D274I", (object) "D306I", (object) "D311I", (object) "D315I", (object) "D325I", (object) "D331I", (object) "D332I", (object) "D343I", (object) "D346I", (object) "D351I", (object) "D356I", (object) "D364I", (object) "D365I", (object) "D371I", (object) "D411I", (object) "D412I", (object) "D413I", (object) "D423I", (object) "D431I", (object) "D432I", (object) "D445I", (object) "D446I", (object) "D452I", (object) "D454I", (object) "D455I", (object) "D462I", (object) "D464I", (object) "D465I", (object) "D466I", (object) "D503I", (object) "D506I", (object) "D516I", (object) "D523I", (object) "D526I", (object) "D532I", (object) "D546I", (object) "D565I", (object) "D606I", (object) "D612I", (object) "D624I", (object) "D627I", (object) "D631I", (object) "D632I", (object) "D645I", (object) "D654I", (object) "D662I", (object) "D664I", (object) "D703I", (object) "D712I", (object) "D723I", (object) "D731I", (object) "D732I", (object) "D734I", (object) "D743I", (object) "D754I");
|
||||
componentResourceManager.ApplyResources(Column亚音解码, "Column亚音解码");
|
||||
Column亚音解码.Items.AddRange("OFF", "67.0", "69.3", "71.9", "74.4", "77.0", "79.7", "82.5", "85.4", "88.5", "91.5", "94.8", "97.4", "100.0", "103.5", "107.2", "110.9", "114.8", "118.8", "123.0", "127.3", "131.8", "136.5", "141.3", "146.2", "151.4", "156.7", "159.8", "162.2", "165.5", "167.9", "171.3", "173.8", "177.3", "179.9", "183.5", "186.2", "189.9", "192.8", "196.6", "199.5", "203.5", "206.5", "210.7", "218.1", "225.7", "229.1", "233.6", "241.8", "250.3", "254.1", "D017N", "D023N", "D025N", "D026N", "D031N", "D032N", "D036N", "D043N", "D047N", "D050N", "D051N", "D053N", "D054N", "D065N", "D071N", "D072N", "D073N", "D074N", "D114N", "D115N", "D116N", "D122N", "D125N", "D131N", "D132N", "D134N", "D143N", "D145N", "D152N", "D155N", "D156N", "D162N", "D165N", "D172N", "D174N", "D205N", "D212N", "D223N", "D225N", "D226N", "D243N", "D244N", "D245N", "D246N", "D251N", "D252N", "D255N", "D261N", "D263N", "D265N", "D266N", "D271N", "D274N", "D306N", "D311N", "D315N", "D325N", "D331N", "D332N", "D343N", "D346N", "D351N", "D356N", "D364N", "D365N", "D371N", "D411N", "D412N", "D413N", "D423N", "D431N", "D432N", "D445N", "D446N", "D452N", "D454N", "D455N", "D462N", "D464N", "D465N", "D466N", "D503N", "D506N", "D516N", "D523N", "D526N", "D532N", "D546N", "D565N", "D606N", "D612N", "D624N", "D627N", "D631N", "D632N", "D645N", "D654N", "D662N", "D664N", "D703N", "D712N", "D723N", "D731N", "D732N", "D734N", "D743N", "D754N", "D017I", "D023I", "D025I", "D026I", "D031I", "D032I", "D036I", "D043I", "D047I", "D050I", "D051I", "D053I", "D054I", "D065I", "D071I", "D072I", "D073I", "D074I", "D114I", "D115I", "D116I", "D122I", "D125I", "D131I", "D132I", "D134I", "D143I", "D145I", "D152I", "D155I", "D156I", "D162I", "D165I", "D172I", "D174I", "D205I", "D212I", "D223I", "D225I", "D226I", "D243I", "D244I", "D245I", "D246I", "D251I", "D252I", "D255I", "D261I", "D263I", "D265I", "D266I", "D271I", "D274I", "D306I", "D311I", "D315I", "D325I", "D331I", "D332I", "D343I", "D346I", "D351I", "D356I", "D364I", "D365I", "D371I", "D411I", "D412I", "D413I", "D423I", "D431I", "D432I", "D445I", "D446I", "D452I", "D454I", "D455I", "D462I", "D464I", "D465I", "D466I", "D503I", "D506I", "D516I", "D523I", "D526I", "D532I", "D546I", "D565I", "D606I", "D612I", "D624I", "D627I", "D631I", "D632I", "D645I", "D654I", "D662I", "D664I", "D703I", "D712I", "D723I", "D731I", "D732I", "D734I", "D743I", "D754I");
|
||||
Column亚音解码.Name = "Column亚音解码";
|
||||
Column亚音编码类型.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
componentResourceManager.ApplyResources((object) Column亚音编码类型, "Column亚音编码类型");
|
||||
Column亚音编码类型.Items.AddRange((object) "OFF", (object) "TONE", (object) "CTCSS", (object) "DCS");
|
||||
componentResourceManager.ApplyResources(Column亚音编码类型, "Column亚音编码类型");
|
||||
Column亚音编码类型.Items.AddRange("OFF", "TONE", "CTCSS", "DCS");
|
||||
Column亚音编码类型.Name = "Column亚音编码类型";
|
||||
Column亚音编码.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
componentResourceManager.ApplyResources((object) Column亚音编码, "Column亚音编码");
|
||||
Column亚音编码.Items.AddRange((object) "OFF", (object) "67.0", (object) "69.3", (object) "71.9", (object) "74.4", (object) "77.0", (object) "79.7", (object) "82.5", (object) "85.4", (object) "88.5", (object) "91.5", (object) "94.8", (object) "97.4", (object) "100.0", (object) "103.5", (object) "107.2", (object) "110.9", (object) "114.8", (object) "118.8", (object) "123.0", (object) "127.3", (object) "131.8", (object) "136.5", (object) "141.3", (object) "146.2", (object) "151.4", (object) "156.7", (object) "159.8", (object) "162.2", (object) "165.5", (object) "167.9", (object) "171.3", (object) "173.8", (object) "177.3", (object) "179.9", (object) "183.5", (object) "186.2", (object) "189.9", (object) "192.8", (object) "196.6", (object) "199.5", (object) "203.5", (object) "206.5", (object) "210.7", (object) "218.1", (object) "225.7", (object) "229.1", (object) "233.6", (object) "241.8", (object) "250.3", (object) "254.1", (object) "D017N", (object) "D023N", (object) "D025N", (object) "D026N", (object) "D031N", (object) "D032N", (object) "D036N", (object) "D043N", (object) "D047N", (object) "D050N", (object) "D051N", (object) "D053N", (object) "D054N", (object) "D065N", (object) "D071N", (object) "D072N", (object) "D073N", (object) "D074N", (object) "D114N", (object) "D115N", (object) "D116N", (object) "D122N", (object) "D125N", (object) "D131N", (object) "D132N", (object) "D134N", (object) "D143N", (object) "D145N", (object) "D152N", (object) "D155N", (object) "D156N", (object) "D162N", (object) "D165N", (object) "D172N", (object) "D174N", (object) "D205N", (object) "D212N", (object) "D223N", (object) "D225N", (object) "D226N", (object) "D243N", (object) "D244N", (object) "D245N", (object) "D246N", (object) "D251N", (object) "D252N", (object) "D255N", (object) "D261N", (object) "D263N", (object) "D265N", (object) "D266N", (object) "D271N", (object) "D274N", (object) "D306N", (object) "D311N", (object) "D315N", (object) "D325N", (object) "D331N", (object) "D332N", (object) "D343N", (object) "D346N", (object) "D351N", (object) "D356N", (object) "D364N", (object) "D365N", (object) "D371N", (object) "D411N", (object) "D412N", (object) "D413N", (object) "D423N", (object) "D431N", (object) "D432N", (object) "D445N", (object) "D446N", (object) "D452N", (object) "D454N", (object) "D455N", (object) "D462N", (object) "D464N", (object) "D465N", (object) "D466N", (object) "D503N", (object) "D506N", (object) "D516N", (object) "D523N", (object) "D526N", (object) "D532N", (object) "D546N", (object) "D565N", (object) "D606N", (object) "D612N", (object) "D624N", (object) "D627N", (object) "D631N", (object) "D632N", (object) "D645N", (object) "D654N", (object) "D662N", (object) "D664N", (object) "D703N", (object) "D712N", (object) "D723N", (object) "D731N", (object) "D732N", (object) "D734N", (object) "D743N", (object) "D754N", (object) "D017I", (object) "D023I", (object) "D025I", (object) "D026I", (object) "D031I", (object) "D032I", (object) "D036I", (object) "D043I", (object) "D047I", (object) "D050I", (object) "D051I", (object) "D053I", (object) "D054I", (object) "D065I", (object) "D071I", (object) "D072I", (object) "D073I", (object) "D074I", (object) "D114I", (object) "D115I", (object) "D116I", (object) "D122I", (object) "D125I", (object) "D131I", (object) "D132I", (object) "D134I", (object) "D143I", (object) "D145I", (object) "D152I", (object) "D155I", (object) "D156I", (object) "D162I", (object) "D165I", (object) "D172I", (object) "D174I", (object) "D205I", (object) "D212I", (object) "D223I", (object) "D225I", (object) "D226I", (object) "D243I", (object) "D244I", (object) "D245I", (object) "D246I", (object) "D251I", (object) "D252I", (object) "D255I", (object) "D261I", (object) "D263I", (object) "D265I", (object) "D266I", (object) "D271I", (object) "D274I", (object) "D306I", (object) "D311I", (object) "D315I", (object) "D325I", (object) "D331I", (object) "D332I", (object) "D343I", (object) "D346I", (object) "D351I", (object) "D356I", (object) "D364I", (object) "D365I", (object) "D371I", (object) "D411I", (object) "D412I", (object) "D413I", (object) "D423I", (object) "D431I", (object) "D432I", (object) "D445I", (object) "D446I", (object) "D452I", (object) "D454I", (object) "D455I", (object) "D462I", (object) "D464I", (object) "D465I", (object) "D466I", (object) "D503I", (object) "D506I", (object) "D516I", (object) "D523I", (object) "D526I", (object) "D532I", (object) "D546I", (object) "D565I", (object) "D606I", (object) "D612I", (object) "D624I", (object) "D627I", (object) "D631I", (object) "D632I", (object) "D645I", (object) "D654I", (object) "D662I", (object) "D664I", (object) "D703I", (object) "D712I", (object) "D723I", (object) "D731I", (object) "D732I", (object) "D734I", (object) "D743I", (object) "D754I");
|
||||
componentResourceManager.ApplyResources(Column亚音编码, "Column亚音编码");
|
||||
Column亚音编码.Items.AddRange("OFF", "67.0", "69.3", "71.9", "74.4", "77.0", "79.7", "82.5", "85.4", "88.5", "91.5", "94.8", "97.4", "100.0", "103.5", "107.2", "110.9", "114.8", "118.8", "123.0", "127.3", "131.8", "136.5", "141.3", "146.2", "151.4", "156.7", "159.8", "162.2", "165.5", "167.9", "171.3", "173.8", "177.3", "179.9", "183.5", "186.2", "189.9", "192.8", "196.6", "199.5", "203.5", "206.5", "210.7", "218.1", "225.7", "229.1", "233.6", "241.8", "250.3", "254.1", "D017N", "D023N", "D025N", "D026N", "D031N", "D032N", "D036N", "D043N", "D047N", "D050N", "D051N", "D053N", "D054N", "D065N", "D071N", "D072N", "D073N", "D074N", "D114N", "D115N", "D116N", "D122N", "D125N", "D131N", "D132N", "D134N", "D143N", "D145N", "D152N", "D155N", "D156N", "D162N", "D165N", "D172N", "D174N", "D205N", "D212N", "D223N", "D225N", "D226N", "D243N", "D244N", "D245N", "D246N", "D251N", "D252N", "D255N", "D261N", "D263N", "D265N", "D266N", "D271N", "D274N", "D306N", "D311N", "D315N", "D325N", "D331N", "D332N", "D343N", "D346N", "D351N", "D356N", "D364N", "D365N", "D371N", "D411N", "D412N", "D413N", "D423N", "D431N", "D432N", "D445N", "D446N", "D452N", "D454N", "D455N", "D462N", "D464N", "D465N", "D466N", "D503N", "D506N", "D516N", "D523N", "D526N", "D532N", "D546N", "D565N", "D606N", "D612N", "D624N", "D627N", "D631N", "D632N", "D645N", "D654N", "D662N", "D664N", "D703N", "D712N", "D723N", "D731N", "D732N", "D734N", "D743N", "D754N", "D017I", "D023I", "D025I", "D026I", "D031I", "D032I", "D036I", "D043I", "D047I", "D050I", "D051I", "D053I", "D054I", "D065I", "D071I", "D072I", "D073I", "D074I", "D114I", "D115I", "D116I", "D122I", "D125I", "D131I", "D132I", "D134I", "D143I", "D145I", "D152I", "D155I", "D156I", "D162I", "D165I", "D172I", "D174I", "D205I", "D212I", "D223I", "D225I", "D226I", "D243I", "D244I", "D245I", "D246I", "D251I", "D252I", "D255I", "D261I", "D263I", "D265I", "D266I", "D271I", "D274I", "D306I", "D311I", "D315I", "D325I", "D331I", "D332I", "D343I", "D346I", "D351I", "D356I", "D364I", "D365I", "D371I", "D411I", "D412I", "D413I", "D423I", "D431I", "D432I", "D445I", "D446I", "D452I", "D454I", "D455I", "D462I", "D464I", "D465I", "D466I", "D503I", "D506I", "D516I", "D523I", "D526I", "D532I", "D546I", "D565I", "D606I", "D612I", "D624I", "D627I", "D631I", "D632I", "D645I", "D654I", "D662I", "D664I", "D703I", "D712I", "D723I", "D731I", "D732I", "D734I", "D743I", "D754I");
|
||||
Column亚音编码.Name = "Column亚音编码";
|
||||
Column发射功率.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
componentResourceManager.ApplyResources((object) Column发射功率, "Column发射功率");
|
||||
Column发射功率.Items.AddRange((object) "高", (object) "低", (object) "中");
|
||||
componentResourceManager.ApplyResources(Column发射功率, "Column发射功率");
|
||||
Column发射功率.Items.AddRange("高", "低", "中");
|
||||
Column发射功率.Name = "Column发射功率";
|
||||
Column扫描添加.AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
|
||||
Column扫描添加.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
componentResourceManager.ApplyResources((object) Column扫描添加, "Column扫描添加");
|
||||
Column扫描添加.Items.AddRange((object) "是", (object) "否");
|
||||
componentResourceManager.ApplyResources(Column扫描添加, "Column扫描添加");
|
||||
Column扫描添加.Items.AddRange("是", "否");
|
||||
Column扫描添加.Name = "Column扫描添加";
|
||||
Column带宽.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
componentResourceManager.ApplyResources((object) Column带宽, "Column带宽");
|
||||
Column带宽.Items.AddRange((object) "宽带(25K)", (object) "宽带(20K)", (object) "窄带(12.5K)");
|
||||
componentResourceManager.ApplyResources(Column带宽, "Column带宽");
|
||||
Column带宽.Items.AddRange("宽带(25K)", "宽带(20K)", "窄带(12.5K)");
|
||||
Column带宽.Name = "Column带宽";
|
||||
Column可选信令.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing;
|
||||
componentResourceManager.ApplyResources((object) Column可选信令, "Column可选信令");
|
||||
Column可选信令.Items.AddRange((object) "无", (object) "DTMF", (object) "2-Tone", (object) "5-Tone");
|
||||
componentResourceManager.ApplyResources(Column可选信令, "Column可选信令");
|
||||
Column可选信令.Items.AddRange("无", "DTMF", "2-Tone", "5-Tone");
|
||||
Column可选信令.Name = "Column可选信令";
|
||||
gridViewCellStyle6.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||||
gridViewCellStyle6.BackColor = Color.FromArgb(224, 224, 224);
|
||||
gridViewCellStyle6.ForeColor = Color.Red;
|
||||
Column更多.DefaultCellStyle = gridViewCellStyle6;
|
||||
Column更多.FlatStyle = FlatStyle.Popup;
|
||||
componentResourceManager.ApplyResources((object) Column更多, "Column更多");
|
||||
componentResourceManager.ApplyResources(Column更多, "Column更多");
|
||||
Column更多.Name = "Column更多";
|
||||
Column更多.Resizable = DataGridViewTriState.False;
|
||||
Column更多.Text = ">>";
|
||||
Column更多.UseColumnTextForButtonValue = true;
|
||||
componentResourceManager.ApplyResources((object) this, "$this");
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
Controls.Add((Control) Button信道编辑);
|
||||
Controls.Add((Control) Button3);
|
||||
Controls.Add((Control) Button2);
|
||||
Controls.Add((Control) Button1);
|
||||
Controls.Add((Control) Panel1);
|
||||
Controls.Add(Button信道编辑);
|
||||
Controls.Add(Button3);
|
||||
Controls.Add(Button2);
|
||||
Controls.Add(Button1);
|
||||
Controls.Add(Panel1);
|
||||
DoubleBuffered = true;
|
||||
Name = nameof (ChannelMsg);
|
||||
((ISupportInitialize) ChannelMsgDataGridView).EndInit();
|
||||
@ -419,8 +419,8 @@ namespace HPG_68D
|
||||
public void ChannelMsg_Deactivate(object sender, EventArgs e)
|
||||
{
|
||||
ChannelMsgDataGridView.EndEdit();
|
||||
int num = checked (ChannelMsgDataGridView.RowCount - 1);
|
||||
int i = 0;
|
||||
var num = checked (ChannelMsgDataGridView.RowCount - 1);
|
||||
var i = 0;
|
||||
while (i <= num)
|
||||
{
|
||||
SetData_CHMsg(i);
|
||||
@ -439,30 +439,30 @@ namespace HPG_68D
|
||||
ChannelMsgDataGridView.RowCount = 516;
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
{
|
||||
ChannelMsgDataGridView.TopLeftHeaderCell.Value = (object) "信道";
|
||||
ChannelMsgDataGridView.TopLeftHeaderCell.Value = "信道";
|
||||
Column发射功率.Items.Clear();
|
||||
Column发射功率.Items.AddRange((object) "高", (object) "低", (object) "中");
|
||||
Column发射功率.Items.AddRange("高", "低", "中");
|
||||
Column扫描添加.Items.Clear();
|
||||
Column扫描添加.Items.AddRange((object) "是", (object) "否");
|
||||
Column扫描添加.Items.AddRange("是", "否");
|
||||
Column带宽.Items.Clear();
|
||||
Column带宽.Items.AddRange((object) "宽带(25K)", (object) "宽带(20K)", (object) "窄带(12.5K)");
|
||||
Column带宽.Items.AddRange("宽带(25K)", "宽带(20K)", "窄带(12.5K)");
|
||||
Column可选信令.Items.Clear();
|
||||
Column可选信令.Items.AddRange((object) "无", (object) "DTMF", (object) "2-Tone", (object) "5-Tone");
|
||||
Column可选信令.Items.AddRange("无", "DTMF", "2-Tone", "5-Tone");
|
||||
}
|
||||
else
|
||||
{
|
||||
ChannelMsgDataGridView.TopLeftHeaderCell.Value = (object) "CH";
|
||||
ChannelMsgDataGridView.TopLeftHeaderCell.Value = "CH";
|
||||
Column发射功率.Items.Clear();
|
||||
Column发射功率.Items.AddRange((object) "High", (object) "Low", (object) "Middle");
|
||||
Column发射功率.Items.AddRange("High", "Low", "Middle");
|
||||
Column扫描添加.Items.Clear();
|
||||
Column扫描添加.Items.AddRange((object) "Yes", (object) "No");
|
||||
Column扫描添加.Items.AddRange("Yes", "No");
|
||||
Column带宽.Items.Clear();
|
||||
Column带宽.Items.AddRange((object) "Wide(25K)", (object) "Wide(20K)", (object) "Narrow(12.5K)");
|
||||
Column带宽.Items.AddRange("Wide(25K)", "Wide(20K)", "Narrow(12.5K)");
|
||||
Column可选信令.Items.Clear();
|
||||
Column可选信令.Items.AddRange((object) "None", (object) "DTMF", (object) "2-Tone", (object) "5-Tone");
|
||||
Column可选信令.Items.AddRange("None", "DTMF", "2-Tone", "5-Tone");
|
||||
}
|
||||
int num = checked (ChannelMsgDataGridView.RowCount - 1);
|
||||
int i = 0;
|
||||
var num = checked (ChannelMsgDataGridView.RowCount - 1);
|
||||
var i = 0;
|
||||
while (i <= num)
|
||||
{
|
||||
GetStr_CHMsg(i);
|
||||
@ -472,16 +472,16 @@ namespace HPG_68D
|
||||
|
||||
private void ChannelMsgDataGridView_CellEndEdit(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
int rowIndex = ChannelMsgDataGridView.CurrentCell.RowIndex;
|
||||
int columnIndex = ChannelMsgDataGridView.CurrentCell.ColumnIndex;
|
||||
int num = columnIndex;
|
||||
var rowIndex = ChannelMsgDataGridView.CurrentCell.RowIndex;
|
||||
var columnIndex = ChannelMsgDataGridView.CurrentCell.ColumnIndex;
|
||||
var num = columnIndex;
|
||||
if (num == ChannelMsgDataGridView["ColumnRxFreq", rowIndex].ColumnIndex)
|
||||
{
|
||||
if (Operators.ConditionalCompareObjectNotEqual(ChannelMsgDataGridView["ColumnRxFreq", rowIndex].Value, (object) "", false))
|
||||
if (Operators.ConditionalCompareObjectNotEqual(ChannelMsgDataGridView["ColumnRxFreq", rowIndex].Value, "", false))
|
||||
{
|
||||
string str = Conversions.ToString(JudgeInputRxFreq(Conversions.ToString(ChannelMsgDataGridView["ColumnRxFreq", rowIndex].Value), true));
|
||||
ChannelMsgDataGridView["ColumnRxFreq", rowIndex].Value = (object) str;
|
||||
if (Operators.ConditionalCompareObjectEqual(ChannelMsgDataGridView["ColumnTxFreq", rowIndex].Value, (object) "", false))
|
||||
var str = Conversions.ToString(JudgeInputRxFreq(Conversions.ToString(ChannelMsgDataGridView["ColumnRxFreq", rowIndex].Value), true));
|
||||
ChannelMsgDataGridView["ColumnRxFreq", rowIndex].Value = str;
|
||||
if (Operators.ConditionalCompareObjectEqual(ChannelMsgDataGridView["ColumnTxFreq", rowIndex].Value, "", false))
|
||||
{
|
||||
if (Operators.CompareString(str, "", false) == 0)
|
||||
Clr_Channel(rowIndex);
|
||||
@ -496,8 +496,8 @@ namespace HPG_68D
|
||||
}
|
||||
else if (num == ChannelMsgDataGridView["ColumnTxFreq", rowIndex].ColumnIndex)
|
||||
{
|
||||
string str = Conversions.ToString(JudgeInputTxFreq(Conversions.ToString(ChannelMsgDataGridView["ColumnRxFreq", rowIndex].Value), Conversions.ToString(ChannelMsgDataGridView["ColumnTxFreq", rowIndex].Value), true));
|
||||
ChannelMsgDataGridView["ColumnTxFreq", rowIndex].Value = (object) str;
|
||||
var str = Conversions.ToString(JudgeInputTxFreq(Conversions.ToString(ChannelMsgDataGridView["ColumnRxFreq", rowIndex].Value), Conversions.ToString(ChannelMsgDataGridView["ColumnTxFreq", rowIndex].Value), true));
|
||||
ChannelMsgDataGridView["ColumnTxFreq", rowIndex].Value = str;
|
||||
}
|
||||
else if (num == ChannelMsgDataGridView["Column亚音解码类型", rowIndex].ColumnIndex)
|
||||
{
|
||||
@ -528,7 +528,7 @@ namespace HPG_68D
|
||||
if (!Versioned.IsNumeric(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column亚音解码", rowIndex].Value)) | publicva.ToneValueValidatingDIS)
|
||||
{
|
||||
publicva.ToneValueValidatingDIS = false;
|
||||
ChannelMsgDataGridView["Column亚音解码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), (object) 7))));
|
||||
ChannelMsgDataGridView["Column亚音解码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), 7))));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
@ -536,7 +536,7 @@ namespace HPG_68D
|
||||
if (!Versioned.IsNumeric(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column亚音解码", rowIndex].Value)) | publicva.ToneValueValidatingDIS)
|
||||
{
|
||||
publicva.ToneValueValidatingDIS = false;
|
||||
ChannelMsgDataGridView["Column亚音解码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), (object) 7))));
|
||||
ChannelMsgDataGridView["Column亚音解码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), 7))));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
@ -544,7 +544,7 @@ namespace HPG_68D
|
||||
if (Operators.CompareString("D", ChannelMsgDataGridView["Column亚音解码", rowIndex].Value.ToString().Substring(0, 1), false) != 0 | publicva.ToneValueValidatingDIS)
|
||||
{
|
||||
publicva.ToneValueValidatingDIS = false;
|
||||
ChannelMsgDataGridView["Column亚音解码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), (object) 7))));
|
||||
ChannelMsgDataGridView["Column亚音解码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), 7))));
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -578,7 +578,7 @@ namespace HPG_68D
|
||||
if (!Versioned.IsNumeric(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column亚音编码", rowIndex].Value)) | publicva.ToneValueValidatingDIS)
|
||||
{
|
||||
publicva.ToneValueValidatingDIS = false;
|
||||
ChannelMsgDataGridView["Column亚音编码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), (object) 9))));
|
||||
ChannelMsgDataGridView["Column亚音编码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), 9))));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
@ -586,7 +586,7 @@ namespace HPG_68D
|
||||
if (!Versioned.IsNumeric(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column亚音编码", rowIndex].Value)) | publicva.ToneValueValidatingDIS)
|
||||
{
|
||||
publicva.ToneValueValidatingDIS = false;
|
||||
ChannelMsgDataGridView["Column亚音编码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), (object) 9))));
|
||||
ChannelMsgDataGridView["Column亚音编码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), 9))));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
@ -594,7 +594,7 @@ namespace HPG_68D
|
||||
if (Operators.CompareString("D", ChannelMsgDataGridView["Column亚音编码", rowIndex].Value.ToString().Substring(0, 1), false) != 0 | publicva.ToneValueValidatingDIS)
|
||||
{
|
||||
publicva.ToneValueValidatingDIS = false;
|
||||
ChannelMsgDataGridView["Column亚音编码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), (object) 9))));
|
||||
ChannelMsgDataGridView["Column亚音编码", rowIndex].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(Conversions.ToInteger(Operators.AddObject(Get_CHAddress(rowIndex), 9))));
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -602,12 +602,12 @@ namespace HPG_68D
|
||||
if (columnIndex == ChannelMsgDataGridView["Column更多", 0].ColumnIndex)
|
||||
return;
|
||||
SetData_CHMsg(rowIndex);
|
||||
if (MyProject.Forms.MDIParent1.JudgeIsFormLoaded((Form) MyProject.Forms.ChannelEditForm) && rowIndex == MyProject.Forms.ChannelEditForm.ComboBox编辑信道号.SelectedIndex)
|
||||
if (MyProject.Forms.MDIParent1.JudgeIsFormLoaded(MyProject.Forms.ChannelEditForm) && rowIndex == MyProject.Forms.ChannelEditForm.ComboBox编辑信道号.SelectedIndex)
|
||||
MyProject.Forms.ChannelEditForm.GetStr_CHMsg(rowIndex);
|
||||
if (MyProject.Forms.MDIParent1.JudgeIsFormLoaded((Form) MyProject.Forms.ScanFuncMsgForm))
|
||||
if (MyProject.Forms.MDIParent1.JudgeIsFormLoaded(MyProject.Forms.ScanFuncMsgForm))
|
||||
MyProject.Forms.ScanFuncMsgForm.SetControl_PRICHList();
|
||||
MyProject.Forms.TypeFuncMsgForm.TypeFuncMsgForm_Load(RuntimeHelpers.GetObjectValue(sender), (EventArgs) e);
|
||||
MyProject.Forms.SOSMsgForm.SOSMsgForm_Load(RuntimeHelpers.GetObjectValue(sender), (EventArgs) e);
|
||||
MyProject.Forms.TypeFuncMsgForm.TypeFuncMsgForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
||||
MyProject.Forms.SOSMsgForm.SOSMsgForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
||||
}
|
||||
|
||||
private void ChannelMsgDataGridView_EditingControlShowing(
|
||||
@ -616,7 +616,7 @@ namespace HPG_68D
|
||||
{
|
||||
if (ChannelMsgDataGridView.CurrentCell.ColumnIndex == ChannelMsgDataGridView["ColumnRxFreq", 0].ColumnIndex | ChannelMsgDataGridView.CurrentCell.ColumnIndex == ChannelMsgDataGridView["ColumnTxFreq", 0].ColumnIndex)
|
||||
{
|
||||
DataGridViewTextBoxEditingControl boxEditingControl = new DataGridViewTextBoxEditingControl();
|
||||
var boxEditingControl = new DataGridViewTextBoxEditingControl();
|
||||
boxEditingControl = (DataGridViewTextBoxEditingControl) e.Control;
|
||||
e.Control.KeyPress += Cells_KeyPress;
|
||||
}
|
||||
@ -624,8 +624,8 @@ namespace HPG_68D
|
||||
{
|
||||
if (!(ChannelMsgDataGridView.CurrentCell.ColumnIndex == ChannelMsgDataGridView["Column亚音解码", 0].ColumnIndex | ChannelMsgDataGridView.CurrentCell.ColumnIndex == ChannelMsgDataGridView["Column亚音编码", 0].ColumnIndex))
|
||||
return;
|
||||
DataGridViewComboBoxEditingControl boxEditingControl = new DataGridViewComboBoxEditingControl();
|
||||
DataGridViewComboBoxEditingControl control = (DataGridViewComboBoxEditingControl) e.Control;
|
||||
var boxEditingControl = new DataGridViewComboBoxEditingControl();
|
||||
var control = (DataGridViewComboBoxEditingControl) e.Control;
|
||||
control.DropDownStyle = ComboBoxStyle.DropDown;
|
||||
control.MaxLength = 5;
|
||||
e.Control.KeyPress += ComboBoxCells_KeyPress;
|
||||
@ -656,11 +656,11 @@ namespace HPG_68D
|
||||
object sender,
|
||||
DataGridViewCellValidatingEventArgs e)
|
||||
{
|
||||
int rowIndex = ChannelMsgDataGridView.CurrentCell.RowIndex;
|
||||
var rowIndex = ChannelMsgDataGridView.CurrentCell.RowIndex;
|
||||
if (ChannelMsgDataGridView.CurrentCell.ColumnIndex == ChannelMsgDataGridView["Column亚音解码", 0].ColumnIndex | ChannelMsgDataGridView.CurrentCell.ColumnIndex == ChannelMsgDataGridView["Column亚音编码", 0].ColumnIndex)
|
||||
{
|
||||
publicva.ToneValueValidatingDIS = false;
|
||||
if (Conversions.ToBoolean(Operators.AndObject(Operators.CompareObjectNotEqual(e.FormattedValue, (object) "", false), (object) (Column亚音解码.Items.IndexOf(RuntimeHelpers.GetObjectValue(e.FormattedValue)) != 0))))
|
||||
if (Conversions.ToBoolean(Operators.AndObject(Operators.CompareObjectNotEqual(e.FormattedValue, "", false), Column亚音解码.Items.IndexOf(RuntimeHelpers.GetObjectValue(e.FormattedValue)) != 0)))
|
||||
{
|
||||
string str;
|
||||
if (Operators.CompareString(e.FormattedValue.ToString().Substring(0, 1), "D", false) == 0)
|
||||
@ -696,18 +696,18 @@ namespace HPG_68D
|
||||
publicva.ToneValueValidatingDIS = true;
|
||||
return;
|
||||
}
|
||||
str = string.Format("{0:###.0}", (object) num);
|
||||
str = string.Format("{0:###.0}", num);
|
||||
}
|
||||
if (!Column亚音编码.Items.Contains((object) str))
|
||||
if (!Column亚音编码.Items.Contains(str))
|
||||
{
|
||||
Column亚音编码.Items.Add((object) str);
|
||||
if (!Column亚音解码.Items.Contains((object) str))
|
||||
Column亚音解码.Items.Add((object) str);
|
||||
Column亚音编码.Items.Add(str);
|
||||
if (!Column亚音解码.Items.Contains(str))
|
||||
Column亚音解码.Items.Add(str);
|
||||
}
|
||||
if (ChannelMsgDataGridView.CurrentCell.ColumnIndex == ChannelMsgDataGridView["Column亚音解码", 0].ColumnIndex)
|
||||
ChannelMsgDataGridView["Column亚音解码", rowIndex].Value = (object) str;
|
||||
ChannelMsgDataGridView["Column亚音解码", rowIndex].Value = str;
|
||||
if (ChannelMsgDataGridView.CurrentCell.ColumnIndex == ChannelMsgDataGridView["Column亚音编码", 0].ColumnIndex)
|
||||
ChannelMsgDataGridView["Column亚音编码", rowIndex].Value = (object) str;
|
||||
ChannelMsgDataGridView["Column亚音编码", rowIndex].Value = str;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -716,15 +716,15 @@ namespace HPG_68D
|
||||
object sender,
|
||||
DataGridViewRowPostPaintEventArgs e)
|
||||
{
|
||||
string[] strArray = new string[4]
|
||||
var strArray = new string[4]
|
||||
{
|
||||
"A CALL",
|
||||
"B CALL",
|
||||
"A VFO",
|
||||
"B VFO"
|
||||
};
|
||||
Brush brush = (Brush) new SolidBrush(ChannelMsgDataGridView.RowHeadersDefaultCellStyle.ForeColor);
|
||||
Font font = new Font("Arial", 9f, FontStyle.Bold);
|
||||
var brush = (Brush) new SolidBrush(ChannelMsgDataGridView.RowHeadersDefaultCellStyle.ForeColor);
|
||||
var font = new Font("Arial", 9f, FontStyle.Bold);
|
||||
if (e.RowIndex > 511)
|
||||
{
|
||||
if (e.RowIndex == 512)
|
||||
@ -735,26 +735,26 @@ namespace HPG_68D
|
||||
brush = Brushes.Blue;
|
||||
else if (e.RowIndex == 515)
|
||||
brush = Brushes.Green;
|
||||
e.Graphics.DrawString(strArray[checked (e.RowIndex - 512)].ToString(), font, brush, (float) checked (e.RowBounds.Location.X + 2), (float) checked (e.RowBounds.Location.Y + 5));
|
||||
e.Graphics.DrawString(strArray[checked (e.RowIndex - 512)].ToString(), font, brush, checked (e.RowBounds.Location.X + 2), checked (e.RowBounds.Location.Y + 5));
|
||||
}
|
||||
else
|
||||
e.Graphics.DrawString(checked (e.RowIndex + 0).ToString(), ChannelMsgDataGridView.DefaultCellStyle.Font, brush, (float) e.RowBounds.Location.X + (float) checked (ChannelMsgDataGridView.RowHeadersWidth - (e.RowIndex + 0).ToString().Length * 8) / 2f, (float) checked (e.RowBounds.Location.Y + 5));
|
||||
e.Graphics.DrawString(checked (e.RowIndex + 0).ToString(), ChannelMsgDataGridView.DefaultCellStyle.Font, brush, e.RowBounds.Location.X + checked (ChannelMsgDataGridView.RowHeadersWidth - (e.RowIndex + 0).ToString().Length * 8) / 2f, checked (e.RowBounds.Location.Y + 5));
|
||||
}
|
||||
|
||||
private void ChannelMsgDataGridView_CellMouseClick(
|
||||
object sender,
|
||||
DataGridViewCellMouseEventArgs e)
|
||||
{
|
||||
int columnIndex = ChannelMsgDataGridView["Column更多", 0].ColumnIndex;
|
||||
int rowIndex = ChannelMsgDataGridView.CurrentCell.RowIndex;
|
||||
var columnIndex = ChannelMsgDataGridView["Column更多", 0].ColumnIndex;
|
||||
var rowIndex = ChannelMsgDataGridView.CurrentCell.RowIndex;
|
||||
if (columnIndex == ChannelMsgDataGridView.CurrentCell.ColumnIndex)
|
||||
{
|
||||
MyProject.Forms.ChannelEditForm.ChannelEditForm_Load(RuntimeHelpers.GetObjectValue(sender), (EventArgs) e);
|
||||
MyProject.Forms.MDIParent1.SafeLoadWindowByName((Form) MyProject.Forms.ChannelEditForm);
|
||||
MyProject.Forms.ChannelEditForm.ChannelEditForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
||||
MyProject.Forms.MDIParent1.SafeLoadWindowByName(MyProject.Forms.ChannelEditForm);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!Operators.ConditionalCompareObjectEqual((object) "", ChannelMsgDataGridView["ColumnRxFreq", rowIndex].Value, false))
|
||||
if (!Operators.ConditionalCompareObjectEqual("", ChannelMsgDataGridView["ColumnRxFreq", rowIndex].Value, false))
|
||||
return;
|
||||
ChannelMsgDataGridView.CurrentCell = ChannelMsgDataGridView.Rows[rowIndex].Cells[0];
|
||||
ChannelMsgDataGridView.BeginEdit(true);
|
||||
@ -764,33 +764,33 @@ namespace HPG_68D
|
||||
private void Button信道编辑_Click(object sender, EventArgs e)
|
||||
{
|
||||
MyProject.Forms.ChannelEditForm.ChannelEditForm_Load(RuntimeHelpers.GetObjectValue(sender), e);
|
||||
MyProject.Forms.MDIParent1.SafeLoadWindowByName((Form) MyProject.Forms.ChannelEditForm);
|
||||
MyProject.Forms.MDIParent1.SafeLoadWindowByName(MyProject.Forms.ChannelEditForm);
|
||||
}
|
||||
|
||||
public void GetStr_CHMsg(int i)
|
||||
{
|
||||
bool flag = false;
|
||||
int integer = Conversions.ToInteger(Get_CHAddress(i));
|
||||
var flag = false;
|
||||
var integer = Conversions.ToInteger(Get_CHAddress(i));
|
||||
if (i > 511)
|
||||
{
|
||||
if (Operators.ConditionalCompareObjectNotEqual((object) "", Get_RxFreqStr(integer, (int) publicva.EEPROM_Byte[checked (integer + 15)] & 15, (int) publicva.EEPROM_Byte[checked (integer + 11)] & ((int) publicva.Bit0 | (int) publicva.Bit1)), false))
|
||||
if (Operators.ConditionalCompareObjectNotEqual("", Get_RxFreqStr(integer, publicva.EEPROM_Byte[checked (integer + 15)] & 15, publicva.EEPROM_Byte[checked (integer + 11)] & (publicva.Bit0 | publicva.Bit1)), false))
|
||||
flag = true;
|
||||
}
|
||||
else if (CHStatus_Read(i, 8064) && Operators.ConditionalCompareObjectNotEqual((object) "", Get_RxFreqStr(integer, (int) publicva.EEPROM_Byte[checked (integer + 15)] & 15, (int) publicva.EEPROM_Byte[checked (integer + 11)] & ((int) publicva.Bit0 | (int) publicva.Bit1)), false))
|
||||
else if (CHStatus_Read(i, 8064) && Operators.ConditionalCompareObjectNotEqual("", Get_RxFreqStr(integer, publicva.EEPROM_Byte[checked (integer + 15)] & 15, publicva.EEPROM_Byte[checked (integer + 11)] & (publicva.Bit0 | publicva.Bit1)), false))
|
||||
flag = true;
|
||||
if (flag)
|
||||
{
|
||||
ChannelMsgDataGridView["ColumnRxFreq", i].Value = RuntimeHelpers.GetObjectValue(Get_RxFreqStr(checked (integer + 0), (int) publicva.EEPROM_Byte[checked (integer + 15)] & 15, (int) publicva.EEPROM_Byte[checked (integer + 11)] & ((int) publicva.Bit0 | (int) publicva.Bit1)));
|
||||
ChannelMsgDataGridView["Column差频方向", i].Value = RuntimeHelpers.GetObjectValue(Column差频方向.Items[(int) (byte) (((uint) publicva.EEPROM_Byte[checked (integer + 14)] & ((uint) publicva.Bit2 | (uint) publicva.Bit3)) >> 2)]);
|
||||
ChannelMsgDataGridView["ColumnTxFreq", i].Value = RuntimeHelpers.GetObjectValue(Get_TxFreqStr(checked (integer + 3), (int) publicva.EEPROM_Byte[checked (integer + 15)] & 15, (int) publicva.EEPROM_Byte[checked (integer + 12)] & ((int) publicva.Bit0 | (int) publicva.Bit1)));
|
||||
ChannelMsgDataGridView["Column亚音解码类型", i].Value = RuntimeHelpers.GetObjectValue(Column亚音解码类型.Items[(int) (byte) (((uint) publicva.EEPROM_Byte[checked (integer + 7)] & ((uint) publicva.Bit4 | (uint) publicva.Bit5)) >> 4)]);
|
||||
ChannelMsgDataGridView["ColumnRxFreq", i].Value = RuntimeHelpers.GetObjectValue(Get_RxFreqStr(checked (integer + 0), publicva.EEPROM_Byte[checked (integer + 15)] & 15, publicva.EEPROM_Byte[checked (integer + 11)] & (publicva.Bit0 | publicva.Bit1)));
|
||||
ChannelMsgDataGridView["Column差频方向", i].Value = RuntimeHelpers.GetObjectValue(Column差频方向.Items[(byte) ((publicva.EEPROM_Byte[checked (integer + 14)] & (publicva.Bit2 | (uint) publicva.Bit3)) >> 2)]);
|
||||
ChannelMsgDataGridView["ColumnTxFreq", i].Value = RuntimeHelpers.GetObjectValue(Get_TxFreqStr(checked (integer + 3), publicva.EEPROM_Byte[checked (integer + 15)] & 15, publicva.EEPROM_Byte[checked (integer + 12)] & (publicva.Bit0 | publicva.Bit1)));
|
||||
ChannelMsgDataGridView["Column亚音解码类型", i].Value = RuntimeHelpers.GetObjectValue(Column亚音解码类型.Items[(byte) ((publicva.EEPROM_Byte[checked (integer + 7)] & (publicva.Bit4 | (uint) publicva.Bit5)) >> 4)]);
|
||||
ChannelMsgDataGridView["Column亚音解码", i].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(checked (integer + 7)));
|
||||
ChannelMsgDataGridView["Column亚音编码类型", i].Value = RuntimeHelpers.GetObjectValue(Column亚音编码类型.Items[(int) (byte) (((uint) publicva.EEPROM_Byte[checked (integer + 9)] & ((uint) publicva.Bit4 | (uint) publicva.Bit5)) >> 4)]);
|
||||
ChannelMsgDataGridView["Column亚音编码类型", i].Value = RuntimeHelpers.GetObjectValue(Column亚音编码类型.Items[(byte) ((publicva.EEPROM_Byte[checked (integer + 9)] & (publicva.Bit4 | (uint) publicva.Bit5)) >> 4)]);
|
||||
ChannelMsgDataGridView["Column亚音编码", i].Value = RuntimeHelpers.GetObjectValue(Get_CTC_DCS_Str(checked (integer + 9)));
|
||||
ChannelMsgDataGridView["Column发射功率", i].Value = RuntimeHelpers.GetObjectValue(Column发射功率.Items[(int) (byte) (((uint) publicva.EEPROM_Byte[checked (integer + 13)] & ((uint) publicva.Bit4 | (uint) publicva.Bit5)) >> 4)]);
|
||||
ChannelMsgDataGridView["Column发射功率", i].Value = RuntimeHelpers.GetObjectValue(Column发射功率.Items[(byte) ((publicva.EEPROM_Byte[checked (integer + 13)] & (publicva.Bit4 | (uint) publicva.Bit5)) >> 4)]);
|
||||
ChannelMsgDataGridView["Column扫描添加", i].Value = i <= 511 ? (!CHStatus_Read(i, 8128) ? RuntimeHelpers.GetObjectValue(Column扫描添加.Items[1]) : RuntimeHelpers.GetObjectValue(Column扫描添加.Items[0])) : RuntimeHelpers.GetObjectValue(Column扫描添加.Items[1]);
|
||||
ChannelMsgDataGridView["Column带宽", i].Value = RuntimeHelpers.GetObjectValue(Column带宽.Items[(int) (byte) (((uint) publicva.EEPROM_Byte[checked (integer + 14)] & ((uint) publicva.Bit4 | (uint) publicva.Bit5)) >> 4)]);
|
||||
ChannelMsgDataGridView["Column可选信令", i].Value = RuntimeHelpers.GetObjectValue(Column可选信令.Items[(int) (byte) (((uint) publicva.EEPROM_Byte[checked (integer + 12)] & ((uint) publicva.Bit4 | (uint) publicva.Bit5 | (uint) publicva.Bit6)) >> 4)]);
|
||||
ChannelMsgDataGridView["Column带宽", i].Value = RuntimeHelpers.GetObjectValue(Column带宽.Items[(byte) ((publicva.EEPROM_Byte[checked (integer + 14)] & (publicva.Bit4 | (uint) publicva.Bit5)) >> 4)]);
|
||||
ChannelMsgDataGridView["Column可选信令", i].Value = RuntimeHelpers.GetObjectValue(Column可选信令.Items[(byte) ((publicva.EEPROM_Byte[checked (integer + 12)] & (publicva.Bit4 | (uint) publicva.Bit5 | publicva.Bit6)) >> 4)]);
|
||||
}
|
||||
else
|
||||
Clr_Channel(i);
|
||||
@ -798,22 +798,22 @@ namespace HPG_68D
|
||||
|
||||
public void SetData_CHMsg(int i)
|
||||
{
|
||||
bool flag = false;
|
||||
int integer = Conversions.ToInteger(Get_CHAddress(i));
|
||||
if (Operators.ConditionalCompareObjectNotEqual(ChannelMsgDataGridView["ColumnRxFreq", i].Value, (object) "", false)
|
||||
&& Operators.ConditionalCompareObjectNotEqual((object) "", ChannelMsgDataGridView["ColumnTxFreq", i].Value, false))
|
||||
var flag = false;
|
||||
var integer = Conversions.ToInteger(Get_CHAddress(i));
|
||||
if (Operators.ConditionalCompareObjectNotEqual(ChannelMsgDataGridView["ColumnRxFreq", i].Value, "", false)
|
||||
&& Operators.ConditionalCompareObjectNotEqual("", ChannelMsgDataGridView["ColumnTxFreq", i].Value, false))
|
||||
flag = true;
|
||||
if (flag)
|
||||
{
|
||||
publicva.EEPROM_Byte[checked (integer + 15)] = Conversions.ToByte(Get_FreqRangID(Conversions.ToDouble(ChannelMsgDataGridView["ColumnRxFreq", i].Value)));
|
||||
publicva.EEPROM_Byte[checked (integer + 11)] = Conversions.ToByte(Operators.OrObject((object) (byte) ((int) publicva.EEPROM_Byte[checked (integer + 11)] & (int) (byte) ~((int) publicva.Bit0 | (int) publicva.Bit1)), Get_FreqStepFlag(Conversions.ToDouble(ChannelMsgDataGridView["ColumnRxFreq", i].Value))));
|
||||
publicva.EEPROM_Byte[checked (integer + 11)] = Conversions.ToByte(Operators.OrObject((byte) (publicva.EEPROM_Byte[checked (integer + 11)] & (byte) ~(publicva.Bit0 | publicva.Bit1)), Get_FreqStepFlag(Conversions.ToDouble(ChannelMsgDataGridView["ColumnRxFreq", i].Value))));
|
||||
Set_FreqData(checked (integer + 0), Conversions.ToString(ChannelMsgDataGridView["ColumnRxFreq", i].Value));
|
||||
publicva.EEPROM_Byte[checked (integer + 14)] = checked ((byte) ((int) publicva.EEPROM_Byte[integer + 14] & (int) unchecked ((byte) ~((int) publicva.Bit2 | (int) publicva.Bit3)) | Column差频方向.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column差频方向", i].Value)) << 2));
|
||||
publicva.EEPROM_Byte[checked (integer + 12)] = Conversions.ToByte(Operators.OrObject((object) (byte) ((int) publicva.EEPROM_Byte[checked (integer + 12)] & (int) (byte) ~((int) publicva.Bit0 | (int) publicva.Bit1)), Get_FreqStepFlag(Conversions.ToDouble(ChannelMsgDataGridView["ColumnTxFreq", i].Value))));
|
||||
publicva.EEPROM_Byte[checked (integer + 14)] = checked ((byte) (publicva.EEPROM_Byte[integer + 14] & unchecked ((byte) ~(publicva.Bit2 | publicva.Bit3)) | Column差频方向.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column差频方向", i].Value)) << 2));
|
||||
publicva.EEPROM_Byte[checked (integer + 12)] = Conversions.ToByte(Operators.OrObject((byte) (publicva.EEPROM_Byte[checked (integer + 12)] & (byte) ~(publicva.Bit0 | publicva.Bit1)), Get_FreqStepFlag(Conversions.ToDouble(ChannelMsgDataGridView["ColumnTxFreq", i].Value))));
|
||||
Set_FreqData(checked (integer + 3), Conversions.ToString(ChannelMsgDataGridView["ColumnTxFreq", i].Value));
|
||||
Set_CTC_DCS_Data(checked (integer + 7), Conversions.ToString(ChannelMsgDataGridView["Column亚音解码", i].Value), Column亚音解码类型.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column亚音解码类型", i].Value)));
|
||||
Set_CTC_DCS_Data(checked (integer + 9), Conversions.ToString(ChannelMsgDataGridView["Column亚音编码", i].Value), Column亚音编码类型.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column亚音编码类型", i].Value)));
|
||||
publicva.EEPROM_Byte[checked (integer + 13)] = checked ((byte) ((int) publicva.EEPROM_Byte[integer + 13] & (int) unchecked ((byte) ~((int) publicva.Bit4 | (int) publicva.Bit5)) | Column发射功率.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column发射功率", i].Value)) << 4));
|
||||
publicva.EEPROM_Byte[checked (integer + 13)] = checked ((byte) (publicva.EEPROM_Byte[integer + 13] & unchecked ((byte) ~(publicva.Bit4 | publicva.Bit5)) | Column发射功率.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column发射功率", i].Value)) << 4));
|
||||
if (Column扫描添加.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column扫描添加", i].Value)) != 0)
|
||||
{
|
||||
if (i <= 511)
|
||||
@ -821,18 +821,18 @@ namespace HPG_68D
|
||||
}
|
||||
else if (i <= 511)
|
||||
CHStatusList_Write(i, "添加", 8128);
|
||||
publicva.EEPROM_Byte[checked (integer + 14)] = checked ((byte) ((int) publicva.EEPROM_Byte[integer + 14] & (int) unchecked ((byte) ~((int) publicva.Bit4 | (int) publicva.Bit5)) | Column带宽.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column带宽", i].Value)) << 4));
|
||||
publicva.EEPROM_Byte[checked (integer + 12)] = checked ((byte) ((int) publicva.EEPROM_Byte[integer + 12] & (int) unchecked ((byte) ~((int) publicva.Bit4 | (int) publicva.Bit5 | (int) publicva.Bit6)) | Column可选信令.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column可选信令", i].Value)) << 4));
|
||||
publicva.EEPROM_Byte[checked (integer + 14)] = checked ((byte) (publicva.EEPROM_Byte[integer + 14] & unchecked ((byte) ~(publicva.Bit4 | publicva.Bit5)) | Column带宽.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column带宽", i].Value)) << 4));
|
||||
publicva.EEPROM_Byte[checked (integer + 12)] = checked ((byte) (publicva.EEPROM_Byte[integer + 12] & unchecked ((byte) ~(publicva.Bit4 | publicva.Bit5 | publicva.Bit6)) | Column可选信令.Items.IndexOf(RuntimeHelpers.GetObjectValue(ChannelMsgDataGridView["Column可选信令", i].Value)) << 4));
|
||||
if (i > 511)
|
||||
return;
|
||||
CHStatusList_Write(i, "添加", 8064);
|
||||
}
|
||||
else
|
||||
{
|
||||
int num = 0;
|
||||
var num = 0;
|
||||
do
|
||||
{
|
||||
publicva.EEPROM_Byte[checked (integer + num)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + num)] = 0;
|
||||
checked { ++num; }
|
||||
}
|
||||
while (num <= 31);
|
||||
@ -846,7 +846,7 @@ namespace HPG_68D
|
||||
|
||||
public object Get_CTC_DCS_Str(int Address)
|
||||
{
|
||||
int num = (int) (byte) (((uint) publicva.EEPROM_Byte[checked (Address + 0)] & ((uint) publicva.Bit4 | (uint) publicva.Bit5)) >> 4);
|
||||
var num = (int) (byte) ((publicva.EEPROM_Byte[checked (Address + 0)] & (publicva.Bit4 | (uint) publicva.Bit5)) >> 4);
|
||||
string ctcDcsStr;
|
||||
if (num == 0)
|
||||
{
|
||||
@ -854,44 +854,44 @@ namespace HPG_68D
|
||||
}
|
||||
else
|
||||
{
|
||||
double a = (double) checked (((int) publicva.EEPROM_Byte[Address + 0] & 15) * 256 + (int) publicva.EEPROM_Byte[Address + 1]);
|
||||
var a = (double) checked ((publicva.EEPROM_Byte[Address + 0] & 15) * 256 + publicva.EEPROM_Byte[Address + 1]);
|
||||
if (num == 3)
|
||||
{
|
||||
int integer = Conversions.ToInteger(Conversion.Oct(checked ((long) Math.Round(a)) & 511L));
|
||||
ctcDcsStr = ((uint) publicva.EEPROM_Byte[checked (Address + 0)] & (uint) publicva.Bit7) <= 0U ? "D" + string.Format("{0:D3}", (object) integer) + "N" : "D" + string.Format("{0:D3}", (object) integer) + "I";
|
||||
var integer = Conversions.ToInteger(Conversion.Oct(checked ((long) Math.Round(a)) & 511L));
|
||||
ctcDcsStr = (publicva.EEPROM_Byte[checked (Address + 0)] & (uint) publicva.Bit7) <= 0U ? "D" + string.Format("{0:D3}", integer) + "N" : "D" + string.Format("{0:D3}", integer) + "I";
|
||||
}
|
||||
else
|
||||
ctcDcsStr = string.Format("{0:###.0}", (object) (a / 10.0));
|
||||
ctcDcsStr = string.Format("{0:###.0}", a / 10.0);
|
||||
}
|
||||
if (!Column亚音编码.Items.Contains((object) ctcDcsStr))
|
||||
if (!Column亚音编码.Items.Contains(ctcDcsStr))
|
||||
{
|
||||
Column亚音编码.Items.Add((object) ctcDcsStr);
|
||||
if (!Column亚音解码.Items.Contains((object) ctcDcsStr))
|
||||
Column亚音解码.Items.Add((object) ctcDcsStr);
|
||||
Column亚音编码.Items.Add(ctcDcsStr);
|
||||
if (!Column亚音解码.Items.Contains(ctcDcsStr))
|
||||
Column亚音解码.Items.Add(ctcDcsStr);
|
||||
}
|
||||
return (object) ctcDcsStr;
|
||||
return ctcDcsStr;
|
||||
}
|
||||
|
||||
public void Set_CTC_DCS_Data(int Address, string ToneStr, int ToneMode)
|
||||
{
|
||||
if (!Column亚音编码.Items.Contains((object) ToneStr))
|
||||
if (!Column亚音编码.Items.Contains(ToneStr))
|
||||
{
|
||||
Column亚音编码.Items.Add((object) ToneStr);
|
||||
if (!Column亚音解码.Items.Contains((object) ToneStr))
|
||||
Column亚音解码.Items.Add((object) ToneStr);
|
||||
Column亚音编码.Items.Add(ToneStr);
|
||||
if (!Column亚音解码.Items.Contains(ToneStr))
|
||||
Column亚音解码.Items.Add(ToneStr);
|
||||
}
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = checked ((byte) ((int) publicva.EEPROM_Byte[Address + 0] & (int) unchecked ((byte) ~((int) publicva.Bit4 | (int) publicva.Bit5)) | ToneMode << 4));
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = checked ((byte) (publicva.EEPROM_Byte[Address + 0] & unchecked ((byte) ~(publicva.Bit4 | publicva.Bit5)) | ToneMode << 4));
|
||||
switch (ToneMode)
|
||||
{
|
||||
case 0:
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = checked ((byte) ((int) publicva.EEPROM_Byte[Address + 0] & 240));
|
||||
publicva.EEPROM_Byte[checked (Address + 1)] = checked ((byte) ((int) publicva.EEPROM_Byte[Address + 1] & 0));
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = checked ((byte) (publicva.EEPROM_Byte[Address + 0] & 240));
|
||||
publicva.EEPROM_Byte[checked (Address + 1)] = checked ((byte) (publicva.EEPROM_Byte[Address + 1] & 0));
|
||||
break;
|
||||
case 3:
|
||||
double a1 = Conversions.ToDouble("&H" + Conversion.Hex((object) ("&O" + Conversions.ToString(Conversions.ToDouble(ToneStr.Substring(1, 3))))));
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = checked ((byte) ((long) ((int) publicva.EEPROM_Byte[Address + 0] & 240) | ((long) Math.Round(a1) & 3840L) >> 8));
|
||||
publicva.EEPROM_Byte[checked (Address + 1)] = checked ((byte) ((long) Math.Round(a1) & (long) byte.MaxValue));
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = Operators.CompareString("I", ToneStr.Substring(4, 1), false) != 0 ? (byte) ((int) publicva.EEPROM_Byte[checked (Address + 0)] & (int) ~publicva.Bit7) : (byte) ((int) publicva.EEPROM_Byte[checked (Address + 0)] | (int) publicva.Bit7);
|
||||
var a1 = Conversions.ToDouble("&H" + Conversion.Hex("&O" + Conversions.ToString(Conversions.ToDouble(ToneStr.Substring(1, 3)))));
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = checked ((byte) (publicva.EEPROM_Byte[Address + 0] & 240 | ((long) Math.Round(a1) & 3840L) >> 8));
|
||||
publicva.EEPROM_Byte[checked (Address + 1)] = checked ((byte) ((long) Math.Round(a1) & byte.MaxValue));
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = Operators.CompareString("I", ToneStr.Substring(4, 1), false) != 0 ? (byte) (publicva.EEPROM_Byte[checked (Address + 0)] & ~publicva.Bit7) : (byte) (publicva.EEPROM_Byte[checked (Address + 0)] | publicva.Bit7);
|
||||
break;
|
||||
default:
|
||||
double num;
|
||||
@ -905,43 +905,43 @@ namespace HPG_68D
|
||||
num = 67.0;
|
||||
ProjectData.ClearProjectError();
|
||||
}
|
||||
double a2 = num * 10.0;
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = checked ((byte) ((long) ((int) publicva.EEPROM_Byte[Address + 0] & 240) | ((long) Math.Round(a2) & 3840L) >> 8));
|
||||
publicva.EEPROM_Byte[checked (Address + 1)] = checked ((byte) ((long) Math.Round(a2) & (long) byte.MaxValue));
|
||||
var a2 = num * 10.0;
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = checked ((byte) (publicva.EEPROM_Byte[Address + 0] & 240 | ((long) Math.Round(a2) & 3840L) >> 8));
|
||||
publicva.EEPROM_Byte[checked (Address + 1)] = checked ((byte) ((long) Math.Round(a2) & byte.MaxValue));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public object Get_RxFreqStr(int Address, int FreqRangID, int CHStepIndex)
|
||||
{
|
||||
double[] numArray = new double[3]
|
||||
var numArray = new double[3]
|
||||
{
|
||||
5000.0,
|
||||
6250.0,
|
||||
2500.0
|
||||
};
|
||||
double num1 = (double) checked ((int) publicva.EEPROM_Byte[Address + 0] * 65536) + (double) checked ((int) publicva.EEPROM_Byte[Address + 1] * 256) + (double) checked ((int) publicva.EEPROM_Byte[Address + 2] * 1);
|
||||
var num1 = checked (publicva.EEPROM_Byte[Address + 0] * 65536) + (double) checked (publicva.EEPROM_Byte[Address + 1] * 256) + checked (publicva.EEPROM_Byte[Address + 2] * 1);
|
||||
if (CHStepIndex > 2)
|
||||
CHStepIndex = 0;
|
||||
double num2 = (double) (checked ((long) Math.Round(unchecked (num1 * numArray[CHStepIndex]))) / 10L);
|
||||
return !((double) publicva.RxFreqRang[FreqRangID, 1] >= num2 & num2 >= (double) publicva.RxFreqRang[FreqRangID, 0]) ? (object) "" : (object) string.Format("{0:#00.00000}", (object) (num2 / 100000.0));
|
||||
var num2 = (double) (checked ((long) Math.Round(unchecked (num1 * numArray[CHStepIndex]))) / 10L);
|
||||
return !(publicva.RxFreqRang[FreqRangID, 1] >= num2 & num2 >= publicva.RxFreqRang[FreqRangID, 0]) ? "" : (object) string.Format("{0:#00.00000}", num2 / 100000.0);
|
||||
}
|
||||
|
||||
public object Get_TxFreqStr(int Address, int FreqRangID, int CHStepIndex)
|
||||
{
|
||||
double[] numArray = new double[3]
|
||||
var numArray = new double[3]
|
||||
{
|
||||
5000.0,
|
||||
6250.0,
|
||||
2500.0
|
||||
};
|
||||
double num = (double) (checked ((long) Math.Round(unchecked ((double) checked ((int) publicva.EEPROM_Byte[Address + 0] * 65536) + (double) checked ((int) publicva.EEPROM_Byte[Address + 1] * 256) + (double) checked ((int) publicva.EEPROM_Byte[Address + 2] * 1) * numArray[CHStepIndex]))) / 10L);
|
||||
return !((double) checked (publicva.RxFreqRang[FreqRangID, 1] - publicva.RxFreqRang[FreqRangID, 0]) >= num & num >= 0.0) ? (object) "" : (object) string.Format("{0:##0.00000}", (object) (num / 100000.0));
|
||||
var num = (double) (checked ((long) Math.Round(unchecked (checked (publicva.EEPROM_Byte[Address + 0] * 65536) + (double) checked (publicva.EEPROM_Byte[Address + 1] * 256) + checked (publicva.EEPROM_Byte[Address + 2] * 1) * numArray[CHStepIndex]))) / 10L);
|
||||
return !(checked (publicva.RxFreqRang[FreqRangID, 1] - publicva.RxFreqRang[FreqRangID, 0]) >= num & num >= 0.0) ? "" : (object) string.Format("{0:##0.00000}", num / 100000.0);
|
||||
}
|
||||
|
||||
public void Set_FreqData(int Address, string FreqStr)
|
||||
{
|
||||
double[] numArray = new double[3]
|
||||
var numArray = new double[3]
|
||||
{
|
||||
5000.0,
|
||||
6250.0,
|
||||
@ -958,26 +958,26 @@ namespace HPG_68D
|
||||
Freq = 0.0;
|
||||
ProjectData.ClearProjectError();
|
||||
}
|
||||
int integer = Conversions.ToInteger(Get_FreqStepFlag(Freq));
|
||||
double a = (double) (checked ((long) Math.Round(unchecked (Freq * 1000000.0))) / checked ((long) Math.Round(numArray[integer])));
|
||||
var integer = Conversions.ToInteger(Get_FreqStepFlag(Freq));
|
||||
var a = (double) (checked ((long) Math.Round(unchecked (Freq * 1000000.0))) / checked ((long) Math.Round(numArray[integer])));
|
||||
publicva.EEPROM_Byte[checked (Address + 0)] = checked ((byte) (((long) Math.Round(a) & 16711680L) >> 16));
|
||||
publicva.EEPROM_Byte[checked (Address + 1)] = checked ((byte) (((long) Math.Round(a) & 65280L) >> 8));
|
||||
publicva.EEPROM_Byte[checked (Address + 2)] = checked ((byte) (((long) Math.Round(a) & (long) byte.MaxValue) >> 0));
|
||||
publicva.EEPROM_Byte[checked (Address + 2)] = checked ((byte) (((long) Math.Round(a) & byte.MaxValue) >> 0));
|
||||
}
|
||||
|
||||
public object Get_FreqStepFlag(double Freq)
|
||||
{
|
||||
uint num = checked ((uint) Math.Round(unchecked (Freq * 1000000.0)));
|
||||
if ((long) num % 5000L == 0L)
|
||||
return (object) 0;
|
||||
if ((long) num % 6250L == 0L)
|
||||
return (object) 1;
|
||||
return (long) num % 2500L == 0L ? (object) 2 : (object) 0;
|
||||
var num = checked ((uint) Math.Round(unchecked (Freq * 1000000.0)));
|
||||
if (num % 5000L == 0L)
|
||||
return 0;
|
||||
if (num % 6250L == 0L)
|
||||
return 1;
|
||||
return num % 2500L == 0L ? 2 : (object) 0;
|
||||
}
|
||||
|
||||
public object Get_FreqRangID(double Freq)
|
||||
{
|
||||
byte[] numArray = new byte[7]
|
||||
var numArray = new byte[7]
|
||||
{
|
||||
publicva.Bit0,
|
||||
publicva.Bit1,
|
||||
@ -987,15 +987,15 @@ namespace HPG_68D
|
||||
publicva.Bit5,
|
||||
publicva.Bit6
|
||||
};
|
||||
uint num = checked ((uint) Math.Round(unchecked (Freq * 100000.0)));
|
||||
var num = checked ((uint) Math.Round(unchecked (Freq * 100000.0)));
|
||||
uint freqRangId = 0;
|
||||
while (!(publicva.RxFreqRang[checked ((int) freqRangId), 1] >= num & num >= publicva.RxFreqRang[checked ((int) freqRangId), 0]) || ((uint) publicva.EEPROM_Byte[12] & (uint) numArray[checked ((int) freqRangId)]) > 0U)
|
||||
while (!(publicva.RxFreqRang[checked ((int) freqRangId), 1] >= num & num >= publicva.RxFreqRang[checked ((int) freqRangId), 0]) || (publicva.EEPROM_Byte[12] & (uint) numArray[checked ((int) freqRangId)]) > 0U)
|
||||
{
|
||||
checked { ++freqRangId; }
|
||||
if (freqRangId > 6U)
|
||||
return (object) -1;
|
||||
return -1;
|
||||
}
|
||||
return (object) freqRangId;
|
||||
return freqRangId;
|
||||
}
|
||||
|
||||
public object JudgeInputRxFreq(string StrFreq, bool msg)
|
||||
@ -1003,18 +1003,18 @@ namespace HPG_68D
|
||||
string str;
|
||||
try
|
||||
{
|
||||
double Freq = Conversions.ToDouble(StrFreq);
|
||||
var Freq = Conversions.ToDouble(StrFreq);
|
||||
if (Conversions.ToInteger(Get_FreqRangID(Freq)) != -1)
|
||||
{
|
||||
uint num1 = checked ((uint) Math.Round(unchecked (Freq * 1000000.0)));
|
||||
if ((long) num1 % 6250L != 0L && (long) num1 % 5000L != 0L && (long) num1 % 2500L != 0L)
|
||||
var num1 = checked ((uint) Math.Round(unchecked (Freq * 1000000.0)));
|
||||
if (num1 % 6250L != 0L && num1 % 5000L != 0L && num1 % 2500L != 0L)
|
||||
{
|
||||
int num2 = checked ((int) unchecked ((long) num1 / 5000L));
|
||||
if ((long) num1 % 5000L > 10000L)
|
||||
var num2 = checked ((int) unchecked (num1 / 5000L));
|
||||
if (num1 % 5000L > 10000L)
|
||||
checked { ++num2; }
|
||||
num1 = checked ((uint) (num2 * 5000));
|
||||
}
|
||||
str = string.Format("{0:#00.00000}", (object) ((double) num1 / 1000000.0));
|
||||
str = string.Format("{0:#00.00000}", num1 / 1000000.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1031,7 +1031,7 @@ namespace HPG_68D
|
||||
str = "";
|
||||
ProjectData.ClearProjectError();
|
||||
}
|
||||
return (object) str;
|
||||
return str;
|
||||
}
|
||||
|
||||
public object JudgeInputTxFreq(string RxFreq, string StrFreq, bool msg)
|
||||
@ -1039,24 +1039,24 @@ namespace HPG_68D
|
||||
string str;
|
||||
try
|
||||
{
|
||||
double Freq = Conversions.ToDouble(RxFreq);
|
||||
double num1 = Conversions.ToDouble(StrFreq);
|
||||
int integer = Conversions.ToInteger(Get_FreqRangID(Freq));
|
||||
var Freq = Conversions.ToDouble(RxFreq);
|
||||
var num1 = Conversions.ToDouble(StrFreq);
|
||||
var integer = Conversions.ToInteger(Get_FreqRangID(Freq));
|
||||
if (integer != -1)
|
||||
{
|
||||
uint num2 = checked (publicva.RxFreqRang[integer, 1] - publicva.RxFreqRang[integer, 0]);
|
||||
var num2 = checked (publicva.RxFreqRang[integer, 1] - publicva.RxFreqRang[integer, 0]);
|
||||
uint num3 = 0;
|
||||
uint num4 = checked ((uint) Math.Round(unchecked (num1 * 100000.0)));
|
||||
var num4 = checked ((uint) Math.Round(unchecked (num1 * 100000.0)));
|
||||
if (num2 >= num4 & num4 >= num3)
|
||||
{
|
||||
if ((long) num4 % 625L != 0L && (long) num4 % 500L != 0L && (long) num4 % 250L != 0L)
|
||||
if (num4 % 625L != 0L && num4 % 500L != 0L && num4 % 250L != 0L)
|
||||
{
|
||||
int num5 = checked ((int) unchecked ((long) num4 / 500L));
|
||||
if ((long) num4 % 500L > 1000L)
|
||||
var num5 = checked ((int) unchecked (num4 / 500L));
|
||||
if (num4 % 500L > 1000L)
|
||||
checked { ++num5; }
|
||||
num4 = checked ((uint) (num5 * 500));
|
||||
}
|
||||
str = string.Format("{0:##0.00000}", (object) ((double) num4 / 100000.0));
|
||||
str = string.Format("{0:##0.00000}", num4 / 100000.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1080,67 +1080,67 @@ namespace HPG_68D
|
||||
str = "0.00000";
|
||||
ProjectData.ClearProjectError();
|
||||
}
|
||||
return (object) str;
|
||||
return str;
|
||||
}
|
||||
|
||||
public void Msgbox_Msg(string Zh_Msg, string En_Msg)
|
||||
{
|
||||
if (Operators.CompareString(publicva.Language, "zh-CN", false) == 0)
|
||||
{
|
||||
int num1 = (int) Interaction.MsgBox((object) Zh_Msg, MsgBoxStyle.Exclamation, (object) publicva.TypeName);
|
||||
var num1 = (int) Interaction.MsgBox(Zh_Msg, MsgBoxStyle.Exclamation, publicva.TypeName);
|
||||
}
|
||||
else
|
||||
{
|
||||
int num2 = (int) Interaction.MsgBox((object) En_Msg, MsgBoxStyle.Exclamation, (object) publicva.TypeName);
|
||||
var num2 = (int) Interaction.MsgBox(En_Msg, MsgBoxStyle.Exclamation, publicva.TypeName);
|
||||
}
|
||||
}
|
||||
|
||||
public void CHStatusList_Write(int CHNo, string COM, int Address)
|
||||
{
|
||||
byte[] numArray = new byte[8]
|
||||
var numArray = new byte[8]
|
||||
{
|
||||
(byte) 1,
|
||||
(byte) 2,
|
||||
(byte) 4,
|
||||
(byte) 8,
|
||||
(byte) 16,
|
||||
(byte) 32,
|
||||
(byte) 64,
|
||||
(byte) 128
|
||||
1,
|
||||
2,
|
||||
4,
|
||||
8,
|
||||
16,
|
||||
32,
|
||||
64,
|
||||
128
|
||||
};
|
||||
checked { Address += CHNo >> 3; }
|
||||
if (Operators.CompareString(COM, "添加", false) == 0)
|
||||
{
|
||||
publicva.EEPROM_Byte[Address] = (byte) ((int) publicva.EEPROM_Byte[Address] & (int) ~numArray[CHNo & 7]);
|
||||
publicva.EEPROM_Byte[Address] = (byte) (publicva.EEPROM_Byte[Address] & ~numArray[CHNo & 7]);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Operators.CompareString(COM, "删除", false) != 0)
|
||||
return;
|
||||
publicva.EEPROM_Byte[Address] = (byte) ((int) publicva.EEPROM_Byte[Address] | (int) numArray[CHNo & 7]);
|
||||
publicva.EEPROM_Byte[Address] = (byte) (publicva.EEPROM_Byte[Address] | numArray[CHNo & 7]);
|
||||
}
|
||||
}
|
||||
|
||||
public bool CHStatus_Read(int CHNo, int Address)
|
||||
{
|
||||
byte[] numArray = new byte[8]
|
||||
var numArray = new byte[8]
|
||||
{
|
||||
(byte) 1,
|
||||
(byte) 2,
|
||||
(byte) 4,
|
||||
(byte) 8,
|
||||
(byte) 16,
|
||||
(byte) 32,
|
||||
(byte) 64,
|
||||
(byte) 128
|
||||
1,
|
||||
2,
|
||||
4,
|
||||
8,
|
||||
16,
|
||||
32,
|
||||
64,
|
||||
128
|
||||
};
|
||||
checked { Address += CHNo >> 3; }
|
||||
return ((uint) publicva.EEPROM_Byte[Address] & (uint) numArray[CHNo & 7]) <= 0U;
|
||||
return (publicva.EEPROM_Byte[Address] & (uint) numArray[CHNo & 7]) <= 0U;
|
||||
}
|
||||
|
||||
public object Get_CHAddress(int i)
|
||||
{
|
||||
return (object) (i <= 511 ? checked (i * 32 + 8192) : checked ((i - 512) * 32 + 7936));
|
||||
return i <= 511 ? checked (i * 32 + 8192) : checked ((i - 512) * 32 + 7936);
|
||||
}
|
||||
|
||||
public void Clr_Channel(int i)
|
||||
@ -1165,25 +1165,25 @@ namespace HPG_68D
|
||||
}
|
||||
else
|
||||
{
|
||||
ChannelMsgDataGridView["ColumnRxFreq", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["Column差频方向", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["ColumnTxFreq", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["Column亚音解码类型", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["Column亚音解码", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["Column亚音编码类型", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["Column亚音编码", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["Column发射功率", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["Column扫描添加", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["Column带宽", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["Column可选信令", i].Value = (object) "";
|
||||
ChannelMsgDataGridView["ColumnRxFreq", i].Value = "";
|
||||
ChannelMsgDataGridView["Column差频方向", i].Value = "";
|
||||
ChannelMsgDataGridView["ColumnTxFreq", i].Value = "";
|
||||
ChannelMsgDataGridView["Column亚音解码类型", i].Value = "";
|
||||
ChannelMsgDataGridView["Column亚音解码", i].Value = "";
|
||||
ChannelMsgDataGridView["Column亚音编码类型", i].Value = "";
|
||||
ChannelMsgDataGridView["Column亚音编码", i].Value = "";
|
||||
ChannelMsgDataGridView["Column发射功率", i].Value = "";
|
||||
ChannelMsgDataGridView["Column扫描添加", i].Value = "";
|
||||
ChannelMsgDataGridView["Column带宽", i].Value = "";
|
||||
ChannelMsgDataGridView["Column可选信令", i].Value = "";
|
||||
}
|
||||
}
|
||||
|
||||
public void Init_Channel(string Freq, int i)
|
||||
{
|
||||
ChannelMsgDataGridView["ColumnRxFreq", i].Value = (object) Freq;
|
||||
ChannelMsgDataGridView["ColumnRxFreq", i].Value = Freq;
|
||||
ChannelMsgDataGridView["Column差频方向", i].Value = RuntimeHelpers.GetObjectValue(Column差频方向.Items[0]);
|
||||
ChannelMsgDataGridView["ColumnTxFreq", i].Value = Conversions.ToDouble(Freq) <= 300.0 ? (object) "0.60000" : (object) "5.00000";
|
||||
ChannelMsgDataGridView["ColumnTxFreq", i].Value = Conversions.ToDouble(Freq) <= 300.0 ? "0.60000" : (object) "5.00000";
|
||||
ChannelMsgDataGridView["Column亚音解码类型", i].Value = RuntimeHelpers.GetObjectValue(Column亚音解码类型.Items[0]);
|
||||
ChannelMsgDataGridView["Column亚音解码", i].Value = RuntimeHelpers.GetObjectValue(Column亚音解码.Items[0]);
|
||||
ChannelMsgDataGridView["Column亚音编码类型", i].Value = RuntimeHelpers.GetObjectValue(Column亚音编码类型.Items[0]);
|
||||
@ -1192,30 +1192,30 @@ namespace HPG_68D
|
||||
ChannelMsgDataGridView["Column扫描添加", i].Value = RuntimeHelpers.GetObjectValue(Column扫描添加.Items[0]);
|
||||
ChannelMsgDataGridView["Column带宽", i].Value = RuntimeHelpers.GetObjectValue(Column带宽.Items[0]);
|
||||
ChannelMsgDataGridView["Column可选信令", i].Value = RuntimeHelpers.GetObjectValue(Column可选信令.Items[0]);
|
||||
int integer = Conversions.ToInteger(Get_CHAddress(i));
|
||||
publicva.EEPROM_Byte[checked (integer + 6)] = (byte) 6;
|
||||
publicva.EEPROM_Byte[checked (integer + 9)] = (byte) ((int) publicva.EEPROM_Byte[checked (integer + 9)] | (int) publicva.Bit6);
|
||||
publicva.EEPROM_Byte[checked (integer + 11)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 12)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 13)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 14)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 15)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 16)] = (byte) 1;
|
||||
publicva.EEPROM_Byte[checked (integer + 17)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 18)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 19)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 20)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 21)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 22)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 23)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 24)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 25)] = (byte) 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 26)] = (byte) 45;
|
||||
publicva.EEPROM_Byte[checked (integer + 27)] = (byte) 45;
|
||||
publicva.EEPROM_Byte[checked (integer + 28)] = (byte) 45;
|
||||
publicva.EEPROM_Byte[checked (integer + 29)] = (byte) 45;
|
||||
publicva.EEPROM_Byte[checked (integer + 30)] = (byte) 45;
|
||||
publicva.EEPROM_Byte[checked (integer + 31)] = (byte) 45;
|
||||
var integer = Conversions.ToInteger(Get_CHAddress(i));
|
||||
publicva.EEPROM_Byte[checked (integer + 6)] = 6;
|
||||
publicva.EEPROM_Byte[checked (integer + 9)] = (byte) (publicva.EEPROM_Byte[checked (integer + 9)] | publicva.Bit6);
|
||||
publicva.EEPROM_Byte[checked (integer + 11)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 12)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 13)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 14)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 15)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 16)] = 1;
|
||||
publicva.EEPROM_Byte[checked (integer + 17)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 18)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 19)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 20)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 21)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 22)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 23)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 24)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 25)] = 0;
|
||||
publicva.EEPROM_Byte[checked (integer + 26)] = 45;
|
||||
publicva.EEPROM_Byte[checked (integer + 27)] = 45;
|
||||
publicva.EEPROM_Byte[checked (integer + 28)] = 45;
|
||||
publicva.EEPROM_Byte[checked (integer + 29)] = 45;
|
||||
publicva.EEPROM_Byte[checked (integer + 30)] = 45;
|
||||
publicva.EEPROM_Byte[checked (integer + 31)] = 45;
|
||||
}
|
||||
|
||||
private void Button1_Click(object sender, EventArgs e) => Close();
|
||||
|
||||
@ -41,7 +41,7 @@ namespace HPG_68D
|
||||
public ComForm()
|
||||
{
|
||||
Load += ComForm_Load;
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@ -56,49 +56,49 @@ namespace HPG_68D
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (ComForm));
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (ComForm));
|
||||
Button2 = new Button();
|
||||
Button1 = new Button();
|
||||
ComboBox1 = new ComboBox();
|
||||
Label1 = new Label();
|
||||
SuspendLayout();
|
||||
Button2.AccessibleDescription = (string) null;
|
||||
Button2.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Button2, "Button2");
|
||||
Button2.BackgroundImage = (Image) null;
|
||||
Button2.Font = (Font) null;
|
||||
Button2.AccessibleDescription = null;
|
||||
Button2.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button2, "Button2");
|
||||
Button2.BackgroundImage = null;
|
||||
Button2.Font = null;
|
||||
Button2.Name = "Button2";
|
||||
Button2.UseVisualStyleBackColor = true;
|
||||
Button1.AccessibleDescription = (string) null;
|
||||
Button1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Button1, "Button1");
|
||||
Button1.BackgroundImage = (Image) null;
|
||||
Button1.Font = (Font) null;
|
||||
Button1.AccessibleDescription = null;
|
||||
Button1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button1, "Button1");
|
||||
Button1.BackgroundImage = null;
|
||||
Button1.Font = null;
|
||||
Button1.Name = "Button1";
|
||||
Button1.UseVisualStyleBackColor = true;
|
||||
ComboBox1.AccessibleDescription = (string) null;
|
||||
ComboBox1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) ComboBox1, "ComboBox1");
|
||||
ComboBox1.BackgroundImage = (Image) null;
|
||||
ComboBox1.AccessibleDescription = null;
|
||||
ComboBox1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(ComboBox1, "ComboBox1");
|
||||
ComboBox1.BackgroundImage = null;
|
||||
ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
ComboBox1.Font = (Font) null;
|
||||
ComboBox1.Font = null;
|
||||
ComboBox1.FormattingEnabled = true;
|
||||
ComboBox1.Name = "ComboBox1";
|
||||
Label1.AccessibleDescription = (string) null;
|
||||
Label1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label1, "Label1");
|
||||
Label1.Font = (Font) null;
|
||||
Label1.AccessibleDescription = null;
|
||||
Label1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label1, "Label1");
|
||||
Label1.Font = null;
|
||||
Label1.Name = "Label1";
|
||||
AccessibleDescription = (string) null;
|
||||
AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) this, "$this");
|
||||
AccessibleDescription = null;
|
||||
AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = (Image) null;
|
||||
Controls.Add((Control) Button2);
|
||||
Controls.Add((Control) Button1);
|
||||
Controls.Add((Control) ComboBox1);
|
||||
Controls.Add((Control) Label1);
|
||||
Font = (Font) null;
|
||||
BackgroundImage = null;
|
||||
Controls.Add(Button2);
|
||||
Controls.Add(Button1);
|
||||
Controls.Add(ComboBox1);
|
||||
Controls.Add(Label1);
|
||||
Font = null;
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
@ -166,7 +166,7 @@ namespace HPG_68D
|
||||
|
||||
private void ComboBox1_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
int selectedIndex = ComboBox1.SelectedIndex;
|
||||
var selectedIndex = ComboBox1.SelectedIndex;
|
||||
ComboBox1.Items.Clear();
|
||||
GetSerialPortNames();
|
||||
if (-1 == ComboBox1.FindString(ComboBox1.Text))
|
||||
@ -189,7 +189,7 @@ namespace HPG_68D
|
||||
}
|
||||
if (ComboBox1.Items.Count >= 1)
|
||||
return;
|
||||
ComboBox1.Items.Add((object) "COM1");
|
||||
ComboBox1.Items.Add("COM1");
|
||||
}
|
||||
|
||||
private void Button2_Click(object sender, EventArgs e)
|
||||
|
||||
1114
HPG-68D/DtmfForm.cs
1114
HPG-68D/DtmfForm.cs
File diff suppressed because it is too large
Load Diff
@ -42,7 +42,7 @@ namespace HPG_68D
|
||||
{
|
||||
FormClosing += InputPasswordForm_FormClosing;
|
||||
Load += InputPasswordForm_Load;
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@ -57,46 +57,46 @@ namespace HPG_68D
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (InputPasswordForm));
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (InputPasswordForm));
|
||||
OK_Button = new Button();
|
||||
Cancel_Button = new Button();
|
||||
Label1 = new Label();
|
||||
TextBox1 = new TextBox();
|
||||
SuspendLayout();
|
||||
OK_Button.AccessibleDescription = (string) null;
|
||||
OK_Button.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) OK_Button, "OK_Button");
|
||||
OK_Button.BackgroundImage = (Image) null;
|
||||
OK_Button.Font = (Font) null;
|
||||
OK_Button.AccessibleDescription = null;
|
||||
OK_Button.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(OK_Button, "OK_Button");
|
||||
OK_Button.BackgroundImage = null;
|
||||
OK_Button.Font = null;
|
||||
OK_Button.Name = "OK_Button";
|
||||
Cancel_Button.AccessibleDescription = (string) null;
|
||||
Cancel_Button.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Cancel_Button, "Cancel_Button");
|
||||
Cancel_Button.BackgroundImage = (Image) null;
|
||||
Cancel_Button.AccessibleDescription = null;
|
||||
Cancel_Button.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Cancel_Button, "Cancel_Button");
|
||||
Cancel_Button.BackgroundImage = null;
|
||||
Cancel_Button.DialogResult = DialogResult.Cancel;
|
||||
Cancel_Button.Font = (Font) null;
|
||||
Cancel_Button.Font = null;
|
||||
Cancel_Button.Name = "Cancel_Button";
|
||||
Label1.AccessibleDescription = (string) null;
|
||||
Label1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label1, "Label1");
|
||||
Label1.Font = (Font) null;
|
||||
Label1.AccessibleDescription = null;
|
||||
Label1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label1, "Label1");
|
||||
Label1.Font = null;
|
||||
Label1.Name = "Label1";
|
||||
TextBox1.AccessibleDescription = (string) null;
|
||||
TextBox1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBox1, "TextBox1");
|
||||
TextBox1.BackgroundImage = (Image) null;
|
||||
TextBox1.Font = (Font) null;
|
||||
TextBox1.AccessibleDescription = null;
|
||||
TextBox1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBox1, "TextBox1");
|
||||
TextBox1.BackgroundImage = null;
|
||||
TextBox1.Font = null;
|
||||
TextBox1.Name = "TextBox1";
|
||||
AccessibleDescription = (string) null;
|
||||
AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) this, "$this");
|
||||
AccessibleDescription = null;
|
||||
AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = (Image) null;
|
||||
Controls.Add((Control) Cancel_Button);
|
||||
Controls.Add((Control) OK_Button);
|
||||
Controls.Add((Control) TextBox1);
|
||||
Controls.Add((Control) Label1);
|
||||
Font = (Font) null;
|
||||
BackgroundImage = null;
|
||||
Controls.Add(Cancel_Button);
|
||||
Controls.Add(OK_Button);
|
||||
Controls.Add(TextBox1);
|
||||
Controls.Add(Label1);
|
||||
Font = null;
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
@ -154,12 +154,12 @@ namespace HPG_68D
|
||||
publicva.Rw_PasswordStr = TextBox1.Text;
|
||||
publicva.MSCommStatus = 2U;
|
||||
publicva.ReceivedCount = 5U;
|
||||
publicva.SendDataBuf[0] = (byte) 2;
|
||||
publicva.SendDataBuf[1] = (byte) 35;
|
||||
publicva.SendDataBuf[2] = (byte) 227;
|
||||
publicva.SendDataBuf[3] = (byte) 248;
|
||||
publicva.SendDataBuf[0] = 2;
|
||||
publicva.SendDataBuf[1] = 35;
|
||||
publicva.SendDataBuf[2] = 227;
|
||||
publicva.SendDataBuf[3] = 248;
|
||||
Encoding.ASCII.GetBytes(publicva.Rw_PasswordStr.PadRight(16), 0, 16, publicva.SendDataBuf, 4);
|
||||
publicva.SendDataBuf[20] = (byte) 3;
|
||||
publicva.SendDataBuf[20] = 3;
|
||||
MyProject.Forms.MDIParent1.SerialPort1.Write(publicva.SendDataBuf, 0, 21);
|
||||
MyProject.Forms.MDIParent1.Timer1.Enabled = true;
|
||||
Close();
|
||||
|
||||
@ -31,9 +31,9 @@ namespace HPG_68D
|
||||
{
|
||||
Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo(languageName);
|
||||
Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo(languageName);
|
||||
ComponentResourceManager res = new ComponentResourceManager(frm.GetType());
|
||||
res.ApplyResources((object) frm, "$this");
|
||||
ApplyResouce((Control) frm, res);
|
||||
var res = new ComponentResourceManager(frm.GetType());
|
||||
res.ApplyResources(frm, "$this");
|
||||
ApplyResouce(frm, res);
|
||||
flag = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
@ -51,7 +51,7 @@ namespace HPG_68D
|
||||
{
|
||||
foreach (Control control1 in control.Controls)
|
||||
{
|
||||
res.ApplyResources((object) control1, control1.Name);
|
||||
res.ApplyResources(control1, control1.Name);
|
||||
if (control1 is TabControl)
|
||||
ApplyResouce((TabControl) control1, res);
|
||||
if (control1 is DataGridView)
|
||||
@ -74,7 +74,7 @@ namespace HPG_68D
|
||||
return;
|
||||
try
|
||||
{
|
||||
foreach (ToolStripItem toolStripItem in (ArrangedElementCollection) toolstrip.Items)
|
||||
foreach (ToolStripItem toolStripItem in toolstrip.Items)
|
||||
ApplyResouce(toolStripItem, resources);
|
||||
}
|
||||
finally
|
||||
@ -85,15 +85,15 @@ namespace HPG_68D
|
||||
|
||||
private static void ApplyResouce(ToolStripItem item, ComponentResourceManager resources)
|
||||
{
|
||||
resources.ApplyResources((object) item, item.Name);
|
||||
resources.ApplyResources(item, item.Name);
|
||||
if (!item.GetType().IsSubclassOf(typeof (ToolStripDropDownItem)))
|
||||
return;
|
||||
ToolStripDropDownItem stripDropDownItem = (ToolStripDropDownItem) item;
|
||||
var stripDropDownItem = (ToolStripDropDownItem) item;
|
||||
if (stripDropDownItem.DropDownItems.Count > 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
foreach (ToolStripItem dropDownItem in (ArrangedElementCollection) stripDropDownItem.DropDownItems)
|
||||
foreach (ToolStripItem dropDownItem in stripDropDownItem.DropDownItems)
|
||||
ApplyResouce(dropDownItem, resources);
|
||||
}
|
||||
finally
|
||||
@ -108,7 +108,7 @@ namespace HPG_68D
|
||||
return;
|
||||
try
|
||||
{
|
||||
foreach (DataGridViewColumn column in (BaseCollection) datagridview.Columns)
|
||||
foreach (DataGridViewColumn column in datagridview.Columns)
|
||||
ApplyResouce(column, resources);
|
||||
}
|
||||
finally
|
||||
@ -118,18 +118,18 @@ namespace HPG_68D
|
||||
|
||||
private static void ApplyResouce(DataGridViewColumn item, ComponentResourceManager resources)
|
||||
{
|
||||
resources.ApplyResources((object) item, item.Name);
|
||||
resources.ApplyResources(item, item.Name);
|
||||
}
|
||||
|
||||
private static void ApplyResouce(ComboBox combobox, ComponentResourceManager resources)
|
||||
{
|
||||
if (combobox.Items.Count <= 0)
|
||||
return;
|
||||
int num = checked (combobox.Items.Count - 1);
|
||||
int index = 0;
|
||||
var num = checked (combobox.Items.Count - 1);
|
||||
var index = 0;
|
||||
while (index <= num)
|
||||
{
|
||||
combobox.Items[index] = index == 0 ? (object) resources.GetString(combobox.Name + ".Items") : (object) resources.GetString(combobox.Name + ".Items" + Conversions.ToString(index));
|
||||
combobox.Items[index] = index == 0 ? resources.GetString(combobox.Name + ".Items") : (object) resources.GetString(combobox.Name + ".Items" + Conversions.ToString(index));
|
||||
checked { ++index; }
|
||||
}
|
||||
}
|
||||
@ -138,7 +138,7 @@ namespace HPG_68D
|
||||
{
|
||||
if (tabcontrol.TabCount <= 0)
|
||||
return;
|
||||
resources.ApplyResources((object) tabcontrol, tabcontrol.Name);
|
||||
resources.ApplyResources(tabcontrol, tabcontrol.Name);
|
||||
try
|
||||
{
|
||||
foreach (TabPage tabPage in tabcontrol.TabPages)
|
||||
@ -151,7 +151,7 @@ namespace HPG_68D
|
||||
|
||||
private static void ApplyResouce(TabPage item, ComponentResourceManager resources)
|
||||
{
|
||||
resources.ApplyResources((object) item, item.Name);
|
||||
resources.ApplyResources(item, item.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -42,7 +42,7 @@ namespace HPG_68D
|
||||
public MSCommReadForm()
|
||||
{
|
||||
Load += MSCommReadForm_Load;
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@ -57,51 +57,51 @@ namespace HPG_68D
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = (IContainer) new Container();
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (MSCommReadForm));
|
||||
components = new Container();
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (MSCommReadForm));
|
||||
Label1 = new Label();
|
||||
Button取消 = new Button();
|
||||
Button读频 = new Button();
|
||||
ProgressBar1 = new ProgressBar();
|
||||
Timer1 = new Timer(components);
|
||||
SuspendLayout();
|
||||
Label1.AccessibleDescription = (string) null;
|
||||
Label1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label1, "Label1");
|
||||
Label1.AccessibleDescription = null;
|
||||
Label1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label1, "Label1");
|
||||
Label1.BackColor = SystemColors.Control;
|
||||
Label1.Font = (Font) null;
|
||||
Label1.Font = null;
|
||||
Label1.ForeColor = Color.Red;
|
||||
Label1.Name = "Label1";
|
||||
Button取消.AccessibleDescription = (string) null;
|
||||
Button取消.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Button取消, "Button取消");
|
||||
Button取消.BackgroundImage = (Image) null;
|
||||
Button取消.Font = (Font) null;
|
||||
Button取消.AccessibleDescription = null;
|
||||
Button取消.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button取消, "Button取消");
|
||||
Button取消.BackgroundImage = null;
|
||||
Button取消.Font = null;
|
||||
Button取消.Name = "Button取消";
|
||||
Button取消.UseVisualStyleBackColor = true;
|
||||
Button读频.AccessibleDescription = (string) null;
|
||||
Button读频.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Button读频, "Button读频");
|
||||
Button读频.BackgroundImage = (Image) null;
|
||||
Button读频.Font = (Font) null;
|
||||
Button读频.AccessibleDescription = null;
|
||||
Button读频.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button读频, "Button读频");
|
||||
Button读频.BackgroundImage = null;
|
||||
Button读频.Font = null;
|
||||
Button读频.Name = "Button读频";
|
||||
Button读频.UseVisualStyleBackColor = true;
|
||||
ProgressBar1.AccessibleDescription = (string) null;
|
||||
ProgressBar1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) ProgressBar1, "ProgressBar1");
|
||||
ProgressBar1.BackgroundImage = (Image) null;
|
||||
ProgressBar1.Font = (Font) null;
|
||||
ProgressBar1.AccessibleDescription = null;
|
||||
ProgressBar1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(ProgressBar1, "ProgressBar1");
|
||||
ProgressBar1.BackgroundImage = null;
|
||||
ProgressBar1.Font = null;
|
||||
ProgressBar1.Name = "ProgressBar1";
|
||||
AccessibleDescription = (string) null;
|
||||
AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) this, "$this");
|
||||
AccessibleDescription = null;
|
||||
AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = (Image) null;
|
||||
Controls.Add((Control) Label1);
|
||||
Controls.Add((Control) Button取消);
|
||||
Controls.Add((Control) Button读频);
|
||||
Controls.Add((Control) ProgressBar1);
|
||||
Font = (Font) null;
|
||||
BackgroundImage = null;
|
||||
Controls.Add(Label1);
|
||||
Controls.Add(Button取消);
|
||||
Controls.Add(Button读频);
|
||||
Controls.Add(ProgressBar1);
|
||||
Font = null;
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
@ -196,7 +196,7 @@ namespace HPG_68D
|
||||
|
||||
private void Timer1_Tick(object sender, EventArgs e)
|
||||
{
|
||||
uint num = checked ((uint) unchecked (checked ((long) publicva.Rw_EEPROM_Add_Length_ListIndex * 100L) / (long) publicva.Rw_EEPROM_Add_Length_ListSum));
|
||||
var num = checked ((uint) unchecked (checked (publicva.Rw_EEPROM_Add_Length_ListIndex * 100L) / publicva.Rw_EEPROM_Add_Length_ListSum));
|
||||
if (num > 100U)
|
||||
num = 100U;
|
||||
ProgressBar1.Value = checked ((int) num);
|
||||
|
||||
@ -42,7 +42,7 @@ namespace HPG_68D
|
||||
public MSCommWriteForm()
|
||||
{
|
||||
Load += MSCommWriteForm_Load;
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@ -57,51 +57,51 @@ namespace HPG_68D
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = (IContainer) new Container();
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (MSCommWriteForm));
|
||||
components = new Container();
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (MSCommWriteForm));
|
||||
Label1 = new Label();
|
||||
Button取消 = new Button();
|
||||
Button写频 = new Button();
|
||||
ProgressBar1 = new ProgressBar();
|
||||
Timer1 = new Timer(components);
|
||||
SuspendLayout();
|
||||
Label1.AccessibleDescription = (string) null;
|
||||
Label1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label1, "Label1");
|
||||
Label1.AccessibleDescription = null;
|
||||
Label1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label1, "Label1");
|
||||
Label1.BackColor = SystemColors.Control;
|
||||
Label1.Font = (Font) null;
|
||||
Label1.Font = null;
|
||||
Label1.ForeColor = Color.Red;
|
||||
Label1.Name = "Label1";
|
||||
Button取消.AccessibleDescription = (string) null;
|
||||
Button取消.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Button取消, "Button取消");
|
||||
Button取消.BackgroundImage = (Image) null;
|
||||
Button取消.Font = (Font) null;
|
||||
Button取消.AccessibleDescription = null;
|
||||
Button取消.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button取消, "Button取消");
|
||||
Button取消.BackgroundImage = null;
|
||||
Button取消.Font = null;
|
||||
Button取消.Name = "Button取消";
|
||||
Button取消.UseVisualStyleBackColor = true;
|
||||
Button写频.AccessibleDescription = (string) null;
|
||||
Button写频.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Button写频, "Button写频");
|
||||
Button写频.BackgroundImage = (Image) null;
|
||||
Button写频.Font = (Font) null;
|
||||
Button写频.AccessibleDescription = null;
|
||||
Button写频.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button写频, "Button写频");
|
||||
Button写频.BackgroundImage = null;
|
||||
Button写频.Font = null;
|
||||
Button写频.Name = "Button写频";
|
||||
Button写频.UseVisualStyleBackColor = true;
|
||||
ProgressBar1.AccessibleDescription = (string) null;
|
||||
ProgressBar1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) ProgressBar1, "ProgressBar1");
|
||||
ProgressBar1.BackgroundImage = (Image) null;
|
||||
ProgressBar1.Font = (Font) null;
|
||||
ProgressBar1.AccessibleDescription = null;
|
||||
ProgressBar1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(ProgressBar1, "ProgressBar1");
|
||||
ProgressBar1.BackgroundImage = null;
|
||||
ProgressBar1.Font = null;
|
||||
ProgressBar1.Name = "ProgressBar1";
|
||||
AccessibleDescription = (string) null;
|
||||
AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) this, "$this");
|
||||
AccessibleDescription = null;
|
||||
AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = (Image) null;
|
||||
Controls.Add((Control) Label1);
|
||||
Controls.Add((Control) Button取消);
|
||||
Controls.Add((Control) Button写频);
|
||||
Controls.Add((Control) ProgressBar1);
|
||||
Font = (Font) null;
|
||||
BackgroundImage = null;
|
||||
Controls.Add(Label1);
|
||||
Controls.Add(Button取消);
|
||||
Controls.Add(Button写频);
|
||||
Controls.Add(ProgressBar1);
|
||||
Font = null;
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
@ -173,7 +173,7 @@ namespace HPG_68D
|
||||
|
||||
private void Timer1_Tick(object sender, EventArgs e)
|
||||
{
|
||||
uint num = checked ((uint) unchecked (checked ((long) publicva.Rw_EEPROM_Add_Length_ListIndex * 100L) / (long) publicva.Rw_EEPROM_Add_Length_ListSum));
|
||||
var num = checked ((uint) unchecked (checked (publicva.Rw_EEPROM_Add_Length_ListIndex * 100L) / publicva.Rw_EEPROM_Add_Length_ListSum));
|
||||
if (num > 100U)
|
||||
num = 100U;
|
||||
ProgressBar1.Value = checked ((int) num);
|
||||
|
||||
@ -45,7 +45,7 @@ namespace HPG_68D
|
||||
Deactivate += MsgForm_Deactivate;
|
||||
FormClosing += MsgForm_FormClosing;
|
||||
Load += MsgForm_Load;
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@ -60,7 +60,7 @@ namespace HPG_68D
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (MsgForm));
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (MsgForm));
|
||||
Panel1 = new Panel();
|
||||
TextBox嵌入信息 = new TextBox();
|
||||
Button3 = new Button();
|
||||
@ -68,27 +68,27 @@ namespace HPG_68D
|
||||
Button1 = new Button();
|
||||
Panel1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
componentResourceManager.ApplyResources((object) Panel1, "Panel1");
|
||||
componentResourceManager.ApplyResources(Panel1, "Panel1");
|
||||
Panel1.BorderStyle = BorderStyle.Fixed3D;
|
||||
Panel1.Controls.Add((Control) TextBox嵌入信息);
|
||||
Panel1.Controls.Add(TextBox嵌入信息);
|
||||
Panel1.Name = "Panel1";
|
||||
componentResourceManager.ApplyResources((object) TextBox嵌入信息, "TextBox嵌入信息");
|
||||
componentResourceManager.ApplyResources(TextBox嵌入信息, "TextBox嵌入信息");
|
||||
TextBox嵌入信息.Name = "TextBox嵌入信息";
|
||||
componentResourceManager.ApplyResources((object) Button3, "Button3");
|
||||
componentResourceManager.ApplyResources(Button3, "Button3");
|
||||
Button3.Name = "Button3";
|
||||
Button3.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) Button2, "Button2");
|
||||
componentResourceManager.ApplyResources(Button2, "Button2");
|
||||
Button2.Name = "Button2";
|
||||
Button2.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) Button1, "Button1");
|
||||
componentResourceManager.ApplyResources(Button1, "Button1");
|
||||
Button1.Name = "Button1";
|
||||
Button1.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) this, "$this");
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
Controls.Add((Control) Button3);
|
||||
Controls.Add((Control) Button2);
|
||||
Controls.Add((Control) Button1);
|
||||
Controls.Add((Control) Panel1);
|
||||
Controls.Add(Button3);
|
||||
Controls.Add(Button2);
|
||||
Controls.Add(Button1);
|
||||
Controls.Add(Panel1);
|
||||
Name = nameof (MsgForm);
|
||||
Panel1.ResumeLayout(false);
|
||||
Panel1.PerformLayout();
|
||||
@ -146,7 +146,7 @@ namespace HPG_68D
|
||||
|
||||
public void MsgForm_Deactivate(object sender, EventArgs e)
|
||||
{
|
||||
int num = 5248;
|
||||
var num = 5248;
|
||||
Encoding.ASCII.GetBytes(TextBox嵌入信息.Text.PadRight(128), 0, 128, publicva.EEPROM_Byte, checked (num + 0));
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@ namespace HPG_68D
|
||||
public void MsgForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
MyProject.Forms.MDIParent1.嵌入信息IToolStripMenuItem.Checked = true;
|
||||
int num = 5248;
|
||||
var num = 5248;
|
||||
TextBox嵌入信息.Text = Strings.RTrim(Encoding.ASCII.GetString(publicva.EEPROM_Byte, checked (num + 0), 128));
|
||||
}
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@ namespace HPG_68D.My
|
||||
public MyApplication()
|
||||
: base(AuthenticationMode.Windows)
|
||||
{
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
IsSingleInstance = false;
|
||||
EnableVisualStyles = true;
|
||||
SaveMySettingsOnExit = true;
|
||||
@ -52,6 +52,6 @@ namespace HPG_68D.My
|
||||
}
|
||||
|
||||
[DebuggerStepThrough]
|
||||
protected override void OnCreateMainForm() => MainForm = (Form) MyProject.Forms.MDIParent1;
|
||||
protected override void OnCreateMainForm() => MainForm = MyProject.Forms.MDIParent1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -437,16 +437,16 @@ namespace HPG_68D.My
|
||||
[DebuggerHidden]
|
||||
private static T Create__Instance__<T>(T Instance) where T : Form, new()
|
||||
{
|
||||
if ((object) Instance != null && !Instance.IsDisposed)
|
||||
if (Instance != null && !Instance.IsDisposed)
|
||||
return Instance;
|
||||
if (m_FormBeingCreated != null)
|
||||
{
|
||||
if (m_FormBeingCreated.ContainsKey((object) typeof (T)))
|
||||
if (m_FormBeingCreated.ContainsKey(typeof (T)))
|
||||
throw new InvalidOperationException(Utils.GetResourceString("WinForms_RecursiveFormCreate"));
|
||||
}
|
||||
else
|
||||
m_FormBeingCreated = new Hashtable();
|
||||
m_FormBeingCreated.Add((object) typeof (T), (object) null);
|
||||
m_FormBeingCreated.Add(typeof (T), null);
|
||||
try
|
||||
{
|
||||
return new T();
|
||||
@ -454,7 +454,7 @@ namespace HPG_68D.My
|
||||
catch (TargetInvocationException ex)
|
||||
{
|
||||
// ISSUE: unable to correctly present filter
|
||||
ProjectData.SetProjectError((Exception) ex);
|
||||
ProjectData.SetProjectError(ex);
|
||||
if (ex.InnerException != null)
|
||||
{
|
||||
//SuccessfulFiltering;
|
||||
@ -464,7 +464,7 @@ namespace HPG_68D.My
|
||||
}
|
||||
finally
|
||||
{
|
||||
m_FormBeingCreated.Remove((object) typeof (T));
|
||||
m_FormBeingCreated.Remove(typeof (T));
|
||||
}
|
||||
throw new InvalidOperationException("Upssssss!!!!");
|
||||
}
|
||||
@ -518,7 +518,7 @@ namespace HPG_68D.My
|
||||
[DebuggerHidden]
|
||||
private static T Create__Instance__<T>(T instance) where T : new()
|
||||
{
|
||||
return (object) instance == null ? new T() : instance;
|
||||
return instance == null ? new T() : instance;
|
||||
}
|
||||
|
||||
[DebuggerHidden]
|
||||
@ -541,7 +541,7 @@ namespace HPG_68D.My
|
||||
{
|
||||
[DebuggerHidden] get
|
||||
{
|
||||
if ((object) ThreadSafeObjectProvider<T>.m_ThreadStaticValue == null)
|
||||
if (ThreadSafeObjectProvider<T>.m_ThreadStaticValue == null)
|
||||
ThreadSafeObjectProvider<T>.m_ThreadStaticValue = new T();
|
||||
|
||||
return ThreadSafeObjectProvider<T>.m_ThreadStaticValue;
|
||||
|
||||
@ -22,7 +22,7 @@ namespace HPG_68D.My
|
||||
[GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
|
||||
internal sealed class MySettings : ApplicationSettingsBase
|
||||
{
|
||||
private static MySettings defaultInstance = (MySettings) Synchronized((SettingsBase) new MySettings());
|
||||
private static MySettings defaultInstance = (MySettings) Synchronized(new MySettings());
|
||||
private static bool addedHandler;
|
||||
private static object addedHandlerLockObject = RuntimeHelpers.GetObjectValue(new object());
|
||||
|
||||
@ -46,19 +46,19 @@ namespace HPG_68D.My
|
||||
{
|
||||
if (!addedHandler)
|
||||
{
|
||||
object handlerLockObject = addedHandlerLockObject;
|
||||
var handlerLockObject = addedHandlerLockObject;
|
||||
ObjectFlowControl.CheckForSyncLockOnValueType(handlerLockObject);
|
||||
Monitor.Enter(handlerLockObject);
|
||||
try
|
||||
{
|
||||
if (!addedHandler)
|
||||
{
|
||||
MyProject.Application.Shutdown += (ShutdownEventHandler) ((sender, e) =>
|
||||
MyProject.Application.Shutdown += (sender, e) =>
|
||||
{
|
||||
if (!MyProject.Application.SaveMySettingsOnExit)
|
||||
return;
|
||||
MySettingsProperty.Settings.Save();
|
||||
});
|
||||
};
|
||||
addedHandler = true;
|
||||
}
|
||||
}
|
||||
@ -67,7 +67,7 @@ namespace HPG_68D.My
|
||||
Monitor.Exit(handlerLockObject);
|
||||
}
|
||||
}
|
||||
MySettings defaultInstance = MySettings.defaultInstance;
|
||||
var defaultInstance = MySettings.defaultInstance;
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ namespace HPG_68D.My
|
||||
{
|
||||
get
|
||||
{
|
||||
MySettings settings = MySettings.Default;
|
||||
var settings = MySettings.Default;
|
||||
return settings;
|
||||
}
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ namespace HPG_68D.My.Resources
|
||||
{
|
||||
get
|
||||
{
|
||||
if (ReferenceEquals((object) resourceMan, (object) null))
|
||||
if (ReferenceEquals(resourceMan, null))
|
||||
resourceMan = new ResourceManager("HPG_68D.Resources", typeof (Resources).Assembly);
|
||||
return resourceMan;
|
||||
}
|
||||
|
||||
@ -70,7 +70,7 @@ namespace HPG_68D
|
||||
public PasswordForm()
|
||||
{
|
||||
Load += PasswordForm_Load;
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@ -85,7 +85,7 @@ namespace HPG_68D
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (PasswordForm));
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (PasswordForm));
|
||||
Label1 = new Label();
|
||||
TextBoxPassword = new TextBox();
|
||||
ButtonOK = new Button();
|
||||
@ -107,138 +107,138 @@ namespace HPG_68D
|
||||
GroupBox_ReadPassword.SuspendLayout();
|
||||
GroupBox_WritePassword.SuspendLayout();
|
||||
SuspendLayout();
|
||||
Label1.AccessibleDescription = (string) null;
|
||||
Label1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label1, "Label1");
|
||||
Label1.Font = (Font) null;
|
||||
Label1.AccessibleDescription = null;
|
||||
Label1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label1, "Label1");
|
||||
Label1.Font = null;
|
||||
Label1.Name = "Label1";
|
||||
TextBoxPassword.AccessibleDescription = (string) null;
|
||||
TextBoxPassword.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxPassword, "TextBoxPassword");
|
||||
TextBoxPassword.BackgroundImage = (Image) null;
|
||||
TextBoxPassword.Font = (Font) null;
|
||||
TextBoxPassword.AccessibleDescription = null;
|
||||
TextBoxPassword.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxPassword, "TextBoxPassword");
|
||||
TextBoxPassword.BackgroundImage = null;
|
||||
TextBoxPassword.Font = null;
|
||||
TextBoxPassword.Name = "TextBoxPassword";
|
||||
ButtonOK.AccessibleDescription = (string) null;
|
||||
ButtonOK.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) ButtonOK, "ButtonOK");
|
||||
ButtonOK.BackgroundImage = (Image) null;
|
||||
ButtonOK.Font = (Font) null;
|
||||
ButtonOK.AccessibleDescription = null;
|
||||
ButtonOK.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(ButtonOK, "ButtonOK");
|
||||
ButtonOK.BackgroundImage = null;
|
||||
ButtonOK.Font = null;
|
||||
ButtonOK.Name = "ButtonOK";
|
||||
ButtonOK.UseVisualStyleBackColor = true;
|
||||
ButtonCannel.AccessibleDescription = (string) null;
|
||||
ButtonCannel.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) ButtonCannel, "ButtonCannel");
|
||||
ButtonCannel.BackgroundImage = (Image) null;
|
||||
ButtonCannel.Font = (Font) null;
|
||||
ButtonCannel.AccessibleDescription = null;
|
||||
ButtonCannel.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(ButtonCannel, "ButtonCannel");
|
||||
ButtonCannel.BackgroundImage = null;
|
||||
ButtonCannel.Font = null;
|
||||
ButtonCannel.Name = "ButtonCannel";
|
||||
ButtonCannel.UseVisualStyleBackColor = true;
|
||||
Label2.AccessibleDescription = (string) null;
|
||||
Label2.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label2, "Label2");
|
||||
Label2.Font = (Font) null;
|
||||
Label2.AccessibleDescription = null;
|
||||
Label2.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label2, "Label2");
|
||||
Label2.Font = null;
|
||||
Label2.Name = "Label2";
|
||||
TextBox_NewPassword_R.AccessibleDescription = (string) null;
|
||||
TextBox_NewPassword_R.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBox_NewPassword_R, "TextBox_NewPassword_R");
|
||||
TextBox_NewPassword_R.BackgroundImage = (Image) null;
|
||||
TextBox_NewPassword_R.Font = (Font) null;
|
||||
TextBox_NewPassword_R.AccessibleDescription = null;
|
||||
TextBox_NewPassword_R.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBox_NewPassword_R, "TextBox_NewPassword_R");
|
||||
TextBox_NewPassword_R.BackgroundImage = null;
|
||||
TextBox_NewPassword_R.Font = null;
|
||||
TextBox_NewPassword_R.Name = "TextBox_NewPassword_R";
|
||||
CheckBox_WritePassword.AccessibleDescription = (string) null;
|
||||
CheckBox_WritePassword.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBox_WritePassword, "CheckBox_WritePassword");
|
||||
CheckBox_WritePassword.BackgroundImage = (Image) null;
|
||||
CheckBox_WritePassword.Font = (Font) null;
|
||||
CheckBox_WritePassword.AccessibleDescription = null;
|
||||
CheckBox_WritePassword.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBox_WritePassword, "CheckBox_WritePassword");
|
||||
CheckBox_WritePassword.BackgroundImage = null;
|
||||
CheckBox_WritePassword.Font = null;
|
||||
CheckBox_WritePassword.Name = "CheckBox_WritePassword";
|
||||
CheckBox_WritePassword.UseVisualStyleBackColor = true;
|
||||
CheckBox_ReadPassword.AccessibleDescription = (string) null;
|
||||
CheckBox_ReadPassword.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBox_ReadPassword, "CheckBox_ReadPassword");
|
||||
CheckBox_ReadPassword.BackgroundImage = (Image) null;
|
||||
CheckBox_ReadPassword.Font = (Font) null;
|
||||
CheckBox_ReadPassword.AccessibleDescription = null;
|
||||
CheckBox_ReadPassword.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBox_ReadPassword, "CheckBox_ReadPassword");
|
||||
CheckBox_ReadPassword.BackgroundImage = null;
|
||||
CheckBox_ReadPassword.Font = null;
|
||||
CheckBox_ReadPassword.Name = "CheckBox_ReadPassword";
|
||||
CheckBox_ReadPassword.UseVisualStyleBackColor = true;
|
||||
GroupBox_ReadPassword.AccessibleDescription = (string) null;
|
||||
GroupBox_ReadPassword.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) GroupBox_ReadPassword, "GroupBox_ReadPassword");
|
||||
GroupBox_ReadPassword.BackgroundImage = (Image) null;
|
||||
GroupBox_ReadPassword.Controls.Add((Control) TextBoxPassword);
|
||||
GroupBox_ReadPassword.Controls.Add((Control) Label1);
|
||||
GroupBox_ReadPassword.Controls.Add((Control) Label3);
|
||||
GroupBox_ReadPassword.Controls.Add((Control) Label2);
|
||||
GroupBox_ReadPassword.Controls.Add((Control) TextBox_EnterPassword_R);
|
||||
GroupBox_ReadPassword.Controls.Add((Control) TextBox_NewPassword_R);
|
||||
GroupBox_ReadPassword.Font = (Font) null;
|
||||
GroupBox_ReadPassword.AccessibleDescription = null;
|
||||
GroupBox_ReadPassword.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(GroupBox_ReadPassword, "GroupBox_ReadPassword");
|
||||
GroupBox_ReadPassword.BackgroundImage = null;
|
||||
GroupBox_ReadPassword.Controls.Add(TextBoxPassword);
|
||||
GroupBox_ReadPassword.Controls.Add(Label1);
|
||||
GroupBox_ReadPassword.Controls.Add(Label3);
|
||||
GroupBox_ReadPassword.Controls.Add(Label2);
|
||||
GroupBox_ReadPassword.Controls.Add(TextBox_EnterPassword_R);
|
||||
GroupBox_ReadPassword.Controls.Add(TextBox_NewPassword_R);
|
||||
GroupBox_ReadPassword.Font = null;
|
||||
GroupBox_ReadPassword.Name = "GroupBox_ReadPassword";
|
||||
GroupBox_ReadPassword.TabStop = false;
|
||||
Label3.AccessibleDescription = (string) null;
|
||||
Label3.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label3, "Label3");
|
||||
Label3.Font = (Font) null;
|
||||
Label3.AccessibleDescription = null;
|
||||
Label3.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label3, "Label3");
|
||||
Label3.Font = null;
|
||||
Label3.Name = "Label3";
|
||||
TextBox_EnterPassword_R.AccessibleDescription = (string) null;
|
||||
TextBox_EnterPassword_R.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBox_EnterPassword_R, "TextBox_EnterPassword_R");
|
||||
TextBox_EnterPassword_R.BackgroundImage = (Image) null;
|
||||
TextBox_EnterPassword_R.Font = (Font) null;
|
||||
TextBox_EnterPassword_R.AccessibleDescription = null;
|
||||
TextBox_EnterPassword_R.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBox_EnterPassword_R, "TextBox_EnterPassword_R");
|
||||
TextBox_EnterPassword_R.BackgroundImage = null;
|
||||
TextBox_EnterPassword_R.Font = null;
|
||||
TextBox_EnterPassword_R.Name = "TextBox_EnterPassword_R";
|
||||
GroupBox_WritePassword.AccessibleDescription = (string) null;
|
||||
GroupBox_WritePassword.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) GroupBox_WritePassword, "GroupBox_WritePassword");
|
||||
GroupBox_WritePassword.BackgroundImage = (Image) null;
|
||||
GroupBox_WritePassword.Controls.Add((Control) TextBox_OldPassword_W);
|
||||
GroupBox_WritePassword.Controls.Add((Control) Label4);
|
||||
GroupBox_WritePassword.Controls.Add((Control) Label5);
|
||||
GroupBox_WritePassword.Controls.Add((Control) Label6);
|
||||
GroupBox_WritePassword.Controls.Add((Control) TextBox_EnterPassword_W);
|
||||
GroupBox_WritePassword.Controls.Add((Control) TextBox_NewPassword_W);
|
||||
GroupBox_WritePassword.Font = (Font) null;
|
||||
GroupBox_WritePassword.AccessibleDescription = null;
|
||||
GroupBox_WritePassword.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(GroupBox_WritePassword, "GroupBox_WritePassword");
|
||||
GroupBox_WritePassword.BackgroundImage = null;
|
||||
GroupBox_WritePassword.Controls.Add(TextBox_OldPassword_W);
|
||||
GroupBox_WritePassword.Controls.Add(Label4);
|
||||
GroupBox_WritePassword.Controls.Add(Label5);
|
||||
GroupBox_WritePassword.Controls.Add(Label6);
|
||||
GroupBox_WritePassword.Controls.Add(TextBox_EnterPassword_W);
|
||||
GroupBox_WritePassword.Controls.Add(TextBox_NewPassword_W);
|
||||
GroupBox_WritePassword.Font = null;
|
||||
GroupBox_WritePassword.Name = "GroupBox_WritePassword";
|
||||
GroupBox_WritePassword.TabStop = false;
|
||||
TextBox_OldPassword_W.AccessibleDescription = (string) null;
|
||||
TextBox_OldPassword_W.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBox_OldPassword_W, "TextBox_OldPassword_W");
|
||||
TextBox_OldPassword_W.BackgroundImage = (Image) null;
|
||||
TextBox_OldPassword_W.Font = (Font) null;
|
||||
TextBox_OldPassword_W.AccessibleDescription = null;
|
||||
TextBox_OldPassword_W.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBox_OldPassword_W, "TextBox_OldPassword_W");
|
||||
TextBox_OldPassword_W.BackgroundImage = null;
|
||||
TextBox_OldPassword_W.Font = null;
|
||||
TextBox_OldPassword_W.Name = "TextBox_OldPassword_W";
|
||||
Label4.AccessibleDescription = (string) null;
|
||||
Label4.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label4, "Label4");
|
||||
Label4.Font = (Font) null;
|
||||
Label4.AccessibleDescription = null;
|
||||
Label4.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label4, "Label4");
|
||||
Label4.Font = null;
|
||||
Label4.Name = "Label4";
|
||||
Label5.AccessibleDescription = (string) null;
|
||||
Label5.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label5, "Label5");
|
||||
Label5.Font = (Font) null;
|
||||
Label5.AccessibleDescription = null;
|
||||
Label5.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label5, "Label5");
|
||||
Label5.Font = null;
|
||||
Label5.Name = "Label5";
|
||||
Label6.AccessibleDescription = (string) null;
|
||||
Label6.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label6, "Label6");
|
||||
Label6.Font = (Font) null;
|
||||
Label6.AccessibleDescription = null;
|
||||
Label6.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label6, "Label6");
|
||||
Label6.Font = null;
|
||||
Label6.Name = "Label6";
|
||||
TextBox_EnterPassword_W.AccessibleDescription = (string) null;
|
||||
TextBox_EnterPassword_W.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBox_EnterPassword_W, "TextBox_EnterPassword_W");
|
||||
TextBox_EnterPassword_W.BackgroundImage = (Image) null;
|
||||
TextBox_EnterPassword_W.Font = (Font) null;
|
||||
TextBox_EnterPassword_W.AccessibleDescription = null;
|
||||
TextBox_EnterPassword_W.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBox_EnterPassword_W, "TextBox_EnterPassword_W");
|
||||
TextBox_EnterPassword_W.BackgroundImage = null;
|
||||
TextBox_EnterPassword_W.Font = null;
|
||||
TextBox_EnterPassword_W.Name = "TextBox_EnterPassword_W";
|
||||
TextBox_NewPassword_W.AccessibleDescription = (string) null;
|
||||
TextBox_NewPassword_W.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBox_NewPassword_W, "TextBox_NewPassword_W");
|
||||
TextBox_NewPassword_W.BackgroundImage = (Image) null;
|
||||
TextBox_NewPassword_W.Font = (Font) null;
|
||||
TextBox_NewPassword_W.AccessibleDescription = null;
|
||||
TextBox_NewPassword_W.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBox_NewPassword_W, "TextBox_NewPassword_W");
|
||||
TextBox_NewPassword_W.BackgroundImage = null;
|
||||
TextBox_NewPassword_W.Font = null;
|
||||
TextBox_NewPassword_W.Name = "TextBox_NewPassword_W";
|
||||
AccessibleDescription = (string) null;
|
||||
AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) this, "$this");
|
||||
AccessibleDescription = null;
|
||||
AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = (Image) null;
|
||||
Controls.Add((Control) GroupBox_WritePassword);
|
||||
Controls.Add((Control) GroupBox_ReadPassword);
|
||||
Controls.Add((Control) CheckBox_ReadPassword);
|
||||
Controls.Add((Control) CheckBox_WritePassword);
|
||||
Controls.Add((Control) ButtonCannel);
|
||||
Controls.Add((Control) ButtonOK);
|
||||
Font = (Font) null;
|
||||
BackgroundImage = null;
|
||||
Controls.Add(GroupBox_WritePassword);
|
||||
Controls.Add(GroupBox_ReadPassword);
|
||||
Controls.Add(CheckBox_ReadPassword);
|
||||
Controls.Add(CheckBox_WritePassword);
|
||||
Controls.Add(ButtonCannel);
|
||||
Controls.Add(ButtonOK);
|
||||
Font = null;
|
||||
FormBorderStyle = FormBorderStyle.FixedDialog;
|
||||
MaximizeBox = false;
|
||||
MinimizeBox = false;
|
||||
@ -417,9 +417,9 @@ namespace HPG_68D
|
||||
|
||||
private void PasswordForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
int num = 0;
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBox_ReadPassword, checked (num + 11), publicva.Bit5, 0);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBox_WritePassword, checked (num + 11), publicva.Bit6, 0);
|
||||
var num = 0;
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBox_ReadPassword, checked (num + 11), publicva.Bit5, 0);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBox_WritePassword, checked (num + 11), publicva.Bit6, 0);
|
||||
CheckBox_ReadPassword_CheckedChanged(RuntimeHelpers.GetObjectValue(sender), e);
|
||||
CheckBox_WritePassword_CheckedChanged(RuntimeHelpers.GetObjectValue(sender), e);
|
||||
}
|
||||
@ -428,12 +428,12 @@ namespace HPG_68D
|
||||
|
||||
private void ButtonOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
int num1 = 60;
|
||||
string Right1 = Strings.RTrim(Encoding.ASCII.GetString(publicva.EEPROM_Byte, checked (num1 + 0), 16));
|
||||
int num2 = 70;
|
||||
string Right2 = Strings.RTrim(Encoding.ASCII.GetString(publicva.EEPROM_Byte, checked (num2 + 0), 16));
|
||||
int num3 = 0;
|
||||
if (((uint) publicva.EEPROM_Byte[checked (num3 + 11)] & (uint) publicva.Bit5) > 0U)
|
||||
var num1 = 60;
|
||||
var Right1 = Strings.RTrim(Encoding.ASCII.GetString(publicva.EEPROM_Byte, checked (num1 + 0), 16));
|
||||
var num2 = 70;
|
||||
var Right2 = Strings.RTrim(Encoding.ASCII.GetString(publicva.EEPROM_Byte, checked (num2 + 0), 16));
|
||||
var num3 = 0;
|
||||
if ((publicva.EEPROM_Byte[checked (num3 + 11)] & (uint) publicva.Bit5) > 0U)
|
||||
{
|
||||
if (Operators.CompareString(TextBoxPassword.Text, Right1, false) == 0)
|
||||
{
|
||||
@ -469,7 +469,7 @@ namespace HPG_68D
|
||||
TextBox_EnterPassword_R.Text = "";
|
||||
return;
|
||||
}
|
||||
if (((uint) publicva.EEPROM_Byte[checked (num3 + 11)] & (uint) publicva.Bit6) > 0U)
|
||||
if ((publicva.EEPROM_Byte[checked (num3 + 11)] & (uint) publicva.Bit6) > 0U)
|
||||
{
|
||||
if (Operators.CompareString(TextBox_OldPassword_W.Text, Right2, false) == 0)
|
||||
{
|
||||
@ -505,8 +505,8 @@ namespace HPG_68D
|
||||
TextBox_EnterPassword_W.Text = "";
|
||||
return;
|
||||
}
|
||||
publicva.EEPROM_Byte[checked (num3 + 11)] = Operators.CompareString(TextBox_NewPassword_R.Text, "", false) != 0 ? (byte) ((int) publicva.EEPROM_Byte[checked (num3 + 11)] | (int) publicva.Bit5) : (byte) ((int) publicva.EEPROM_Byte[checked (num3 + 11)] & (int) ~publicva.Bit5);
|
||||
publicva.EEPROM_Byte[checked (num3 + 11)] = Operators.CompareString(TextBox_NewPassword_W.Text, "", false) != 0 ? (byte) ((int) publicva.EEPROM_Byte[checked (num3 + 11)] | (int) publicva.Bit6) : (byte) ((int) publicva.EEPROM_Byte[checked (num3 + 11)] & (int) ~publicva.Bit6);
|
||||
publicva.EEPROM_Byte[checked (num3 + 11)] = Operators.CompareString(TextBox_NewPassword_R.Text, "", false) != 0 ? (byte) (publicva.EEPROM_Byte[checked (num3 + 11)] | publicva.Bit5) : (byte) (publicva.EEPROM_Byte[checked (num3 + 11)] & ~publicva.Bit5);
|
||||
publicva.EEPROM_Byte[checked (num3 + 11)] = Operators.CompareString(TextBox_NewPassword_W.Text, "", false) != 0 ? (byte) (publicva.EEPROM_Byte[checked (num3 + 11)] | publicva.Bit6) : (byte) (publicva.EEPROM_Byte[checked (num3 + 11)] & ~publicva.Bit6);
|
||||
if (!MyProject.Forms.MDIParent1.MSCcomm_StartInit("Write_Password", publicva.WPassword_EEPROM_Add_Lendgth_List))
|
||||
;
|
||||
Close();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -138,7 +138,7 @@ namespace HPG_68D
|
||||
{
|
||||
FormClosing += SofeMsgForm_FormClosing;
|
||||
Load += SofeMsgForm_Load;
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@ -153,7 +153,7 @@ namespace HPG_68D
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (SofeMsgForm));
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (SofeMsgForm));
|
||||
Panel1 = new Panel();
|
||||
CheckBoxRxBand_7 = new CheckBox();
|
||||
CheckBoxTxBand_7 = new CheckBox();
|
||||
@ -208,182 +208,182 @@ namespace HPG_68D
|
||||
Button3 = new Button();
|
||||
Panel1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
componentResourceManager.ApplyResources((object) Panel1, "Panel1");
|
||||
componentResourceManager.ApplyResources(Panel1, "Panel1");
|
||||
Panel1.BorderStyle = BorderStyle.FixedSingle;
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_7);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_7);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_6);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_6);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_5);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_5);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_4);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_4);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_3);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_3);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_2);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_2);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_1);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_1);
|
||||
Panel1.Controls.Add((Control) TextBox最后编程时间);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_7);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_7);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_6);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_6);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_5);
|
||||
Panel1.Controls.Add((Control) Label17);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_5);
|
||||
Panel1.Controls.Add((Control) Label16);
|
||||
Panel1.Controls.Add((Control) Label9);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_4);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_4);
|
||||
Panel1.Controls.Add((Control) Label15);
|
||||
Panel1.Controls.Add((Control) Label8);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_3);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_3);
|
||||
Panel1.Controls.Add((Control) Label14);
|
||||
Panel1.Controls.Add((Control) Label7);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_2);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_2);
|
||||
Panel1.Controls.Add((Control) Label13);
|
||||
Panel1.Controls.Add((Control) Label6);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_1);
|
||||
Panel1.Controls.Add((Control) Label12);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_1);
|
||||
Panel1.Controls.Add((Control) Label5);
|
||||
Panel1.Controls.Add((Control) Label11);
|
||||
Panel1.Controls.Add((Control) TextBox机型信息);
|
||||
Panel1.Controls.Add((Control) Label4);
|
||||
Panel1.Controls.Add((Control) Label10);
|
||||
Panel1.Controls.Add((Control) TextBox序列号);
|
||||
Panel1.Controls.Add((Control) Label3);
|
||||
Panel1.Controls.Add((Control) Label2);
|
||||
Panel1.Controls.Add((Control) Label1);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_7);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_7);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_6);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_6);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_5);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_5);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_4);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_4);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_3);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_3);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_2);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_2);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_1);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_1);
|
||||
Panel1.Controls.Add(TextBox最后编程时间);
|
||||
Panel1.Controls.Add(TextBoxRxBand_7);
|
||||
Panel1.Controls.Add(TextBoxTxBand_7);
|
||||
Panel1.Controls.Add(TextBoxRxBand_6);
|
||||
Panel1.Controls.Add(TextBoxTxBand_6);
|
||||
Panel1.Controls.Add(TextBoxRxBand_5);
|
||||
Panel1.Controls.Add(Label17);
|
||||
Panel1.Controls.Add(TextBoxTxBand_5);
|
||||
Panel1.Controls.Add(Label16);
|
||||
Panel1.Controls.Add(Label9);
|
||||
Panel1.Controls.Add(TextBoxRxBand_4);
|
||||
Panel1.Controls.Add(TextBoxTxBand_4);
|
||||
Panel1.Controls.Add(Label15);
|
||||
Panel1.Controls.Add(Label8);
|
||||
Panel1.Controls.Add(TextBoxRxBand_3);
|
||||
Panel1.Controls.Add(TextBoxTxBand_3);
|
||||
Panel1.Controls.Add(Label14);
|
||||
Panel1.Controls.Add(Label7);
|
||||
Panel1.Controls.Add(TextBoxRxBand_2);
|
||||
Panel1.Controls.Add(TextBoxTxBand_2);
|
||||
Panel1.Controls.Add(Label13);
|
||||
Panel1.Controls.Add(Label6);
|
||||
Panel1.Controls.Add(TextBoxRxBand_1);
|
||||
Panel1.Controls.Add(Label12);
|
||||
Panel1.Controls.Add(TextBoxTxBand_1);
|
||||
Panel1.Controls.Add(Label5);
|
||||
Panel1.Controls.Add(Label11);
|
||||
Panel1.Controls.Add(TextBox机型信息);
|
||||
Panel1.Controls.Add(Label4);
|
||||
Panel1.Controls.Add(Label10);
|
||||
Panel1.Controls.Add(TextBox序列号);
|
||||
Panel1.Controls.Add(Label3);
|
||||
Panel1.Controls.Add(Label2);
|
||||
Panel1.Controls.Add(Label1);
|
||||
Panel1.Name = "Panel1";
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_7, "CheckBoxRxBand_7");
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_7, "CheckBoxRxBand_7");
|
||||
CheckBoxRxBand_7.Name = "CheckBoxRxBand_7";
|
||||
CheckBoxRxBand_7.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_7, "CheckBoxTxBand_7");
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_7, "CheckBoxTxBand_7");
|
||||
CheckBoxTxBand_7.Name = "CheckBoxTxBand_7";
|
||||
CheckBoxTxBand_7.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_6, "CheckBoxRxBand_6");
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_6, "CheckBoxRxBand_6");
|
||||
CheckBoxRxBand_6.Name = "CheckBoxRxBand_6";
|
||||
CheckBoxRxBand_6.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_6, "CheckBoxTxBand_6");
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_6, "CheckBoxTxBand_6");
|
||||
CheckBoxTxBand_6.Name = "CheckBoxTxBand_6";
|
||||
CheckBoxTxBand_6.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_5, "CheckBoxRxBand_5");
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_5, "CheckBoxRxBand_5");
|
||||
CheckBoxRxBand_5.Name = "CheckBoxRxBand_5";
|
||||
CheckBoxRxBand_5.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_5, "CheckBoxTxBand_5");
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_5, "CheckBoxTxBand_5");
|
||||
CheckBoxTxBand_5.Name = "CheckBoxTxBand_5";
|
||||
CheckBoxTxBand_5.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_4, "CheckBoxRxBand_4");
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_4, "CheckBoxRxBand_4");
|
||||
CheckBoxRxBand_4.Name = "CheckBoxRxBand_4";
|
||||
CheckBoxRxBand_4.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_4, "CheckBoxTxBand_4");
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_4, "CheckBoxTxBand_4");
|
||||
CheckBoxTxBand_4.Name = "CheckBoxTxBand_4";
|
||||
CheckBoxTxBand_4.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_3, "CheckBoxRxBand_3");
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_3, "CheckBoxRxBand_3");
|
||||
CheckBoxRxBand_3.Name = "CheckBoxRxBand_3";
|
||||
CheckBoxRxBand_3.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_3, "CheckBoxTxBand_3");
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_3, "CheckBoxTxBand_3");
|
||||
CheckBoxTxBand_3.Name = "CheckBoxTxBand_3";
|
||||
CheckBoxTxBand_3.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_2, "CheckBoxRxBand_2");
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_2, "CheckBoxRxBand_2");
|
||||
CheckBoxRxBand_2.Name = "CheckBoxRxBand_2";
|
||||
CheckBoxRxBand_2.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_2, "CheckBoxTxBand_2");
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_2, "CheckBoxTxBand_2");
|
||||
CheckBoxTxBand_2.Name = "CheckBoxTxBand_2";
|
||||
CheckBoxTxBand_2.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_1, "CheckBoxRxBand_1");
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_1, "CheckBoxRxBand_1");
|
||||
CheckBoxRxBand_1.Name = "CheckBoxRxBand_1";
|
||||
CheckBoxRxBand_1.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_1, "CheckBoxTxBand_1");
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_1, "CheckBoxTxBand_1");
|
||||
CheckBoxTxBand_1.Name = "CheckBoxTxBand_1";
|
||||
CheckBoxTxBand_1.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) TextBox最后编程时间, "TextBox最后编程时间");
|
||||
componentResourceManager.ApplyResources(TextBox最后编程时间, "TextBox最后编程时间");
|
||||
TextBox最后编程时间.Name = "TextBox最后编程时间";
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_7, "TextBoxRxBand_7");
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_7, "TextBoxRxBand_7");
|
||||
TextBoxRxBand_7.Name = "TextBoxRxBand_7";
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_7, "TextBoxTxBand_7");
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_7, "TextBoxTxBand_7");
|
||||
TextBoxTxBand_7.Name = "TextBoxTxBand_7";
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_6, "TextBoxRxBand_6");
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_6, "TextBoxRxBand_6");
|
||||
TextBoxRxBand_6.Name = "TextBoxRxBand_6";
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_6, "TextBoxTxBand_6");
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_6, "TextBoxTxBand_6");
|
||||
TextBoxTxBand_6.Name = "TextBoxTxBand_6";
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_5, "TextBoxRxBand_5");
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_5, "TextBoxRxBand_5");
|
||||
TextBoxRxBand_5.Name = "TextBoxRxBand_5";
|
||||
componentResourceManager.ApplyResources((object) Label17, "Label17");
|
||||
componentResourceManager.ApplyResources(Label17, "Label17");
|
||||
Label17.Name = "Label17";
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_5, "TextBoxTxBand_5");
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_5, "TextBoxTxBand_5");
|
||||
TextBoxTxBand_5.Name = "TextBoxTxBand_5";
|
||||
componentResourceManager.ApplyResources((object) Label16, "Label16");
|
||||
componentResourceManager.ApplyResources(Label16, "Label16");
|
||||
Label16.Name = "Label16";
|
||||
componentResourceManager.ApplyResources((object) Label9, "Label9");
|
||||
componentResourceManager.ApplyResources(Label9, "Label9");
|
||||
Label9.Name = "Label9";
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_4, "TextBoxRxBand_4");
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_4, "TextBoxRxBand_4");
|
||||
TextBoxRxBand_4.Name = "TextBoxRxBand_4";
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_4, "TextBoxTxBand_4");
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_4, "TextBoxTxBand_4");
|
||||
TextBoxTxBand_4.Name = "TextBoxTxBand_4";
|
||||
componentResourceManager.ApplyResources((object) Label15, "Label15");
|
||||
componentResourceManager.ApplyResources(Label15, "Label15");
|
||||
Label15.Name = "Label15";
|
||||
componentResourceManager.ApplyResources((object) Label8, "Label8");
|
||||
componentResourceManager.ApplyResources(Label8, "Label8");
|
||||
Label8.Name = "Label8";
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_3, "TextBoxRxBand_3");
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_3, "TextBoxRxBand_3");
|
||||
TextBoxRxBand_3.Name = "TextBoxRxBand_3";
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_3, "TextBoxTxBand_3");
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_3, "TextBoxTxBand_3");
|
||||
TextBoxTxBand_3.Name = "TextBoxTxBand_3";
|
||||
componentResourceManager.ApplyResources((object) Label14, "Label14");
|
||||
componentResourceManager.ApplyResources(Label14, "Label14");
|
||||
Label14.Name = "Label14";
|
||||
componentResourceManager.ApplyResources((object) Label7, "Label7");
|
||||
componentResourceManager.ApplyResources(Label7, "Label7");
|
||||
Label7.Name = "Label7";
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_2, "TextBoxRxBand_2");
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_2, "TextBoxRxBand_2");
|
||||
TextBoxRxBand_2.Name = "TextBoxRxBand_2";
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_2, "TextBoxTxBand_2");
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_2, "TextBoxTxBand_2");
|
||||
TextBoxTxBand_2.Name = "TextBoxTxBand_2";
|
||||
componentResourceManager.ApplyResources((object) Label13, "Label13");
|
||||
componentResourceManager.ApplyResources(Label13, "Label13");
|
||||
Label13.Name = "Label13";
|
||||
componentResourceManager.ApplyResources((object) Label6, "Label6");
|
||||
componentResourceManager.ApplyResources(Label6, "Label6");
|
||||
Label6.Name = "Label6";
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_1, "TextBoxRxBand_1");
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_1, "TextBoxRxBand_1");
|
||||
TextBoxRxBand_1.Name = "TextBoxRxBand_1";
|
||||
componentResourceManager.ApplyResources((object) Label12, "Label12");
|
||||
componentResourceManager.ApplyResources(Label12, "Label12");
|
||||
Label12.Name = "Label12";
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_1, "TextBoxTxBand_1");
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_1, "TextBoxTxBand_1");
|
||||
TextBoxTxBand_1.Name = "TextBoxTxBand_1";
|
||||
componentResourceManager.ApplyResources((object) Label5, "Label5");
|
||||
componentResourceManager.ApplyResources(Label5, "Label5");
|
||||
Label5.Name = "Label5";
|
||||
componentResourceManager.ApplyResources((object) Label11, "Label11");
|
||||
componentResourceManager.ApplyResources(Label11, "Label11");
|
||||
Label11.Name = "Label11";
|
||||
componentResourceManager.ApplyResources((object) TextBox机型信息, "TextBox机型信息");
|
||||
componentResourceManager.ApplyResources(TextBox机型信息, "TextBox机型信息");
|
||||
TextBox机型信息.Name = "TextBox机型信息";
|
||||
componentResourceManager.ApplyResources((object) Label4, "Label4");
|
||||
componentResourceManager.ApplyResources(Label4, "Label4");
|
||||
Label4.Name = "Label4";
|
||||
componentResourceManager.ApplyResources((object) Label10, "Label10");
|
||||
componentResourceManager.ApplyResources(Label10, "Label10");
|
||||
Label10.Name = "Label10";
|
||||
componentResourceManager.ApplyResources((object) TextBox序列号, "TextBox序列号");
|
||||
componentResourceManager.ApplyResources(TextBox序列号, "TextBox序列号");
|
||||
TextBox序列号.Name = "TextBox序列号";
|
||||
componentResourceManager.ApplyResources((object) Label3, "Label3");
|
||||
componentResourceManager.ApplyResources(Label3, "Label3");
|
||||
Label3.Name = "Label3";
|
||||
componentResourceManager.ApplyResources((object) Label2, "Label2");
|
||||
componentResourceManager.ApplyResources(Label2, "Label2");
|
||||
Label2.Name = "Label2";
|
||||
componentResourceManager.ApplyResources((object) Label1, "Label1");
|
||||
componentResourceManager.ApplyResources(Label1, "Label1");
|
||||
Label1.Name = "Label1";
|
||||
componentResourceManager.ApplyResources((object) Button1, "Button1");
|
||||
componentResourceManager.ApplyResources(Button1, "Button1");
|
||||
Button1.Name = "Button1";
|
||||
Button1.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) Button2, "Button2");
|
||||
componentResourceManager.ApplyResources(Button2, "Button2");
|
||||
Button2.Name = "Button2";
|
||||
Button2.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) Button3, "Button3");
|
||||
componentResourceManager.ApplyResources(Button3, "Button3");
|
||||
Button3.Name = "Button3";
|
||||
Button3.UseVisualStyleBackColor = true;
|
||||
componentResourceManager.ApplyResources((object) this, "$this");
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
Controls.Add((Control) Button3);
|
||||
Controls.Add((Control) Button2);
|
||||
Controls.Add((Control) Button1);
|
||||
Controls.Add((Control) Panel1);
|
||||
Controls.Add(Button3);
|
||||
Controls.Add(Button2);
|
||||
Controls.Add(Button1);
|
||||
Controls.Add(Panel1);
|
||||
Name = nameof (SofeMsgForm);
|
||||
Panel1.ResumeLayout(false);
|
||||
Panel1.PerformLayout();
|
||||
@ -843,39 +843,39 @@ namespace HPG_68D
|
||||
public void SofeMsgForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
MyProject.Forms.MDIParent1.对讲机信息RToolStripMenuItem.Checked = true;
|
||||
int num1 = 0;
|
||||
var num1 = 0;
|
||||
TextBox机型信息.Text = Strings.RTrim(Encoding.ASCII.GetString(publicva.EEPROM_Byte, checked (num1 + 0), 9));
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxRxBand_1, checked (num1 + 12), publicva.Bit0, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxRxBand_2, checked (num1 + 12), publicva.Bit1, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxRxBand_3, checked (num1 + 12), publicva.Bit2, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxRxBand_4, checked (num1 + 12), publicva.Bit3, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxRxBand_5, checked (num1 + 12), publicva.Bit4, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxRxBand_6, checked (num1 + 12), publicva.Bit5, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxRxBand_7, checked (num1 + 12), publicva.Bit6, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxTxBand_1, checked (num1 + 13), publicva.Bit0, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxTxBand_2, checked (num1 + 13), publicva.Bit1, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxTxBand_3, checked (num1 + 13), publicva.Bit2, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxTxBand_4, checked (num1 + 13), publicva.Bit3, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxTxBand_5, checked (num1 + 13), publicva.Bit4, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxTxBand_6, checked (num1 + 13), publicva.Bit5, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data((Control) CheckBoxTxBand_7, checked (num1 + 13), publicva.Bit6, 1);
|
||||
int num2 = 32;
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxRxBand_1, checked (num1 + 12), publicva.Bit0, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxRxBand_2, checked (num1 + 12), publicva.Bit1, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxRxBand_3, checked (num1 + 12), publicva.Bit2, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxRxBand_4, checked (num1 + 12), publicva.Bit3, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxRxBand_5, checked (num1 + 12), publicva.Bit4, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxRxBand_6, checked (num1 + 12), publicva.Bit5, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxRxBand_7, checked (num1 + 12), publicva.Bit6, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxTxBand_1, checked (num1 + 13), publicva.Bit0, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxTxBand_2, checked (num1 + 13), publicva.Bit1, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxTxBand_3, checked (num1 + 13), publicva.Bit2, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxTxBand_4, checked (num1 + 13), publicva.Bit3, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxTxBand_5, checked (num1 + 13), publicva.Bit4, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxTxBand_6, checked (num1 + 13), publicva.Bit5, 1);
|
||||
MyProject.Forms.MDIParent1.SetControl_U8_Data(CheckBoxTxBand_7, checked (num1 + 13), publicva.Bit6, 1);
|
||||
var num2 = 32;
|
||||
TextBox序列号.Text = Strings.RTrim(Encoding.ASCII.GetString(publicva.EEPROM_Byte, checked (num2 + 0), 16));
|
||||
int num3 = 768;
|
||||
TextBoxRxBand_1.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 0)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 0 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxTxBand_1.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 8)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 8 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxRxBand_2.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 16)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 16 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxTxBand_2.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 24)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 24 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxRxBand_3.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 32)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 32 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxTxBand_3.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 40)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 40 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxRxBand_4.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 48)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 48 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxTxBand_4.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 56)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 56 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxRxBand_5.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 64)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 64 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxTxBand_5.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 72)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 72 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxRxBand_6.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 80)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 80 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxTxBand_6.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 88)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 88 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxRxBand_7.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 96)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 96 + 4)), (object) 100000)) + "MHz";
|
||||
TextBoxTxBand_7.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 104)), (object) 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 104 + 4)), (object) 100000)) + "MHz";
|
||||
var num3 = 768;
|
||||
TextBoxRxBand_1.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 0)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 0 + 4)), 100000)) + "MHz";
|
||||
TextBoxTxBand_1.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 8)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 8 + 4)), 100000)) + "MHz";
|
||||
TextBoxRxBand_2.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 16)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 16 + 4)), 100000)) + "MHz";
|
||||
TextBoxTxBand_2.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 24)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 24 + 4)), 100000)) + "MHz";
|
||||
TextBoxRxBand_3.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 32)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 32 + 4)), 100000)) + "MHz";
|
||||
TextBoxTxBand_3.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 40)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 40 + 4)), 100000)) + "MHz";
|
||||
TextBoxRxBand_4.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 48)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 48 + 4)), 100000)) + "MHz";
|
||||
TextBoxTxBand_4.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 56)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 56 + 4)), 100000)) + "MHz";
|
||||
TextBoxRxBand_5.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 64)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 64 + 4)), 100000)) + "MHz";
|
||||
TextBoxTxBand_5.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 72)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 72 + 4)), 100000)) + "MHz";
|
||||
TextBoxRxBand_6.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 80)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 80 + 4)), 100000)) + "MHz";
|
||||
TextBoxTxBand_6.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 88)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 88 + 4)), 100000)) + "MHz";
|
||||
TextBoxRxBand_7.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 96)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 96 + 4)), 100000)) + "MHz";
|
||||
TextBoxTxBand_7.Text = string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 104)), 100000)) + "-" + string.Format("{0:000}", Operators.IntDivideObject(MyProject.Forms.MDIParent1.Get_4ByteToU32_L_H(checked (num3 + 104 + 4)), 100000)) + "MHz";
|
||||
TextBox最后编程时间.Text = publicva.LastProgrammeTime;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -127,7 +127,7 @@ namespace HPG_68D
|
||||
public TypeMsgForm()
|
||||
{
|
||||
Load += TypeMsgForm_Load;
|
||||
__ENCList.Add((object) new WeakReference((object) this));
|
||||
__ENCList.Add(new WeakReference(this));
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@ -142,7 +142,7 @@ namespace HPG_68D
|
||||
[DebuggerStepThrough]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (TypeMsgForm));
|
||||
var componentResourceManager = new ComponentResourceManager(typeof (TypeMsgForm));
|
||||
Button3 = new Button();
|
||||
Button2 = new Button();
|
||||
Button1 = new Button();
|
||||
@ -193,366 +193,366 @@ namespace HPG_68D
|
||||
Label1 = new Label();
|
||||
Panel1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
Button3.AccessibleDescription = (string) null;
|
||||
Button3.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Button3, "Button3");
|
||||
Button3.BackgroundImage = (Image) null;
|
||||
Button3.Font = (Font) null;
|
||||
Button3.AccessibleDescription = null;
|
||||
Button3.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button3, "Button3");
|
||||
Button3.BackgroundImage = null;
|
||||
Button3.Font = null;
|
||||
Button3.Name = "Button3";
|
||||
Button3.UseVisualStyleBackColor = true;
|
||||
Button2.AccessibleDescription = (string) null;
|
||||
Button2.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Button2, "Button2");
|
||||
Button2.BackgroundImage = (Image) null;
|
||||
Button2.Font = (Font) null;
|
||||
Button2.AccessibleDescription = null;
|
||||
Button2.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button2, "Button2");
|
||||
Button2.BackgroundImage = null;
|
||||
Button2.Font = null;
|
||||
Button2.Name = "Button2";
|
||||
Button2.UseVisualStyleBackColor = true;
|
||||
Button1.AccessibleDescription = (string) null;
|
||||
Button1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Button1, "Button1");
|
||||
Button1.BackgroundImage = (Image) null;
|
||||
Button1.Font = (Font) null;
|
||||
Button1.AccessibleDescription = null;
|
||||
Button1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Button1, "Button1");
|
||||
Button1.BackgroundImage = null;
|
||||
Button1.Font = null;
|
||||
Button1.Name = "Button1";
|
||||
Button1.UseVisualStyleBackColor = true;
|
||||
Panel1.AccessibleDescription = (string) null;
|
||||
Panel1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Panel1, "Panel1");
|
||||
Panel1.BackgroundImage = (Image) null;
|
||||
Panel1.AccessibleDescription = null;
|
||||
Panel1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Panel1, "Panel1");
|
||||
Panel1.BackgroundImage = null;
|
||||
Panel1.BorderStyle = BorderStyle.FixedSingle;
|
||||
Panel1.Controls.Add((Control) ComboBox机型);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_7);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_7);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_6);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_6);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_5);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_5);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_4);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_4);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_3);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_3);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_2);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_2);
|
||||
Panel1.Controls.Add((Control) CheckBoxRxBand_1);
|
||||
Panel1.Controls.Add((Control) CheckBoxTxBand_1);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_7);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_7);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_6);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_6);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_5);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_5);
|
||||
Panel1.Controls.Add((Control) Label16);
|
||||
Panel1.Controls.Add((Control) Label9);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_4);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_4);
|
||||
Panel1.Controls.Add((Control) Label15);
|
||||
Panel1.Controls.Add((Control) Label8);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_3);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_3);
|
||||
Panel1.Controls.Add((Control) Label14);
|
||||
Panel1.Controls.Add((Control) Label7);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_2);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_2);
|
||||
Panel1.Controls.Add((Control) Label13);
|
||||
Panel1.Controls.Add((Control) Label6);
|
||||
Panel1.Controls.Add((Control) TextBoxRxBand_1);
|
||||
Panel1.Controls.Add((Control) Label12);
|
||||
Panel1.Controls.Add((Control) TextBoxTxBand_1);
|
||||
Panel1.Controls.Add((Control) Label5);
|
||||
Panel1.Controls.Add((Control) Label11);
|
||||
Panel1.Controls.Add((Control) Label4);
|
||||
Panel1.Controls.Add((Control) Label10);
|
||||
Panel1.Controls.Add((Control) Label3);
|
||||
Panel1.Controls.Add((Control) Label1);
|
||||
Panel1.Font = (Font) null;
|
||||
Panel1.Controls.Add(ComboBox机型);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_7);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_7);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_6);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_6);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_5);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_5);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_4);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_4);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_3);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_3);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_2);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_2);
|
||||
Panel1.Controls.Add(CheckBoxRxBand_1);
|
||||
Panel1.Controls.Add(CheckBoxTxBand_1);
|
||||
Panel1.Controls.Add(TextBoxRxBand_7);
|
||||
Panel1.Controls.Add(TextBoxTxBand_7);
|
||||
Panel1.Controls.Add(TextBoxRxBand_6);
|
||||
Panel1.Controls.Add(TextBoxTxBand_6);
|
||||
Panel1.Controls.Add(TextBoxRxBand_5);
|
||||
Panel1.Controls.Add(TextBoxTxBand_5);
|
||||
Panel1.Controls.Add(Label16);
|
||||
Panel1.Controls.Add(Label9);
|
||||
Panel1.Controls.Add(TextBoxRxBand_4);
|
||||
Panel1.Controls.Add(TextBoxTxBand_4);
|
||||
Panel1.Controls.Add(Label15);
|
||||
Panel1.Controls.Add(Label8);
|
||||
Panel1.Controls.Add(TextBoxRxBand_3);
|
||||
Panel1.Controls.Add(TextBoxTxBand_3);
|
||||
Panel1.Controls.Add(Label14);
|
||||
Panel1.Controls.Add(Label7);
|
||||
Panel1.Controls.Add(TextBoxRxBand_2);
|
||||
Panel1.Controls.Add(TextBoxTxBand_2);
|
||||
Panel1.Controls.Add(Label13);
|
||||
Panel1.Controls.Add(Label6);
|
||||
Panel1.Controls.Add(TextBoxRxBand_1);
|
||||
Panel1.Controls.Add(Label12);
|
||||
Panel1.Controls.Add(TextBoxTxBand_1);
|
||||
Panel1.Controls.Add(Label5);
|
||||
Panel1.Controls.Add(Label11);
|
||||
Panel1.Controls.Add(Label4);
|
||||
Panel1.Controls.Add(Label10);
|
||||
Panel1.Controls.Add(Label3);
|
||||
Panel1.Controls.Add(Label1);
|
||||
Panel1.Font = null;
|
||||
Panel1.Name = "Panel1";
|
||||
ComboBox机型.AccessibleDescription = (string) null;
|
||||
ComboBox机型.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) ComboBox机型, "ComboBox机型");
|
||||
ComboBox机型.BackgroundImage = (Image) null;
|
||||
ComboBox机型.AccessibleDescription = null;
|
||||
ComboBox机型.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(ComboBox机型, "ComboBox机型");
|
||||
ComboBox机型.BackgroundImage = null;
|
||||
ComboBox机型.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
ComboBox机型.Font = (Font) null;
|
||||
ComboBox机型.Font = null;
|
||||
ComboBox机型.FormattingEnabled = true;
|
||||
ComboBox机型.Items.AddRange(new object[1]
|
||||
{
|
||||
(object) componentResourceManager.GetString("ComboBox机型.Items")
|
||||
componentResourceManager.GetString("ComboBox机型.Items")
|
||||
});
|
||||
ComboBox机型.Name = "ComboBox机型";
|
||||
CheckBoxRxBand_7.AccessibleDescription = (string) null;
|
||||
CheckBoxRxBand_7.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_7, "CheckBoxRxBand_7");
|
||||
CheckBoxRxBand_7.BackgroundImage = (Image) null;
|
||||
CheckBoxRxBand_7.Font = (Font) null;
|
||||
CheckBoxRxBand_7.AccessibleDescription = null;
|
||||
CheckBoxRxBand_7.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_7, "CheckBoxRxBand_7");
|
||||
CheckBoxRxBand_7.BackgroundImage = null;
|
||||
CheckBoxRxBand_7.Font = null;
|
||||
CheckBoxRxBand_7.Name = "CheckBoxRxBand_7";
|
||||
CheckBoxRxBand_7.UseVisualStyleBackColor = true;
|
||||
CheckBoxTxBand_7.AccessibleDescription = (string) null;
|
||||
CheckBoxTxBand_7.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_7, "CheckBoxTxBand_7");
|
||||
CheckBoxTxBand_7.BackgroundImage = (Image) null;
|
||||
CheckBoxTxBand_7.Font = (Font) null;
|
||||
CheckBoxTxBand_7.AccessibleDescription = null;
|
||||
CheckBoxTxBand_7.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_7, "CheckBoxTxBand_7");
|
||||
CheckBoxTxBand_7.BackgroundImage = null;
|
||||
CheckBoxTxBand_7.Font = null;
|
||||
CheckBoxTxBand_7.Name = "CheckBoxTxBand_7";
|
||||
CheckBoxTxBand_7.UseVisualStyleBackColor = true;
|
||||
CheckBoxRxBand_6.AccessibleDescription = (string) null;
|
||||
CheckBoxRxBand_6.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_6, "CheckBoxRxBand_6");
|
||||
CheckBoxRxBand_6.BackgroundImage = (Image) null;
|
||||
CheckBoxRxBand_6.Font = (Font) null;
|
||||
CheckBoxRxBand_6.AccessibleDescription = null;
|
||||
CheckBoxRxBand_6.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_6, "CheckBoxRxBand_6");
|
||||
CheckBoxRxBand_6.BackgroundImage = null;
|
||||
CheckBoxRxBand_6.Font = null;
|
||||
CheckBoxRxBand_6.Name = "CheckBoxRxBand_6";
|
||||
CheckBoxRxBand_6.UseVisualStyleBackColor = true;
|
||||
CheckBoxTxBand_6.AccessibleDescription = (string) null;
|
||||
CheckBoxTxBand_6.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_6, "CheckBoxTxBand_6");
|
||||
CheckBoxTxBand_6.BackgroundImage = (Image) null;
|
||||
CheckBoxTxBand_6.Font = (Font) null;
|
||||
CheckBoxTxBand_6.AccessibleDescription = null;
|
||||
CheckBoxTxBand_6.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_6, "CheckBoxTxBand_6");
|
||||
CheckBoxTxBand_6.BackgroundImage = null;
|
||||
CheckBoxTxBand_6.Font = null;
|
||||
CheckBoxTxBand_6.Name = "CheckBoxTxBand_6";
|
||||
CheckBoxTxBand_6.UseVisualStyleBackColor = true;
|
||||
CheckBoxRxBand_5.AccessibleDescription = (string) null;
|
||||
CheckBoxRxBand_5.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_5, "CheckBoxRxBand_5");
|
||||
CheckBoxRxBand_5.BackgroundImage = (Image) null;
|
||||
CheckBoxRxBand_5.AccessibleDescription = null;
|
||||
CheckBoxRxBand_5.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_5, "CheckBoxRxBand_5");
|
||||
CheckBoxRxBand_5.BackgroundImage = null;
|
||||
CheckBoxRxBand_5.Checked = true;
|
||||
CheckBoxRxBand_5.CheckState = CheckState.Checked;
|
||||
CheckBoxRxBand_5.Font = (Font) null;
|
||||
CheckBoxRxBand_5.Font = null;
|
||||
CheckBoxRxBand_5.Name = "CheckBoxRxBand_5";
|
||||
CheckBoxRxBand_5.UseVisualStyleBackColor = true;
|
||||
CheckBoxTxBand_5.AccessibleDescription = (string) null;
|
||||
CheckBoxTxBand_5.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_5, "CheckBoxTxBand_5");
|
||||
CheckBoxTxBand_5.BackgroundImage = (Image) null;
|
||||
CheckBoxTxBand_5.AccessibleDescription = null;
|
||||
CheckBoxTxBand_5.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_5, "CheckBoxTxBand_5");
|
||||
CheckBoxTxBand_5.BackgroundImage = null;
|
||||
CheckBoxTxBand_5.Checked = true;
|
||||
CheckBoxTxBand_5.CheckState = CheckState.Checked;
|
||||
CheckBoxTxBand_5.Font = (Font) null;
|
||||
CheckBoxTxBand_5.Font = null;
|
||||
CheckBoxTxBand_5.Name = "CheckBoxTxBand_5";
|
||||
CheckBoxTxBand_5.UseVisualStyleBackColor = true;
|
||||
CheckBoxRxBand_4.AccessibleDescription = (string) null;
|
||||
CheckBoxRxBand_4.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_4, "CheckBoxRxBand_4");
|
||||
CheckBoxRxBand_4.BackgroundImage = (Image) null;
|
||||
CheckBoxRxBand_4.Font = (Font) null;
|
||||
CheckBoxRxBand_4.AccessibleDescription = null;
|
||||
CheckBoxRxBand_4.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_4, "CheckBoxRxBand_4");
|
||||
CheckBoxRxBand_4.BackgroundImage = null;
|
||||
CheckBoxRxBand_4.Font = null;
|
||||
CheckBoxRxBand_4.Name = "CheckBoxRxBand_4";
|
||||
CheckBoxRxBand_4.UseVisualStyleBackColor = true;
|
||||
CheckBoxTxBand_4.AccessibleDescription = (string) null;
|
||||
CheckBoxTxBand_4.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_4, "CheckBoxTxBand_4");
|
||||
CheckBoxTxBand_4.BackgroundImage = (Image) null;
|
||||
CheckBoxTxBand_4.Font = (Font) null;
|
||||
CheckBoxTxBand_4.AccessibleDescription = null;
|
||||
CheckBoxTxBand_4.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_4, "CheckBoxTxBand_4");
|
||||
CheckBoxTxBand_4.BackgroundImage = null;
|
||||
CheckBoxTxBand_4.Font = null;
|
||||
CheckBoxTxBand_4.Name = "CheckBoxTxBand_4";
|
||||
CheckBoxTxBand_4.UseVisualStyleBackColor = true;
|
||||
CheckBoxRxBand_3.AccessibleDescription = (string) null;
|
||||
CheckBoxRxBand_3.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_3, "CheckBoxRxBand_3");
|
||||
CheckBoxRxBand_3.BackgroundImage = (Image) null;
|
||||
CheckBoxRxBand_3.Font = (Font) null;
|
||||
CheckBoxRxBand_3.AccessibleDescription = null;
|
||||
CheckBoxRxBand_3.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_3, "CheckBoxRxBand_3");
|
||||
CheckBoxRxBand_3.BackgroundImage = null;
|
||||
CheckBoxRxBand_3.Font = null;
|
||||
CheckBoxRxBand_3.Name = "CheckBoxRxBand_3";
|
||||
CheckBoxRxBand_3.UseVisualStyleBackColor = true;
|
||||
CheckBoxTxBand_3.AccessibleDescription = (string) null;
|
||||
CheckBoxTxBand_3.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_3, "CheckBoxTxBand_3");
|
||||
CheckBoxTxBand_3.BackgroundImage = (Image) null;
|
||||
CheckBoxTxBand_3.Font = (Font) null;
|
||||
CheckBoxTxBand_3.AccessibleDescription = null;
|
||||
CheckBoxTxBand_3.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_3, "CheckBoxTxBand_3");
|
||||
CheckBoxTxBand_3.BackgroundImage = null;
|
||||
CheckBoxTxBand_3.Font = null;
|
||||
CheckBoxTxBand_3.Name = "CheckBoxTxBand_3";
|
||||
CheckBoxTxBand_3.UseVisualStyleBackColor = true;
|
||||
CheckBoxRxBand_2.AccessibleDescription = (string) null;
|
||||
CheckBoxRxBand_2.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_2, "CheckBoxRxBand_2");
|
||||
CheckBoxRxBand_2.BackgroundImage = (Image) null;
|
||||
CheckBoxRxBand_2.Font = (Font) null;
|
||||
CheckBoxRxBand_2.AccessibleDescription = null;
|
||||
CheckBoxRxBand_2.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_2, "CheckBoxRxBand_2");
|
||||
CheckBoxRxBand_2.BackgroundImage = null;
|
||||
CheckBoxRxBand_2.Font = null;
|
||||
CheckBoxRxBand_2.Name = "CheckBoxRxBand_2";
|
||||
CheckBoxRxBand_2.UseVisualStyleBackColor = true;
|
||||
CheckBoxTxBand_2.AccessibleDescription = (string) null;
|
||||
CheckBoxTxBand_2.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_2, "CheckBoxTxBand_2");
|
||||
CheckBoxTxBand_2.BackgroundImage = (Image) null;
|
||||
CheckBoxTxBand_2.Font = (Font) null;
|
||||
CheckBoxTxBand_2.AccessibleDescription = null;
|
||||
CheckBoxTxBand_2.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_2, "CheckBoxTxBand_2");
|
||||
CheckBoxTxBand_2.BackgroundImage = null;
|
||||
CheckBoxTxBand_2.Font = null;
|
||||
CheckBoxTxBand_2.Name = "CheckBoxTxBand_2";
|
||||
CheckBoxTxBand_2.UseVisualStyleBackColor = true;
|
||||
CheckBoxRxBand_1.AccessibleDescription = (string) null;
|
||||
CheckBoxRxBand_1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxRxBand_1, "CheckBoxRxBand_1");
|
||||
CheckBoxRxBand_1.BackgroundImage = (Image) null;
|
||||
CheckBoxRxBand_1.AccessibleDescription = null;
|
||||
CheckBoxRxBand_1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxRxBand_1, "CheckBoxRxBand_1");
|
||||
CheckBoxRxBand_1.BackgroundImage = null;
|
||||
CheckBoxRxBand_1.Checked = true;
|
||||
CheckBoxRxBand_1.CheckState = CheckState.Checked;
|
||||
CheckBoxRxBand_1.Font = (Font) null;
|
||||
CheckBoxRxBand_1.Font = null;
|
||||
CheckBoxRxBand_1.Name = "CheckBoxRxBand_1";
|
||||
CheckBoxRxBand_1.UseVisualStyleBackColor = true;
|
||||
CheckBoxTxBand_1.AccessibleDescription = (string) null;
|
||||
CheckBoxTxBand_1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) CheckBoxTxBand_1, "CheckBoxTxBand_1");
|
||||
CheckBoxTxBand_1.BackgroundImage = (Image) null;
|
||||
CheckBoxTxBand_1.AccessibleDescription = null;
|
||||
CheckBoxTxBand_1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(CheckBoxTxBand_1, "CheckBoxTxBand_1");
|
||||
CheckBoxTxBand_1.BackgroundImage = null;
|
||||
CheckBoxTxBand_1.Checked = true;
|
||||
CheckBoxTxBand_1.CheckState = CheckState.Checked;
|
||||
CheckBoxTxBand_1.Font = (Font) null;
|
||||
CheckBoxTxBand_1.Font = null;
|
||||
CheckBoxTxBand_1.Name = "CheckBoxTxBand_1";
|
||||
CheckBoxTxBand_1.UseVisualStyleBackColor = true;
|
||||
TextBoxRxBand_7.AccessibleDescription = (string) null;
|
||||
TextBoxRxBand_7.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_7, "TextBoxRxBand_7");
|
||||
TextBoxRxBand_7.BackgroundImage = (Image) null;
|
||||
TextBoxRxBand_7.Font = (Font) null;
|
||||
TextBoxRxBand_7.AccessibleDescription = null;
|
||||
TextBoxRxBand_7.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_7, "TextBoxRxBand_7");
|
||||
TextBoxRxBand_7.BackgroundImage = null;
|
||||
TextBoxRxBand_7.Font = null;
|
||||
TextBoxRxBand_7.Name = "TextBoxRxBand_7";
|
||||
TextBoxTxBand_7.AccessibleDescription = (string) null;
|
||||
TextBoxTxBand_7.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_7, "TextBoxTxBand_7");
|
||||
TextBoxTxBand_7.BackgroundImage = (Image) null;
|
||||
TextBoxTxBand_7.Font = (Font) null;
|
||||
TextBoxTxBand_7.AccessibleDescription = null;
|
||||
TextBoxTxBand_7.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_7, "TextBoxTxBand_7");
|
||||
TextBoxTxBand_7.BackgroundImage = null;
|
||||
TextBoxTxBand_7.Font = null;
|
||||
TextBoxTxBand_7.Name = "TextBoxTxBand_7";
|
||||
TextBoxRxBand_6.AccessibleDescription = (string) null;
|
||||
TextBoxRxBand_6.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_6, "TextBoxRxBand_6");
|
||||
TextBoxRxBand_6.BackgroundImage = (Image) null;
|
||||
TextBoxRxBand_6.Font = (Font) null;
|
||||
TextBoxRxBand_6.AccessibleDescription = null;
|
||||
TextBoxRxBand_6.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_6, "TextBoxRxBand_6");
|
||||
TextBoxRxBand_6.BackgroundImage = null;
|
||||
TextBoxRxBand_6.Font = null;
|
||||
TextBoxRxBand_6.Name = "TextBoxRxBand_6";
|
||||
TextBoxTxBand_6.AccessibleDescription = (string) null;
|
||||
TextBoxTxBand_6.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_6, "TextBoxTxBand_6");
|
||||
TextBoxTxBand_6.BackgroundImage = (Image) null;
|
||||
TextBoxTxBand_6.Font = (Font) null;
|
||||
TextBoxTxBand_6.AccessibleDescription = null;
|
||||
TextBoxTxBand_6.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_6, "TextBoxTxBand_6");
|
||||
TextBoxTxBand_6.BackgroundImage = null;
|
||||
TextBoxTxBand_6.Font = null;
|
||||
TextBoxTxBand_6.Name = "TextBoxTxBand_6";
|
||||
TextBoxRxBand_5.AccessibleDescription = (string) null;
|
||||
TextBoxRxBand_5.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_5, "TextBoxRxBand_5");
|
||||
TextBoxRxBand_5.BackgroundImage = (Image) null;
|
||||
TextBoxRxBand_5.Font = (Font) null;
|
||||
TextBoxRxBand_5.AccessibleDescription = null;
|
||||
TextBoxRxBand_5.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_5, "TextBoxRxBand_5");
|
||||
TextBoxRxBand_5.BackgroundImage = null;
|
||||
TextBoxRxBand_5.Font = null;
|
||||
TextBoxRxBand_5.Name = "TextBoxRxBand_5";
|
||||
TextBoxTxBand_5.AccessibleDescription = (string) null;
|
||||
TextBoxTxBand_5.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_5, "TextBoxTxBand_5");
|
||||
TextBoxTxBand_5.BackgroundImage = (Image) null;
|
||||
TextBoxTxBand_5.Font = (Font) null;
|
||||
TextBoxTxBand_5.AccessibleDescription = null;
|
||||
TextBoxTxBand_5.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_5, "TextBoxTxBand_5");
|
||||
TextBoxTxBand_5.BackgroundImage = null;
|
||||
TextBoxTxBand_5.Font = null;
|
||||
TextBoxTxBand_5.Name = "TextBoxTxBand_5";
|
||||
Label16.AccessibleDescription = (string) null;
|
||||
Label16.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label16, "Label16");
|
||||
Label16.Font = (Font) null;
|
||||
Label16.AccessibleDescription = null;
|
||||
Label16.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label16, "Label16");
|
||||
Label16.Font = null;
|
||||
Label16.Name = "Label16";
|
||||
Label9.AccessibleDescription = (string) null;
|
||||
Label9.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label9, "Label9");
|
||||
Label9.Font = (Font) null;
|
||||
Label9.AccessibleDescription = null;
|
||||
Label9.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label9, "Label9");
|
||||
Label9.Font = null;
|
||||
Label9.Name = "Label9";
|
||||
TextBoxRxBand_4.AccessibleDescription = (string) null;
|
||||
TextBoxRxBand_4.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_4, "TextBoxRxBand_4");
|
||||
TextBoxRxBand_4.BackgroundImage = (Image) null;
|
||||
TextBoxRxBand_4.Font = (Font) null;
|
||||
TextBoxRxBand_4.AccessibleDescription = null;
|
||||
TextBoxRxBand_4.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_4, "TextBoxRxBand_4");
|
||||
TextBoxRxBand_4.BackgroundImage = null;
|
||||
TextBoxRxBand_4.Font = null;
|
||||
TextBoxRxBand_4.Name = "TextBoxRxBand_4";
|
||||
TextBoxTxBand_4.AccessibleDescription = (string) null;
|
||||
TextBoxTxBand_4.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_4, "TextBoxTxBand_4");
|
||||
TextBoxTxBand_4.BackgroundImage = (Image) null;
|
||||
TextBoxTxBand_4.Font = (Font) null;
|
||||
TextBoxTxBand_4.AccessibleDescription = null;
|
||||
TextBoxTxBand_4.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_4, "TextBoxTxBand_4");
|
||||
TextBoxTxBand_4.BackgroundImage = null;
|
||||
TextBoxTxBand_4.Font = null;
|
||||
TextBoxTxBand_4.Name = "TextBoxTxBand_4";
|
||||
Label15.AccessibleDescription = (string) null;
|
||||
Label15.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label15, "Label15");
|
||||
Label15.Font = (Font) null;
|
||||
Label15.AccessibleDescription = null;
|
||||
Label15.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label15, "Label15");
|
||||
Label15.Font = null;
|
||||
Label15.Name = "Label15";
|
||||
Label8.AccessibleDescription = (string) null;
|
||||
Label8.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label8, "Label8");
|
||||
Label8.Font = (Font) null;
|
||||
Label8.AccessibleDescription = null;
|
||||
Label8.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label8, "Label8");
|
||||
Label8.Font = null;
|
||||
Label8.Name = "Label8";
|
||||
TextBoxRxBand_3.AccessibleDescription = (string) null;
|
||||
TextBoxRxBand_3.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_3, "TextBoxRxBand_3");
|
||||
TextBoxRxBand_3.BackgroundImage = (Image) null;
|
||||
TextBoxRxBand_3.Font = (Font) null;
|
||||
TextBoxRxBand_3.AccessibleDescription = null;
|
||||
TextBoxRxBand_3.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_3, "TextBoxRxBand_3");
|
||||
TextBoxRxBand_3.BackgroundImage = null;
|
||||
TextBoxRxBand_3.Font = null;
|
||||
TextBoxRxBand_3.Name = "TextBoxRxBand_3";
|
||||
TextBoxTxBand_3.AccessibleDescription = (string) null;
|
||||
TextBoxTxBand_3.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_3, "TextBoxTxBand_3");
|
||||
TextBoxTxBand_3.BackgroundImage = (Image) null;
|
||||
TextBoxTxBand_3.Font = (Font) null;
|
||||
TextBoxTxBand_3.AccessibleDescription = null;
|
||||
TextBoxTxBand_3.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_3, "TextBoxTxBand_3");
|
||||
TextBoxTxBand_3.BackgroundImage = null;
|
||||
TextBoxTxBand_3.Font = null;
|
||||
TextBoxTxBand_3.Name = "TextBoxTxBand_3";
|
||||
Label14.AccessibleDescription = (string) null;
|
||||
Label14.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label14, "Label14");
|
||||
Label14.Font = (Font) null;
|
||||
Label14.AccessibleDescription = null;
|
||||
Label14.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label14, "Label14");
|
||||
Label14.Font = null;
|
||||
Label14.Name = "Label14";
|
||||
Label7.AccessibleDescription = (string) null;
|
||||
Label7.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label7, "Label7");
|
||||
Label7.Font = (Font) null;
|
||||
Label7.AccessibleDescription = null;
|
||||
Label7.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label7, "Label7");
|
||||
Label7.Font = null;
|
||||
Label7.Name = "Label7";
|
||||
TextBoxRxBand_2.AccessibleDescription = (string) null;
|
||||
TextBoxRxBand_2.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_2, "TextBoxRxBand_2");
|
||||
TextBoxRxBand_2.BackgroundImage = (Image) null;
|
||||
TextBoxRxBand_2.Font = (Font) null;
|
||||
TextBoxRxBand_2.AccessibleDescription = null;
|
||||
TextBoxRxBand_2.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_2, "TextBoxRxBand_2");
|
||||
TextBoxRxBand_2.BackgroundImage = null;
|
||||
TextBoxRxBand_2.Font = null;
|
||||
TextBoxRxBand_2.Name = "TextBoxRxBand_2";
|
||||
TextBoxTxBand_2.AccessibleDescription = (string) null;
|
||||
TextBoxTxBand_2.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_2, "TextBoxTxBand_2");
|
||||
TextBoxTxBand_2.BackgroundImage = (Image) null;
|
||||
TextBoxTxBand_2.Font = (Font) null;
|
||||
TextBoxTxBand_2.AccessibleDescription = null;
|
||||
TextBoxTxBand_2.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_2, "TextBoxTxBand_2");
|
||||
TextBoxTxBand_2.BackgroundImage = null;
|
||||
TextBoxTxBand_2.Font = null;
|
||||
TextBoxTxBand_2.Name = "TextBoxTxBand_2";
|
||||
Label13.AccessibleDescription = (string) null;
|
||||
Label13.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label13, "Label13");
|
||||
Label13.Font = (Font) null;
|
||||
Label13.AccessibleDescription = null;
|
||||
Label13.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label13, "Label13");
|
||||
Label13.Font = null;
|
||||
Label13.Name = "Label13";
|
||||
Label6.AccessibleDescription = (string) null;
|
||||
Label6.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label6, "Label6");
|
||||
Label6.Font = (Font) null;
|
||||
Label6.AccessibleDescription = null;
|
||||
Label6.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label6, "Label6");
|
||||
Label6.Font = null;
|
||||
Label6.Name = "Label6";
|
||||
TextBoxRxBand_1.AccessibleDescription = (string) null;
|
||||
TextBoxRxBand_1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxRxBand_1, "TextBoxRxBand_1");
|
||||
TextBoxRxBand_1.BackgroundImage = (Image) null;
|
||||
TextBoxRxBand_1.Font = (Font) null;
|
||||
TextBoxRxBand_1.AccessibleDescription = null;
|
||||
TextBoxRxBand_1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxRxBand_1, "TextBoxRxBand_1");
|
||||
TextBoxRxBand_1.BackgroundImage = null;
|
||||
TextBoxRxBand_1.Font = null;
|
||||
TextBoxRxBand_1.Name = "TextBoxRxBand_1";
|
||||
Label12.AccessibleDescription = (string) null;
|
||||
Label12.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label12, "Label12");
|
||||
Label12.Font = (Font) null;
|
||||
Label12.AccessibleDescription = null;
|
||||
Label12.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label12, "Label12");
|
||||
Label12.Font = null;
|
||||
Label12.Name = "Label12";
|
||||
TextBoxTxBand_1.AccessibleDescription = (string) null;
|
||||
TextBoxTxBand_1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) TextBoxTxBand_1, "TextBoxTxBand_1");
|
||||
TextBoxTxBand_1.BackgroundImage = (Image) null;
|
||||
TextBoxTxBand_1.Font = (Font) null;
|
||||
TextBoxTxBand_1.AccessibleDescription = null;
|
||||
TextBoxTxBand_1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(TextBoxTxBand_1, "TextBoxTxBand_1");
|
||||
TextBoxTxBand_1.BackgroundImage = null;
|
||||
TextBoxTxBand_1.Font = null;
|
||||
TextBoxTxBand_1.Name = "TextBoxTxBand_1";
|
||||
Label5.AccessibleDescription = (string) null;
|
||||
Label5.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label5, "Label5");
|
||||
Label5.Font = (Font) null;
|
||||
Label5.AccessibleDescription = null;
|
||||
Label5.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label5, "Label5");
|
||||
Label5.Font = null;
|
||||
Label5.Name = "Label5";
|
||||
Label11.AccessibleDescription = (string) null;
|
||||
Label11.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label11, "Label11");
|
||||
Label11.Font = (Font) null;
|
||||
Label11.AccessibleDescription = null;
|
||||
Label11.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label11, "Label11");
|
||||
Label11.Font = null;
|
||||
Label11.Name = "Label11";
|
||||
Label4.AccessibleDescription = (string) null;
|
||||
Label4.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label4, "Label4");
|
||||
Label4.Font = (Font) null;
|
||||
Label4.AccessibleDescription = null;
|
||||
Label4.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label4, "Label4");
|
||||
Label4.Font = null;
|
||||
Label4.Name = "Label4";
|
||||
Label10.AccessibleDescription = (string) null;
|
||||
Label10.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label10, "Label10");
|
||||
Label10.Font = (Font) null;
|
||||
Label10.AccessibleDescription = null;
|
||||
Label10.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label10, "Label10");
|
||||
Label10.Font = null;
|
||||
Label10.Name = "Label10";
|
||||
Label3.AccessibleDescription = (string) null;
|
||||
Label3.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label3, "Label3");
|
||||
Label3.Font = (Font) null;
|
||||
Label3.AccessibleDescription = null;
|
||||
Label3.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label3, "Label3");
|
||||
Label3.Font = null;
|
||||
Label3.Name = "Label3";
|
||||
Label1.AccessibleDescription = (string) null;
|
||||
Label1.AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) Label1, "Label1");
|
||||
Label1.Font = (Font) null;
|
||||
Label1.AccessibleDescription = null;
|
||||
Label1.AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(Label1, "Label1");
|
||||
Label1.Font = null;
|
||||
Label1.Name = "Label1";
|
||||
AccessibleDescription = (string) null;
|
||||
AccessibleName = (string) null;
|
||||
componentResourceManager.ApplyResources((object) this, "$this");
|
||||
AccessibleDescription = null;
|
||||
AccessibleName = null;
|
||||
componentResourceManager.ApplyResources(this, "$this");
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = (Image) null;
|
||||
Controls.Add((Control) Button3);
|
||||
Controls.Add((Control) Button2);
|
||||
Controls.Add((Control) Button1);
|
||||
Controls.Add((Control) Panel1);
|
||||
Font = (Font) null;
|
||||
Icon = (Icon) null;
|
||||
BackgroundImage = null;
|
||||
Controls.Add(Button3);
|
||||
Controls.Add(Button2);
|
||||
Controls.Add(Button1);
|
||||
Controls.Add(Panel1);
|
||||
Font = null;
|
||||
Icon = null;
|
||||
Name = nameof (TypeMsgForm);
|
||||
Panel1.ResumeLayout(false);
|
||||
Panel1.PerformLayout();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -3552,82 +3552,82 @@ namespace HPG_68D
|
||||
public static bool F_MSCommStop = false;
|
||||
public static byte[] Tx_Connect = new byte[5]
|
||||
{
|
||||
(byte) 2,
|
||||
(byte) 35,
|
||||
(byte) 224,
|
||||
(byte) 251,
|
||||
(byte) 3
|
||||
2,
|
||||
35,
|
||||
224,
|
||||
251,
|
||||
3
|
||||
};
|
||||
public static byte[] Rx_Connect_OK = new byte[5]
|
||||
{
|
||||
(byte) 2,
|
||||
(byte) 65,
|
||||
(byte) 67,
|
||||
(byte) 75,
|
||||
(byte) 3
|
||||
2,
|
||||
65,
|
||||
67,
|
||||
75,
|
||||
3
|
||||
};
|
||||
public static byte[] Tx_GetBandMsg = new byte[5]
|
||||
{
|
||||
(byte) 2,
|
||||
(byte) 35,
|
||||
(byte) 225,
|
||||
(byte) 250,
|
||||
(byte) 3
|
||||
2,
|
||||
35,
|
||||
225,
|
||||
250,
|
||||
3
|
||||
};
|
||||
public static byte[] Rx_GetBandMsg = new byte[4]
|
||||
{
|
||||
(byte) 2,
|
||||
(byte) 35,
|
||||
(byte) 226,
|
||||
(byte) 249
|
||||
2,
|
||||
35,
|
||||
226,
|
||||
249
|
||||
};
|
||||
public static byte[] Rx_Password_OK = new byte[5]
|
||||
{
|
||||
(byte) 2,
|
||||
(byte) 65,
|
||||
(byte) 67,
|
||||
(byte) 75,
|
||||
(byte) 3
|
||||
2,
|
||||
65,
|
||||
67,
|
||||
75,
|
||||
3
|
||||
};
|
||||
public static byte[] Rx_Password_Error = new byte[5]
|
||||
{
|
||||
(byte) 2,
|
||||
(byte) 78,
|
||||
(byte) 65,
|
||||
(byte) 75,
|
||||
(byte) 3
|
||||
2,
|
||||
78,
|
||||
65,
|
||||
75,
|
||||
3
|
||||
};
|
||||
public static byte[] Tx_MSCommFinish = new byte[5]
|
||||
{
|
||||
(byte) 2,
|
||||
(byte) 35,
|
||||
(byte) 231,
|
||||
(byte) 244,
|
||||
(byte) 3
|
||||
2,
|
||||
35,
|
||||
231,
|
||||
244,
|
||||
3
|
||||
};
|
||||
public static byte[] Rx_MSCommFinish_OK = new byte[5]
|
||||
{
|
||||
(byte) 2,
|
||||
(byte) 65,
|
||||
(byte) 67,
|
||||
(byte) 75,
|
||||
(byte) 3
|
||||
2,
|
||||
65,
|
||||
67,
|
||||
75,
|
||||
3
|
||||
};
|
||||
public static byte[] Rx_CRC_DATA_OK = new byte[5]
|
||||
{
|
||||
(byte) 2,
|
||||
(byte) 65,
|
||||
(byte) 67,
|
||||
(byte) 75,
|
||||
(byte) 3
|
||||
2,
|
||||
65,
|
||||
67,
|
||||
75,
|
||||
3
|
||||
};
|
||||
public static byte[] Rx_CRC_DATA_Error = new byte[5]
|
||||
{
|
||||
(byte) 2,
|
||||
(byte) 78,
|
||||
(byte) 65,
|
||||
(byte) 75,
|
||||
(byte) 3
|
||||
2,
|
||||
78,
|
||||
65,
|
||||
75,
|
||||
3
|
||||
};
|
||||
public static string LastProgrammeTime;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user