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.
|
|
|
|
using Mesnac.Action.Base;
|
|
|
|
|
using Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting.Entity;
|
|
|
|
|
using Mesnac.Controls.Default;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
|
|
|
|
|
{
|
|
|
|
|
public class InitAction : ChemicalWeighingAction, IAction
|
|
|
|
|
{
|
|
|
|
|
MCTextboxEntity BoxE = new MCTextboxEntity();
|
|
|
|
|
|
|
|
|
|
List<Control> Controls;
|
|
|
|
|
public void Run(RuntimeParameter runtime)
|
|
|
|
|
{
|
|
|
|
|
base.RunIni(runtime);
|
|
|
|
|
|
|
|
|
|
Controls = GetAllControls();
|
|
|
|
|
|
|
|
|
|
ControlsHelper.ControlImport<MCTextBox>(BoxE, Controls);
|
|
|
|
|
|
|
|
|
|
SetValueFromPlc();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void SetValueFromPlc()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|