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.
53 lines
1.3 KiB
C#
53 lines
1.3 KiB
C#
using DataBlockHelper.Entity.DB2104Entity;
|
|
using Mesnac.Action.Base;
|
|
using Mesnac.Action.ChemicalWeighing.AutoControl.Entity;
|
|
using Mesnac.Controls.Base;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.AutoControl
|
|
{
|
|
internal class GelerWeterControl : ChemicalWeighingAction, IAction
|
|
{
|
|
List<DbMCControl> McControllist;
|
|
private List<Control> McControls; // 获取Query控件
|
|
DryerWaterControlsEntity ControlsEntity = new DryerWaterControlsEntity();
|
|
|
|
public void Run(RuntimeParameter runtime)
|
|
{
|
|
base.RunIni(runtime); //必须要调用
|
|
|
|
McControls = GetAllControls();
|
|
|
|
ControlImport();
|
|
|
|
BottomSelect(runtime);
|
|
}
|
|
|
|
private void ControlImport()
|
|
{
|
|
|
|
}
|
|
|
|
private void BottomSelect(RuntimeParameter runtime)
|
|
{
|
|
|
|
}
|
|
|
|
private IBaseControl GetBaseControl(string name)
|
|
{
|
|
return McControls.First(x => x.Name == name) as IBaseControl;
|
|
}
|
|
|
|
private Button GetButtonControl(string name)
|
|
{
|
|
return McControls.First(x => x.Name == name) as Button;
|
|
}
|
|
}
|
|
|
|
}
|