dep_deliver
杨威 5 months ago
parent 0b211a5537
commit 517c6fd429

@ -521,8 +521,21 @@ namespace Mesnac.Action.ChemicalWeighing.Dan
Ch(cbkN, txtBoxN, HslN, db.SiloN, false); Ch(cbkN, txtBoxN, HslN, db.SiloN, false);
Ch(cbkO, txtBoxO, HslO, db.Siloo, false); Ch(cbkO, txtBoxO, HslO, db.Siloo, false);
//Ya.Text = db.Ya.ToString(); Ya.Text = db.Ya.ToString();
//Yb.Text = db.Yb.ToString(); Yb.Text = db.Yb.ToString();
Yc.Text = db.Yc.ToString();
Yd.Text = db.Yd.ToString();
Ye.Text = db.Ye.ToString();
Yf.Text = db.Yf.ToString();
Yg.Text = db.Yg.ToString();
Yh.Text = db.Yh.ToString();
Yi.Text = db.Yi.ToString();
Yj.Text = db.Yj.ToString();
Yk.Text = db.Yk.ToString();
Yl.Text = db.Yl.ToString();
Ym.Text = db.Ym.ToString();
Yn.Text = db.Yn.ToString();
Yo.Text = db.Yo.ToString();
} }

@ -15,7 +15,7 @@ namespace DataBlockHelper.DBHelpers
public Db2101Helper() public Db2101Helper()
{ {
OperateResult<byte[]> db = PlcConnect.Instance.Read("DB2101.0.0", 154); OperateResult<byte[]> db = PlcConnect.Instance.Read("DB2101.0.0", 216);
bytes = db.Content; bytes = db.Content;
} }
@ -48,25 +48,25 @@ namespace DataBlockHelper.DBHelpers
public Db2101LinEntity LinC => new Db2101LinEntity(144, bytes); public Db2101LinEntity LinC => new Db2101LinEntity(144, bytes);
//public short Ya => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 186); public short Ya => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 186);
//public short Yb => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 188); public short Yb => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 188);
//public short Yc => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 190); public short Yc => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 190);
//public short Yd => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 192); public short Yd => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 192);
//public short Ye => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 194); public short Ye => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 194);
//public short Yf => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 196); public short Yf => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 196);
//public short Yg => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 198); public short Yg => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 198);
//public short Yh => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 200); public short Yh => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 200);
//public short Yi => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 202); public short Yi => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 202);
//public short Yj => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 204); public short Yj => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 204);
//public short Yk => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 206); public short Yk => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 206);
//public short Yl => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 208); public short Yl => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 208);
//public short Ym => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 210); public short Ym => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 210);
//public short Yn => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 212); public short Yn => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 212);
//public short Yo => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 214); public short Yo => PlcConnect.Instance.ByteTransform.TransInt16(bytes, 214);
} }

@ -1479,7 +1479,7 @@
<Property name="MCPurview">False</Property> <Property name="MCPurview">False</Property>
<Property name="AllowOriginalSizeShow">False</Property> <Property name="AllowOriginalSizeShow">False</Property>
<Property name="BackColor">Control</Property> <Property name="BackColor">Control</Property>
<Property name="Size">903, 780</Property> <Property name="Size">634, 780</Property>
<Property name="StartPosition">WindowsDefaultLocation</Property> <Property name="StartPosition">WindowsDefaultLocation</Property>
<Property name="Text">氮气设置</Property> <Property name="Text">氮气设置</Property>
<Property name="WindowState">Normal</Property> <Property name="WindowState">Normal</Property>

Loading…
Cancel
Save