wangsr
我叫锄头 12 months ago
parent 4ea06e3a12
commit c795500b11

@ -2,6 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Data; using System.Data;
using System.Diagnostics; using System.Diagnostics;
using System.Drawing;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
@ -58,6 +59,20 @@ namespace Mesnac.Action.ChemicalWeighing.Test
hslLed= allDb.FirstOrDefault(x => x.Name == "HslLedDisplay1") as HslLedDisplay; hslLed= allDb.FirstOrDefault(x => x.Name == "HslLedDisplay1") as HslLedDisplay;
hslLed.LeftRightOffect = 0;
this.hslLed.BackColor = Color.FromArgb(46, 46, 46);
this.hslLed.DisplayBackColor = Color.FromArgb(62, 62, 62);
this.hslLed.DisplayNumber = 5;
this.hslLed.DisplayText = "12:00";
this.hslLed.ForeColor = Color.Pink;
this.hslLed.LedNumberSize = 2;
this.hslLed.Location = new Point(555, 203);
this.hslLed.Margin = new Padding(3, 16, 3, 16);
this.hslLed.Name = "hslLedDisplay12";
this.hslLed.Size = new Size(113, 33);
this.hslLed.TabIndex = 8;
//MCButton1 //MCButton1
//OpenDoorService //OpenDoorService

@ -2,7 +2,7 @@
<Object type="Mesnac.Gui.Common.FrmRunTemplate, Mesnac.Gui.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Form1" children="Controls"> <Object type="Mesnac.Gui.Common.FrmRunTemplate, Mesnac.Gui.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Form1" children="Controls">
<Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel1" children="Controls"> <Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel1" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslLedDisplay, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslLedDisplay1" children="Controls"> <Object type="Mesnac.Controls.ChemicalWeighing.HslLedDisplay, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslLedDisplay1" children="Controls">
<Property name="Location">448, 67</Property> <Property name="Location">267, 58</Property>
<Property name="Name">HslLedDisplay1</Property> <Property name="Name">HslLedDisplay1</Property>
<Property name="Size">325, 58</Property> <Property name="Size">325, 58</Property>
</Object> </Object>

Loading…
Cancel
Save