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/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Test/Form1Action.cs

34 lines
1.0 KiB
C#

using Mesnac.Action.Base;
using Mesnac.Action.ChemicalWeighing.Alarm.LRAlarmLog;
2 years ago
using Mesnac.Action.ChemicalWeighing.Report.MaterialStatisticsReport;
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.Test
{
class Form1Action : DatabaseAction, IAction
{
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime); //必须调用
2 years ago
//SelectWeightAction.MaterialSynchronousComplete += delegate (object sender, EventArgs e)
//{
// ComboBox comboBox = base.GetControlById("MCCombobox1") as ComboBox;
// comboBox.SelectedIndex = 1;
//};
var list = GetAllMCControls();
foreach (IBaseControl ib in GetAllMCControls())
{
2 years ago
}
//ShowMsg("小料Action事件测试", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}