You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lj_plc/Controls/Mesnac.Controls.ChemicalWei.../WayValve.cs

34 lines
918 B
C#

1 year ago
using System;
using System.Reflection;
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{
public partial class WayValve : ChemicalWeighingControl
{
public WayValve()
{
InitializeComponent();
}
private string[] sImages = new String[3];
/// <summary>
/// 杨威
/// 20230629
/// 初始化控件
/// </summary>
private void InitControl()
{
_assembly = Assembly.GetExecutingAssembly();
//默认程序
sImages[0] = "Mesnac.Controls.ChemicalWeighing.Resources.WayValveDefault.png";
//直通Open
sImages[1] = "Mesnac.Controls.ChemicalWeighing.Resources.WayValveOpen.png";
//斜通
sImages[2] = "Mesnac.Controls.ChemicalWeighing.Resources.WayValveError.png";
}
}
}