From e9a89e627b5dae9e7d7615492379d13015c534c7 Mon Sep 17 00:00:00 2001 From: CZ Date: Wed, 20 Nov 2024 10:27:27 +0800 Subject: [PATCH] =?UTF-8?q?plc=E7=8E=B0=E5=9C=BA=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Common/lib/HybirdFrameworkCore.dll | Bin 64512 -> 64512 bytes Common/lib/HybirdFrameworkDriver.dll | Bin 38912 -> 39424 bytes Service/PlcAfrica/Client/PlcAfricaClient.cs | 49 + Service/PlcAfrica/Client/PlcAfricaMgr.cs | 40 + Service/PlcAfrica/Msg/PlcAfricaMsg.cs | 591 ++++ WebStarter/Program.cs | 3 +- WinFormStarter/FrmAfrica.Designer.cs | 3305 +++++++++++++++++++ WinFormStarter/FrmAfrica.cs | 481 +++ WinFormStarter/FrmAfrica.resx | 60 + 9 files changed, 4528 insertions(+), 1 deletion(-) create mode 100644 Service/PlcAfrica/Client/PlcAfricaClient.cs create mode 100644 Service/PlcAfrica/Client/PlcAfricaMgr.cs create mode 100644 Service/PlcAfrica/Msg/PlcAfricaMsg.cs create mode 100644 WinFormStarter/FrmAfrica.Designer.cs create mode 100644 WinFormStarter/FrmAfrica.cs create mode 100644 WinFormStarter/FrmAfrica.resx diff --git a/Common/lib/HybirdFrameworkCore.dll b/Common/lib/HybirdFrameworkCore.dll index c7df63b6e16db099b7be756e954dc61183862aab..5bb68e3016818be5c1854d59ac755f63bd613df2 100644 GIT binary patch delta 238 zcmZqp!QAkJc|r$EnOxESjXgVV2*lWgZwugC=DHv*jTnb-n}$WOSTL zS=lG$F-fIMc3bC$7n6Iwc!@B!PsNiHHyc1p+97G$ABBY>5OaBH&2` zqv4^3gIKsIiH2Gc1)E$1ir3_VRC=|Dpn%Yl6tu+$w^pjPQoU=fa{>X|@4NT=?#Va* ztbeVw_g;JLz0Wy&XXdit}f`CWEZ&r8&F}^l@IQ2+A+-;*$r?9 zDLMfDBsV4d99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IHaD?8Y9Lv6u-s}OX}VbMHjp$uT(*}ry&Mx1&V<4ZRVcnNWb#*2*__I% zGy};{&T@ncL=2hqRV=SkXk1&-syN$NKBR}X@@%&zLAo=-ay83QmRofze$Tk=5yonj zKjtFhUdD1OW0#HE+igpNd}j~KU?)u~V>x3LW0S6TkhNS#C#Tm*nkL2_j9rX9jNsyE zE}sA8OsW{07SFnjcO{nUVNDNfz()~GJ{pu%mdkzQU(RwB%T+A5u}`_5GlVz* zryCPfJdI@+{>6mb4oQUNh>DhY)5wgA7P}Hq%9P1Utx~6~R$7#&lyk~K>p82irQz!Y z{$3x(Ys+rRR^Rjd$^kGea1b%zK8kq4dJ0k3&k4MTaz`Bb6ox)T{KoY;;)|xQ5$7h8 z=ewbA5eEcG(?3Fe0_pV#dZ{=4*-UQ8>L3Tl{gTuk{BJ*Lye`SMzxic{)wx+386`>pf1=Tx+sq zA{pyq*5t#Fo4{Twe`%zbxt_&L}1o|Pyi z^805u-ip#=!QYkZ&t0}}@Is27{<_!k)`hNd0Dmp5Klj)c;S~)%{r&KdlkmZM@iNbN z=GrbMl4!x7zRFdt7n``o7R4JddisZ0#JbCyejPW-j^+CzwAd=}%IeB4CYye!dzx#% zJf2Fom{phMXPfOfJK`nNrDvz@SDc^A3%BE~+LaaW#(SzOb&cBbo1aK5@>A9Z!A2i> zWI~ajx{wJQwe_=av+CC2$o?_=7xwYeUrnvzEi3-nMMuXimDY~n{B26d!G&95J7%ny zD|KW=uM_U0A0MClUR&Py)pPf^btgXi>yB0T_gG|?MbQ?l%M$NtE$c3bv)Y5}XPLhA zM8DQPU7sz!)B+n;iI|S<8-6W^ONY-Z9X6-7rna_dPIdLL+Oq1}d2>t4Y6=VI3@e#i zR5Q1zsJLKwNuk#KPDY#-C%dE|4^QegQX38L?i diff --git a/Service/PlcAfrica/Client/PlcAfricaClient.cs b/Service/PlcAfrica/Client/PlcAfricaClient.cs new file mode 100644 index 0000000..4a61055 --- /dev/null +++ b/Service/PlcAfrica/Client/PlcAfricaClient.cs @@ -0,0 +1,49 @@ +using HybirdFrameworkCore.Autofac.Attribute; +using HybirdFrameworkCore.Const; +using HybirdFrameworkDriver.ModbusTcpMaster; +using Minio.DataModel; +using Service.PlcAfrica.Msg; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using static HybirdFrameworkCore.Const.EndingConst; + +namespace Service.PlcAfrica.Client +{ + [Scope] + public class PlcAfricaClient : ModbusTcpMaster + { + public PlcAfricaClient() + { + ReadAction = BatchRead; + Ip = "192.168.3.200"; + Port = 502; + Duration = 1000; + AutoReConnect = true; + ByteSeq = EndingConst.ByteSeq.BA; + WordSeq = EndingConst.WordSeq.DC; + } + + private bool BatchRead(ModbusTcpMaster master) + { + bool resul = Connected; + + //0x03 + var bytes01 = master.Read("x=3;7000", 2500).Content; + if (bytes01 != null) + { + PlcAfricaMgr.DataValidityTime = DateTime.Now; + + ModbusDecoder.Decode(bytes01, PlcAfricaMgr.PlcAfricaMsg, + EndingConst.ByteSeq.AB, + EndingConst.WordSeq.DC); + + var vv= PlcAfricaMgr.PlcAfricaMsg.PowerChangeMode.Value; + } + + return resul; + } + } +} diff --git a/Service/PlcAfrica/Client/PlcAfricaMgr.cs b/Service/PlcAfrica/Client/PlcAfricaMgr.cs new file mode 100644 index 0000000..7cab51b --- /dev/null +++ b/Service/PlcAfrica/Client/PlcAfricaMgr.cs @@ -0,0 +1,40 @@ +using Autofac; +using HybirdFrameworkCore.Autofac; +using Service.PlcAfrica.Msg; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Service.PlcAfrica.Client +{ + public class PlcAfricaMgr + { + public static PlcAfricaClient? PlcAfricaClient; + public static PlcAfricaMsg PlcAfricaMsg = new PlcAfricaMsg(); + + /// + /// 数据有效时间。单位秒 + /// + static int DataTimeSeconds = 20; + + + + + /// + /// 数据刷新时间 + /// + public static DateTime DataValidityTime = DateTime.Now; + + public static void PlcInit() + { + if (PlcAfricaClient == null) + { + PlcAfricaClient = AppInfo.Container.Resolve(); + } + + Task.Run(() => PlcAfricaClient.Connect()); + } + } +} diff --git a/Service/PlcAfrica/Msg/PlcAfricaMsg.cs b/Service/PlcAfrica/Msg/PlcAfricaMsg.cs new file mode 100644 index 0000000..5754597 --- /dev/null +++ b/Service/PlcAfrica/Msg/PlcAfricaMsg.cs @@ -0,0 +1,591 @@ +using HybirdFrameworkDriver.ModbusTcpMaster; + +namespace Service.PlcAfrica.Msg; + +public class PlcAfricaMsg +{ + /// + /// 当前换电模式 + /// 0-无效 + /// 1-手动模式 + /// 2-自动模式 + /// 3-本地模式 + /// + public ModbusProperty PowerChangeMode {get;set;}= new(47000); + + + /// + /// PLC/换电机器人状态 + /// 0-启动/未就绪 + /// 1-就绪 + /// 2-工作中 + /// 3-自动/单步操作完成 + /// + public ModbusProperty PowerChangeModeRobot {get;set;}= new(47001); + + /// + /// 暂停状态 + /// 0位-暂停(true为暂停),1位-急停状态(true为急停); + /// + public ModbusProperty SuspendedState {get;set;}= new(47002,start:0,length:2,type:ModbusDataType.Bit); + + /// + /// 交通灯灯光功能 + /// 0-不亮,1-亮红灯,2-绿灯,3-绿灯闪 + /// + public ModbusProperty TrafficLightFunction {get;set;}= new(47003); + + /// + /// 被换车辆车型的标定 + /// + public ModbusProperty ModelCalibration {get;set;}= new(47004); + + /// + /// 放电池仓位代码 + /// 0-无 + /// 1-1仓 + /// 2-2仓 + /// 3-3仓 + /// “-”“ + /// 110-维修仓1(预留) + /// 119-消防仓 + /// + public ModbusProperty BatteryLocationCodeIn {get;set;}= new(47008); + + /// + /// 取电池仓位代码 + /// + public ModbusProperty BatteryLocationCodeUp {get;set;}= new(47009); + + /// + /// 站控操作指令 + /// + public ModbusProperty OperationInstruction {get;set;}= new(47010); + + /// + /// 换电模式切换 + /// 0,无 + /// 1,切换至手动模式指令 + /// 2,切换至自动模式指令 + /// 3,切换至单步模式指令 + /// + public ModbusProperty ChangePowerMode {get;set;}= new(47011); + + /// + /// 站控指令反馈 + /// + public ModbusProperty StationCommandFeedback {get;set;}= new(47012); + + /// + /// 车上亏电电池高度 + /// + public ModbusProperty BatteryHeight {get;set;}= new(47011); + + /// + /// 车上亏电电池长度 + /// + public ModbusProperty BatteryLength {get;set;}= new(47012); + + /// + /// 车上亏电电池宽度 + /// + public ModbusProperty BatteryWidth {get;set;}= new(47013); + + /// + /// 备用 + /// + public ModbusProperty standby01 {get;set;}= new(47050,start:0,length:1,type:ModbusDataType.Bit); + + /// + /// 备用 + /// + public ModbusProperty standby02 {get;set;}= new(47050,start:2,length:1,type:ModbusDataType.Bit); + + /// + /// 备用 + /// + public ModbusProperty standby03 {get;set;}= new(47050,start:3,length:1,type:ModbusDataType.Bit); + + /// + /// 备用 + /// + public ModbusProperty standby04 {get;set;}= new(47050,start:4,length:1,type:ModbusDataType.Bit); + + /// + /// 充电机散热风扇1 0-关闭排风扇,1-开启排风 + /// + public ModbusProperty ChargerCoolingFan1 {get;set;}= new(47050,start:5,length:1,type:ModbusDataType.Bit); + + /// + /// 充电机散热风扇2 + /// + public ModbusProperty ChargerCoolingFan2 {get;set;}= new(47050,start:6,length:1,type:ModbusDataType.Bit); + + /// + /// 充电机散热风扇3 + /// + public ModbusProperty ChargerCoolingFan3 {get;set;}= new(47050,start:7,length:1,type:ModbusDataType.Bit); + + /// + /// 充电机散热风扇4 + /// + public ModbusProperty ChargerCoolingFan4 {get;set;}= new(47050,start:8,length:1,type:ModbusDataType.Bit); + + /// + /// 备用 + /// + public ModbusProperty standby05 {get;set;}= new(47050,start:9,length:1,type:ModbusDataType.Bit); + + /// + /// 备用 + /// + public ModbusProperty standby06 {get;set;}= new(47050,start:10,length:1,type:ModbusDataType.Bit); + + /// + /// 备用 + /// + public ModbusProperty standby07 {get;set;}= new(47050,start:11,length:1,type:ModbusDataType.Bit); + + /// + /// 备用 + /// + public ModbusProperty standby08 {get;set;}= new(47050,start:12,length:1,type:ModbusDataType.Bit); + + /// + /// PLC向站控发送关机指令 0-无动作 + /// 1-断电关机 + /// + public ModbusProperty SendShutdown {get;set;}= new(48002); + + /// + /// 当前自动流程动作代码 + /// + public ModbusProperty ActionCode {get;set;}= new(48000); + + /// + /// 电池定位伺服位移 + /// + public ModbusProperty BatteryPositioning {get;set;}= new(49016); + + /// + /// y位移 + /// + public ModbusProperty YDisplacement {get;set;}= new(49020); + + /// + /// x位移 + /// + public ModbusProperty XDisplacement {get;set;}= new(49024); + + /// + /// z位移 + /// + public ModbusProperty ZDisplacement {get;set;}= new(49028); + + /// + /// 当前生效故障码1 + /// + public ModbusProperty FaultCode1 {get;set;}= new(49032); + + /// + /// 当前生效故障码2 + /// + public ModbusProperty FaultCode2 {get;set;}= new(49033); + + /// + /// 当前生效故障码3 + /// + public ModbusProperty FaultCode3 {get;set;}= new(49034); + + /// + /// 当前生效故障码4 + /// + public ModbusProperty FaultCode4 {get;set;}= new(49035); + + /// + /// 当前生效故障码5 + /// + public ModbusProperty FaultCode5 {get;set;}= new(49036); + + /// + /// 当前生效故障码6 + /// + public ModbusProperty FaultCode6 {get;set;}= new(49037); + + /// + /// 当前生效故障码7 + /// + public ModbusProperty FaultCode7 {get;set;}= new(49038); + + /// + /// 当前生效故障码8 + /// + public ModbusProperty FaultCode8 {get;set;}= new(49039); + + /// + /// 当前生效故障码9 + /// + public ModbusProperty FaultCode9 {get;set;}= new(49040); + + /// + /// 当前生效故障码10 + /// + public ModbusProperty FaultCode10 {get;set;}= new(49041); + + /// + /// 转锁传感器1 + /// + public ModbusProperty TwistlockSensor1 {get;set;}= new(49042,start:0,length:1,type:ModbusDataType.Bit); + + /// + /// 转锁传感器2 + /// + public ModbusProperty TwistlockSensor2 {get;set;}= new(49042,start:1,length:1,type:ModbusDataType.Bit); + + /// + /// 吊具落座传感器1 + /// + public ModbusProperty SpreaderSeatSensor1 {get;set;}= new(49042,start:2,length:1,type:ModbusDataType.Bit); + + /// + /// 吊具落座传感器2 + /// + public ModbusProperty SpreaderSeatSensor2 {get;set;}= new(49042,start:3,length:1,type:ModbusDataType.Bit); + + /// + /// 光栅状态 + /// + public ModbusProperty RasterState {get;set;}= new(49042,start:4,length:1,type:ModbusDataType.Bit); + + /// + /// 车辆到位传感器 + /// + public ModbusProperty VehiclePositionSensor {get;set;}= new(49042,start:5,length:1,type:ModbusDataType.Bit); + + /// + /// 转锁传感器3 + /// + public ModbusProperty TwistlockSensor3 {get;set;}= new(49042,start:6,length:1,type:ModbusDataType.Bit); + + /// + /// 转锁传感器4 + /// + public ModbusProperty TwistlockSensor4 {get;set;}= new(49042,start:7,length:1,type:ModbusDataType.Bit); + + /// + /// 吊具落座传感器3 + /// + public ModbusProperty SpreaderSeatSensor3 {get;set;}= new(49042,start:8,length:1,type:ModbusDataType.Bit); + + /// + /// 吊具落座传感器4 + /// + public ModbusProperty SpreaderSeatSensor4 {get;set;}= new(49042,start:9,length:1,type:ModbusDataType.Bit); + + /// + /// 吊具电池有无 + /// + public ModbusProperty SlingDatteryAvailable {get;set;}= new(49042,start:10,length:1,type:ModbusDataType.Bit); + + /// + /// 仓门全部关闭 + /// + public ModbusProperty AllWarehouseDoorsClosed {get;set;}= new(49042,start:11,length:1,type:ModbusDataType.Bit); + + /// + /// 仓门全部打开 + /// + public ModbusProperty AllBarnDoorsOpen {get;set;}= new(49042,start:12,length:1,type:ModbusDataType.Bit); + + /// + /// 预留 + /// + public ModbusProperty reserve01 {get;set;}= new(49042,start:13,length:1,type:ModbusDataType.Bit); + + /// + /// 预留 + /// + public ModbusProperty reserve02 {get;set;}= new(49042,start:14,length:1,type:ModbusDataType.Bit); + + /// + /// 预留 + /// + public ModbusProperty reserve03 {get;set;}= new(49042,start:15,length:1,type:ModbusDataType.Bit); + + + /// + /// 加载机1落座传感器1 0-不在位,1-在位 + /// + public ModbusProperty Loader1SeatSensor1 {get;set;}= new(49043,start:0,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机1落座传感器2 + /// + public ModbusProperty Loader1SeatSensor2 {get;set;}= new(49043,start:1,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机2落座传感器1 + /// + public ModbusProperty Loader2SeatSensor1 {get;set;}= new(49043,start:2,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机2落座传感器2 + /// + public ModbusProperty Loader2SeatSensor2 {get;set;}= new(49043,start:3,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机3落座传感器1 + /// + public ModbusProperty Loader3SeatSensor1 {get;set;}= new(49043,start:4,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机3落座传感器2 + /// + public ModbusProperty Loader3SeatSensor2 {get;set;}= new(49043,start:5,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机4落座传感器1 + /// + public ModbusProperty Loader4SeatSensor1 {get;set;}= new(49043,start:6,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机4落座传感器2 + /// + public ModbusProperty Loader4SeatSensor2 {get;set;}= new(49043,start:7,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机5落座传感器1 + /// + public ModbusProperty Loader5SeatSensor1 {get;set;}= new(49043,start:8,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机5落座传感器2 + /// + public ModbusProperty Loader5SeatSensor2 {get;set;}= new(49043,start:9,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机6落座传感器1 + /// + public ModbusProperty Loader6SeatSensor1 {get;set;}= new(49043,start:10,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机6落座传感器2 + /// + public ModbusProperty Loader6SeatSensor2 {get;set;}= new(49043,start:11,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机7落座传感器1 + /// + public ModbusProperty Loader7SeatSensor1 {get;set;}= new(49043,start:12,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机7落座传感器2 + /// + public ModbusProperty Loader7SeatSensor2 {get;set;}= new(49043,start:13,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机8落座传感器1 + /// + public ModbusProperty Loader8SeatSensor1 {get;set;}= new(49043,start:14,length:1,type:ModbusDataType.Bit); + + /// + /// 加载机8落座传感器2 + /// + public ModbusProperty Loader8SeatSensor2 {get;set;}= new(49043,start:15,length:1,type:ModbusDataType.Bit); + + /// + /// 换电机器人设备编号 + /// + public ModbusProperty RobotNumber {get;set;}= new(49110,length:20); + + /// + /// PLC软件版本 + /// + public ModbusProperty PlcSoftwareVersion {get;set;}= new(49130); + + /// + /// PLC硬件版本 + /// + public ModbusProperty PlcHardwareVersion {get;set;}= new(49140); + + /// + /// 架载机状态 + /// + public ModbusProperty BoardStatus {get;set;}= new(49150); + + /// + /// TBOX解锁 + /// + public ModbusProperty TboxUnlock {get;set;}= new(49151); + + /// + /// 充电机1#进口温度 + /// + public ModbusProperty ChargerTempIn1 {get;set;}= new(49450); + + /// + /// 充电机1#出口温度 + /// + public ModbusProperty ChargerTempOut1 {get;set;}= new(49451); + + /// + /// 充电机2#进口温度 + /// + public ModbusProperty ChargerTempIn2 {get;set;}= new(49452); + + /// + /// 充电机2#出口温度 + /// + public ModbusProperty ChargerTempOut2 {get;set;}= new(49453); + + /// + /// 充电机3#进口温度 + /// + public ModbusProperty ChargerTempIn3 {get;set;}= new(49454); + + /// + /// 充电机3#出口温度 + /// + public ModbusProperty ChargerTempOut3 {get;set;}= new(49455); + + /// + /// 充电机4#进口温度 + /// + public ModbusProperty ChargerTempIn4 {get;set;}= new(49456); + + /// + /// 充电机4#出口温度 + /// + public ModbusProperty ChargerTempOut4 {get;set;}= new(49457); + + /// + /// 充电机5#进口温度 + /// + public ModbusProperty ChargerTempIn5 {get;set;}= new(49458); + + /// + /// 充电机5#出口温度 + /// + public ModbusProperty ChargerTempOut5 {get;set;}= new(49459); + + /// + /// 充电机6#进口温度 + /// + public ModbusProperty ChargerTempIn6 {get;set;}= new(49460); + + /// + /// 充电机6#出口温度 + /// + public ModbusProperty ChargerTempOut6 {get;set;}= new(49461); + + /// + /// 充电机7#进口温度 + /// + public ModbusProperty ChargerTempIn7 {get;set;}= new(49462); + + /// + /// 充电机7#出口温度 + /// + public ModbusProperty ChargerTempOut7 {get;set;}= new(49463); + + /// + /// 充电机8#进口温度 + /// + public ModbusProperty ChargerTempIn8 {get;set;}= new(49464); + + /// + /// 充电机8#出口温度 + /// + public ModbusProperty ChargerTempOut8 {get;set;}= new(49465); + + /// + /// 消防报警信号 + /// + public ModbusProperty FireAlarmSignal {get;set;}= new(49467); + + /// + /// 取电池规格(长) + /// + public ModbusProperty BatterySizeTakeLength {get;set;}= new(49468); + + /// + /// 取电池规格(宽) + /// + public ModbusProperty BatterySizeTakeWidth {get;set;}= new(49469); + + /// + /// 取电池规格(高) + /// + public ModbusProperty BatterySizeTakeHigh {get;set;}= new(49470); + + /// + /// 取电池规格(重量) + /// + public ModbusProperty BatteryTakeWeight {get;set;}= new(49471); + + /// + /// 放电池规格(长) + /// + public ModbusProperty BatterySizePutLength {get;set;}= new(49472); + + /// + /// 放电池规格(宽) + /// + public ModbusProperty BatterySizePutWidth {get;set;}= new(49473); + + /// + /// 放电池规格(高) + /// + public ModbusProperty BatterySizePutHigh {get;set;}= new(49474); + + /// + /// 放电池规格(重量) + /// + public ModbusProperty BatteryWeight {get;set;}= new(49475); + + /// + /// X轴伺服故障码 + /// + public ModbusProperty XAxisServoFaultCode {get;set;}= new(49476); + + /// + /// 备用(伺服故障码) + /// + public ModbusProperty BackupServoFaultCode {get;set;}= new(49478); + + /// + /// Y轴伺服故障码 + /// + public ModbusProperty YAxisServoFaultCode {get;set;}= new(49480); + + /// + /// Z轴伺服故障码 + /// + public ModbusProperty ZAxisServoFaultCode {get;set;}= new(49482); + + /// + /// 电池定位伺服故障码 + /// + public ModbusProperty BatteryLocationFaultCode {get;set;}= new(49484); + + /// + /// 原点位置状态 + /// + public ModbusProperty OriginPositionState {get;set;}= new(49436); + + /// + /// 回原点状态 + /// + public ModbusProperty BackOriginState {get;set;}= new(49437); + + /// + /// 中转仓落座传感器1 + /// + public ModbusProperty TransferBinSeatSensor1 {get;set;}= new(49038,start:0,length:1,type:ModbusDataType.Bit); + + /// + /// 中转仓落座传感器2 + /// + public ModbusProperty TransferBinSeatSensor2 {get;set;}= new(49038,start:1,length:1,type:ModbusDataType.Bit); + +} \ No newline at end of file diff --git a/WebStarter/Program.cs b/WebStarter/Program.cs index 8e5fd58..a2b1464 100644 --- a/WebStarter/Program.cs +++ b/WebStarter/Program.cs @@ -20,6 +20,7 @@ using Service.Charger.Client; using Service.Execute; using Service.Led; using Service.Padar.Client; +using Service.PlcAfrica.Client; using Service.RealTime; using Service.Sound.SoundClient; using Service.Ups; @@ -218,7 +219,7 @@ if (AppSettingsHelper.GetBool("upsAfrica", "enable")) { UpsAfricaMgr.UpsInit(); } - +PlcAfricaMgr.PlcInit(); //new SoundClient().SoundConn(); //TaskInit.Init(); diff --git a/WinFormStarter/FrmAfrica.Designer.cs b/WinFormStarter/FrmAfrica.Designer.cs new file mode 100644 index 0000000..aa58392 --- /dev/null +++ b/WinFormStarter/FrmAfrica.Designer.cs @@ -0,0 +1,3305 @@ +namespace WinFormStarter +{ + partial class FrmAfrica + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.groupBox4 = (new global::System.Windows.Forms.GroupBox()); + this.button2 = (new global::System.Windows.Forms.Button()); + this.lbl114 = (new global::System.Windows.Forms.Label()); + this.label118 = (new global::System.Windows.Forms.Label()); + this.lbl113 = (new global::System.Windows.Forms.Label()); + this.label120 = (new global::System.Windows.Forms.Label()); + this.label121 = (new global::System.Windows.Forms.Label()); + this.lbl112 = (new global::System.Windows.Forms.Label()); + this.label123 = (new global::System.Windows.Forms.Label()); + this.lbl111 = (new global::System.Windows.Forms.Label()); + this.lbl116 = (new global::System.Windows.Forms.Label()); + this.label106 = (new global::System.Windows.Forms.Label()); + this.lbl105 = (new global::System.Windows.Forms.Label()); + this.label108 = (new global::System.Windows.Forms.Label()); + this.lbl104 = (new global::System.Windows.Forms.Label()); + this.label110 = (new global::System.Windows.Forms.Label()); + this.lbl103 = (new global::System.Windows.Forms.Label()); + this.label112 = (new global::System.Windows.Forms.Label()); + this.label113 = (new global::System.Windows.Forms.Label()); + this.lbl102 = (new global::System.Windows.Forms.Label()); + this.label115 = (new global::System.Windows.Forms.Label()); + this.lbl101 = (new global::System.Windows.Forms.Label()); + this.lbl106 = (new global::System.Windows.Forms.Label()); + this.label94 = (new global::System.Windows.Forms.Label()); + this.lbl95 = (new global::System.Windows.Forms.Label()); + this.label96 = (new global::System.Windows.Forms.Label()); + this.lbl94 = (new global::System.Windows.Forms.Label()); + this.label98 = (new global::System.Windows.Forms.Label()); + this.lbl93 = (new global::System.Windows.Forms.Label()); + this.label100 = (new global::System.Windows.Forms.Label()); + this.label101 = (new global::System.Windows.Forms.Label()); + this.lbl92 = (new global::System.Windows.Forms.Label()); + this.label103 = (new global::System.Windows.Forms.Label()); + this.lbl91 = (new global::System.Windows.Forms.Label()); + this.lbl96 = (new global::System.Windows.Forms.Label()); + this.label82 = (new global::System.Windows.Forms.Label()); + this.lbl85 = (new global::System.Windows.Forms.Label()); + this.label84 = (new global::System.Windows.Forms.Label()); + this.lbl84 = (new global::System.Windows.Forms.Label()); + this.label86 = (new global::System.Windows.Forms.Label()); + this.lbl83 = (new global::System.Windows.Forms.Label()); + this.label88 = (new global::System.Windows.Forms.Label()); + this.label89 = (new global::System.Windows.Forms.Label()); + this.lbl82 = (new global::System.Windows.Forms.Label()); + this.label91 = (new global::System.Windows.Forms.Label()); + this.lbl81 = (new global::System.Windows.Forms.Label()); + this.lbl86 = (new global::System.Windows.Forms.Label()); + this.label65 = (new global::System.Windows.Forms.Label()); + this.lbl75 = (new global::System.Windows.Forms.Label()); + this.label69 = (new global::System.Windows.Forms.Label()); + this.lbl74 = (new global::System.Windows.Forms.Label()); + this.label73 = (new global::System.Windows.Forms.Label()); + this.lbl73 = (new global::System.Windows.Forms.Label()); + this.label76 = (new global::System.Windows.Forms.Label()); + this.label77 = (new global::System.Windows.Forms.Label()); + this.lbl72 = (new global::System.Windows.Forms.Label()); + this.label79 = (new global::System.Windows.Forms.Label()); + this.lbl71 = (new global::System.Windows.Forms.Label()); + this.lbl76 = (new global::System.Windows.Forms.Label()); + this.label41 = (new global::System.Windows.Forms.Label()); + this.lbl65 = (new global::System.Windows.Forms.Label()); + this.label45 = (new global::System.Windows.Forms.Label()); + this.lbl64 = (new global::System.Windows.Forms.Label()); + this.label49 = (new global::System.Windows.Forms.Label()); + this.lbl63 = (new global::System.Windows.Forms.Label()); + this.label53 = (new global::System.Windows.Forms.Label()); + this.label55 = (new global::System.Windows.Forms.Label()); + this.lbl62 = (new global::System.Windows.Forms.Label()); + this.label59 = (new global::System.Windows.Forms.Label()); + this.lbl61 = (new global::System.Windows.Forms.Label()); + this.lbl56 = (new global::System.Windows.Forms.Label()); + this.label21 = (new global::System.Windows.Forms.Label()); + this.lbl55 = (new global::System.Windows.Forms.Label()); + this.label29 = (new global::System.Windows.Forms.Label()); + this.lbl54 = (new global::System.Windows.Forms.Label()); + this.label33 = (new global::System.Windows.Forms.Label()); + this.lbl53 = (new global::System.Windows.Forms.Label()); + this.label37 = (new global::System.Windows.Forms.Label()); + this.lblValue26 = (new global::System.Windows.Forms.Label()); + this.lbl52 = (new global::System.Windows.Forms.Label()); + this.lblValue25 = (new global::System.Windows.Forms.Label()); + this.lbl51 = (new global::System.Windows.Forms.Label()); + this.lbl46 = (new global::System.Windows.Forms.Label()); + this.label70 = (new global::System.Windows.Forms.Label()); + this.lbl45 = (new global::System.Windows.Forms.Label()); + this.label68 = (new global::System.Windows.Forms.Label()); + this.lbl44 = (new global::System.Windows.Forms.Label()); + this.label66 = (new global::System.Windows.Forms.Label()); + this.lbl43 = (new global::System.Windows.Forms.Label()); + this.label64 = (new global::System.Windows.Forms.Label()); + this.lblValue20 = (new global::System.Windows.Forms.Label()); + this.lbl42 = (new global::System.Windows.Forms.Label()); + this.lblValue19 = (new global::System.Windows.Forms.Label()); + this.lbl41 = (new global::System.Windows.Forms.Label()); + this.lbl36 = (new global::System.Windows.Forms.Label()); + this.label58 = (new global::System.Windows.Forms.Label()); + this.lbl35 = (new global::System.Windows.Forms.Label()); + this.label56 = (new global::System.Windows.Forms.Label()); + this.lbl34 = (new global::System.Windows.Forms.Label()); + this.label54 = (new global::System.Windows.Forms.Label()); + this.lbl33 = (new global::System.Windows.Forms.Label()); + this.label52 = (new global::System.Windows.Forms.Label()); + this.lblValue14 = (new global::System.Windows.Forms.Label()); + this.lbl32 = (new global::System.Windows.Forms.Label()); + this.lblValue13 = (new global::System.Windows.Forms.Label()); + this.lbl31 = (new global::System.Windows.Forms.Label()); + this.lbl26 = (new global::System.Windows.Forms.Label()); + this.label46 = (new global::System.Windows.Forms.Label()); + this.lbl25 = (new global::System.Windows.Forms.Label()); + this.label44 = (new global::System.Windows.Forms.Label()); + this.lbl24 = (new global::System.Windows.Forms.Label()); + this.label42 = (new global::System.Windows.Forms.Label()); + this.lbl23 = (new global::System.Windows.Forms.Label()); + this.label40 = (new global::System.Windows.Forms.Label()); + this.lblValue08 = (new global::System.Windows.Forms.Label()); + this.lbl22 = (new global::System.Windows.Forms.Label()); + this.lblValue07 = (new global::System.Windows.Forms.Label()); + this.lbl21 = (new global::System.Windows.Forms.Label()); + this.lbl16 = (new global::System.Windows.Forms.Label()); + this.label34 = (new global::System.Windows.Forms.Label()); + this.lbl15 = (new global::System.Windows.Forms.Label()); + this.label32 = (new global::System.Windows.Forms.Label()); + this.lbl14 = (new global::System.Windows.Forms.Label()); + this.label30 = (new global::System.Windows.Forms.Label()); + this.lbl13 = (new global::System.Windows.Forms.Label()); + this.label28 = (new global::System.Windows.Forms.Label()); + this.lblValue02 = (new global::System.Windows.Forms.Label()); + this.lbl12 = (new global::System.Windows.Forms.Label()); + this.lblValue01 = (new global::System.Windows.Forms.Label()); + this.lbl11 = (new global::System.Windows.Forms.Label()); + this.groupBox2 = (new global::System.Windows.Forms.GroupBox()); + this.button29 = (new global::System.Windows.Forms.Button()); + this.txt124 = (new global::System.Windows.Forms.TextBox()); + this.label147 = (new global::System.Windows.Forms.Label()); + this.btn123 = (new global::System.Windows.Forms.Button()); + this.txt123 = (new global::System.Windows.Forms.TextBox()); + this.label148 = (new global::System.Windows.Forms.Label()); + this.btn122 = (new global::System.Windows.Forms.Button()); + this.txt122 = (new global::System.Windows.Forms.TextBox()); + this.label149 = (new global::System.Windows.Forms.Label()); + this.btn121 = (new global::System.Windows.Forms.Button()); + this.txt121 = (new global::System.Windows.Forms.TextBox()); + this.label150 = (new global::System.Windows.Forms.Label()); + this.button25 = (new global::System.Windows.Forms.Button()); + this.txt114 = (new global::System.Windows.Forms.TextBox()); + this.label143 = (new global::System.Windows.Forms.Label()); + this.btn113 = (new global::System.Windows.Forms.Button()); + this.txt113 = (new global::System.Windows.Forms.TextBox()); + this.label144 = (new global::System.Windows.Forms.Label()); + this.btn112 = (new global::System.Windows.Forms.Button()); + this.txt112 = (new global::System.Windows.Forms.TextBox()); + this.label145 = (new global::System.Windows.Forms.Label()); + this.btn111 = (new global::System.Windows.Forms.Button()); + this.txt111 = (new global::System.Windows.Forms.TextBox()); + this.label146 = (new global::System.Windows.Forms.Label()); + this.button21 = (new global::System.Windows.Forms.Button()); + this.txt104 = (new global::System.Windows.Forms.TextBox()); + this.label139 = (new global::System.Windows.Forms.Label()); + this.btn103 = (new global::System.Windows.Forms.Button()); + this.txt103 = (new global::System.Windows.Forms.TextBox()); + this.label140 = (new global::System.Windows.Forms.Label()); + this.btn102 = (new global::System.Windows.Forms.Button()); + this.txt102 = (new global::System.Windows.Forms.TextBox()); + this.label141 = (new global::System.Windows.Forms.Label()); + this.btn101 = (new global::System.Windows.Forms.Button()); + this.txt101 = (new global::System.Windows.Forms.TextBox()); + this.label142 = (new global::System.Windows.Forms.Label()); + this.button17 = (new global::System.Windows.Forms.Button()); + this.txt94 = (new global::System.Windows.Forms.TextBox()); + this.label135 = (new global::System.Windows.Forms.Label()); + this.btn93 = (new global::System.Windows.Forms.Button()); + this.txt93 = (new global::System.Windows.Forms.TextBox()); + this.label136 = (new global::System.Windows.Forms.Label()); + this.btn92 = (new global::System.Windows.Forms.Button()); + this.txt92 = (new global::System.Windows.Forms.TextBox()); + this.label137 = (new global::System.Windows.Forms.Label()); + this.btn91 = (new global::System.Windows.Forms.Button()); + this.txt91 = (new global::System.Windows.Forms.TextBox()); + this.label138 = (new global::System.Windows.Forms.Label()); + this.button13 = (new global::System.Windows.Forms.Button()); + this.txt84 = (new global::System.Windows.Forms.TextBox()); + this.label131 = (new global::System.Windows.Forms.Label()); + this.btn83 = (new global::System.Windows.Forms.Button()); + this.txt83 = (new global::System.Windows.Forms.TextBox()); + this.label132 = (new global::System.Windows.Forms.Label()); + this.btn82 = (new global::System.Windows.Forms.Button()); + this.txt82 = (new global::System.Windows.Forms.TextBox()); + this.label133 = (new global::System.Windows.Forms.Label()); + this.btn81 = (new global::System.Windows.Forms.Button()); + this.txt81 = (new global::System.Windows.Forms.TextBox()); + this.label134 = (new global::System.Windows.Forms.Label()); + this.button9 = (new global::System.Windows.Forms.Button()); + this.txt74 = (new global::System.Windows.Forms.TextBox()); + this.label127 = (new global::System.Windows.Forms.Label()); + this.btn73 = (new global::System.Windows.Forms.Button()); + this.txt73 = (new global::System.Windows.Forms.TextBox()); + this.label128 = (new global::System.Windows.Forms.Label()); + this.btn72 = (new global::System.Windows.Forms.Button()); + this.txt72 = (new global::System.Windows.Forms.TextBox()); + this.label129 = (new global::System.Windows.Forms.Label()); + this.btn71 = (new global::System.Windows.Forms.Button()); + this.txt71 = (new global::System.Windows.Forms.TextBox()); + this.label130 = (new global::System.Windows.Forms.Label()); + this.button7 = (new global::System.Windows.Forms.Button()); + this.txt64 = (new global::System.Windows.Forms.TextBox()); + this.label125 = (new global::System.Windows.Forms.Label()); + this.btn63 = (new global::System.Windows.Forms.Button()); + this.txt63 = (new global::System.Windows.Forms.TextBox()); + this.label126 = (new global::System.Windows.Forms.Label()); + this.tct11 = (new global::System.Windows.Forms.TextBox()); + this.label20 = (new global::System.Windows.Forms.Label()); + this.btn11 = (new global::System.Windows.Forms.Button()); + this.btn62 = (new global::System.Windows.Forms.Button()); + this.txt62 = (new global::System.Windows.Forms.TextBox()); + this.label25 = (new global::System.Windows.Forms.Label()); + this.btn61 = (new global::System.Windows.Forms.Button()); + this.txt61 = (new global::System.Windows.Forms.TextBox()); + this.label26 = (new global::System.Windows.Forms.Label()); + this.button1 = (new global::System.Windows.Forms.Button()); + this.txt54 = (new global::System.Windows.Forms.TextBox()); + this.label19 = (new global::System.Windows.Forms.Label()); + this.btn53 = (new global::System.Windows.Forms.Button()); + this.txt53 = (new global::System.Windows.Forms.TextBox()); + this.label23 = (new global::System.Windows.Forms.Label()); + this.btn52 = (new global::System.Windows.Forms.Button()); + this.txt52 = (new global::System.Windows.Forms.TextBox()); + this.label24 = (new global::System.Windows.Forms.Label()); + this.txt13 = (new global::System.Windows.Forms.TextBox()); + this.txt22 = (new global::System.Windows.Forms.TextBox()); + this.btn51 = (new global::System.Windows.Forms.Button()); + this.label1 = (new global::System.Windows.Forms.Label()); + this.txt51 = (new global::System.Windows.Forms.TextBox()); + this.txt12 = (new global::System.Windows.Forms.TextBox()); + this.label18 = (new global::System.Windows.Forms.Label()); + this.btn12 = (new global::System.Windows.Forms.Button()); + this.btn44 = (new global::System.Windows.Forms.Button()); + this.label2 = (new global::System.Windows.Forms.Label()); + this.txt44 = (new global::System.Windows.Forms.TextBox()); + this.label17 = (new global::System.Windows.Forms.Label()); + this.btn13 = (new global::System.Windows.Forms.Button()); + this.btn43 = (new global::System.Windows.Forms.Button()); + this.label3 = (new global::System.Windows.Forms.Label()); + this.txt43 = (new global::System.Windows.Forms.TextBox()); + this.txt14 = (new global::System.Windows.Forms.TextBox()); + this.label16 = (new global::System.Windows.Forms.Label()); + this.btn14 = (new global::System.Windows.Forms.Button()); + this.btn42 = (new global::System.Windows.Forms.Button()); + this.label4 = (new global::System.Windows.Forms.Label()); + this.txt42 = (new global::System.Windows.Forms.TextBox()); + this.txt21 = (new global::System.Windows.Forms.TextBox()); + this.label15 = (new global::System.Windows.Forms.Label()); + this.btn21 = (new global::System.Windows.Forms.Button()); + this.label5 = (new global::System.Windows.Forms.Label()); + this.btn41 = (new global::System.Windows.Forms.Button()); + this.btn22 = (new global::System.Windows.Forms.Button()); + this.txt41 = (new global::System.Windows.Forms.TextBox()); + this.label6 = (new global::System.Windows.Forms.Label()); + this.label14 = (new global::System.Windows.Forms.Label()); + this.txt23 = (new global::System.Windows.Forms.TextBox()); + this.btn23 = (new global::System.Windows.Forms.Button()); + this.label7 = (new global::System.Windows.Forms.Label()); + this.txt24 = (new global::System.Windows.Forms.TextBox()); + this.btn24 = (new global::System.Windows.Forms.Button()); + this.label8 = (new global::System.Windows.Forms.Label()); + this.txt31 = (new global::System.Windows.Forms.TextBox()); + this.btn34 = (new global::System.Windows.Forms.Button()); + this.btn31 = (new global::System.Windows.Forms.Button()); + this.txt34 = (new global::System.Windows.Forms.TextBox()); + this.label9 = (new global::System.Windows.Forms.Label()); + this.label11 = (new global::System.Windows.Forms.Label()); + this.txt32 = (new global::System.Windows.Forms.TextBox()); + this.btn33 = (new global::System.Windows.Forms.Button()); + this.btn32 = (new global::System.Windows.Forms.Button()); + this.txt33 = (new global::System.Windows.Forms.TextBox()); + this.label10 = (new global::System.Windows.Forms.Label()); + this.groupBox4.SuspendLayout(); + this.groupBox2.SuspendLayout(); + this.SuspendLayout(); + // + // groupBox4 + // + this.groupBox4.Controls.Add(this.button2); + this.groupBox4.Controls.Add(this.lbl114); + this.groupBox4.Controls.Add(this.label118); + this.groupBox4.Controls.Add(this.lbl113); + this.groupBox4.Controls.Add(this.label120); + this.groupBox4.Controls.Add(this.label121); + this.groupBox4.Controls.Add(this.lbl112); + this.groupBox4.Controls.Add(this.label123); + this.groupBox4.Controls.Add(this.lbl111); + this.groupBox4.Controls.Add(this.lbl116); + this.groupBox4.Controls.Add(this.label106); + this.groupBox4.Controls.Add(this.lbl105); + this.groupBox4.Controls.Add(this.label108); + this.groupBox4.Controls.Add(this.lbl104); + this.groupBox4.Controls.Add(this.label110); + this.groupBox4.Controls.Add(this.lbl103); + this.groupBox4.Controls.Add(this.label112); + this.groupBox4.Controls.Add(this.label113); + this.groupBox4.Controls.Add(this.lbl102); + this.groupBox4.Controls.Add(this.label115); + this.groupBox4.Controls.Add(this.lbl101); + this.groupBox4.Controls.Add(this.lbl106); + this.groupBox4.Controls.Add(this.label94); + this.groupBox4.Controls.Add(this.lbl95); + this.groupBox4.Controls.Add(this.label96); + this.groupBox4.Controls.Add(this.lbl94); + this.groupBox4.Controls.Add(this.label98); + this.groupBox4.Controls.Add(this.lbl93); + this.groupBox4.Controls.Add(this.label100); + this.groupBox4.Controls.Add(this.label101); + this.groupBox4.Controls.Add(this.lbl92); + this.groupBox4.Controls.Add(this.label103); + this.groupBox4.Controls.Add(this.lbl91); + this.groupBox4.Controls.Add(this.lbl96); + this.groupBox4.Controls.Add(this.label82); + this.groupBox4.Controls.Add(this.lbl85); + this.groupBox4.Controls.Add(this.label84); + this.groupBox4.Controls.Add(this.lbl84); + this.groupBox4.Controls.Add(this.label86); + this.groupBox4.Controls.Add(this.lbl83); + this.groupBox4.Controls.Add(this.label88); + this.groupBox4.Controls.Add(this.label89); + this.groupBox4.Controls.Add(this.lbl82); + this.groupBox4.Controls.Add(this.label91); + this.groupBox4.Controls.Add(this.lbl81); + this.groupBox4.Controls.Add(this.lbl86); + this.groupBox4.Controls.Add(this.label65); + this.groupBox4.Controls.Add(this.lbl75); + this.groupBox4.Controls.Add(this.label69); + this.groupBox4.Controls.Add(this.lbl74); + this.groupBox4.Controls.Add(this.label73); + this.groupBox4.Controls.Add(this.lbl73); + this.groupBox4.Controls.Add(this.label76); + this.groupBox4.Controls.Add(this.label77); + this.groupBox4.Controls.Add(this.lbl72); + this.groupBox4.Controls.Add(this.label79); + this.groupBox4.Controls.Add(this.lbl71); + this.groupBox4.Controls.Add(this.lbl76); + this.groupBox4.Controls.Add(this.label41); + this.groupBox4.Controls.Add(this.lbl65); + this.groupBox4.Controls.Add(this.label45); + this.groupBox4.Controls.Add(this.lbl64); + this.groupBox4.Controls.Add(this.label49); + this.groupBox4.Controls.Add(this.lbl63); + this.groupBox4.Controls.Add(this.label53); + this.groupBox4.Controls.Add(this.label55); + this.groupBox4.Controls.Add(this.lbl62); + this.groupBox4.Controls.Add(this.label59); + this.groupBox4.Controls.Add(this.lbl61); + this.groupBox4.Controls.Add(this.lbl56); + this.groupBox4.Controls.Add(this.label21); + this.groupBox4.Controls.Add(this.lbl55); + this.groupBox4.Controls.Add(this.label29); + this.groupBox4.Controls.Add(this.lbl54); + this.groupBox4.Controls.Add(this.label33); + this.groupBox4.Controls.Add(this.lbl53); + this.groupBox4.Controls.Add(this.label37); + this.groupBox4.Controls.Add(this.lblValue26); + this.groupBox4.Controls.Add(this.lbl52); + this.groupBox4.Controls.Add(this.lblValue25); + this.groupBox4.Controls.Add(this.lbl51); + this.groupBox4.Controls.Add(this.lbl46); + this.groupBox4.Controls.Add(this.label70); + this.groupBox4.Controls.Add(this.lbl45); + this.groupBox4.Controls.Add(this.label68); + this.groupBox4.Controls.Add(this.lbl44); + this.groupBox4.Controls.Add(this.label66); + this.groupBox4.Controls.Add(this.lbl43); + this.groupBox4.Controls.Add(this.label64); + this.groupBox4.Controls.Add(this.lblValue20); + this.groupBox4.Controls.Add(this.lbl42); + this.groupBox4.Controls.Add(this.lblValue19); + this.groupBox4.Controls.Add(this.lbl41); + this.groupBox4.Controls.Add(this.lbl36); + this.groupBox4.Controls.Add(this.label58); + this.groupBox4.Controls.Add(this.lbl35); + this.groupBox4.Controls.Add(this.label56); + this.groupBox4.Controls.Add(this.lbl34); + this.groupBox4.Controls.Add(this.label54); + this.groupBox4.Controls.Add(this.lbl33); + this.groupBox4.Controls.Add(this.label52); + this.groupBox4.Controls.Add(this.lblValue14); + this.groupBox4.Controls.Add(this.lbl32); + this.groupBox4.Controls.Add(this.lblValue13); + this.groupBox4.Controls.Add(this.lbl31); + this.groupBox4.Controls.Add(this.lbl26); + this.groupBox4.Controls.Add(this.label46); + this.groupBox4.Controls.Add(this.lbl25); + this.groupBox4.Controls.Add(this.label44); + this.groupBox4.Controls.Add(this.lbl24); + this.groupBox4.Controls.Add(this.label42); + this.groupBox4.Controls.Add(this.lbl23); + this.groupBox4.Controls.Add(this.label40); + this.groupBox4.Controls.Add(this.lblValue08); + this.groupBox4.Controls.Add(this.lbl22); + this.groupBox4.Controls.Add(this.lblValue07); + this.groupBox4.Controls.Add(this.lbl21); + this.groupBox4.Controls.Add(this.lbl16); + this.groupBox4.Controls.Add(this.label34); + this.groupBox4.Controls.Add(this.lbl15); + this.groupBox4.Controls.Add(this.label32); + this.groupBox4.Controls.Add(this.lbl14); + this.groupBox4.Controls.Add(this.label30); + this.groupBox4.Controls.Add(this.lbl13); + this.groupBox4.Controls.Add(this.label28); + this.groupBox4.Controls.Add(this.lblValue02); + this.groupBox4.Controls.Add(this.lbl12); + this.groupBox4.Controls.Add(this.lblValue01); + this.groupBox4.Controls.Add(this.lbl11); + this.groupBox4.Location = (new global::System.Drawing.Point(27, 453)); + this.groupBox4.Name = ("groupBox4"); + this.groupBox4.Size = (new global::System.Drawing.Size(1277, 379)); + this.groupBox4.TabIndex = (180); + this.groupBox4.TabStop = (false); + this.groupBox4.Text = ("读"); + // + // button2 + // + this.button2.Location = (new global::System.Drawing.Point(1028, 352)); + this.button2.Name = ("button2"); + this.button2.Size = (new global::System.Drawing.Size(94, 29)); + this.button2.TabIndex = (128); + this.button2.Text = ("button2"); + this.button2.UseVisualStyleBackColor = (true); + this.button2.Click += (this.button2_Click_1); + // + // lbl114 + // + this.lbl114.AutoSize = (true); + this.lbl114.Location = (new global::System.Drawing.Point(756, 362)); + this.lbl114.Name = ("lbl114"); + this.lbl114.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl114.TabIndex = (127); + this.lbl114.Text = ("值"); + // + // label118 + // + this.label118.AutoSize = (true); + this.label118.Location = (new global::System.Drawing.Point(665, 362)); + this.label118.Name = ("label118"); + this.label118.Size = (new global::System.Drawing.Size(138, 20)); + this.label118.TabIndex = (126); + this.label118.Text = ("中转仓落座传感器2"); + // + // lbl113 + // + this.lbl113.AutoSize = (true); + this.lbl113.Location = (new global::System.Drawing.Point(544, 362)); + this.lbl113.Name = ("lbl113"); + this.lbl113.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl113.TabIndex = (125); + this.lbl113.Text = ("值"); + // + // label120 + // + this.label120.AutoSize = (true); + this.label120.Location = (new global::System.Drawing.Point(453, 362)); + this.label120.Name = ("label120"); + this.label120.Size = (new global::System.Drawing.Size(138, 20)); + this.label120.TabIndex = (124); + this.label120.Text = ("中转仓落座传感器1"); + // + // label121 + // + this.label121.AutoSize = (true); + this.label121.Location = (new global::System.Drawing.Point(281, 362)); + this.label121.Name = ("label121"); + this.label121.Size = (new global::System.Drawing.Size(84, 20)); + this.label121.TabIndex = (123); + this.label121.Text = ("回原点状态"); + // + // lbl112 + // + this.lbl112.AutoSize = (true); + this.lbl112.Location = (new global::System.Drawing.Point(251, 362)); + this.lbl112.Name = ("lbl112"); + this.lbl112.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl112.TabIndex = (122); + this.lbl112.Text = ("值"); + // + // label123 + // + this.label123.AutoSize = (true); + this.label123.Location = (new global::System.Drawing.Point(72, 362)); + this.label123.Name = ("label123"); + this.label123.Size = (new global::System.Drawing.Size(99, 20)); + this.label123.TabIndex = (121); + this.label123.Text = ("原点位置状态"); + // + // lbl111 + // + this.lbl111.AutoSize = (true); + this.lbl111.Location = (new global::System.Drawing.Point(42, 362)); + this.lbl111.Name = ("lbl111"); + this.lbl111.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl111.TabIndex = (120); + this.lbl111.Text = ("值"); + // + // lbl116 + // + this.lbl116.AutoSize = (true); + this.lbl116.Location = (new global::System.Drawing.Point(1177, 337)); + this.lbl116.Name = ("lbl116"); + this.lbl116.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl116.TabIndex = (119); + this.lbl116.Text = ("值"); + // + // label106 + // + this.label106.AutoSize = (true); + this.label106.Location = (new global::System.Drawing.Point(1086, 337)); + this.label106.Name = ("label106"); + this.label106.Size = (new global::System.Drawing.Size(144, 20)); + this.label106.TabIndex = (118); + this.label106.Text = ("电池定位伺服故障码"); + // + // lbl105 + // + this.lbl105.AutoSize = (true); + this.lbl105.Location = (new global::System.Drawing.Point(959, 337)); + this.lbl105.Name = ("lbl105"); + this.lbl105.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl105.TabIndex = (117); + this.lbl105.Text = ("值"); + // + // label108 + // + this.label108.AutoSize = (true); + this.label108.Location = (new global::System.Drawing.Point(868, 337)); + this.label108.Name = ("label108"); + this.label108.Size = (new global::System.Drawing.Size(108, 20)); + this.label108.TabIndex = (116); + this.label108.Text = ("Z轴伺服故障码"); + // + // lbl104 + // + this.lbl104.AutoSize = (true); + this.lbl104.Location = (new global::System.Drawing.Point(748, 337)); + this.lbl104.Name = ("lbl104"); + this.lbl104.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl104.TabIndex = (115); + this.lbl104.Text = ("值"); + // + // label110 + // + this.label110.AutoSize = (true); + this.label110.Location = (new global::System.Drawing.Point(657, 337)); + this.label110.Name = ("label110"); + this.label110.Size = (new global::System.Drawing.Size(108, 20)); + this.label110.TabIndex = (114); + this.label110.Text = ("Y轴伺服故障码"); + // + // lbl103 + // + this.lbl103.AutoSize = (true); + this.lbl103.Location = (new global::System.Drawing.Point(536, 337)); + this.lbl103.Name = ("lbl103"); + this.lbl103.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl103.TabIndex = (113); + this.lbl103.Text = ("值"); + // + // label112 + // + this.label112.AutoSize = (true); + this.label112.Location = (new global::System.Drawing.Point(445, 337)); + this.label112.Name = ("label112"); + this.label112.Size = (new global::System.Drawing.Size(144, 20)); + this.label112.TabIndex = (112); + this.label112.Text = ("备用(伺服故障码)"); + // + // label113 + // + this.label113.AutoSize = (true); + this.label113.Location = (new global::System.Drawing.Point(273, 337)); + this.label113.Name = ("label113"); + this.label113.Size = (new global::System.Drawing.Size(109, 20)); + this.label113.TabIndex = (111); + this.label113.Text = ("X轴伺服故障码"); + // + // lbl102 + // + this.lbl102.AutoSize = (true); + this.lbl102.Location = (new global::System.Drawing.Point(243, 337)); + this.lbl102.Name = ("lbl102"); + this.lbl102.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl102.TabIndex = (110); + this.lbl102.Text = ("值"); + // + // label115 + // + this.label115.AutoSize = (true); + this.label115.Location = (new global::System.Drawing.Point(64, 337)); + this.label115.Name = ("label115"); + this.label115.Size = (new global::System.Drawing.Size(96, 20)); + this.label115.TabIndex = (109); + this.label115.Text = ("PLC硬件版本"); + // + // lbl101 + // + this.lbl101.AutoSize = (true); + this.lbl101.Location = (new global::System.Drawing.Point(34, 337)); + this.lbl101.Name = ("lbl101"); + this.lbl101.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl101.TabIndex = (108); + this.lbl101.Text = ("值"); + // + // lbl106 + // + this.lbl106.AutoSize = (true); + this.lbl106.Location = (new global::System.Drawing.Point(1177, 306)); + this.lbl106.Name = ("lbl106"); + this.lbl106.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl106.TabIndex = (107); + this.lbl106.Text = ("值"); + // + // label94 + // + this.label94.AutoSize = (true); + this.label94.Location = (new global::System.Drawing.Point(1086, 306)); + this.label94.Name = ("label94"); + this.label94.Size = (new global::System.Drawing.Size(96, 20)); + this.label94.TabIndex = (106); + this.label94.Text = ("PLC软件版本"); + // + // lbl95 + // + this.lbl95.AutoSize = (true); + this.lbl95.Location = (new global::System.Drawing.Point(959, 306)); + this.lbl95.Name = ("lbl95"); + this.lbl95.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl95.TabIndex = (105); + this.lbl95.Text = ("值"); + // + // label96 + // + this.label96.AutoSize = (true); + this.label96.Location = (new global::System.Drawing.Point(868, 306)); + this.label96.Name = ("label96"); + this.label96.Size = (new global::System.Drawing.Size(144, 20)); + this.label96.TabIndex = (104); + this.label96.Text = ("换电机器人设备编号"); + // + // lbl94 + // + this.lbl94.AutoSize = (true); + this.lbl94.Location = (new global::System.Drawing.Point(748, 306)); + this.lbl94.Name = ("lbl94"); + this.lbl94.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl94.TabIndex = (103); + this.lbl94.Text = ("值"); + // + // label98 + // + this.label98.AutoSize = (true); + this.label98.Location = (new global::System.Drawing.Point(657, 306)); + this.label98.Name = ("label98"); + this.label98.Size = (new global::System.Drawing.Size(147, 20)); + this.label98.TabIndex = (102); + this.label98.Text = ("加载机8落座传感器2"); + // + // lbl93 + // + this.lbl93.AutoSize = (true); + this.lbl93.Location = (new global::System.Drawing.Point(536, 306)); + this.lbl93.Name = ("lbl93"); + this.lbl93.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl93.TabIndex = (101); + this.lbl93.Text = ("值"); + // + // label100 + // + this.label100.AutoSize = (true); + this.label100.Location = (new global::System.Drawing.Point(445, 306)); + this.label100.Name = ("label100"); + this.label100.Size = (new global::System.Drawing.Size(147, 20)); + this.label100.TabIndex = (100); + this.label100.Text = ("加载机8落座传感器1"); + // + // label101 + // + this.label101.AutoSize = (true); + this.label101.Location = (new global::System.Drawing.Point(273, 306)); + this.label101.Name = ("label101"); + this.label101.Size = (new global::System.Drawing.Size(147, 20)); + this.label101.TabIndex = (99); + this.label101.Text = ("加载机7落座传感器2"); + // + // lbl92 + // + this.lbl92.AutoSize = (true); + this.lbl92.Location = (new global::System.Drawing.Point(243, 306)); + this.lbl92.Name = ("lbl92"); + this.lbl92.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl92.TabIndex = (98); + this.lbl92.Text = ("值"); + // + // label103 + // + this.label103.AutoSize = (true); + this.label103.Location = (new global::System.Drawing.Point(64, 306)); + this.label103.Name = ("label103"); + this.label103.Size = (new global::System.Drawing.Size(147, 20)); + this.label103.TabIndex = (97); + this.label103.Text = ("加载机7落座传感器1"); + // + // lbl91 + // + this.lbl91.AutoSize = (true); + this.lbl91.Location = (new global::System.Drawing.Point(34, 306)); + this.lbl91.Name = ("lbl91"); + this.lbl91.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl91.TabIndex = (96); + this.lbl91.Text = ("值"); + // + // lbl96 + // + this.lbl96.AutoSize = (true); + this.lbl96.Location = (new global::System.Drawing.Point(1179, 277)); + this.lbl96.Name = ("lbl96"); + this.lbl96.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl96.TabIndex = (95); + this.lbl96.Text = ("值"); + // + // label82 + // + this.label82.AutoSize = (true); + this.label82.Location = (new global::System.Drawing.Point(1088, 277)); + this.label82.Name = ("label82"); + this.label82.Size = (new global::System.Drawing.Size(147, 20)); + this.label82.TabIndex = (94); + this.label82.Text = ("加载机6落座传感器2"); + // + // lbl85 + // + this.lbl85.AutoSize = (true); + this.lbl85.Location = (new global::System.Drawing.Point(961, 277)); + this.lbl85.Name = ("lbl85"); + this.lbl85.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl85.TabIndex = (93); + this.lbl85.Text = ("值"); + // + // label84 + // + this.label84.AutoSize = (true); + this.label84.Location = (new global::System.Drawing.Point(870, 277)); + this.label84.Name = ("label84"); + this.label84.Size = (new global::System.Drawing.Size(147, 20)); + this.label84.TabIndex = (92); + this.label84.Text = ("加载机6落座传感器1"); + // + // lbl84 + // + this.lbl84.AutoSize = (true); + this.lbl84.Location = (new global::System.Drawing.Point(750, 277)); + this.lbl84.Name = ("lbl84"); + this.lbl84.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl84.TabIndex = (91); + this.lbl84.Text = ("值"); + // + // label86 + // + this.label86.AutoSize = (true); + this.label86.Location = (new global::System.Drawing.Point(659, 277)); + this.label86.Name = ("label86"); + this.label86.Size = (new global::System.Drawing.Size(147, 20)); + this.label86.TabIndex = (90); + this.label86.Text = ("加载机5落座传感器2"); + // + // lbl83 + // + this.lbl83.AutoSize = (true); + this.lbl83.Location = (new global::System.Drawing.Point(538, 277)); + this.lbl83.Name = ("lbl83"); + this.lbl83.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl83.TabIndex = (89); + this.lbl83.Text = ("值"); + // + // label88 + // + this.label88.AutoSize = (true); + this.label88.Location = (new global::System.Drawing.Point(447, 277)); + this.label88.Name = ("label88"); + this.label88.Size = (new global::System.Drawing.Size(147, 20)); + this.label88.TabIndex = (88); + this.label88.Text = ("加载机5落座传感器1"); + // + // label89 + // + this.label89.AutoSize = (true); + this.label89.Location = (new global::System.Drawing.Point(275, 277)); + this.label89.Name = ("label89"); + this.label89.Size = (new global::System.Drawing.Size(147, 20)); + this.label89.TabIndex = (87); + this.label89.Text = ("加载机4落座传感器2"); + // + // lbl82 + // + this.lbl82.AutoSize = (true); + this.lbl82.Location = (new global::System.Drawing.Point(245, 277)); + this.lbl82.Name = ("lbl82"); + this.lbl82.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl82.TabIndex = (86); + this.lbl82.Text = ("值"); + // + // label91 + // + this.label91.AutoSize = (true); + this.label91.Location = (new global::System.Drawing.Point(66, 277)); + this.label91.Name = ("label91"); + this.label91.Size = (new global::System.Drawing.Size(147, 20)); + this.label91.TabIndex = (85); + this.label91.Text = ("加载机4落座传感器1"); + // + // lbl81 + // + this.lbl81.AutoSize = (true); + this.lbl81.Location = (new global::System.Drawing.Point(36, 277)); + this.lbl81.Name = ("lbl81"); + this.lbl81.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl81.TabIndex = (84); + this.lbl81.Text = ("值"); + // + // lbl86 + // + this.lbl86.AutoSize = (true); + this.lbl86.Location = (new global::System.Drawing.Point(1184, 246)); + this.lbl86.Name = ("lbl86"); + this.lbl86.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl86.TabIndex = (83); + this.lbl86.Text = ("值"); + // + // label65 + // + this.label65.AutoSize = (true); + this.label65.Location = (new global::System.Drawing.Point(1093, 246)); + this.label65.Name = ("label65"); + this.label65.Size = (new global::System.Drawing.Size(147, 20)); + this.label65.TabIndex = (82); + this.label65.Text = ("加载机3落座传感器2"); + // + // lbl75 + // + this.lbl75.AutoSize = (true); + this.lbl75.Location = (new global::System.Drawing.Point(966, 246)); + this.lbl75.Name = ("lbl75"); + this.lbl75.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl75.TabIndex = (81); + this.lbl75.Text = ("值"); + // + // label69 + // + this.label69.AutoSize = (true); + this.label69.Location = (new global::System.Drawing.Point(875, 246)); + this.label69.Name = ("label69"); + this.label69.Size = (new global::System.Drawing.Size(147, 20)); + this.label69.TabIndex = (80); + this.label69.Text = ("加载机3落座传感器1"); + // + // lbl74 + // + this.lbl74.AutoSize = (true); + this.lbl74.Location = (new global::System.Drawing.Point(755, 246)); + this.lbl74.Name = ("lbl74"); + this.lbl74.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl74.TabIndex = (79); + this.lbl74.Text = ("值"); + // + // label73 + // + this.label73.AutoSize = (true); + this.label73.Location = (new global::System.Drawing.Point(664, 246)); + this.label73.Name = ("label73"); + this.label73.Size = (new global::System.Drawing.Size(147, 20)); + this.label73.TabIndex = (78); + this.label73.Text = ("加载机2落座传感器2"); + // + // lbl73 + // + this.lbl73.AutoSize = (true); + this.lbl73.Location = (new global::System.Drawing.Point(543, 246)); + this.lbl73.Name = ("lbl73"); + this.lbl73.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl73.TabIndex = (77); + this.lbl73.Text = ("值"); + // + // label76 + // + this.label76.AutoSize = (true); + this.label76.Location = (new global::System.Drawing.Point(452, 246)); + this.label76.Name = ("label76"); + this.label76.Size = (new global::System.Drawing.Size(147, 20)); + this.label76.TabIndex = (76); + this.label76.Text = ("加载机2落座传感器1"); + // + // label77 + // + this.label77.AutoSize = (true); + this.label77.Location = (new global::System.Drawing.Point(280, 246)); + this.label77.Name = ("label77"); + this.label77.Size = (new global::System.Drawing.Size(147, 20)); + this.label77.TabIndex = (75); + this.label77.Text = ("加载机1落座传感器2"); + // + // lbl72 + // + this.lbl72.AutoSize = (true); + this.lbl72.Location = (new global::System.Drawing.Point(250, 246)); + this.lbl72.Name = ("lbl72"); + this.lbl72.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl72.TabIndex = (74); + this.lbl72.Text = ("值"); + // + // label79 + // + this.label79.AutoSize = (true); + this.label79.Location = (new global::System.Drawing.Point(71, 246)); + this.label79.Name = ("label79"); + this.label79.Size = (new global::System.Drawing.Size(147, 20)); + this.label79.TabIndex = (73); + this.label79.Text = ("加载机1落座传感器1"); + // + // lbl71 + // + this.lbl71.AutoSize = (true); + this.lbl71.Location = (new global::System.Drawing.Point(41, 246)); + this.lbl71.Name = ("lbl71"); + this.lbl71.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl71.TabIndex = (72); + this.lbl71.Text = ("值"); + // + // lbl76 + // + this.lbl76.AutoSize = (true); + this.lbl76.Location = (new global::System.Drawing.Point(1179, 216)); + this.lbl76.Name = ("lbl76"); + this.lbl76.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl76.TabIndex = (71); + this.lbl76.Text = ("值"); + // + // label41 + // + this.label41.AutoSize = (true); + this.label41.Location = (new global::System.Drawing.Point(1088, 216)); + this.label41.Name = ("label41"); + this.label41.Size = (new global::System.Drawing.Size(39, 20)); + this.label41.TabIndex = (70); + this.label41.Text = ("预留"); + // + // lbl65 + // + this.lbl65.AutoSize = (true); + this.lbl65.Location = (new global::System.Drawing.Point(961, 216)); + this.lbl65.Name = ("lbl65"); + this.lbl65.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl65.TabIndex = (69); + this.lbl65.Text = ("值"); + // + // label45 + // + this.label45.AutoSize = (true); + this.label45.Location = (new global::System.Drawing.Point(870, 216)); + this.label45.Name = ("label45"); + this.label45.Size = (new global::System.Drawing.Size(39, 20)); + this.label45.TabIndex = (68); + this.label45.Text = ("预留"); + // + // lbl64 + // + this.lbl64.AutoSize = (true); + this.lbl64.Location = (new global::System.Drawing.Point(750, 216)); + this.lbl64.Name = ("lbl64"); + this.lbl64.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl64.TabIndex = (67); + this.lbl64.Text = ("值"); + // + // label49 + // + this.label49.AutoSize = (true); + this.label49.Location = (new global::System.Drawing.Point(659, 216)); + this.label49.Name = ("label49"); + this.label49.Size = (new global::System.Drawing.Size(39, 20)); + this.label49.TabIndex = (66); + this.label49.Text = ("预留"); + // + // lbl63 + // + this.lbl63.AutoSize = (true); + this.lbl63.Location = (new global::System.Drawing.Point(538, 216)); + this.lbl63.Name = ("lbl63"); + this.lbl63.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl63.TabIndex = (65); + this.lbl63.Text = ("值"); + // + // label53 + // + this.label53.AutoSize = (true); + this.label53.Location = (new global::System.Drawing.Point(447, 216)); + this.label53.Name = ("label53"); + this.label53.Size = (new global::System.Drawing.Size(99, 20)); + this.label53.TabIndex = (64); + this.label53.Text = ("仓门全部打开"); + // + // label55 + // + this.label55.AutoSize = (true); + this.label55.Location = (new global::System.Drawing.Point(275, 216)); + this.label55.Name = ("label55"); + this.label55.Size = (new global::System.Drawing.Size(99, 20)); + this.label55.TabIndex = (63); + this.label55.Text = ("仓门全部关闭"); + // + // lbl62 + // + this.lbl62.AutoSize = (true); + this.lbl62.Location = (new global::System.Drawing.Point(245, 216)); + this.lbl62.Name = ("lbl62"); + this.lbl62.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl62.TabIndex = (62); + this.lbl62.Text = ("值"); + // + // label59 + // + this.label59.AutoSize = (true); + this.label59.Location = (new global::System.Drawing.Point(66, 216)); + this.label59.Name = ("label59"); + this.label59.Size = (new global::System.Drawing.Size(99, 20)); + this.label59.TabIndex = (61); + this.label59.Text = ("吊具电池有无"); + // + // lbl61 + // + this.lbl61.AutoSize = (true); + this.lbl61.Location = (new global::System.Drawing.Point(36, 216)); + this.lbl61.Name = ("lbl61"); + this.lbl61.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl61.TabIndex = (60); + this.lbl61.Text = ("值"); + // + // lbl56 + // + this.lbl56.AutoSize = (true); + this.lbl56.Location = (new global::System.Drawing.Point(1179, 180)); + this.lbl56.Name = ("lbl56"); + this.lbl56.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl56.TabIndex = (59); + this.lbl56.Text = ("值"); + // + // label21 + // + this.label21.AutoSize = (true); + this.label21.Location = (new global::System.Drawing.Point(1088, 180)); + this.label21.Name = ("label21"); + this.label21.Size = (new global::System.Drawing.Size(123, 20)); + this.label21.TabIndex = (58); + this.label21.Text = ("吊具落座传感器4"); + // + // lbl55 + // + this.lbl55.AutoSize = (true); + this.lbl55.Location = (new global::System.Drawing.Point(961, 180)); + this.lbl55.Name = ("lbl55"); + this.lbl55.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl55.TabIndex = (57); + this.lbl55.Text = ("值"); + // + // label29 + // + this.label29.AutoSize = (true); + this.label29.Location = (new global::System.Drawing.Point(870, 180)); + this.label29.Name = ("label29"); + this.label29.Size = (new global::System.Drawing.Size(123, 20)); + this.label29.TabIndex = (56); + this.label29.Text = ("吊具落座传感器3"); + // + // lbl54 + // + this.lbl54.AutoSize = (true); + this.lbl54.Location = (new global::System.Drawing.Point(750, 180)); + this.lbl54.Name = ("lbl54"); + this.lbl54.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl54.TabIndex = (55); + this.lbl54.Text = ("值"); + // + // label33 + // + this.label33.AutoSize = (true); + this.label33.Location = (new global::System.Drawing.Point(659, 180)); + this.label33.Name = ("label33"); + this.label33.Size = (new global::System.Drawing.Size(93, 20)); + this.label33.TabIndex = (54); + this.label33.Text = ("转锁传感器4"); + // + // lbl53 + // + this.lbl53.AutoSize = (true); + this.lbl53.Location = (new global::System.Drawing.Point(538, 180)); + this.lbl53.Name = ("lbl53"); + this.lbl53.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl53.TabIndex = (53); + this.lbl53.Text = ("值"); + // + // label37 + // + this.label37.AutoSize = (true); + this.label37.Location = (new global::System.Drawing.Point(447, 180)); + this.label37.Name = ("label37"); + this.label37.Size = (new global::System.Drawing.Size(93, 20)); + this.label37.TabIndex = (52); + this.label37.Text = ("转锁传感器3"); + // + // lblValue26 + // + this.lblValue26.AutoSize = (true); + this.lblValue26.Location = (new global::System.Drawing.Point(275, 180)); + this.lblValue26.Name = ("lblValue26"); + this.lblValue26.Size = (new global::System.Drawing.Size(114, 20)); + this.lblValue26.TabIndex = (51); + this.lblValue26.Text = ("车辆到位传感器"); + // + // lbl52 + // + this.lbl52.AutoSize = (true); + this.lbl52.Location = (new global::System.Drawing.Point(245, 180)); + this.lbl52.Name = ("lbl52"); + this.lbl52.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl52.TabIndex = (50); + this.lbl52.Text = ("值"); + // + // lblValue25 + // + this.lblValue25.AutoSize = (true); + this.lblValue25.Location = (new global::System.Drawing.Point(66, 180)); + this.lblValue25.Name = ("lblValue25"); + this.lblValue25.Size = (new global::System.Drawing.Size(69, 20)); + this.lblValue25.TabIndex = (49); + this.lblValue25.Text = ("光栅状态"); + // + // lbl51 + // + this.lbl51.AutoSize = (true); + this.lbl51.Location = (new global::System.Drawing.Point(36, 180)); + this.lbl51.Name = ("lbl51"); + this.lbl51.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl51.TabIndex = (48); + this.lbl51.Text = ("值"); + // + // lbl46 + // + this.lbl46.AutoSize = (true); + this.lbl46.Location = (new global::System.Drawing.Point(1179, 141)); + this.lbl46.Name = ("lbl46"); + this.lbl46.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl46.TabIndex = (47); + this.lbl46.Text = ("值"); + // + // label70 + // + this.label70.AutoSize = (true); + this.label70.Location = (new global::System.Drawing.Point(1088, 141)); + this.label70.Name = ("label70"); + this.label70.Size = (new global::System.Drawing.Size(123, 20)); + this.label70.TabIndex = (46); + this.label70.Text = ("吊具落座传感器2"); + // + // lbl45 + // + this.lbl45.AutoSize = (true); + this.lbl45.Location = (new global::System.Drawing.Point(961, 141)); + this.lbl45.Name = ("lbl45"); + this.lbl45.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl45.TabIndex = (45); + this.lbl45.Text = ("值"); + // + // label68 + // + this.label68.AutoSize = (true); + this.label68.Location = (new global::System.Drawing.Point(870, 141)); + this.label68.Name = ("label68"); + this.label68.Size = (new global::System.Drawing.Size(123, 20)); + this.label68.TabIndex = (44); + this.label68.Text = ("吊具落座传感器1"); + // + // lbl44 + // + this.lbl44.AutoSize = (true); + this.lbl44.Location = (new global::System.Drawing.Point(750, 141)); + this.lbl44.Name = ("lbl44"); + this.lbl44.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl44.TabIndex = (43); + this.lbl44.Text = ("值"); + // + // label66 + // + this.label66.AutoSize = (true); + this.label66.Location = (new global::System.Drawing.Point(659, 141)); + this.label66.Name = ("label66"); + this.label66.Size = (new global::System.Drawing.Size(93, 20)); + this.label66.TabIndex = (42); + this.label66.Text = ("转锁传感器2"); + // + // lbl43 + // + this.lbl43.AutoSize = (true); + this.lbl43.Location = (new global::System.Drawing.Point(538, 141)); + this.lbl43.Name = ("lbl43"); + this.lbl43.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl43.TabIndex = (41); + this.lbl43.Text = ("值"); + // + // label64 + // + this.label64.AutoSize = (true); + this.label64.Location = (new global::System.Drawing.Point(447, 141)); + this.label64.Name = ("label64"); + this.label64.Size = (new global::System.Drawing.Size(93, 20)); + this.label64.TabIndex = (40); + this.label64.Text = ("转锁传感器1"); + // + // lblValue20 + // + this.lblValue20.AutoSize = (true); + this.lblValue20.Location = (new global::System.Drawing.Point(275, 141)); + this.lblValue20.Name = ("lblValue20"); + this.lblValue20.Size = (new global::System.Drawing.Size(132, 20)); + this.lblValue20.TabIndex = (39); + this.lblValue20.Text = ("当前生效故障码10"); + // + // lbl42 + // + this.lbl42.AutoSize = (true); + this.lbl42.Location = (new global::System.Drawing.Point(245, 141)); + this.lbl42.Name = ("lbl42"); + this.lbl42.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl42.TabIndex = (38); + this.lbl42.Text = ("值"); + // + // lblValue19 + // + this.lblValue19.AutoSize = (true); + this.lblValue19.Location = (new global::System.Drawing.Point(66, 141)); + this.lblValue19.Name = ("lblValue19"); + this.lblValue19.Size = (new global::System.Drawing.Size(123, 20)); + this.lblValue19.TabIndex = (37); + this.lblValue19.Text = ("当前生效故障码9"); + // + // lbl41 + // + this.lbl41.AutoSize = (true); + this.lbl41.Location = (new global::System.Drawing.Point(34, 141)); + this.lbl41.Name = ("lbl41"); + this.lbl41.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl41.TabIndex = (36); + this.lbl41.Text = ("值"); + // + // lbl36 + // + this.lbl36.AutoSize = (true); + this.lbl36.Location = (new global::System.Drawing.Point(1179, 105)); + this.lbl36.Name = ("lbl36"); + this.lbl36.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl36.TabIndex = (35); + this.lbl36.Text = ("值"); + // + // label58 + // + this.label58.AutoSize = (true); + this.label58.Location = (new global::System.Drawing.Point(1088, 105)); + this.label58.Name = ("label58"); + this.label58.Size = (new global::System.Drawing.Size(123, 20)); + this.label58.TabIndex = (34); + this.label58.Text = ("当前生效故障码8"); + // + // lbl35 + // + this.lbl35.AutoSize = (true); + this.lbl35.Location = (new global::System.Drawing.Point(961, 105)); + this.lbl35.Name = ("lbl35"); + this.lbl35.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl35.TabIndex = (33); + this.lbl35.Text = ("值"); + // + // label56 + // + this.label56.AutoSize = (true); + this.label56.Location = (new global::System.Drawing.Point(870, 105)); + this.label56.Name = ("label56"); + this.label56.Size = (new global::System.Drawing.Size(123, 20)); + this.label56.TabIndex = (32); + this.label56.Text = ("当前生效故障码7"); + // + // lbl34 + // + this.lbl34.AutoSize = (true); + this.lbl34.Location = (new global::System.Drawing.Point(750, 105)); + this.lbl34.Name = ("lbl34"); + this.lbl34.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl34.TabIndex = (31); + this.lbl34.Text = ("值"); + // + // label54 + // + this.label54.AutoSize = (true); + this.label54.Location = (new global::System.Drawing.Point(659, 105)); + this.label54.Name = ("label54"); + this.label54.Size = (new global::System.Drawing.Size(123, 20)); + this.label54.TabIndex = (30); + this.label54.Text = ("当前生效故障码6"); + // + // lbl33 + // + this.lbl33.AutoSize = (true); + this.lbl33.Location = (new global::System.Drawing.Point(538, 105)); + this.lbl33.Name = ("lbl33"); + this.lbl33.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl33.TabIndex = (29); + this.lbl33.Text = ("值"); + // + // label52 + // + this.label52.AutoSize = (true); + this.label52.Location = (new global::System.Drawing.Point(447, 105)); + this.label52.Name = ("label52"); + this.label52.Size = (new global::System.Drawing.Size(123, 20)); + this.label52.TabIndex = (28); + this.label52.Text = ("当前生效故障码5"); + // + // lblValue14 + // + this.lblValue14.AutoSize = (true); + this.lblValue14.Location = (new global::System.Drawing.Point(275, 105)); + this.lblValue14.Name = ("lblValue14"); + this.lblValue14.Size = (new global::System.Drawing.Size(123, 20)); + this.lblValue14.TabIndex = (27); + this.lblValue14.Text = ("当前生效故障码4"); + // + // lbl32 + // + this.lbl32.AutoSize = (true); + this.lbl32.Location = (new global::System.Drawing.Point(245, 105)); + this.lbl32.Name = ("lbl32"); + this.lbl32.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl32.TabIndex = (26); + this.lbl32.Text = ("值"); + // + // lblValue13 + // + this.lblValue13.AutoSize = (true); + this.lblValue13.Location = (new global::System.Drawing.Point(68, 105)); + this.lblValue13.Name = ("lblValue13"); + this.lblValue13.Size = (new global::System.Drawing.Size(123, 20)); + this.lblValue13.TabIndex = (25); + this.lblValue13.Text = ("当前生效故障码3"); + // + // lbl31 + // + this.lbl31.AutoSize = (true); + this.lbl31.Location = (new global::System.Drawing.Point(36, 105)); + this.lbl31.Name = ("lbl31"); + this.lbl31.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl31.TabIndex = (24); + this.lbl31.Text = ("值"); + // + // lbl26 + // + this.lbl26.AutoSize = (true); + this.lbl26.Location = (new global::System.Drawing.Point(1179, 66)); + this.lbl26.Name = ("lbl26"); + this.lbl26.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl26.TabIndex = (23); + this.lbl26.Text = ("值"); + // + // label46 + // + this.label46.AutoSize = (true); + this.label46.Location = (new global::System.Drawing.Point(1088, 66)); + this.label46.Name = ("label46"); + this.label46.Size = (new global::System.Drawing.Size(123, 20)); + this.label46.TabIndex = (22); + this.label46.Text = ("当前生效故障码2"); + // + // lbl25 + // + this.lbl25.AutoSize = (true); + this.lbl25.Location = (new global::System.Drawing.Point(961, 66)); + this.lbl25.Name = ("lbl25"); + this.lbl25.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl25.TabIndex = (21); + this.lbl25.Text = ("值"); + // + // label44 + // + this.label44.AutoSize = (true); + this.label44.Location = (new global::System.Drawing.Point(870, 66)); + this.label44.Name = ("label44"); + this.label44.Size = (new global::System.Drawing.Size(123, 20)); + this.label44.TabIndex = (20); + this.label44.Text = ("当前生效故障码1"); + // + // lbl24 + // + this.lbl24.AutoSize = (true); + this.lbl24.Location = (new global::System.Drawing.Point(750, 66)); + this.lbl24.Name = ("lbl24"); + this.lbl24.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl24.TabIndex = (19); + this.lbl24.Text = ("值"); + // + // label42 + // + this.label42.AutoSize = (true); + this.label42.Location = (new global::System.Drawing.Point(659, 66)); + this.label42.Name = ("label42"); + this.label42.Size = (new global::System.Drawing.Size(46, 20)); + this.label42.TabIndex = (18); + this.label42.Text = ("z位移"); + // + // lbl23 + // + this.lbl23.AutoSize = (true); + this.lbl23.Location = (new global::System.Drawing.Point(538, 66)); + this.lbl23.Name = ("lbl23"); + this.lbl23.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl23.TabIndex = (17); + this.lbl23.Text = ("值"); + // + // label40 + // + this.label40.AutoSize = (true); + this.label40.Location = (new global::System.Drawing.Point(447, 66)); + this.label40.Name = ("label40"); + this.label40.Size = (new global::System.Drawing.Size(47, 20)); + this.label40.TabIndex = (16); + this.label40.Text = ("x位移"); + // + // lblValue08 + // + this.lblValue08.AutoSize = (true); + this.lblValue08.Location = (new global::System.Drawing.Point(275, 66)); + this.lblValue08.Name = ("lblValue08"); + this.lblValue08.Size = (new global::System.Drawing.Size(47, 20)); + this.lblValue08.TabIndex = (15); + this.lblValue08.Text = ("y位移"); + // + // lbl22 + // + this.lbl22.AutoSize = (true); + this.lbl22.Location = (new global::System.Drawing.Point(245, 66)); + this.lbl22.Name = ("lbl22"); + this.lbl22.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl22.TabIndex = (14); + this.lbl22.Text = ("值"); + // + // lblValue07 + // + this.lblValue07.AutoSize = (true); + this.lblValue07.Location = (new global::System.Drawing.Point(68, 66)); + this.lblValue07.Name = ("lblValue07"); + this.lblValue07.Size = (new global::System.Drawing.Size(129, 20)); + this.lblValue07.TabIndex = (13); + this.lblValue07.Text = ("电池定位伺服位移"); + // + // lbl21 + // + this.lbl21.AutoSize = (true); + this.lbl21.Location = (new global::System.Drawing.Point(36, 66)); + this.lbl21.Name = ("lbl21"); + this.lbl21.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl21.TabIndex = (12); + this.lbl21.Text = ("值"); + // + // lbl16 + // + this.lbl16.AutoSize = (true); + this.lbl16.Location = (new global::System.Drawing.Point(1179, 32)); + this.lbl16.Name = ("lbl16"); + this.lbl16.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl16.TabIndex = (11); + this.lbl16.Text = ("值"); + // + // label34 + // + this.label34.AutoSize = (true); + this.label34.Location = (new global::System.Drawing.Point(1088, 32)); + this.label34.Name = ("label34"); + this.label34.Size = (new global::System.Drawing.Size(159, 20)); + this.label34.TabIndex = (10); + this.label34.Text = ("当前自动流程动作代码"); + // + // lbl15 + // + this.lbl15.AutoSize = (true); + this.lbl15.Location = (new global::System.Drawing.Point(961, 32)); + this.lbl15.Name = ("lbl15"); + this.lbl15.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl15.TabIndex = (9); + this.lbl15.Text = ("值"); + // + // label32 + // + this.label32.AutoSize = (true); + this.label32.Location = (new global::System.Drawing.Point(870, 32)); + this.label32.Name = ("label32"); + this.label32.Size = (new global::System.Drawing.Size(171, 20)); + this.label32.TabIndex = (8); + this.label32.Text = ("PLC向站控发送关机指令"); + // + // lbl14 + // + this.lbl14.AutoSize = (true); + this.lbl14.Location = (new global::System.Drawing.Point(750, 32)); + this.lbl14.Name = ("lbl14"); + this.lbl14.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl14.TabIndex = (7); + this.lbl14.Text = ("值"); + // + // label30 + // + this.label30.AutoSize = (true); + this.label30.Location = (new global::System.Drawing.Point(659, 32)); + this.label30.Name = ("label30"); + this.label30.Size = (new global::System.Drawing.Size(99, 20)); + this.label30.TabIndex = (6); + this.label30.Text = ("站控指令反馈"); + // + // lbl13 + // + this.lbl13.AutoSize = (true); + this.lbl13.Location = (new global::System.Drawing.Point(538, 32)); + this.lbl13.Name = ("lbl13"); + this.lbl13.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl13.TabIndex = (5); + this.lbl13.Text = ("值"); + // + // label28 + // + this.label28.AutoSize = (true); + this.label28.Location = (new global::System.Drawing.Point(447, 32)); + this.label28.Name = ("label28"); + this.label28.Size = (new global::System.Drawing.Size(69, 20)); + this.label28.TabIndex = (4); + this.label28.Text = ("暂停状态"); + // + // lblValue02 + // + this.lblValue02.AutoSize = (true); + this.lblValue02.Location = (new global::System.Drawing.Point(275, 32)); + this.lblValue02.Name = ("lblValue02"); + this.lblValue02.Size = (new global::System.Drawing.Size(147, 20)); + this.lblValue02.TabIndex = (3); + this.lblValue02.Text = ("PLC/换电机器人状态"); + // + // lbl12 + // + this.lbl12.AutoSize = (true); + this.lbl12.Location = (new global::System.Drawing.Point(245, 32)); + this.lbl12.Name = ("lbl12"); + this.lbl12.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl12.TabIndex = (2); + this.lbl12.Text = ("值"); + // + // lblValue01 + // + this.lblValue01.AutoSize = (true); + this.lblValue01.Location = (new global::System.Drawing.Point(68, 32)); + this.lblValue01.Name = ("lblValue01"); + this.lblValue01.Size = (new global::System.Drawing.Size(99, 20)); + this.lblValue01.TabIndex = (1); + this.lblValue01.Text = ("当前换电模式"); + // + // lbl11 + // + this.lbl11.AutoSize = (true); + this.lbl11.Location = (new global::System.Drawing.Point(36, 32)); + this.lbl11.Name = ("lbl11"); + this.lbl11.Size = (new global::System.Drawing.Size(24, 20)); + this.lbl11.TabIndex = (0); + this.lbl11.Text = ("值"); + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.button29); + this.groupBox2.Controls.Add(this.txt124); + this.groupBox2.Controls.Add(this.label147); + this.groupBox2.Controls.Add(this.btn123); + this.groupBox2.Controls.Add(this.txt123); + this.groupBox2.Controls.Add(this.label148); + this.groupBox2.Controls.Add(this.btn122); + this.groupBox2.Controls.Add(this.txt122); + this.groupBox2.Controls.Add(this.label149); + this.groupBox2.Controls.Add(this.btn121); + this.groupBox2.Controls.Add(this.txt121); + this.groupBox2.Controls.Add(this.label150); + this.groupBox2.Controls.Add(this.button25); + this.groupBox2.Controls.Add(this.txt114); + this.groupBox2.Controls.Add(this.label143); + this.groupBox2.Controls.Add(this.btn113); + this.groupBox2.Controls.Add(this.txt113); + this.groupBox2.Controls.Add(this.label144); + this.groupBox2.Controls.Add(this.btn112); + this.groupBox2.Controls.Add(this.txt112); + this.groupBox2.Controls.Add(this.label145); + this.groupBox2.Controls.Add(this.btn111); + this.groupBox2.Controls.Add(this.txt111); + this.groupBox2.Controls.Add(this.label146); + this.groupBox2.Controls.Add(this.button21); + this.groupBox2.Controls.Add(this.txt104); + this.groupBox2.Controls.Add(this.label139); + this.groupBox2.Controls.Add(this.btn103); + this.groupBox2.Controls.Add(this.txt103); + this.groupBox2.Controls.Add(this.label140); + this.groupBox2.Controls.Add(this.btn102); + this.groupBox2.Controls.Add(this.txt102); + this.groupBox2.Controls.Add(this.label141); + this.groupBox2.Controls.Add(this.btn101); + this.groupBox2.Controls.Add(this.txt101); + this.groupBox2.Controls.Add(this.label142); + this.groupBox2.Controls.Add(this.button17); + this.groupBox2.Controls.Add(this.txt94); + this.groupBox2.Controls.Add(this.label135); + this.groupBox2.Controls.Add(this.btn93); + this.groupBox2.Controls.Add(this.txt93); + this.groupBox2.Controls.Add(this.label136); + this.groupBox2.Controls.Add(this.btn92); + this.groupBox2.Controls.Add(this.txt92); + this.groupBox2.Controls.Add(this.label137); + this.groupBox2.Controls.Add(this.btn91); + this.groupBox2.Controls.Add(this.txt91); + this.groupBox2.Controls.Add(this.label138); + this.groupBox2.Controls.Add(this.button13); + this.groupBox2.Controls.Add(this.txt84); + this.groupBox2.Controls.Add(this.label131); + this.groupBox2.Controls.Add(this.btn83); + this.groupBox2.Controls.Add(this.txt83); + this.groupBox2.Controls.Add(this.label132); + this.groupBox2.Controls.Add(this.btn82); + this.groupBox2.Controls.Add(this.txt82); + this.groupBox2.Controls.Add(this.label133); + this.groupBox2.Controls.Add(this.btn81); + this.groupBox2.Controls.Add(this.txt81); + this.groupBox2.Controls.Add(this.label134); + this.groupBox2.Controls.Add(this.button9); + this.groupBox2.Controls.Add(this.txt74); + this.groupBox2.Controls.Add(this.label127); + this.groupBox2.Controls.Add(this.btn73); + this.groupBox2.Controls.Add(this.txt73); + this.groupBox2.Controls.Add(this.label128); + this.groupBox2.Controls.Add(this.btn72); + this.groupBox2.Controls.Add(this.txt72); + this.groupBox2.Controls.Add(this.label129); + this.groupBox2.Controls.Add(this.btn71); + this.groupBox2.Controls.Add(this.txt71); + this.groupBox2.Controls.Add(this.label130); + this.groupBox2.Controls.Add(this.button7); + this.groupBox2.Controls.Add(this.txt64); + this.groupBox2.Controls.Add(this.label125); + this.groupBox2.Controls.Add(this.btn63); + this.groupBox2.Controls.Add(this.txt63); + this.groupBox2.Controls.Add(this.label126); + this.groupBox2.Controls.Add(this.tct11); + this.groupBox2.Controls.Add(this.label20); + this.groupBox2.Controls.Add(this.btn11); + this.groupBox2.Controls.Add(this.btn62); + this.groupBox2.Controls.Add(this.txt62); + this.groupBox2.Controls.Add(this.label25); + this.groupBox2.Controls.Add(this.btn61); + this.groupBox2.Controls.Add(this.txt61); + this.groupBox2.Controls.Add(this.label26); + this.groupBox2.Controls.Add(this.button1); + this.groupBox2.Controls.Add(this.txt54); + this.groupBox2.Controls.Add(this.label19); + this.groupBox2.Controls.Add(this.btn53); + this.groupBox2.Controls.Add(this.txt53); + this.groupBox2.Controls.Add(this.label23); + this.groupBox2.Controls.Add(this.btn52); + this.groupBox2.Controls.Add(this.txt52); + this.groupBox2.Controls.Add(this.label24); + this.groupBox2.Controls.Add(this.txt13); + this.groupBox2.Controls.Add(this.txt22); + this.groupBox2.Controls.Add(this.btn51); + this.groupBox2.Controls.Add(this.label1); + this.groupBox2.Controls.Add(this.txt51); + this.groupBox2.Controls.Add(this.txt12); + this.groupBox2.Controls.Add(this.label18); + this.groupBox2.Controls.Add(this.btn12); + this.groupBox2.Controls.Add(this.btn44); + this.groupBox2.Controls.Add(this.label2); + this.groupBox2.Controls.Add(this.txt44); + this.groupBox2.Controls.Add(this.label17); + this.groupBox2.Controls.Add(this.btn13); + this.groupBox2.Controls.Add(this.btn43); + this.groupBox2.Controls.Add(this.label3); + this.groupBox2.Controls.Add(this.txt43); + this.groupBox2.Controls.Add(this.txt14); + this.groupBox2.Controls.Add(this.label16); + this.groupBox2.Controls.Add(this.btn14); + this.groupBox2.Controls.Add(this.btn42); + this.groupBox2.Controls.Add(this.label4); + this.groupBox2.Controls.Add(this.txt42); + this.groupBox2.Controls.Add(this.txt21); + this.groupBox2.Controls.Add(this.label15); + this.groupBox2.Controls.Add(this.btn21); + this.groupBox2.Controls.Add(this.label5); + this.groupBox2.Controls.Add(this.btn41); + this.groupBox2.Controls.Add(this.btn22); + this.groupBox2.Controls.Add(this.txt41); + this.groupBox2.Controls.Add(this.label6); + this.groupBox2.Controls.Add(this.label14); + this.groupBox2.Controls.Add(this.txt23); + this.groupBox2.Controls.Add(this.btn23); + this.groupBox2.Controls.Add(this.label7); + this.groupBox2.Controls.Add(this.txt24); + this.groupBox2.Controls.Add(this.btn24); + this.groupBox2.Controls.Add(this.label8); + this.groupBox2.Controls.Add(this.txt31); + this.groupBox2.Controls.Add(this.btn34); + this.groupBox2.Controls.Add(this.btn31); + this.groupBox2.Controls.Add(this.txt34); + this.groupBox2.Controls.Add(this.label9); + this.groupBox2.Controls.Add(this.label11); + this.groupBox2.Controls.Add(this.txt32); + this.groupBox2.Controls.Add(this.btn33); + this.groupBox2.Controls.Add(this.btn32); + this.groupBox2.Controls.Add(this.txt33); + this.groupBox2.Controls.Add(this.label10); + this.groupBox2.Location = (new global::System.Drawing.Point(27, 17)); + this.groupBox2.Name = ("groupBox2"); + this.groupBox2.Size = (new global::System.Drawing.Size(1277, 430)); + this.groupBox2.TabIndex = (177); + this.groupBox2.TabStop = (false); + this.groupBox2.Text = ("可读可写"); + // + // button29 + // + this.button29.Location = (new global::System.Drawing.Point(1159, 395)); + this.button29.Name = ("button29"); + this.button29.Size = (new global::System.Drawing.Size(94, 29)); + this.button29.TabIndex = (269); + this.button29.Text = ("写"); + this.button29.UseVisualStyleBackColor = (true); + this.button29.Click += (this.button29_Click); + // + // txt124 + // + this.txt124.Location = (new global::System.Drawing.Point(1062, 396)); + this.txt124.Name = ("txt124"); + this.txt124.Size = (new global::System.Drawing.Size(80, 27)); + this.txt124.TabIndex = (268); + // + // label147 + // + this.label147.AutoSize = (true); + this.label147.Location = (new global::System.Drawing.Point(954, 399)); + this.label147.Name = ("label147"); + this.label147.Size = (new global::System.Drawing.Size(144, 20)); + this.label147.TabIndex = (267); + this.label147.Text = ("放电池规格(重量)"); + // + // btn123 + // + this.btn123.Location = (new global::System.Drawing.Point(838, 395)); + this.btn123.Name = ("btn123"); + this.btn123.Size = (new global::System.Drawing.Size(94, 29)); + this.btn123.TabIndex = (266); + this.btn123.Text = ("写"); + this.btn123.UseVisualStyleBackColor = (true); + this.btn123.Click += (this.button30_Click); + // + // txt123 + // + this.txt123.Location = (new global::System.Drawing.Point(736, 396)); + this.txt123.Name = ("txt123"); + this.txt123.Size = (new global::System.Drawing.Size(80, 27)); + this.txt123.TabIndex = (265); + // + // label148 + // + this.label148.AutoSize = (true); + this.label148.Location = (new global::System.Drawing.Point(651, 399)); + this.label148.Name = ("label148"); + this.label148.Size = (new global::System.Drawing.Size(129, 20)); + this.label148.TabIndex = (264); + this.label148.Text = ("放电池规格(高)"); + // + // btn122 + // + this.btn122.Location = (new global::System.Drawing.Point(531, 395)); + this.btn122.Name = ("btn122"); + this.btn122.Size = (new global::System.Drawing.Size(94, 29)); + this.btn122.TabIndex = (263); + this.btn122.Text = ("写"); + this.btn122.UseVisualStyleBackColor = (true); + this.btn122.Click += (this.button31_Click); + // + // txt122 + // + this.txt122.Location = (new global::System.Drawing.Point(429, 396)); + this.txt122.Name = ("txt122"); + this.txt122.Size = (new global::System.Drawing.Size(80, 27)); + this.txt122.TabIndex = (262); + // + // label149 + // + this.label149.AutoSize = (true); + this.label149.Location = (new global::System.Drawing.Point(344, 399)); + this.label149.Name = ("label149"); + this.label149.Size = (new global::System.Drawing.Size(129, 20)); + this.label149.TabIndex = (261); + this.label149.Text = ("放电池规格(宽)"); + // + // btn121 + // + this.btn121.Location = (new global::System.Drawing.Point(213, 395)); + this.btn121.Name = ("btn121"); + this.btn121.Size = (new global::System.Drawing.Size(94, 29)); + this.btn121.TabIndex = (260); + this.btn121.Text = ("写"); + this.btn121.UseVisualStyleBackColor = (true); + this.btn121.Click += (this.button32_Click); + // + // txt121 + // + this.txt121.Location = (new global::System.Drawing.Point(97, 396)); + this.txt121.Name = ("txt121"); + this.txt121.Size = (new global::System.Drawing.Size(80, 27)); + this.txt121.TabIndex = (259); + // + // label150 + // + this.label150.AutoSize = (true); + this.label150.Location = (new global::System.Drawing.Point(12, 399)); + this.label150.Name = ("label150"); + this.label150.Size = (new global::System.Drawing.Size(129, 20)); + this.label150.TabIndex = (258); + this.label150.Text = ("放电池规格(长)"); + // + // button25 + // + this.button25.Location = (new global::System.Drawing.Point(1159, 361)); + this.button25.Name = ("button25"); + this.button25.Size = (new global::System.Drawing.Size(94, 29)); + this.button25.TabIndex = (257); + this.button25.Text = ("写"); + this.button25.UseVisualStyleBackColor = (true); + this.button25.Click += (this.button25_Click); + // + // txt114 + // + this.txt114.Location = (new global::System.Drawing.Point(1062, 362)); + this.txt114.Name = ("txt114"); + this.txt114.Size = (new global::System.Drawing.Size(80, 27)); + this.txt114.TabIndex = (256); + // + // label143 + // + this.label143.AutoSize = (true); + this.label143.Location = (new global::System.Drawing.Point(954, 365)); + this.label143.Name = ("label143"); + this.label143.Size = (new global::System.Drawing.Size(144, 20)); + this.label143.TabIndex = (255); + this.label143.Text = ("取电池规格(重量)"); + // + // btn113 + // + this.btn113.Location = (new global::System.Drawing.Point(838, 361)); + this.btn113.Name = ("btn113"); + this.btn113.Size = (new global::System.Drawing.Size(94, 29)); + this.btn113.TabIndex = (254); + this.btn113.Text = ("写"); + this.btn113.UseVisualStyleBackColor = (true); + this.btn113.Click += (this.button26_Click); + // + // txt113 + // + this.txt113.Location = (new global::System.Drawing.Point(736, 362)); + this.txt113.Name = ("txt113"); + this.txt113.Size = (new global::System.Drawing.Size(80, 27)); + this.txt113.TabIndex = (253); + // + // label144 + // + this.label144.AutoSize = (true); + this.label144.Location = (new global::System.Drawing.Point(651, 365)); + this.label144.Name = ("label144"); + this.label144.Size = (new global::System.Drawing.Size(129, 20)); + this.label144.TabIndex = (252); + this.label144.Text = ("取电池规格(高)"); + // + // btn112 + // + this.btn112.Location = (new global::System.Drawing.Point(531, 361)); + this.btn112.Name = ("btn112"); + this.btn112.Size = (new global::System.Drawing.Size(94, 29)); + this.btn112.TabIndex = (251); + this.btn112.Text = ("写"); + this.btn112.UseVisualStyleBackColor = (true); + this.btn112.Click += (this.button27_Click); + // + // txt112 + // + this.txt112.Location = (new global::System.Drawing.Point(429, 362)); + this.txt112.Name = ("txt112"); + this.txt112.Size = (new global::System.Drawing.Size(80, 27)); + this.txt112.TabIndex = (250); + // + // label145 + // + this.label145.AutoSize = (true); + this.label145.Location = (new global::System.Drawing.Point(344, 365)); + this.label145.Name = ("label145"); + this.label145.Size = (new global::System.Drawing.Size(129, 20)); + this.label145.TabIndex = (249); + this.label145.Text = ("取电池规格(宽)"); + // + // btn111 + // + this.btn111.Location = (new global::System.Drawing.Point(213, 361)); + this.btn111.Name = ("btn111"); + this.btn111.Size = (new global::System.Drawing.Size(94, 29)); + this.btn111.TabIndex = (248); + this.btn111.Text = ("写"); + this.btn111.UseVisualStyleBackColor = (true); + this.btn111.Click += (this.button28_Click); + // + // txt111 + // + this.txt111.Location = (new global::System.Drawing.Point(97, 362)); + this.txt111.Name = ("txt111"); + this.txt111.Size = (new global::System.Drawing.Size(80, 27)); + this.txt111.TabIndex = (247); + // + // label146 + // + this.label146.AutoSize = (true); + this.label146.Location = (new global::System.Drawing.Point(12, 365)); + this.label146.Name = ("label146"); + this.label146.Size = (new global::System.Drawing.Size(129, 20)); + this.label146.TabIndex = (246); + this.label146.Text = ("取电池规格(长)"); + // + // button21 + // + this.button21.Location = (new global::System.Drawing.Point(1159, 326)); + this.button21.Name = ("button21"); + this.button21.Size = (new global::System.Drawing.Size(94, 29)); + this.button21.TabIndex = (245); + this.button21.Text = ("写"); + this.button21.UseVisualStyleBackColor = (true); + this.button21.Click += (this.button21_Click); + // + // txt104 + // + this.txt104.Location = (new global::System.Drawing.Point(1062, 327)); + this.txt104.Name = ("txt104"); + this.txt104.Size = (new global::System.Drawing.Size(80, 27)); + this.txt104.TabIndex = (244); + // + // label139 + // + this.label139.AutoSize = (true); + this.label139.Location = (new global::System.Drawing.Point(954, 330)); + this.label139.Name = ("label139"); + this.label139.Size = (new global::System.Drawing.Size(99, 20)); + this.label139.TabIndex = (243); + this.label139.Text = ("消防报警信号"); + // + // btn103 + // + this.btn103.Location = (new global::System.Drawing.Point(838, 326)); + this.btn103.Name = ("btn103"); + this.btn103.Size = (new global::System.Drawing.Size(94, 29)); + this.btn103.TabIndex = (242); + this.btn103.Text = ("写"); + this.btn103.UseVisualStyleBackColor = (true); + this.btn103.Click += (this.button22_Click); + // + // txt103 + // + this.txt103.Location = (new global::System.Drawing.Point(736, 327)); + this.txt103.Name = ("txt103"); + this.txt103.Size = (new global::System.Drawing.Size(80, 27)); + this.txt103.TabIndex = (241); + // + // label140 + // + this.label140.AutoSize = (true); + this.label140.Location = (new global::System.Drawing.Point(651, 330)); + this.label140.Name = ("label140"); + this.label140.Size = (new global::System.Drawing.Size(133, 20)); + this.label140.TabIndex = (240); + this.label140.Text = ("充电机8#出口温度"); + // + // btn102 + // + this.btn102.Location = (new global::System.Drawing.Point(531, 326)); + this.btn102.Name = ("btn102"); + this.btn102.Size = (new global::System.Drawing.Size(94, 29)); + this.btn102.TabIndex = (239); + this.btn102.Text = ("写"); + this.btn102.UseVisualStyleBackColor = (true); + this.btn102.Click += (this.button23_Click); + // + // txt102 + // + this.txt102.Location = (new global::System.Drawing.Point(429, 327)); + this.txt102.Name = ("txt102"); + this.txt102.Size = (new global::System.Drawing.Size(80, 27)); + this.txt102.TabIndex = (238); + // + // label141 + // + this.label141.AutoSize = (true); + this.label141.Location = (new global::System.Drawing.Point(344, 330)); + this.label141.Name = ("label141"); + this.label141.Size = (new global::System.Drawing.Size(133, 20)); + this.label141.TabIndex = (237); + this.label141.Text = ("充电机8#进口温度"); + // + // btn101 + // + this.btn101.Location = (new global::System.Drawing.Point(213, 326)); + this.btn101.Name = ("btn101"); + this.btn101.Size = (new global::System.Drawing.Size(94, 29)); + this.btn101.TabIndex = (236); + this.btn101.Text = ("写"); + this.btn101.UseVisualStyleBackColor = (true); + this.btn101.Click += (this.button24_Click); + // + // txt101 + // + this.txt101.Location = (new global::System.Drawing.Point(97, 327)); + this.txt101.Name = ("txt101"); + this.txt101.Size = (new global::System.Drawing.Size(80, 27)); + this.txt101.TabIndex = (235); + // + // label142 + // + this.label142.AutoSize = (true); + this.label142.Location = (new global::System.Drawing.Point(12, 330)); + this.label142.Name = ("label142"); + this.label142.Size = (new global::System.Drawing.Size(133, 20)); + this.label142.TabIndex = (234); + this.label142.Text = ("充电机7#出口温度"); + // + // button17 + // + this.button17.Location = (new global::System.Drawing.Point(1159, 293)); + this.button17.Name = ("button17"); + this.button17.Size = (new global::System.Drawing.Size(94, 29)); + this.button17.TabIndex = (233); + this.button17.Text = ("写"); + this.button17.UseVisualStyleBackColor = (true); + this.button17.Click += (this.button17_Click); + // + // txt94 + // + this.txt94.Location = (new global::System.Drawing.Point(1062, 294)); + this.txt94.Name = ("txt94"); + this.txt94.Size = (new global::System.Drawing.Size(80, 27)); + this.txt94.TabIndex = (232); + // + // label135 + // + this.label135.AutoSize = (true); + this.label135.Location = (new global::System.Drawing.Point(954, 297)); + this.label135.Name = ("label135"); + this.label135.Size = (new global::System.Drawing.Size(133, 20)); + this.label135.TabIndex = (231); + this.label135.Text = ("充电机7#进口温度"); + // + // btn93 + // + this.btn93.Location = (new global::System.Drawing.Point(838, 293)); + this.btn93.Name = ("btn93"); + this.btn93.Size = (new global::System.Drawing.Size(94, 29)); + this.btn93.TabIndex = (230); + this.btn93.Text = ("写"); + this.btn93.UseVisualStyleBackColor = (true); + this.btn93.Click += (this.button18_Click); + // + // txt93 + // + this.txt93.Location = (new global::System.Drawing.Point(736, 294)); + this.txt93.Name = ("txt93"); + this.txt93.Size = (new global::System.Drawing.Size(80, 27)); + this.txt93.TabIndex = (229); + // + // label136 + // + this.label136.AutoSize = (true); + this.label136.Location = (new global::System.Drawing.Point(651, 297)); + this.label136.Name = ("label136"); + this.label136.Size = (new global::System.Drawing.Size(133, 20)); + this.label136.TabIndex = (228); + this.label136.Text = ("充电机6#出口温度"); + // + // btn92 + // + this.btn92.Location = (new global::System.Drawing.Point(531, 293)); + this.btn92.Name = ("btn92"); + this.btn92.Size = (new global::System.Drawing.Size(94, 29)); + this.btn92.TabIndex = (227); + this.btn92.Text = ("写"); + this.btn92.UseVisualStyleBackColor = (true); + this.btn92.Click += (this.button19_Click); + // + // txt92 + // + this.txt92.Location = (new global::System.Drawing.Point(429, 294)); + this.txt92.Name = ("txt92"); + this.txt92.Size = (new global::System.Drawing.Size(80, 27)); + this.txt92.TabIndex = (226); + // + // label137 + // + this.label137.AutoSize = (true); + this.label137.Location = (new global::System.Drawing.Point(344, 297)); + this.label137.Name = ("label137"); + this.label137.Size = (new global::System.Drawing.Size(133, 20)); + this.label137.TabIndex = (225); + this.label137.Text = ("充电机6#进口温度"); + // + // btn91 + // + this.btn91.Location = (new global::System.Drawing.Point(213, 293)); + this.btn91.Name = ("btn91"); + this.btn91.Size = (new global::System.Drawing.Size(94, 29)); + this.btn91.TabIndex = (224); + this.btn91.Text = ("写"); + this.btn91.UseVisualStyleBackColor = (true); + this.btn91.Click += (this.button20_Click); + // + // txt91 + // + this.txt91.Location = (new global::System.Drawing.Point(97, 294)); + this.txt91.Name = ("txt91"); + this.txt91.Size = (new global::System.Drawing.Size(80, 27)); + this.txt91.TabIndex = (223); + // + // label138 + // + this.label138.AutoSize = (true); + this.label138.Location = (new global::System.Drawing.Point(12, 297)); + this.label138.Name = ("label138"); + this.label138.Size = (new global::System.Drawing.Size(133, 20)); + this.label138.TabIndex = (222); + this.label138.Text = ("充电机5#出口温度"); + // + // button13 + // + this.button13.Location = (new global::System.Drawing.Point(1159, 260)); + this.button13.Name = ("button13"); + this.button13.Size = (new global::System.Drawing.Size(94, 29)); + this.button13.TabIndex = (221); + this.button13.Text = ("写"); + this.button13.UseVisualStyleBackColor = (true); + this.button13.Click += (this.button13_Click); + // + // txt84 + // + this.txt84.Location = (new global::System.Drawing.Point(1062, 261)); + this.txt84.Name = ("txt84"); + this.txt84.Size = (new global::System.Drawing.Size(80, 27)); + this.txt84.TabIndex = (220); + // + // label131 + // + this.label131.AutoSize = (true); + this.label131.Location = (new global::System.Drawing.Point(954, 264)); + this.label131.Name = ("label131"); + this.label131.Size = (new global::System.Drawing.Size(133, 20)); + this.label131.TabIndex = (219); + this.label131.Text = ("充电机5#进口温度"); + // + // btn83 + // + this.btn83.Location = (new global::System.Drawing.Point(838, 260)); + this.btn83.Name = ("btn83"); + this.btn83.Size = (new global::System.Drawing.Size(94, 29)); + this.btn83.TabIndex = (218); + this.btn83.Text = ("写"); + this.btn83.UseVisualStyleBackColor = (true); + this.btn83.Click += (this.button14_Click); + // + // txt83 + // + this.txt83.Location = (new global::System.Drawing.Point(736, 261)); + this.txt83.Name = ("txt83"); + this.txt83.Size = (new global::System.Drawing.Size(80, 27)); + this.txt83.TabIndex = (217); + // + // label132 + // + this.label132.AutoSize = (true); + this.label132.Location = (new global::System.Drawing.Point(651, 264)); + this.label132.Name = ("label132"); + this.label132.Size = (new global::System.Drawing.Size(133, 20)); + this.label132.TabIndex = (216); + this.label132.Text = ("充电机4#出口温度"); + // + // btn82 + // + this.btn82.Location = (new global::System.Drawing.Point(531, 260)); + this.btn82.Name = ("btn82"); + this.btn82.Size = (new global::System.Drawing.Size(94, 29)); + this.btn82.TabIndex = (215); + this.btn82.Text = ("写"); + this.btn82.UseVisualStyleBackColor = (true); + this.btn82.Click += (this.button15_Click); + // + // txt82 + // + this.txt82.Location = (new global::System.Drawing.Point(429, 261)); + this.txt82.Name = ("txt82"); + this.txt82.Size = (new global::System.Drawing.Size(80, 27)); + this.txt82.TabIndex = (214); + // + // label133 + // + this.label133.AutoSize = (true); + this.label133.Location = (new global::System.Drawing.Point(344, 264)); + this.label133.Name = ("label133"); + this.label133.Size = (new global::System.Drawing.Size(133, 20)); + this.label133.TabIndex = (213); + this.label133.Text = ("充电机4#进口温度"); + // + // btn81 + // + this.btn81.Location = (new global::System.Drawing.Point(213, 260)); + this.btn81.Name = ("btn81"); + this.btn81.Size = (new global::System.Drawing.Size(94, 29)); + this.btn81.TabIndex = (212); + this.btn81.Text = ("写"); + this.btn81.UseVisualStyleBackColor = (true); + this.btn81.Click += (this.button16_Click); + // + // txt81 + // + this.txt81.Location = (new global::System.Drawing.Point(97, 261)); + this.txt81.Name = ("txt81"); + this.txt81.Size = (new global::System.Drawing.Size(80, 27)); + this.txt81.TabIndex = (211); + // + // label134 + // + this.label134.AutoSize = (true); + this.label134.Location = (new global::System.Drawing.Point(12, 264)); + this.label134.Name = ("label134"); + this.label134.Size = (new global::System.Drawing.Size(133, 20)); + this.label134.TabIndex = (210); + this.label134.Text = ("充电机3#出口温度"); + // + // button9 + // + this.button9.Location = (new global::System.Drawing.Point(1159, 227)); + this.button9.Name = ("button9"); + this.button9.Size = (new global::System.Drawing.Size(94, 29)); + this.button9.TabIndex = (209); + this.button9.Text = ("写"); + this.button9.UseVisualStyleBackColor = (true); + this.button9.Click += (this.button9_Click); + // + // txt74 + // + this.txt74.Location = (new global::System.Drawing.Point(1062, 228)); + this.txt74.Name = ("txt74"); + this.txt74.Size = (new global::System.Drawing.Size(80, 27)); + this.txt74.TabIndex = (208); + // + // label127 + // + this.label127.AutoSize = (true); + this.label127.Location = (new global::System.Drawing.Point(954, 231)); + this.label127.Name = ("label127"); + this.label127.Size = (new global::System.Drawing.Size(133, 20)); + this.label127.TabIndex = (207); + this.label127.Text = ("充电机3#进口温度"); + // + // btn73 + // + this.btn73.Location = (new global::System.Drawing.Point(838, 227)); + this.btn73.Name = ("btn73"); + this.btn73.Size = (new global::System.Drawing.Size(94, 29)); + this.btn73.TabIndex = (206); + this.btn73.Text = ("写"); + this.btn73.UseVisualStyleBackColor = (true); + this.btn73.Click += (this.button10_Click); + // + // txt73 + // + this.txt73.Location = (new global::System.Drawing.Point(736, 228)); + this.txt73.Name = ("txt73"); + this.txt73.Size = (new global::System.Drawing.Size(80, 27)); + this.txt73.TabIndex = (205); + // + // label128 + // + this.label128.AutoSize = (true); + this.label128.Location = (new global::System.Drawing.Point(651, 231)); + this.label128.Name = ("label128"); + this.label128.Size = (new global::System.Drawing.Size(133, 20)); + this.label128.TabIndex = (204); + this.label128.Text = ("充电机2#出口温度"); + // + // btn72 + // + this.btn72.Location = (new global::System.Drawing.Point(531, 227)); + this.btn72.Name = ("btn72"); + this.btn72.Size = (new global::System.Drawing.Size(94, 29)); + this.btn72.TabIndex = (203); + this.btn72.Text = ("写"); + this.btn72.UseVisualStyleBackColor = (true); + this.btn72.Click += (this.button11_Click); + // + // txt72 + // + this.txt72.Location = (new global::System.Drawing.Point(429, 228)); + this.txt72.Name = ("txt72"); + this.txt72.Size = (new global::System.Drawing.Size(80, 27)); + this.txt72.TabIndex = (202); + // + // label129 + // + this.label129.AutoSize = (true); + this.label129.Location = (new global::System.Drawing.Point(344, 231)); + this.label129.Name = ("label129"); + this.label129.Size = (new global::System.Drawing.Size(133, 20)); + this.label129.TabIndex = (201); + this.label129.Text = ("充电机2#进口温度"); + // + // btn71 + // + this.btn71.Location = (new global::System.Drawing.Point(213, 227)); + this.btn71.Name = ("btn71"); + this.btn71.Size = (new global::System.Drawing.Size(94, 29)); + this.btn71.TabIndex = (200); + this.btn71.Text = ("写"); + this.btn71.UseVisualStyleBackColor = (true); + this.btn71.Click += (this.button12_Click); + // + // txt71 + // + this.txt71.Location = (new global::System.Drawing.Point(97, 228)); + this.txt71.Name = ("txt71"); + this.txt71.Size = (new global::System.Drawing.Size(80, 27)); + this.txt71.TabIndex = (199); + // + // label130 + // + this.label130.AutoSize = (true); + this.label130.Location = (new global::System.Drawing.Point(12, 231)); + this.label130.Name = ("label130"); + this.label130.Size = (new global::System.Drawing.Size(133, 20)); + this.label130.TabIndex = (198); + this.label130.Text = ("充电机1#出口温度"); + // + // button7 + // + this.button7.Location = (new global::System.Drawing.Point(1159, 194)); + this.button7.Name = ("button7"); + this.button7.Size = (new global::System.Drawing.Size(94, 29)); + this.button7.TabIndex = (197); + this.button7.Text = ("写"); + this.button7.UseVisualStyleBackColor = (true); + this.button7.Click += (this.button7_Click); + // + // txt64 + // + this.txt64.Location = (new global::System.Drawing.Point(1062, 195)); + this.txt64.Name = ("txt64"); + this.txt64.Size = (new global::System.Drawing.Size(80, 27)); + this.txt64.TabIndex = (196); + // + // label125 + // + this.label125.AutoSize = (true); + this.label125.Location = (new global::System.Drawing.Point(954, 198)); + this.label125.Name = ("label125"); + this.label125.Size = (new global::System.Drawing.Size(133, 20)); + this.label125.TabIndex = (195); + this.label125.Text = ("充电机1#进口温度"); + // + // btn63 + // + this.btn63.Location = (new global::System.Drawing.Point(838, 194)); + this.btn63.Name = ("btn63"); + this.btn63.Size = (new global::System.Drawing.Size(94, 29)); + this.btn63.TabIndex = (194); + this.btn63.Text = ("写"); + this.btn63.UseVisualStyleBackColor = (true); + this.btn63.Click += (this.button8_Click); + // + // txt63 + // + this.txt63.Location = (new global::System.Drawing.Point(736, 195)); + this.txt63.Name = ("txt63"); + this.txt63.Size = (new global::System.Drawing.Size(80, 27)); + this.txt63.TabIndex = (193); + // + // label126 + // + this.label126.AutoSize = (true); + this.label126.Location = (new global::System.Drawing.Point(651, 198)); + this.label126.Name = ("label126"); + this.label126.Size = (new global::System.Drawing.Size(79, 20)); + this.label126.TabIndex = (192); + this.label126.Text = ("TBOX解锁"); + // + // tct11 + // + this.tct11.Location = (new global::System.Drawing.Point(97, 27)); + this.tct11.Name = ("tct11"); + this.tct11.Size = (new global::System.Drawing.Size(80, 27)); + this.tct11.TabIndex = (191); + // + // label20 + // + this.label20.AutoSize = (true); + this.label20.Location = (new global::System.Drawing.Point(11, 30)); + this.label20.Name = ("label20"); + this.label20.Size = (new global::System.Drawing.Size(114, 20)); + this.label20.TabIndex = (188); + this.label20.Text = ("交通灯灯光功能"); + // + // btn11 + // + this.btn11.Location = (new global::System.Drawing.Point(213, 26)); + this.btn11.Name = ("btn11"); + this.btn11.Size = (new global::System.Drawing.Size(94, 29)); + this.btn11.TabIndex = (187); + this.btn11.Text = ("写"); + this.btn11.UseVisualStyleBackColor = (true); + this.btn11.Click += (this.button6_Click); + // + // btn62 + // + this.btn62.Location = (new global::System.Drawing.Point(531, 194)); + this.btn62.Name = ("btn62"); + this.btn62.Size = (new global::System.Drawing.Size(94, 29)); + this.btn62.TabIndex = (186); + this.btn62.Text = ("写"); + this.btn62.UseVisualStyleBackColor = (true); + this.btn62.Click += (this.button4_Click); + // + // txt62 + // + this.txt62.Location = (new global::System.Drawing.Point(429, 195)); + this.txt62.Name = ("txt62"); + this.txt62.Size = (new global::System.Drawing.Size(80, 27)); + this.txt62.TabIndex = (185); + // + // label25 + // + this.label25.AutoSize = (true); + this.label25.Location = (new global::System.Drawing.Point(344, 198)); + this.label25.Name = ("label25"); + this.label25.Size = (new global::System.Drawing.Size(84, 20)); + this.label25.TabIndex = (184); + this.label25.Text = ("架载机状态"); + // + // btn61 + // + this.btn61.Location = (new global::System.Drawing.Point(213, 194)); + this.btn61.Name = ("btn61"); + this.btn61.Size = (new global::System.Drawing.Size(94, 29)); + this.btn61.TabIndex = (183); + this.btn61.Text = ("写"); + this.btn61.UseVisualStyleBackColor = (true); + this.btn61.Click += (this.button5_Click); + // + // txt61 + // + this.txt61.Location = (new global::System.Drawing.Point(97, 195)); + this.txt61.Name = ("txt61"); + this.txt61.Size = (new global::System.Drawing.Size(80, 27)); + this.txt61.TabIndex = (182); + // + // label26 + // + this.label26.AutoSize = (true); + this.label26.Location = (new global::System.Drawing.Point(12, 198)); + this.label26.Name = ("label26"); + this.label26.Size = (new global::System.Drawing.Size(39, 20)); + this.label26.TabIndex = (181); + this.label26.Text = ("备用"); + // + // button1 + // + this.button1.Location = (new global::System.Drawing.Point(1159, 159)); + this.button1.Name = ("button1"); + this.button1.Size = (new global::System.Drawing.Size(94, 29)); + this.button1.TabIndex = (180); + this.button1.Text = ("写"); + this.button1.UseVisualStyleBackColor = (true); + this.button1.Click += (this.button1_Click); + // + // txt54 + // + this.txt54.Location = (new global::System.Drawing.Point(1062, 160)); + this.txt54.Name = ("txt54"); + this.txt54.Size = (new global::System.Drawing.Size(80, 27)); + this.txt54.TabIndex = (179); + // + // label19 + // + this.label19.AutoSize = (true); + this.label19.Location = (new global::System.Drawing.Point(954, 163)); + this.label19.Name = ("label19"); + this.label19.Size = (new global::System.Drawing.Size(39, 20)); + this.label19.TabIndex = (178); + this.label19.Text = ("备用"); + // + // btn53 + // + this.btn53.Location = (new global::System.Drawing.Point(838, 159)); + this.btn53.Name = ("btn53"); + this.btn53.Size = (new global::System.Drawing.Size(94, 29)); + this.btn53.TabIndex = (177); + this.btn53.Text = ("写"); + this.btn53.UseVisualStyleBackColor = (true); + this.btn53.Click += (this.button2_Click); + // + // txt53 + // + this.txt53.Location = (new global::System.Drawing.Point(736, 160)); + this.txt53.Name = ("txt53"); + this.txt53.Size = (new global::System.Drawing.Size(80, 27)); + this.txt53.TabIndex = (176); + // + // label23 + // + this.label23.AutoSize = (true); + this.label23.Location = (new global::System.Drawing.Point(651, 163)); + this.label23.Name = ("label23"); + this.label23.Size = (new global::System.Drawing.Size(39, 20)); + this.label23.TabIndex = (175); + this.label23.Text = ("备用"); + // + // btn52 + // + this.btn52.Location = (new global::System.Drawing.Point(531, 159)); + this.btn52.Name = ("btn52"); + this.btn52.Size = (new global::System.Drawing.Size(94, 29)); + this.btn52.TabIndex = (174); + this.btn52.Text = ("写"); + this.btn52.UseVisualStyleBackColor = (true); + this.btn52.Click += (this.button3_Click); + // + // txt52 + // + this.txt52.Location = (new global::System.Drawing.Point(429, 160)); + this.txt52.Name = ("txt52"); + this.txt52.Size = (new global::System.Drawing.Size(80, 27)); + this.txt52.TabIndex = (173); + // + // label24 + // + this.label24.AutoSize = (true); + this.label24.Location = (new global::System.Drawing.Point(344, 163)); + this.label24.Name = ("label24"); + this.label24.Size = (new global::System.Drawing.Size(39, 20)); + this.label24.TabIndex = (172); + this.label24.Text = ("备用"); + // + // txt13 + // + this.txt13.Location = (new global::System.Drawing.Point(736, 27)); + this.txt13.Name = ("txt13"); + this.txt13.Size = (new global::System.Drawing.Size(80, 27)); + this.txt13.TabIndex = (121); + // + // txt22 + // + this.txt22.Location = (new global::System.Drawing.Point(429, 62)); + this.txt22.Name = ("txt22"); + this.txt22.Size = (new global::System.Drawing.Size(80, 27)); + this.txt22.TabIndex = (130); + // + // btn51 + // + this.btn51.Location = (new global::System.Drawing.Point(213, 159)); + this.btn51.Name = ("btn51"); + this.btn51.Size = (new global::System.Drawing.Size(94, 29)); + this.btn51.TabIndex = (171); + this.btn51.Text = ("写"); + this.btn51.UseVisualStyleBackColor = (true); + this.btn51.Click += (this.BtnWrite18_Click); + // + // label1 + // + this.label1.AutoSize = (true); + this.label1.Location = (new global::System.Drawing.Point(344, 30)); + this.label1.Name = ("label1"); + this.label1.Size = (new global::System.Drawing.Size(144, 20)); + this.label1.TabIndex = (117); + this.label1.Text = ("被换车辆车型的标定"); + // + // txt51 + // + this.txt51.Location = (new global::System.Drawing.Point(97, 160)); + this.txt51.Name = ("txt51"); + this.txt51.Size = (new global::System.Drawing.Size(80, 27)); + this.txt51.TabIndex = (170); + // + // txt12 + // + this.txt12.Location = (new global::System.Drawing.Point(429, 27)); + this.txt12.Name = ("txt12"); + this.txt12.Size = (new global::System.Drawing.Size(80, 27)); + this.txt12.TabIndex = (118); + // + // label18 + // + this.label18.AutoSize = (true); + this.label18.Location = (new global::System.Drawing.Point(-32, 163)); + this.label18.Name = ("label18"); + this.label18.Size = (new global::System.Drawing.Size(123, 20)); + this.label18.TabIndex = (169); + this.label18.Text = ("充电机散热风扇4"); + // + // btn12 + // + this.btn12.Location = (new global::System.Drawing.Point(531, 26)); + this.btn12.Name = ("btn12"); + this.btn12.Size = (new global::System.Drawing.Size(94, 29)); + this.btn12.TabIndex = (119); + this.btn12.Text = ("写"); + this.btn12.UseVisualStyleBackColor = (true); + this.btn12.Click += (this.BtnWrite01_Click); + // + // btn44 + // + this.btn44.Location = (new global::System.Drawing.Point(1159, 124)); + this.btn44.Name = ("btn44"); + this.btn44.Size = (new global::System.Drawing.Size(94, 29)); + this.btn44.TabIndex = (168); + this.btn44.Text = ("写"); + this.btn44.UseVisualStyleBackColor = (true); + this.btn44.Click += (this.BtnWrite17_Click); + // + // label2 + // + this.label2.AutoSize = (true); + this.label2.Location = (new global::System.Drawing.Point(659, 30)); + this.label2.Name = ("label2"); + this.label2.Size = (new global::System.Drawing.Size(114, 20)); + this.label2.TabIndex = (120); + this.label2.Text = ("放电池仓位代码"); + // + // txt44 + // + this.txt44.Location = (new global::System.Drawing.Point(1062, 125)); + this.txt44.Name = ("txt44"); + this.txt44.Size = (new global::System.Drawing.Size(80, 27)); + this.txt44.TabIndex = (167); + // + // label17 + // + this.label17.AutoSize = (true); + this.label17.Location = (new global::System.Drawing.Point(930, 128)); + this.label17.Name = ("label17"); + this.label17.Size = (new global::System.Drawing.Size(123, 20)); + this.label17.TabIndex = (166); + this.label17.Text = ("充电机散热风扇3"); + // + // btn13 + // + this.btn13.Location = (new global::System.Drawing.Point(838, 26)); + this.btn13.Name = ("btn13"); + this.btn13.Size = (new global::System.Drawing.Size(94, 29)); + this.btn13.TabIndex = (122); + this.btn13.Text = ("写"); + this.btn13.UseVisualStyleBackColor = (true); + this.btn13.Click += (this.BtnWrite02_Click); + // + // btn43 + // + this.btn43.Location = (new global::System.Drawing.Point(838, 124)); + this.btn43.Name = ("btn43"); + this.btn43.Size = (new global::System.Drawing.Size(94, 29)); + this.btn43.TabIndex = (165); + this.btn43.Text = ("写"); + this.btn43.UseVisualStyleBackColor = (true); + this.btn43.Click += (this.BtnWrite16_Click); + // + // label3 + // + this.label3.AutoSize = (true); + this.label3.Location = (new global::System.Drawing.Point(969, 30)); + this.label3.Name = ("label3"); + this.label3.Size = (new global::System.Drawing.Size(114, 20)); + this.label3.TabIndex = (123); + this.label3.Text = ("取电池仓位代码"); + // + // txt43 + // + this.txt43.Location = (new global::System.Drawing.Point(736, 125)); + this.txt43.Name = ("txt43"); + this.txt43.Size = (new global::System.Drawing.Size(80, 27)); + this.txt43.TabIndex = (164); + // + // txt14 + // + this.txt14.Location = (new global::System.Drawing.Point(1062, 27)); + this.txt14.Name = ("txt14"); + this.txt14.Size = (new global::System.Drawing.Size(80, 27)); + this.txt14.TabIndex = (124); + // + // label16 + // + this.label16.AutoSize = (true); + this.label16.Location = (new global::System.Drawing.Point(607, 128)); + this.label16.Name = ("label16"); + this.label16.Size = (new global::System.Drawing.Size(123, 20)); + this.label16.TabIndex = (163); + this.label16.Text = ("充电机散热风扇2"); + // + // btn14 + // + this.btn14.Location = (new global::System.Drawing.Point(1159, 26)); + this.btn14.Name = ("btn14"); + this.btn14.Size = (new global::System.Drawing.Size(94, 29)); + this.btn14.TabIndex = (125); + this.btn14.Text = ("写"); + this.btn14.UseVisualStyleBackColor = (true); + this.btn14.Click += (this.BtnWrite03_Click); + // + // btn42 + // + this.btn42.Location = (new global::System.Drawing.Point(531, 124)); + this.btn42.Name = ("btn42"); + this.btn42.Size = (new global::System.Drawing.Size(94, 29)); + this.btn42.TabIndex = (162); + this.btn42.Text = ("写"); + this.btn42.UseVisualStyleBackColor = (true); + this.btn42.Click += (this.BtnWrite15_Click); + // + // label4 + // + this.label4.AutoSize = (true); + this.label4.Location = (new global::System.Drawing.Point(12, 65)); + this.label4.Name = ("label4"); + this.label4.Size = (new global::System.Drawing.Size(99, 20)); + this.label4.TabIndex = (126); + this.label4.Text = ("站控操作指令"); + // + // txt42 + // + this.txt42.Location = (new global::System.Drawing.Point(429, 125)); + this.txt42.Name = ("txt42"); + this.txt42.Size = (new global::System.Drawing.Size(80, 27)); + this.txt42.TabIndex = (161); + // + // txt21 + // + this.txt21.Location = (new global::System.Drawing.Point(97, 62)); + this.txt21.Name = ("txt21"); + this.txt21.Size = (new global::System.Drawing.Size(80, 27)); + this.txt21.TabIndex = (127); + // + // label15 + // + this.label15.AutoSize = (true); + this.label15.Location = (new global::System.Drawing.Point(300, 128)); + this.label15.Name = ("label15"); + this.label15.Size = (new global::System.Drawing.Size(123, 20)); + this.label15.TabIndex = (160); + this.label15.Text = ("充电机散热风扇1"); + // + // btn21 + // + this.btn21.Location = (new global::System.Drawing.Point(213, 61)); + this.btn21.Name = ("btn21"); + this.btn21.Size = (new global::System.Drawing.Size(94, 29)); + this.btn21.TabIndex = (128); + this.btn21.Text = ("写"); + this.btn21.UseVisualStyleBackColor = (true); + this.btn21.Click += (this.BtnWrite04_Click); + // + // label5 + // + this.label5.AutoSize = (true); + this.label5.Location = (new global::System.Drawing.Point(344, 65)); + this.label5.Name = ("label5"); + this.label5.Size = (new global::System.Drawing.Size(99, 20)); + this.label5.TabIndex = (129); + this.label5.Text = ("换电模式切换"); + // + // btn41 + // + this.btn41.Location = (new global::System.Drawing.Point(213, 124)); + this.btn41.Name = ("btn41"); + this.btn41.Size = (new global::System.Drawing.Size(94, 29)); + this.btn41.TabIndex = (158); + this.btn41.Text = ("写"); + this.btn41.UseVisualStyleBackColor = (true); + this.btn41.Click += (this.BtnWrite14_Click); + // + // btn22 + // + this.btn22.Location = (new global::System.Drawing.Point(531, 61)); + this.btn22.Name = ("btn22"); + this.btn22.Size = (new global::System.Drawing.Size(94, 29)); + this.btn22.TabIndex = (131); + this.btn22.Text = ("写"); + this.btn22.UseVisualStyleBackColor = (true); + this.btn22.Click += (this.BtnWrite05_Click); + // + // txt41 + // + this.txt41.Location = (new global::System.Drawing.Point(97, 125)); + this.txt41.Name = ("txt41"); + this.txt41.Size = (new global::System.Drawing.Size(80, 27)); + this.txt41.TabIndex = (157); + // + // label6 + // + this.label6.AutoSize = (true); + this.label6.Location = (new global::System.Drawing.Point(681, 65)); + this.label6.Name = ("label6"); + this.label6.Size = (new global::System.Drawing.Size(129, 20)); + this.label6.TabIndex = (132); + this.label6.Text = ("车上亏电电池高度"); + // + // label14 + // + this.label14.AutoSize = (true); + this.label14.Location = (new global::System.Drawing.Point(5, 128)); + this.label14.Name = ("label14"); + this.label14.Size = (new global::System.Drawing.Size(39, 20)); + this.label14.TabIndex = (156); + this.label14.Text = ("备用"); + // + // txt23 + // + this.txt23.Location = (new global::System.Drawing.Point(736, 62)); + this.txt23.Name = ("txt23"); + this.txt23.Size = (new global::System.Drawing.Size(80, 27)); + this.txt23.TabIndex = (133); + // + // btn23 + // + this.btn23.Location = (new global::System.Drawing.Point(838, 61)); + this.btn23.Name = ("btn23"); + this.btn23.Size = (new global::System.Drawing.Size(94, 29)); + this.btn23.TabIndex = (134); + this.btn23.Text = ("写"); + this.btn23.UseVisualStyleBackColor = (true); + this.btn23.Click += (this.BtnWrite06_Click); + // + // label7 + // + this.label7.AutoSize = (true); + this.label7.Location = (new global::System.Drawing.Point(991, 65)); + this.label7.Name = ("label7"); + this.label7.Size = (new global::System.Drawing.Size(129, 20)); + this.label7.TabIndex = (135); + this.label7.Text = ("车上亏电电池长度"); + // + // txt24 + // + this.txt24.Location = (new global::System.Drawing.Point(1062, 62)); + this.txt24.Name = ("txt24"); + this.txt24.Size = (new global::System.Drawing.Size(80, 27)); + this.txt24.TabIndex = (136); + // + // btn24 + // + this.btn24.Location = (new global::System.Drawing.Point(1159, 61)); + this.btn24.Name = ("btn24"); + this.btn24.Size = (new global::System.Drawing.Size(94, 29)); + this.btn24.TabIndex = (137); + this.btn24.Text = ("写"); + this.btn24.UseVisualStyleBackColor = (true); + this.btn24.Click += (this.BtnWrite07_Click); + // + // label8 + // + this.label8.AutoSize = (true); + this.label8.Location = (new global::System.Drawing.Point(6, 92)); + this.label8.Name = ("label8"); + this.label8.Size = (new global::System.Drawing.Size(129, 20)); + this.label8.TabIndex = (138); + this.label8.Text = ("车上亏电电池宽度"); + // + // txt31 + // + this.txt31.Location = (new global::System.Drawing.Point(97, 90)); + this.txt31.Name = ("txt31"); + this.txt31.Size = (new global::System.Drawing.Size(80, 27)); + this.txt31.TabIndex = (139); + // + // btn34 + // + this.btn34.Location = (new global::System.Drawing.Point(1159, 89)); + this.btn34.Name = ("btn34"); + this.btn34.Size = (new global::System.Drawing.Size(94, 29)); + this.btn34.TabIndex = (149); + this.btn34.Text = ("写"); + this.btn34.UseVisualStyleBackColor = (true); + this.btn34.Click += (this.BtnWrite11_Click); + // + // btn31 + // + this.btn31.Location = (new global::System.Drawing.Point(213, 89)); + this.btn31.Name = ("btn31"); + this.btn31.Size = (new global::System.Drawing.Size(94, 29)); + this.btn31.TabIndex = (140); + this.btn31.Text = ("写"); + this.btn31.UseVisualStyleBackColor = (true); + this.btn31.Click += (this.BtnWrite08_Click); + // + // txt34 + // + this.txt34.Location = (new global::System.Drawing.Point(1062, 90)); + this.txt34.Name = ("txt34"); + this.txt34.Size = (new global::System.Drawing.Size(80, 27)); + this.txt34.TabIndex = (148); + // + // label9 + // + this.label9.AutoSize = (true); + this.label9.Location = (new global::System.Drawing.Point(366, 93)); + this.label9.Name = ("label9"); + this.label9.Size = (new global::System.Drawing.Size(39, 20)); + this.label9.TabIndex = (141); + this.label9.Text = ("备用"); + // + // label11 + // + this.label11.AutoSize = (true); + this.label11.Location = (new global::System.Drawing.Point(991, 93)); + this.label11.Name = ("label11"); + this.label11.Size = (new global::System.Drawing.Size(39, 20)); + this.label11.TabIndex = (147); + this.label11.Text = ("备用"); + // + // txt32 + // + this.txt32.Location = (new global::System.Drawing.Point(429, 90)); + this.txt32.Name = ("txt32"); + this.txt32.Size = (new global::System.Drawing.Size(80, 27)); + this.txt32.TabIndex = (142); + // + // btn33 + // + this.btn33.Location = (new global::System.Drawing.Point(838, 89)); + this.btn33.Name = ("btn33"); + this.btn33.Size = (new global::System.Drawing.Size(94, 29)); + this.btn33.TabIndex = (146); + this.btn33.Text = ("写"); + this.btn33.UseVisualStyleBackColor = (true); + this.btn33.Click += (this.BtnWrite10_Click); + // + // btn32 + // + this.btn32.Location = (new global::System.Drawing.Point(531, 89)); + this.btn32.Name = ("btn32"); + this.btn32.Size = (new global::System.Drawing.Size(94, 29)); + this.btn32.TabIndex = (143); + this.btn32.Text = ("写"); + this.btn32.UseVisualStyleBackColor = (true); + this.btn32.Click += (this.BtnWrite09_Click); + // + // txt33 + // + this.txt33.Location = (new global::System.Drawing.Point(736, 90)); + this.txt33.Name = ("txt33"); + this.txt33.Size = (new global::System.Drawing.Size(80, 27)); + this.txt33.TabIndex = (145); + // + // label10 + // + this.label10.AutoSize = (true); + this.label10.Location = (new global::System.Drawing.Point(681, 93)); + this.label10.Name = ("label10"); + this.label10.Size = (new global::System.Drawing.Size(39, 20)); + this.label10.TabIndex = (144); + this.label10.Text = ("备用"); + // + // FrmAfrica + // + this.AutoScaleDimensions = (new global::System.Drawing.SizeF(9F, 20F)); + this.AutoScaleMode = (global::System.Windows.Forms.AutoScaleMode.Font); + this.ClientSize = (new global::System.Drawing.Size(1381, 844)); + this.Controls.Add(this.groupBox4); + this.Controls.Add(this.groupBox2); + this.Name = ("FrmAfrica"); + this.Text = ("FrmAfrica"); + this.groupBox4.ResumeLayout(false); + this.groupBox4.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + this.ResumeLayout(false); + } + + #endregion + + private GroupBox groupBox4; + private Label lbl114; + private Label label118; + private Label lbl113; + private Label label120; + private Label label121; + private Label lbl112; + private Label label123; + private Label lbl111; + private Label lbl116; + private Label label106; + private Label lbl105; + private Label label108; + private Label lbl104; + private Label label110; + private Label lbl103; + private Label label112; + private Label label113; + private Label lbl102; + private Label label115; + private Label lbl101; + private Label lbl106; + private Label label94; + private Label lbl95; + private Label label96; + private Label lbl94; + private Label label98; + private Label lbl93; + private Label label100; + private Label label101; + private Label lbl92; + private Label label103; + private Label lbl91; + private Label lbl96; + private Label label82; + private Label lbl85; + private Label label84; + private Label lbl84; + private Label label86; + private Label lbl83; + private Label label88; + private Label label89; + private Label lbl82; + private Label label91; + private Label lbl81; + private Label lbl86; + private Label label65; + private Label lbl75; + private Label label69; + private Label lbl74; + private Label label73; + private Label lbl73; + private Label label76; + private Label label77; + private Label lbl72; + private Label label79; + private Label lbl71; + private Label lbl76; + private Label label41; + private Label lbl65; + private Label label45; + private Label lbl64; + private Label label49; + private Label lbl63; + private Label label53; + private Label label55; + private Label lbl62; + private Label label59; + private Label lbl61; + private Label lbl56; + private Label label21; + private Label lbl55; + private Label label29; + private Label lbl54; + private Label label33; + private Label lbl53; + private Label label37; + private Label lblValue26; + private Label lbl52; + private Label lblValue25; + private Label lbl51; + private Label lbl46; + private Label label70; + private Label lbl45; + private Label label68; + private Label lbl44; + private Label label66; + private Label lbl43; + private Label label64; + private Label lblValue20; + private Label lbl42; + private Label lblValue19; + private Label lbl41; + private Label lbl36; + private Label label58; + private Label lbl35; + private Label label56; + private Label lbl34; + private Label label54; + private Label lbl33; + private Label label52; + private Label lblValue14; + private Label lbl32; + private Label lblValue13; + private Label lbl31; + private Label lbl26; + private Label label46; + private Label lbl25; + private Label label44; + private Label lbl24; + private Label label42; + private Label lbl23; + private Label label40; + private Label lblValue08; + private Label lbl22; + private Label lblValue07; + private Label lbl21; + private Label lbl16; + private Label label34; + private Label lbl15; + private Label label32; + private Label lbl14; + private Label label30; + private Label lbl13; + private Label label28; + private Label lblValue02; + private Label lbl12; + private Label lblValue01; + private Label lbl11; + private GroupBox groupBox2; + private Button button21; + private TextBox txt104; + private Label label139; + private Button btn103; + private TextBox txt103; + private Label label140; + private Button btn102; + private TextBox txt102; + private Label label141; + private Button btn101; + private TextBox txt101; + private Label label142; + private Button button17; + private TextBox txt94; + private Label label135; + private Button btn93; + private TextBox txt93; + private Label label136; + private Button btn92; + private TextBox txt92; + private Label label137; + private Button btn91; + private TextBox txt91; + private Label label138; + private Button button13; + private TextBox txt84; + private Label label131; + private Button btn83; + private TextBox txt83; + private Label label132; + private Button btn82; + private TextBox txt82; + private Label label133; + private Button btn81; + private TextBox txt81; + private Label label134; + private Button button9; + private TextBox txt74; + private Label label127; + private Button btn73; + private TextBox txt73; + private Label label128; + private Button btn72; + private TextBox txt72; + private Label label129; + private Button btn71; + private TextBox txt71; + private Label label130; + private Button button7; + private TextBox txt64; + private Label label125; + private Button btn63; + private TextBox txt63; + private Label label126; + private TextBox tct11; + private Label label20; + private Button btn11; + private Button btn62; + private TextBox txt62; + private Label label25; + private Button btn61; + private TextBox txt61; + private Label label26; + private Button button1; + private TextBox txt54; + private Label label19; + private Button btn53; + private TextBox txt53; + private Label label23; + private Button btn52; + private TextBox txt52; + private Label label24; + private TextBox txt13; + private TextBox txt22; + private Button btn51; + private Label label1; + private TextBox txt51; + private TextBox txt12; + private Label label18; + private Button btn12; + private Button btn44; + private Label label2; + private TextBox txt44; + private Label label17; + private Button btn13; + private Button btn43; + private Label label3; + private TextBox txt43; + private TextBox txt14; + private Label label16; + private Button btn14; + private Button btn42; + private Label label4; + private TextBox txt42; + private TextBox txt21; + private Label label15; + private Button btn21; + private Label label5; + private Button btn41; + private Button btn22; + private TextBox txt41; + private Label label6; + private Label label14; + private TextBox txt23; + private Button btn23; + private Label label7; + private TextBox txt24; + private Button btn24; + private Label label8; + private TextBox txt31; + private Button btn34; + private Button btn31; + private TextBox txt34; + private Label label9; + private Label label11; + private TextBox txt32; + private Button btn33; + private Button btn32; + private TextBox txt33; + private Label label10; + private global::System.Windows.Forms.Button button29; + private global::System.Windows.Forms.TextBox txt124; + private global::System.Windows.Forms.Label label147; + private global::System.Windows.Forms.Button btn123; + private global::System.Windows.Forms.TextBox txt123; + private global::System.Windows.Forms.Label label148; + private global::System.Windows.Forms.Button btn122; + private global::System.Windows.Forms.TextBox txt122; + private global::System.Windows.Forms.Label label149; + private global::System.Windows.Forms.Button btn121; + private global::System.Windows.Forms.TextBox txt121; + private global::System.Windows.Forms.Label label150; + private global::System.Windows.Forms.Button button25; + private global::System.Windows.Forms.TextBox txt114; + private global::System.Windows.Forms.Label label143; + private global::System.Windows.Forms.Button btn113; + private global::System.Windows.Forms.TextBox txt113; + private global::System.Windows.Forms.Label label144; + private global::System.Windows.Forms.Button btn112; + private global::System.Windows.Forms.TextBox txt112; + private global::System.Windows.Forms.Label label145; + private global::System.Windows.Forms.Button btn111; + private global::System.Windows.Forms.TextBox txt111; + private global::System.Windows.Forms.Label label146; + private global::System.Windows.Forms.Button button2; + } +} \ No newline at end of file diff --git a/WinFormStarter/FrmAfrica.cs b/WinFormStarter/FrmAfrica.cs new file mode 100644 index 0000000..876d585 --- /dev/null +++ b/WinFormStarter/FrmAfrica.cs @@ -0,0 +1,481 @@ +using Microsoft.AspNetCore.Mvc.ApplicationModels; +using OfficeOpenXml.FormulaParsing.Excel.Functions.Math; +using Service.PlcAfrica.Client; +using Service.PlcAfrica.Msg; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.ServiceModel; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using OfficeOpenXml.FormulaParsing.Excel.Functions.Text; + +namespace WinFormStarter +{ + public partial class FrmAfrica : Form + { + //一直到24 + public FrmAfrica() + { + InitializeComponent(); + PlcAfricaMgr.PlcInit(); + } + + PlcAfricaClient PlcAfricaClient + { + get + { + return PlcAfricaMgr.PlcAfricaClient; + } + } + PlcAfricaMsg PlcAfricaMsg = PlcAfricaMgr.PlcAfricaMsg; + #region 1 + private void button6_Click(object sender, EventArgs e) + { + if (!PlcAfricaMgr.PlcAfricaClient.Connected) return; + PlcAfricaMsg.TrafficLightFunction.Value = Convert.ToUInt16(tct11.Text); + bool bv= PlcAfricaMgr.PlcAfricaClient.WriteValue(PlcAfricaMsg.TrafficLightFunction); + } + + private void BtnWrite01_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ModelCalibration.Value = Convert.ToUInt16(txt12.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ModelCalibration); + } + + private void BtnWrite02_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatteryLocationCodeIn.Value = Convert.ToUInt16(txt13.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatteryLocationCodeIn); + } + + private void BtnWrite03_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatteryLocationCodeUp.Value = Convert.ToUInt16(txt14.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatteryLocationCodeUp); + } + #endregion + #region 2 + private void BtnWrite04_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.OperationInstruction.Value = Convert.ToUInt16(txt21.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.OperationInstruction); + } + + /// + /// 换电模式切换 + /// + /// + /// + private void BtnWrite05_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChangePowerMode.Value = Convert.ToUInt16(txt22.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChangePowerMode); + } + + private void BtnWrite06_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatteryHeight.Value = Convert.ToUInt16(txt23.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatteryHeight); + } + + private void BtnWrite07_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatteryLength.Value = Convert.ToUInt16(txt24.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatteryLength); + } + #endregion + #region 3 + private void BtnWrite08_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatteryWidth.Value = Convert.ToUInt16(txt31.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatteryWidth); + } + + private void BtnWrite09_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.standby01.Value = Convert.ToBoolean(txt32.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.standby01); + } + + private void BtnWrite10_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.standby02.Value = Convert.ToBoolean(txt33.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.standby02); + } + + private void BtnWrite11_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.standby03.Value = Convert.ToBoolean(txt34.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.standby03); + } + #endregion + #region 4 + private void BtnWrite14_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.standby04.Value = Convert.ToBoolean(txt41.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.standby04); + } + + private void BtnWrite15_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerCoolingFan1.Value = Convert.ToBoolean(txt42.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerCoolingFan1); + } + + private void BtnWrite16_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerCoolingFan2.Value = Convert.ToBoolean(txt43.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerCoolingFan2); + } + + private void BtnWrite17_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerCoolingFan3.Value = Convert.ToBoolean(txt44.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerCoolingFan3); + } + #endregion + #region 5 + private void BtnWrite18_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerCoolingFan4.Value = Convert.ToBoolean(txt51.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerCoolingFan4); + } + + private void button3_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.standby05.Value = Convert.ToBoolean(txt52.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.standby05); + } + + private void button2_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.standby06.Value = Convert.ToBoolean(txt53.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.standby06); + } + + private void button1_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.standby07.Value = Convert.ToBoolean(txt54.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.standby07); + } + #endregion + #region 6 + private void button5_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.standby08.Value = Convert.ToBoolean(txt61.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.standby08); + } + + private void button4_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BoardStatus.Value = Convert.ToUInt16(txt62.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BoardStatus); + } + + private void button8_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.TboxUnlock.Value = Convert.ToUInt16(txt63.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.TboxUnlock); + } + + private void button7_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempIn1.Value = Convert.ToUInt16(txt64.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempIn1); + } + #endregion + #region 7 + private void button12_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempOut1.Value = Convert.ToUInt16(txt71.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempOut1); + } + + private void button11_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempIn2.Value = Convert.ToUInt16(txt72.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempIn2); + } + + private void button10_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempOut2.Value = Convert.ToUInt16(txt73.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempOut2); + } + + private void button9_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempIn3.Value = Convert.ToUInt16(txt74.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempIn3); + } + #endregion + #region 8 + private void button16_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempOut3.Value = Convert.ToUInt16(txt81.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempOut3); + } + + private void button15_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempIn4.Value = Convert.ToUInt16(txt82.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempIn4); + } + + private void button14_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempOut4.Value = Convert.ToUInt16(txt83.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempOut4); + } + + private void button13_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempIn5.Value = Convert.ToUInt16(txt84.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempIn5); + } + #endregion + #region 9 + private void button20_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempOut5.Value = Convert.ToUInt16(txt91.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempOut5); + } + + private void button19_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempIn5.Value = Convert.ToUInt16(txt92.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempIn5); + } + + private void button18_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempOut6.Value = Convert.ToUInt16(txt93.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempOut6); + } + + private void button17_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempIn7.Value = Convert.ToUInt16(txt94.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempIn7); + } + #endregion + #region 10 + private void button24_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempOut7.Value = Convert.ToUInt16(txt101.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempOut7); + } + + private void button23_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempIn8.Value = Convert.ToUInt16(txt102.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempIn8); + } + + private void button22_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.ChargerTempOut8.Value = Convert.ToUInt16(txt103.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.ChargerTempOut8); + } + + private void button21_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.FireAlarmSignal.Value = Convert.ToUInt16(txt104.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.FireAlarmSignal); + } + #endregion + #region 11 + private void button28_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatterySizeTakeLength.Value = Convert.ToUInt16(txt111.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatterySizeTakeLength); + } + + private void button27_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatterySizeTakeWidth.Value = Convert.ToUInt16(txt112.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatterySizeTakeWidth); + } + + private void button26_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatterySizeTakeHigh.Value = Convert.ToUInt16(txt113.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatterySizeTakeHigh); + } + + private void button25_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatteryTakeWeight.Value = Convert.ToUInt16(txt114.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatteryTakeWeight); + } + #endregion + #region 12 + private void button32_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatterySizePutLength.Value = Convert.ToUInt16(txt121.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatterySizePutLength); + } + + private void button31_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatterySizePutWidth.Value = Convert.ToUInt16(txt122.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatterySizePutWidth); + } + + private void button30_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatterySizePutHigh.Value = Convert.ToUInt16(txt123.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatterySizePutHigh); + } + + private void button29_Click(object sender, EventArgs e) + { + if (!PlcAfricaClient.Connected) return; + PlcAfricaMsg.BatteryWeight.Value = Convert.ToUInt16(txt124.Text); + PlcAfricaClient.WriteValue(PlcAfricaMsg.BatteryWeight); + } + #endregion + + public void setvalue() + { + #region 1 + + lbl11.Text = PlcAfricaMgr.PlcAfricaMsg.PowerChangeMode.Value.ToString(); + lbl21.Text = PlcAfricaMgr.PlcAfricaMsg.BatteryPositioning.Value.ToString(); + lbl31.Text = PlcAfricaMgr.PlcAfricaMsg.FaultCode3.Value.ToString(); + lbl41.Text = PlcAfricaMgr.PlcAfricaMsg.FaultCode9.Value.ToString(); + lbl51.Text = PlcAfricaMgr.PlcAfricaMsg.RasterState.Value.ToString(); + lbl61.Text = PlcAfricaMgr.PlcAfricaMsg.SlingDatteryAvailable.Value.ToString(); + lbl71.Text = PlcAfricaMgr.PlcAfricaMsg.Loader1SeatSensor1.Value.ToString(); + lbl81.Text = PlcAfricaMgr.PlcAfricaMsg.Loader4SeatSensor1.Value.ToString(); + lbl91.Text = PlcAfricaMgr.PlcAfricaMsg.Loader7SeatSensor1.Value.ToString(); + lbl101.Text = PlcAfricaMgr.PlcAfricaMsg.PlcHardwareVersion.Value.ToString(); + lbl111.Text = PlcAfricaMgr.PlcAfricaMsg.OriginPositionState.Value.ToString(); + #endregion + + #region 2 + lbl12.Text = PlcAfricaMgr.PlcAfricaMsg.PowerChangeModeRobot.Value.ToString(); + lbl22.Text = PlcAfricaMgr.PlcAfricaMsg.YDisplacement.Value.ToString(); + lbl32.Text = PlcAfricaMgr.PlcAfricaMsg.FaultCode4.Value.ToString(); + lbl42.Text = PlcAfricaMgr.PlcAfricaMsg.FaultCode10.Value.ToString(); + lbl52.Text = PlcAfricaMgr.PlcAfricaMsg.VehiclePositionSensor.Value.ToString(); + lbl62.Text = PlcAfricaMgr.PlcAfricaMsg.AllWarehouseDoorsClosed.Value.ToString(); + lbl72.Text = PlcAfricaMgr.PlcAfricaMsg.Loader1SeatSensor2.Value.ToString(); + lbl82.Text = PlcAfricaMgr.PlcAfricaMsg.Loader4SeatSensor2.Value.ToString(); + lbl92.Text = PlcAfricaMgr.PlcAfricaMsg.Loader7SeatSensor2.Value.ToString(); + lbl102.Text = PlcAfricaMgr.PlcAfricaMsg.XAxisServoFaultCode.Value.ToString(); + lbl112.Text = PlcAfricaMgr.PlcAfricaMsg.BackOriginState.Value.ToString(); + #endregion + + #region 3 + lbl13.Text = PlcAfricaMgr.PlcAfricaMsg.SuspendedState.Value.ToString(); + lbl23.Text = PlcAfricaMgr.PlcAfricaMsg.XDisplacement.Value.ToString(); + lbl33.Text = PlcAfricaMgr.PlcAfricaMsg.FaultCode5.Value.ToString(); + lbl43.Text = PlcAfricaMgr.PlcAfricaMsg.TwistlockSensor1.Value.ToString(); + lbl53.Text = PlcAfricaMgr.PlcAfricaMsg.TwistlockSensor3.Value.ToString(); + lbl63.Text = PlcAfricaMgr.PlcAfricaMsg.AllBarnDoorsOpen.Value.ToString(); + lbl73.Text = PlcAfricaMgr.PlcAfricaMsg.Loader2SeatSensor1.Value.ToString(); + lbl83.Text = PlcAfricaMgr.PlcAfricaMsg.Loader5SeatSensor1.Value.ToString(); + lbl93.Text = PlcAfricaMgr.PlcAfricaMsg.Loader8SeatSensor1.Value.ToString(); + lbl103.Text = PlcAfricaMgr.PlcAfricaMsg.Loader8SeatSensor2.Value.ToString(); + lbl113.Text = PlcAfricaMgr.PlcAfricaMsg.TransferBinSeatSensor1.Value.ToString(); + #endregion + + #region 4 + lbl14.Text = PlcAfricaMgr.PlcAfricaMsg.StationCommandFeedback.Value.ToString(); + lbl24.Text = PlcAfricaMgr.PlcAfricaMsg.ZDisplacement.Value.ToString(); + lbl34.Text = PlcAfricaMgr.PlcAfricaMsg.FaultCode6.Value.ToString(); + lbl44.Text = PlcAfricaMgr.PlcAfricaMsg.TwistlockSensor2.Value.ToString(); + lbl54.Text = PlcAfricaMgr.PlcAfricaMsg.TwistlockSensor4.Value.ToString(); + //lbl64.Text = + lbl74.Text = PlcAfricaMgr.PlcAfricaMsg.Loader2SeatSensor2.Value.ToString(); + lbl84.Text = PlcAfricaMgr.PlcAfricaMsg.Loader5SeatSensor2.Value.ToString(); + lbl94.Text = PlcAfricaMgr.PlcAfricaMsg.Loader8SeatSensor2.Value.ToString(); + lbl104.Text = PlcAfricaMgr.PlcAfricaMsg.YAxisServoFaultCode.Value.ToString(); + lbl114.Text = PlcAfricaMgr.PlcAfricaMsg.TransferBinSeatSensor2.Value.ToString(); + #endregion + #region 5 + lbl15.Text = PlcAfricaMgr.PlcAfricaMsg.SendShutdown.Value.ToString(); + lbl25.Text = PlcAfricaMgr.PlcAfricaMsg.FaultCode1.Value.ToString(); + lbl35.Text = PlcAfricaMgr.PlcAfricaMsg.FaultCode7.Value.ToString(); + lbl45.Text = PlcAfricaMgr.PlcAfricaMsg.SpreaderSeatSensor1.Value.ToString(); + lbl55.Text = PlcAfricaMgr.PlcAfricaMsg.SpreaderSeatSensor3.Value.ToString(); + //lbl65.Text = + lbl75.Text = PlcAfricaMgr.PlcAfricaMsg.Loader3SeatSensor1.Value.ToString(); + lbl85.Text = PlcAfricaMgr.PlcAfricaMsg.Loader6SeatSensor1.Value.ToString(); + lbl95.Text = PlcAfricaMgr.PlcAfricaMsg.ZAxisServoFaultCode.Value.ToString(); + lbl105.Text = PlcAfricaMgr.PlcAfricaMsg.ZAxisServoFaultCode.Value.ToString(); + + #endregion + #region 6 + lbl16.Text = PlcAfricaMgr.PlcAfricaMsg.ActionCode.Value.ToString(); + lbl26.Text = PlcAfricaMgr.PlcAfricaMsg.FaultCode2.Value.ToString(); + lbl36.Text = PlcAfricaMgr.PlcAfricaMsg.FaultCode8.Value.ToString(); + lbl46.Text = PlcAfricaMgr.PlcAfricaMsg.SpreaderSeatSensor2.Value.ToString(); + lbl56.Text = PlcAfricaMgr.PlcAfricaMsg.SpreaderSeatSensor4.Value.ToString(); + + //lbl76.Text = + lbl86.Text = PlcAfricaMgr.PlcAfricaMsg.Loader3SeatSensor2.Value.ToString(); + lbl96.Text = PlcAfricaMgr.PlcAfricaMsg.Loader6SeatSensor2.Value.ToString(); + lbl106.Text = PlcAfricaMgr.PlcAfricaMsg.PlcSoftwareVersion.Value.ToString(); + lbl116.Text = PlcAfricaMgr.PlcAfricaMsg.BatteryLocationFaultCode.Value.ToString(); + #endregion + } + + private void button2_Click_1(object sender, EventArgs e) + { + setvalue(); + } + } +} diff --git a/WinFormStarter/FrmAfrica.resx b/WinFormStarter/FrmAfrica.resx new file mode 100644 index 0000000..f298a7b --- /dev/null +++ b/WinFormStarter/FrmAfrica.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file