|
|
using static System.Net.Mime.MediaTypeNames;
|
|
|
using System.Drawing.Printing;
|
|
|
using System.Windows.Forms;
|
|
|
using System.Xml.Linq;
|
|
|
|
|
|
namespace WinFormStarter;
|
|
|
|
|
|
partial class Form1
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// Required designer variable.
|
|
|
/// </summary>
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
/// <summary>
|
|
|
/// Clean up any resources being used.
|
|
|
/// </summary>
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
protected override void Dispose(bool disposing)
|
|
|
{
|
|
|
if (disposing && (components != null))
|
|
|
{
|
|
|
components.Dispose();
|
|
|
}
|
|
|
base.Dispose(disposing);
|
|
|
}
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
/// <summary>
|
|
|
/// Required method for Designer support - do not modify
|
|
|
/// the contents of this method with the code editor.
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
button1 = new Button();
|
|
|
groupBox10 = new GroupBox();
|
|
|
btnCmd113 = new Button();
|
|
|
lstRecvFrameInfo = new ListBox();
|
|
|
groupBox16 = new GroupBox();
|
|
|
btnCmd1021 = new Button();
|
|
|
btnCmd1011 = new Button();
|
|
|
btnCmd1009 = new Button();
|
|
|
btnCmd1005 = new Button();
|
|
|
btnCmd1001 = new Button();
|
|
|
btnCmd1003 = new Button();
|
|
|
btnCmd1007 = new Button();
|
|
|
groupBox15 = new GroupBox();
|
|
|
btnCmd421 = new Button();
|
|
|
btnCmd401 = new Button();
|
|
|
groupBox14 = new GroupBox();
|
|
|
btnCmd301 = new Button();
|
|
|
btnCmd303 = new Button();
|
|
|
groupBox13 = new GroupBox();
|
|
|
btnCmd221 = new Button();
|
|
|
btnCmd209 = new Button();
|
|
|
btnCmd205 = new Button();
|
|
|
btnCmd201 = new Button();
|
|
|
btnCmd203 = new Button();
|
|
|
btnCmd207 = new Button();
|
|
|
groupBox7 = new GroupBox();
|
|
|
btnCmd1401 = new Button();
|
|
|
btnCmd1406 = new Button();
|
|
|
groupBox6 = new GroupBox();
|
|
|
btnCmd1301 = new Button();
|
|
|
groupBox4 = new GroupBox();
|
|
|
btnCmd1105 = new Button();
|
|
|
btnCmd1101 = new Button();
|
|
|
btnCmd1103 = new Button();
|
|
|
btnCmd1107 = new Button();
|
|
|
groupBox9 = new GroupBox();
|
|
|
groupBox3 = new GroupBox();
|
|
|
lstBoxConnect = new ListBox();
|
|
|
label3 = new Label();
|
|
|
txtDestAddr = new TextBox();
|
|
|
label2 = new Label();
|
|
|
txtChargePort = new TextBox();
|
|
|
BtnCloseConnect = new Button();
|
|
|
BtnChrg01Connect = new Button();
|
|
|
groupBox1 = new GroupBox();
|
|
|
groupBox5 = new GroupBox();
|
|
|
lstSendFrameInfo = new ListBox();
|
|
|
groupBox8 = new GroupBox();
|
|
|
btnCmd7 = new Button();
|
|
|
btnCmd3 = new Button();
|
|
|
btnCmd1 = new Button();
|
|
|
btnCmd5 = new Button();
|
|
|
groupBox2 = new GroupBox();
|
|
|
groupBox10.SuspendLayout();
|
|
|
groupBox16.SuspendLayout();
|
|
|
groupBox15.SuspendLayout();
|
|
|
groupBox14.SuspendLayout();
|
|
|
groupBox13.SuspendLayout();
|
|
|
groupBox7.SuspendLayout();
|
|
|
groupBox6.SuspendLayout();
|
|
|
groupBox4.SuspendLayout();
|
|
|
groupBox9.SuspendLayout();
|
|
|
groupBox3.SuspendLayout();
|
|
|
groupBox5.SuspendLayout();
|
|
|
groupBox8.SuspendLayout();
|
|
|
SuspendLayout();
|
|
|
//
|
|
|
// button1
|
|
|
//
|
|
|
button1.Location = new Point(1085, 0);
|
|
|
button1.Margin = new Padding(2, 1, 2, 1);
|
|
|
button1.Name = "button1";
|
|
|
button1.Size = new Size(100, 28);
|
|
|
button1.TabIndex = 0;
|
|
|
button1.Text = "button1";
|
|
|
button1.UseVisualStyleBackColor = true;
|
|
|
button1.Click += button1_Click;
|
|
|
//
|
|
|
// groupBox10
|
|
|
//
|
|
|
groupBox10.Controls.Add(btnCmd113);
|
|
|
groupBox10.Location = new Point(589, 130);
|
|
|
groupBox10.Name = "groupBox10";
|
|
|
groupBox10.Size = new Size(136, 65);
|
|
|
groupBox10.TabIndex = 157;
|
|
|
groupBox10.TabStop = false;
|
|
|
groupBox10.Text = "答充电桩上报充电";
|
|
|
//
|
|
|
// btnCmd113
|
|
|
//
|
|
|
btnCmd113.Location = new Point(6, 17);
|
|
|
btnCmd113.Name = "btnCmd113";
|
|
|
btnCmd113.Size = new Size(115, 37);
|
|
|
btnCmd113.TabIndex = 136;
|
|
|
btnCmd113.Text = "113";
|
|
|
btnCmd113.UseVisualStyleBackColor = true;
|
|
|
btnCmd113.Click += btnCmd113_Click;
|
|
|
//
|
|
|
// lstRecvFrameInfo
|
|
|
//
|
|
|
lstRecvFrameInfo.Anchor = AnchorStyles.None;
|
|
|
lstRecvFrameInfo.FormattingEnabled = true;
|
|
|
lstRecvFrameInfo.ItemHeight = 20;
|
|
|
lstRecvFrameInfo.Location = new Point(2, 695);
|
|
|
lstRecvFrameInfo.Margin = new Padding(5);
|
|
|
lstRecvFrameInfo.Name = "lstRecvFrameInfo";
|
|
|
lstRecvFrameInfo.Size = new Size(1130, 124);
|
|
|
lstRecvFrameInfo.TabIndex = 145;
|
|
|
//
|
|
|
// groupBox16
|
|
|
//
|
|
|
groupBox16.Controls.Add(btnCmd1021);
|
|
|
groupBox16.Controls.Add(btnCmd1011);
|
|
|
groupBox16.Controls.Add(btnCmd1009);
|
|
|
groupBox16.Controls.Add(btnCmd1005);
|
|
|
groupBox16.Controls.Add(btnCmd1001);
|
|
|
groupBox16.Controls.Add(btnCmd1003);
|
|
|
groupBox16.Controls.Add(btnCmd1007);
|
|
|
groupBox16.Location = new Point(7, 307);
|
|
|
groupBox16.Name = "groupBox16";
|
|
|
groupBox16.Size = new Size(1007, 75);
|
|
|
groupBox16.TabIndex = 154;
|
|
|
groupBox16.TabStop = false;
|
|
|
groupBox16.Text = "升级命令";
|
|
|
//
|
|
|
// btnCmd1021
|
|
|
//
|
|
|
btnCmd1021.Location = new Point(870, 26);
|
|
|
btnCmd1021.Name = "btnCmd1021";
|
|
|
btnCmd1021.Size = new Size(115, 37);
|
|
|
btnCmd1021.TabIndex = 124;
|
|
|
btnCmd1021.Text = "1021";
|
|
|
btnCmd1021.UseVisualStyleBackColor = true;
|
|
|
btnCmd1021.Click += btnCmd1021_Click;
|
|
|
//
|
|
|
// btnCmd1011
|
|
|
//
|
|
|
btnCmd1011.Location = new Point(726, 26);
|
|
|
btnCmd1011.Name = "btnCmd1011";
|
|
|
btnCmd1011.Size = new Size(115, 37);
|
|
|
btnCmd1011.TabIndex = 123;
|
|
|
btnCmd1011.Text = "1011";
|
|
|
btnCmd1011.UseVisualStyleBackColor = true;
|
|
|
btnCmd1011.Click += btnCmd1011_Click;
|
|
|
//
|
|
|
// btnCmd1009
|
|
|
//
|
|
|
btnCmd1009.Location = new Point(582, 26);
|
|
|
btnCmd1009.Name = "btnCmd1009";
|
|
|
btnCmd1009.Size = new Size(115, 37);
|
|
|
btnCmd1009.TabIndex = 122;
|
|
|
btnCmd1009.Text = "1009";
|
|
|
btnCmd1009.UseVisualStyleBackColor = true;
|
|
|
btnCmd1009.Click += btnCmd1009_Click;
|
|
|
//
|
|
|
// btnCmd1005
|
|
|
//
|
|
|
btnCmd1005.Location = new Point(294, 26);
|
|
|
btnCmd1005.Name = "btnCmd1005";
|
|
|
btnCmd1005.Size = new Size(115, 37);
|
|
|
btnCmd1005.TabIndex = 120;
|
|
|
btnCmd1005.Text = "1005";
|
|
|
btnCmd1005.UseVisualStyleBackColor = true;
|
|
|
btnCmd1005.Click += btnCmd1005_Click;
|
|
|
//
|
|
|
// btnCmd1001
|
|
|
//
|
|
|
btnCmd1001.Location = new Point(6, 26);
|
|
|
btnCmd1001.Name = "btnCmd1001";
|
|
|
btnCmd1001.Size = new Size(115, 37);
|
|
|
btnCmd1001.TabIndex = 118;
|
|
|
btnCmd1001.Text = "1001";
|
|
|
btnCmd1001.UseVisualStyleBackColor = true;
|
|
|
btnCmd1001.Click += btnCmd1001_Click;
|
|
|
//
|
|
|
// btnCmd1003
|
|
|
//
|
|
|
btnCmd1003.Location = new Point(147, 26);
|
|
|
btnCmd1003.Name = "btnCmd1003";
|
|
|
btnCmd1003.Size = new Size(115, 37);
|
|
|
btnCmd1003.TabIndex = 119;
|
|
|
btnCmd1003.Text = "1003";
|
|
|
btnCmd1003.UseVisualStyleBackColor = true;
|
|
|
btnCmd1003.Click += btnCmd1003_Click;
|
|
|
//
|
|
|
// btnCmd1007
|
|
|
//
|
|
|
btnCmd1007.Location = new Point(438, 26);
|
|
|
btnCmd1007.Name = "btnCmd1007";
|
|
|
btnCmd1007.Size = new Size(115, 37);
|
|
|
btnCmd1007.TabIndex = 121;
|
|
|
btnCmd1007.Text = "1007";
|
|
|
btnCmd1007.UseVisualStyleBackColor = true;
|
|
|
btnCmd1007.Click += btnCmd1007_Click;
|
|
|
//
|
|
|
// groupBox15
|
|
|
//
|
|
|
groupBox15.Controls.Add(btnCmd421);
|
|
|
groupBox15.Controls.Add(btnCmd401);
|
|
|
groupBox15.Location = new Point(876, 130);
|
|
|
groupBox15.Name = "groupBox15";
|
|
|
groupBox15.Size = new Size(271, 75);
|
|
|
groupBox15.TabIndex = 155;
|
|
|
groupBox15.TabStop = false;
|
|
|
groupBox15.Text = "历史数据";
|
|
|
//
|
|
|
// btnCmd421
|
|
|
//
|
|
|
btnCmd421.Location = new Point(140, 26);
|
|
|
btnCmd421.Name = "btnCmd421";
|
|
|
btnCmd421.Size = new Size(115, 37);
|
|
|
btnCmd421.TabIndex = 123;
|
|
|
btnCmd421.Text = "421";
|
|
|
btnCmd421.UseVisualStyleBackColor = true;
|
|
|
btnCmd421.Click += btnCmd421_Click;
|
|
|
//
|
|
|
// btnCmd401
|
|
|
//
|
|
|
btnCmd401.Location = new Point(6, 26);
|
|
|
btnCmd401.Name = "btnCmd401";
|
|
|
btnCmd401.Size = new Size(115, 37);
|
|
|
btnCmd401.TabIndex = 122;
|
|
|
btnCmd401.Text = "401";
|
|
|
btnCmd401.UseVisualStyleBackColor = true;
|
|
|
btnCmd401.Click += btnCmd401_Click;
|
|
|
//
|
|
|
// groupBox14
|
|
|
//
|
|
|
groupBox14.Controls.Add(btnCmd301);
|
|
|
groupBox14.Controls.Add(btnCmd303);
|
|
|
groupBox14.Location = new Point(876, 226);
|
|
|
groupBox14.Name = "groupBox14";
|
|
|
groupBox14.Size = new Size(273, 75);
|
|
|
groupBox14.TabIndex = 156;
|
|
|
groupBox14.TabStop = false;
|
|
|
groupBox14.Text = "直流充电桩BMS信息数据(预留)";
|
|
|
//
|
|
|
// btnCmd301
|
|
|
//
|
|
|
btnCmd301.Location = new Point(6, 26);
|
|
|
btnCmd301.Name = "btnCmd301";
|
|
|
btnCmd301.Size = new Size(115, 37);
|
|
|
btnCmd301.TabIndex = 118;
|
|
|
btnCmd301.Text = "301";
|
|
|
btnCmd301.UseVisualStyleBackColor = true;
|
|
|
btnCmd301.Click += btnCmd301_Click;
|
|
|
//
|
|
|
// btnCmd303
|
|
|
//
|
|
|
btnCmd303.Location = new Point(140, 26);
|
|
|
btnCmd303.Name = "btnCmd303";
|
|
|
btnCmd303.Size = new Size(115, 37);
|
|
|
btnCmd303.TabIndex = 119;
|
|
|
btnCmd303.Text = "303";
|
|
|
btnCmd303.UseVisualStyleBackColor = true;
|
|
|
btnCmd303.Click += btnCmd303_Click;
|
|
|
//
|
|
|
// groupBox13
|
|
|
//
|
|
|
groupBox13.Controls.Add(btnCmd221);
|
|
|
groupBox13.Controls.Add(btnCmd209);
|
|
|
groupBox13.Controls.Add(btnCmd205);
|
|
|
groupBox13.Controls.Add(btnCmd201);
|
|
|
groupBox13.Controls.Add(btnCmd203);
|
|
|
groupBox13.Controls.Add(btnCmd207);
|
|
|
groupBox13.Location = new Point(7, 226);
|
|
|
groupBox13.Name = "groupBox13";
|
|
|
groupBox13.Size = new Size(858, 75);
|
|
|
groupBox13.TabIndex = 151;
|
|
|
groupBox13.TabStop = false;
|
|
|
groupBox13.Text = "充电信息数据";
|
|
|
//
|
|
|
// btnCmd221
|
|
|
//
|
|
|
btnCmd221.Location = new Point(147, 26);
|
|
|
btnCmd221.Name = "btnCmd221";
|
|
|
btnCmd221.Size = new Size(115, 37);
|
|
|
btnCmd221.TabIndex = 123;
|
|
|
btnCmd221.Text = "221";
|
|
|
btnCmd221.UseVisualStyleBackColor = true;
|
|
|
btnCmd221.Click += btnCmd221_Click;
|
|
|
//
|
|
|
// btnCmd209
|
|
|
//
|
|
|
btnCmd209.Location = new Point(726, 26);
|
|
|
btnCmd209.Name = "btnCmd209";
|
|
|
btnCmd209.Size = new Size(115, 37);
|
|
|
btnCmd209.TabIndex = 122;
|
|
|
btnCmd209.Text = "209";
|
|
|
btnCmd209.UseVisualStyleBackColor = true;
|
|
|
btnCmd209.Click += btnCmd209_Click;
|
|
|
//
|
|
|
// btnCmd205
|
|
|
//
|
|
|
btnCmd205.Location = new Point(438, 26);
|
|
|
btnCmd205.Name = "btnCmd205";
|
|
|
btnCmd205.Size = new Size(115, 37);
|
|
|
btnCmd205.TabIndex = 120;
|
|
|
btnCmd205.Text = "205";
|
|
|
btnCmd205.UseVisualStyleBackColor = true;
|
|
|
btnCmd205.Click += btnCmd205_Click;
|
|
|
//
|
|
|
// btnCmd201
|
|
|
//
|
|
|
btnCmd201.Location = new Point(6, 26);
|
|
|
btnCmd201.Name = "btnCmd201";
|
|
|
btnCmd201.Size = new Size(115, 37);
|
|
|
btnCmd201.TabIndex = 118;
|
|
|
btnCmd201.Text = "201";
|
|
|
btnCmd201.UseVisualStyleBackColor = true;
|
|
|
btnCmd201.Click += btnCmd201_Click;
|
|
|
//
|
|
|
// btnCmd203
|
|
|
//
|
|
|
btnCmd203.Location = new Point(294, 26);
|
|
|
btnCmd203.Name = "btnCmd203";
|
|
|
btnCmd203.Size = new Size(115, 37);
|
|
|
btnCmd203.TabIndex = 119;
|
|
|
btnCmd203.Text = "203";
|
|
|
btnCmd203.UseVisualStyleBackColor = true;
|
|
|
btnCmd203.Click += btnCmd203_Click;
|
|
|
//
|
|
|
// btnCmd207
|
|
|
//
|
|
|
btnCmd207.Location = new Point(582, 26);
|
|
|
btnCmd207.Name = "btnCmd207";
|
|
|
btnCmd207.Size = new Size(115, 37);
|
|
|
btnCmd207.TabIndex = 121;
|
|
|
btnCmd207.Text = "207";
|
|
|
btnCmd207.UseVisualStyleBackColor = true;
|
|
|
btnCmd207.Click += btnCmd207_Click;
|
|
|
//
|
|
|
// groupBox7
|
|
|
//
|
|
|
groupBox7.Controls.Add(btnCmd1401);
|
|
|
groupBox7.Controls.Add(btnCmd1406);
|
|
|
groupBox7.Location = new Point(733, 395);
|
|
|
groupBox7.Name = "groupBox7";
|
|
|
groupBox7.Size = new Size(281, 75);
|
|
|
groupBox7.TabIndex = 152;
|
|
|
groupBox7.TabStop = false;
|
|
|
groupBox7.Text = "FTP远程升级、FTP日志上传";
|
|
|
//
|
|
|
// btnCmd1401
|
|
|
//
|
|
|
btnCmd1401.Location = new Point(6, 26);
|
|
|
btnCmd1401.Name = "btnCmd1401";
|
|
|
btnCmd1401.Size = new Size(115, 37);
|
|
|
btnCmd1401.TabIndex = 123;
|
|
|
btnCmd1401.Text = "1401";
|
|
|
btnCmd1401.UseVisualStyleBackColor = true;
|
|
|
btnCmd1401.Click += btnCmd1401_Click;
|
|
|
//
|
|
|
// btnCmd1406
|
|
|
//
|
|
|
btnCmd1406.Location = new Point(144, 26);
|
|
|
btnCmd1406.Name = "btnCmd1406";
|
|
|
btnCmd1406.Size = new Size(115, 37);
|
|
|
btnCmd1406.TabIndex = 124;
|
|
|
btnCmd1406.Text = "1406";
|
|
|
btnCmd1406.UseVisualStyleBackColor = true;
|
|
|
btnCmd1406.Click += btnCmd1406_Click;
|
|
|
//
|
|
|
// groupBox6
|
|
|
//
|
|
|
groupBox6.Controls.Add(btnCmd1301);
|
|
|
groupBox6.Location = new Point(580, 395);
|
|
|
groupBox6.Name = "groupBox6";
|
|
|
groupBox6.Size = new Size(130, 75);
|
|
|
groupBox6.TabIndex = 153;
|
|
|
groupBox6.TabStop = false;
|
|
|
groupBox6.Text = "白名单报文";
|
|
|
//
|
|
|
// btnCmd1301
|
|
|
//
|
|
|
btnCmd1301.Location = new Point(6, 26);
|
|
|
btnCmd1301.Name = "btnCmd1301";
|
|
|
btnCmd1301.Size = new Size(115, 37);
|
|
|
btnCmd1301.TabIndex = 122;
|
|
|
btnCmd1301.Text = "1301";
|
|
|
btnCmd1301.UseVisualStyleBackColor = true;
|
|
|
btnCmd1301.Click += btnCmd1301_Click;
|
|
|
//
|
|
|
// groupBox4
|
|
|
//
|
|
|
groupBox4.Controls.Add(btnCmd1105);
|
|
|
groupBox4.Controls.Add(btnCmd1101);
|
|
|
groupBox4.Controls.Add(btnCmd1103);
|
|
|
groupBox4.Controls.Add(btnCmd1107);
|
|
|
groupBox4.Location = new Point(5, 395);
|
|
|
groupBox4.Name = "groupBox4";
|
|
|
groupBox4.Size = new Size(562, 75);
|
|
|
groupBox4.TabIndex = 150;
|
|
|
groupBox4.TabStop = false;
|
|
|
groupBox4.Text = "与计费策略相关的指令";
|
|
|
//
|
|
|
// btnCmd1105
|
|
|
//
|
|
|
btnCmd1105.Location = new Point(294, 26);
|
|
|
btnCmd1105.Name = "btnCmd1105";
|
|
|
btnCmd1105.Size = new Size(115, 37);
|
|
|
btnCmd1105.TabIndex = 120;
|
|
|
btnCmd1105.Text = "1105";
|
|
|
btnCmd1105.UseVisualStyleBackColor = true;
|
|
|
btnCmd1105.Click += btnCmd1105_Click;
|
|
|
//
|
|
|
// btnCmd1101
|
|
|
//
|
|
|
btnCmd1101.Location = new Point(6, 26);
|
|
|
btnCmd1101.Name = "btnCmd1101";
|
|
|
btnCmd1101.Size = new Size(115, 37);
|
|
|
btnCmd1101.TabIndex = 118;
|
|
|
btnCmd1101.Text = "1101";
|
|
|
btnCmd1101.UseVisualStyleBackColor = true;
|
|
|
btnCmd1101.Click += btnCmd1101_Click;
|
|
|
//
|
|
|
// btnCmd1103
|
|
|
//
|
|
|
btnCmd1103.Location = new Point(149, 26);
|
|
|
btnCmd1103.Name = "btnCmd1103";
|
|
|
btnCmd1103.Size = new Size(115, 37);
|
|
|
btnCmd1103.TabIndex = 119;
|
|
|
btnCmd1103.Text = "1103";
|
|
|
btnCmd1103.UseVisualStyleBackColor = true;
|
|
|
btnCmd1103.Click += btnCmd1103_Click;
|
|
|
//
|
|
|
// btnCmd1107
|
|
|
//
|
|
|
btnCmd1107.Location = new Point(439, 26);
|
|
|
btnCmd1107.Name = "btnCmd1107";
|
|
|
btnCmd1107.Size = new Size(115, 37);
|
|
|
btnCmd1107.TabIndex = 121;
|
|
|
btnCmd1107.Text = "1107";
|
|
|
btnCmd1107.UseVisualStyleBackColor = true;
|
|
|
btnCmd1107.Click += btnCmd1107_Click;
|
|
|
//
|
|
|
// groupBox9
|
|
|
//
|
|
|
groupBox9.Controls.Add(groupBox3);
|
|
|
groupBox9.Controls.Add(groupBox1);
|
|
|
groupBox9.Location = new Point(4, 26);
|
|
|
groupBox9.Name = "groupBox9";
|
|
|
groupBox9.Size = new Size(1161, 98);
|
|
|
groupBox9.TabIndex = 149;
|
|
|
groupBox9.TabStop = false;
|
|
|
groupBox9.Text = "站控发送指令";
|
|
|
//
|
|
|
// groupBox3
|
|
|
//
|
|
|
groupBox3.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
groupBox3.Controls.Add(lstBoxConnect);
|
|
|
groupBox3.Controls.Add(label3);
|
|
|
groupBox3.Controls.Add(txtDestAddr);
|
|
|
groupBox3.Controls.Add(label2);
|
|
|
groupBox3.Controls.Add(txtChargePort);
|
|
|
groupBox3.Controls.Add(BtnCloseConnect);
|
|
|
groupBox3.Controls.Add(BtnChrg01Connect);
|
|
|
groupBox3.Font = new Font("微软雅黑", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
groupBox3.Location = new Point(12, 27);
|
|
|
groupBox3.Margin = new Padding(5);
|
|
|
groupBox3.Name = "groupBox3";
|
|
|
groupBox3.Padding = new Padding(5);
|
|
|
groupBox3.Size = new Size(1041, 63);
|
|
|
groupBox3.TabIndex = 80;
|
|
|
groupBox3.TabStop = false;
|
|
|
groupBox3.Text = "充电机连接";
|
|
|
//
|
|
|
// lstBoxConnect
|
|
|
//
|
|
|
lstBoxConnect.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
lstBoxConnect.FormattingEnabled = true;
|
|
|
lstBoxConnect.ItemHeight = 20;
|
|
|
lstBoxConnect.Location = new Point(707, 24);
|
|
|
lstBoxConnect.Margin = new Padding(5);
|
|
|
lstBoxConnect.Name = "lstBoxConnect";
|
|
|
lstBoxConnect.Size = new Size(324, 24);
|
|
|
lstBoxConnect.TabIndex = 71;
|
|
|
//
|
|
|
// label3
|
|
|
//
|
|
|
label3.AutoSize = true;
|
|
|
label3.Location = new Point(150, 33);
|
|
|
label3.Name = "label3";
|
|
|
label3.Size = new Size(94, 20);
|
|
|
label3.TabIndex = 20;
|
|
|
label3.Text = "DestAddr:";
|
|
|
//
|
|
|
// txtDestAddr
|
|
|
//
|
|
|
txtDestAddr.Location = new Point(246, 24);
|
|
|
txtDestAddr.Name = "txtDestAddr";
|
|
|
txtDestAddr.Size = new Size(130, 27);
|
|
|
txtDestAddr.TabIndex = 19;
|
|
|
txtDestAddr.Text = "1";
|
|
|
//
|
|
|
// label2
|
|
|
//
|
|
|
label2.AutoSize = true;
|
|
|
label2.Location = new Point(13, 31);
|
|
|
label2.Name = "label2";
|
|
|
label2.Size = new Size(55, 20);
|
|
|
label2.TabIndex = 18;
|
|
|
label2.Text = "Port:";
|
|
|
//
|
|
|
// txtChargePort
|
|
|
//
|
|
|
txtChargePort.Location = new Point(74, 27);
|
|
|
txtChargePort.Name = "txtChargePort";
|
|
|
txtChargePort.Size = new Size(72, 27);
|
|
|
txtChargePort.TabIndex = 17;
|
|
|
txtChargePort.Text = "502";
|
|
|
//
|
|
|
// BtnCloseConnect
|
|
|
//
|
|
|
BtnCloseConnect.Location = new Point(528, 16);
|
|
|
BtnCloseConnect.Margin = new Padding(5);
|
|
|
BtnCloseConnect.Name = "BtnCloseConnect";
|
|
|
BtnCloseConnect.Size = new Size(130, 37);
|
|
|
BtnCloseConnect.TabIndex = 14;
|
|
|
BtnCloseConnect.Text = "关闭服务";
|
|
|
BtnCloseConnect.UseVisualStyleBackColor = true;
|
|
|
BtnCloseConnect.Click += BtnCloseConnect_Click;
|
|
|
//
|
|
|
// BtnChrg01Connect
|
|
|
//
|
|
|
BtnChrg01Connect.Location = new Point(384, 16);
|
|
|
BtnChrg01Connect.Margin = new Padding(5);
|
|
|
BtnChrg01Connect.Name = "BtnChrg01Connect";
|
|
|
BtnChrg01Connect.Size = new Size(130, 37);
|
|
|
BtnChrg01Connect.TabIndex = 8;
|
|
|
BtnChrg01Connect.Text = "启动服务";
|
|
|
BtnChrg01Connect.UseVisualStyleBackColor = true;
|
|
|
BtnChrg01Connect.Click += BtnChrg01Connect_Click;
|
|
|
//
|
|
|
// groupBox1
|
|
|
//
|
|
|
groupBox1.Font = new Font("微软雅黑", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
groupBox1.Location = new Point(879, 33);
|
|
|
groupBox1.Margin = new Padding(5);
|
|
|
groupBox1.Name = "groupBox1";
|
|
|
groupBox1.Padding = new Padding(5);
|
|
|
groupBox1.Size = new Size(274, 57);
|
|
|
groupBox1.TabIndex = 79;
|
|
|
groupBox1.TabStop = false;
|
|
|
groupBox1.Text = "充电机连接状态";
|
|
|
//
|
|
|
// groupBox5
|
|
|
//
|
|
|
groupBox5.Controls.Add(lstSendFrameInfo);
|
|
|
groupBox5.Font = new Font("微软雅黑", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
groupBox5.Location = new Point(2, 491);
|
|
|
groupBox5.Margin = new Padding(5);
|
|
|
groupBox5.Name = "groupBox5";
|
|
|
groupBox5.Padding = new Padding(5);
|
|
|
groupBox5.Size = new Size(1154, 172);
|
|
|
groupBox5.TabIndex = 147;
|
|
|
groupBox5.TabStop = false;
|
|
|
groupBox5.Text = "发送数据帧信息";
|
|
|
//
|
|
|
// lstSendFrameInfo
|
|
|
//
|
|
|
lstSendFrameInfo.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
lstSendFrameInfo.FormattingEnabled = true;
|
|
|
lstSendFrameInfo.ItemHeight = 20;
|
|
|
lstSendFrameInfo.Location = new Point(14, 30);
|
|
|
lstSendFrameInfo.Margin = new Padding(5);
|
|
|
lstSendFrameInfo.Name = "lstSendFrameInfo";
|
|
|
lstSendFrameInfo.Size = new Size(1115, 124);
|
|
|
lstSendFrameInfo.TabIndex = 73;
|
|
|
//
|
|
|
// groupBox8
|
|
|
//
|
|
|
groupBox8.Controls.Add(btnCmd7);
|
|
|
groupBox8.Controls.Add(btnCmd3);
|
|
|
groupBox8.Controls.Add(btnCmd1);
|
|
|
groupBox8.Controls.Add(btnCmd5);
|
|
|
groupBox8.Location = new Point(5, 130);
|
|
|
groupBox8.Name = "groupBox8";
|
|
|
groupBox8.Size = new Size(555, 70);
|
|
|
groupBox8.TabIndex = 148;
|
|
|
groupBox8.TabStop = false;
|
|
|
groupBox8.Text = "设置/查询工作参数和命令";
|
|
|
//
|
|
|
// btnCmd7
|
|
|
//
|
|
|
btnCmd7.Location = new Point(440, 19);
|
|
|
btnCmd7.Name = "btnCmd7";
|
|
|
btnCmd7.Size = new Size(115, 37);
|
|
|
btnCmd7.TabIndex = 123;
|
|
|
btnCmd7.Text = "7";
|
|
|
btnCmd7.UseVisualStyleBackColor = true;
|
|
|
btnCmd7.Click += btnCmd7_Click;
|
|
|
//
|
|
|
// btnCmd3
|
|
|
//
|
|
|
btnCmd3.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
btnCmd3.Location = new Point(149, 17);
|
|
|
btnCmd3.Margin = new Padding(5);
|
|
|
btnCmd3.Name = "btnCmd3";
|
|
|
btnCmd3.Size = new Size(115, 37);
|
|
|
btnCmd3.TabIndex = 91;
|
|
|
btnCmd3.Text = "3";
|
|
|
btnCmd3.UseVisualStyleBackColor = true;
|
|
|
btnCmd3.Click += btnCmd3_Click;
|
|
|
//
|
|
|
// btnCmd1
|
|
|
//
|
|
|
btnCmd1.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
btnCmd1.Location = new Point(8, 17);
|
|
|
btnCmd1.Margin = new Padding(5);
|
|
|
btnCmd1.Name = "btnCmd1";
|
|
|
btnCmd1.Size = new Size(115, 37);
|
|
|
btnCmd1.TabIndex = 90;
|
|
|
btnCmd1.Text = "1";
|
|
|
btnCmd1.UseVisualStyleBackColor = true;
|
|
|
btnCmd1.Click += btnCmd1_Click;
|
|
|
//
|
|
|
// btnCmd5
|
|
|
//
|
|
|
btnCmd5.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
btnCmd5.Location = new Point(296, 17);
|
|
|
btnCmd5.Margin = new Padding(5);
|
|
|
btnCmd5.Name = "btnCmd5";
|
|
|
btnCmd5.Size = new Size(115, 37);
|
|
|
btnCmd5.TabIndex = 92;
|
|
|
btnCmd5.Text = "5";
|
|
|
btnCmd5.UseVisualStyleBackColor = true;
|
|
|
btnCmd5.Click += btnCmd5_Click;
|
|
|
//
|
|
|
// groupBox2
|
|
|
//
|
|
|
groupBox2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
groupBox2.Font = new Font("微软雅黑", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
groupBox2.Location = new Point(2, 767);
|
|
|
groupBox2.Margin = new Padding(5);
|
|
|
groupBox2.Name = "groupBox2";
|
|
|
groupBox2.Padding = new Padding(5);
|
|
|
groupBox2.Size = new Size(1545, 0);
|
|
|
groupBox2.TabIndex = 146;
|
|
|
groupBox2.TabStop = false;
|
|
|
groupBox2.Text = "接收数据帧信息";
|
|
|
//
|
|
|
// Form1
|
|
|
//
|
|
|
AutoScaleDimensions = new SizeF(9F, 20F);
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
ClientSize = new Size(1186, 863);
|
|
|
Controls.Add(groupBox10);
|
|
|
Controls.Add(lstRecvFrameInfo);
|
|
|
Controls.Add(groupBox16);
|
|
|
Controls.Add(groupBox15);
|
|
|
Controls.Add(groupBox14);
|
|
|
Controls.Add(groupBox13);
|
|
|
Controls.Add(groupBox7);
|
|
|
Controls.Add(groupBox6);
|
|
|
Controls.Add(groupBox4);
|
|
|
Controls.Add(groupBox9);
|
|
|
Controls.Add(groupBox5);
|
|
|
Controls.Add(groupBox8);
|
|
|
Controls.Add(groupBox2);
|
|
|
Controls.Add(button1);
|
|
|
Margin = new Padding(2, 1, 2, 1);
|
|
|
Name = "Form1";
|
|
|
Text = "换电平台";
|
|
|
Load += FrmChargeResult_Load;
|
|
|
groupBox10.ResumeLayout(false);
|
|
|
groupBox16.ResumeLayout(false);
|
|
|
groupBox15.ResumeLayout(false);
|
|
|
groupBox14.ResumeLayout(false);
|
|
|
groupBox13.ResumeLayout(false);
|
|
|
groupBox7.ResumeLayout(false);
|
|
|
groupBox6.ResumeLayout(false);
|
|
|
groupBox4.ResumeLayout(false);
|
|
|
groupBox9.ResumeLayout(false);
|
|
|
groupBox3.ResumeLayout(false);
|
|
|
groupBox3.PerformLayout();
|
|
|
groupBox5.ResumeLayout(false);
|
|
|
groupBox8.ResumeLayout(false);
|
|
|
ResumeLayout(false);
|
|
|
}
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
private Button button1;
|
|
|
private GroupBox groupBox10;
|
|
|
private Button btnCmd113;
|
|
|
private ListBox lstRecvFrameInfo;
|
|
|
private GroupBox groupBox16;
|
|
|
private Button btnCmd1021;
|
|
|
private Button btnCmd1011;
|
|
|
private Button btnCmd1009;
|
|
|
private Button btnCmd1005;
|
|
|
private Button btnCmd1001;
|
|
|
private Button btnCmd1003;
|
|
|
private Button btnCmd1007;
|
|
|
private GroupBox groupBox15;
|
|
|
private Button btnCmd421;
|
|
|
private Button btnCmd401;
|
|
|
private GroupBox groupBox14;
|
|
|
private Button btnCmd301;
|
|
|
private Button btnCmd303;
|
|
|
private GroupBox groupBox13;
|
|
|
private Button btnCmd221;
|
|
|
private Button btnCmd209;
|
|
|
private Button btnCmd205;
|
|
|
private Button btnCmd201;
|
|
|
private Button btnCmd203;
|
|
|
private Button btnCmd207;
|
|
|
private GroupBox groupBox7;
|
|
|
private Button btnCmd1401;
|
|
|
private Button btnCmd1406;
|
|
|
private GroupBox groupBox6;
|
|
|
private Button btnCmd1301;
|
|
|
private GroupBox groupBox4;
|
|
|
private Button btnCmd1105;
|
|
|
private Button btnCmd1101;
|
|
|
private Button btnCmd1103;
|
|
|
private Button btnCmd1107;
|
|
|
private GroupBox groupBox9;
|
|
|
private GroupBox groupBox3;
|
|
|
private Label label3;
|
|
|
private TextBox txtDestAddr;
|
|
|
private Label label2;
|
|
|
private TextBox txtChargePort;
|
|
|
private Button BtnCloseConnect;
|
|
|
private Button BtnChrg01Connect;
|
|
|
private GroupBox groupBox1;
|
|
|
private ListBox lstBoxConnect;
|
|
|
private GroupBox groupBox5;
|
|
|
private ListBox lstSendFrameInfo;
|
|
|
private GroupBox groupBox8;
|
|
|
private Button btnCmd7;
|
|
|
private Button btnCmd3;
|
|
|
private Button btnCmd1;
|
|
|
private Button btnCmd5;
|
|
|
private GroupBox groupBox2;
|
|
|
}
|