|
|
|
@ -8,6 +8,13 @@ namespace Mesnac.Action.ChemicalWeighing.OliveEQSetting
|
|
|
|
|
{
|
|
|
|
|
public class InItDbAction: ChemicalWeighingAction, IAction
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
LjElectrical.UpAction UpActionElectrical = new LjElectrical.UpAction();
|
|
|
|
|
LjMetage.UpAction UpActionMetage = new LjMetage.UpAction();
|
|
|
|
|
LjPressure.UpAction UpActionPressure = new LjPressure.UpAction();
|
|
|
|
|
LjProportional.UpAction UpActionProportional = new LjProportional.UpAction();
|
|
|
|
|
LjWeight.UpAction UpActionWeight = new LjWeight.UpAction();
|
|
|
|
|
|
|
|
|
|
public void Run(RuntimeParameter runtime)
|
|
|
|
|
{
|
|
|
|
|
base.RunIni(runtime); //必须调用
|
|
|
|
@ -17,6 +24,12 @@ namespace Mesnac.Action.ChemicalWeighing.OliveEQSetting
|
|
|
|
|
FillElectricalSetting();
|
|
|
|
|
FillMetageSetting();
|
|
|
|
|
InitEvent();
|
|
|
|
|
|
|
|
|
|
UpActionElectrical.Run(runtime);
|
|
|
|
|
UpActionMetage.Run(runtime);
|
|
|
|
|
UpActionPressure.Run(runtime);
|
|
|
|
|
UpActionProportional.Run(runtime);
|
|
|
|
|
UpActionWeight.Run(runtime);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void InitEvent()
|
|
|
|
|