|
|
@ -8,6 +8,13 @@ namespace Mesnac.Action.ChemicalWeighing.OliveEQSetting
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public class InItDbAction: ChemicalWeighingAction, IAction
|
|
|
|
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)
|
|
|
|
public void Run(RuntimeParameter runtime)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
base.RunIni(runtime); //必须调用
|
|
|
|
base.RunIni(runtime); //必须调用
|
|
|
@ -17,6 +24,12 @@ namespace Mesnac.Action.ChemicalWeighing.OliveEQSetting
|
|
|
|
FillElectricalSetting();
|
|
|
|
FillElectricalSetting();
|
|
|
|
FillMetageSetting();
|
|
|
|
FillMetageSetting();
|
|
|
|
InitEvent();
|
|
|
|
InitEvent();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UpActionElectrical.Run(runtime);
|
|
|
|
|
|
|
|
UpActionMetage.Run(runtime);
|
|
|
|
|
|
|
|
UpActionPressure.Run(runtime);
|
|
|
|
|
|
|
|
UpActionProportional.Run(runtime);
|
|
|
|
|
|
|
|
UpActionWeight.Run(runtime);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void InitEvent()
|
|
|
|
private void InitEvent()
|
|
|
|