using Mesnac.Action.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.DeviceParamManage { public class WriteDeviceParamInfo : ChemicalWeighingAction, IAction { public void Run(RuntimeParameter runtime) { try { base.RunIni(runtime); //必须要调用 MessageBox.Show("修改成功!", Mesnac.Basic.LanguageHelper.Caption, MessageBoxButtons.OK, MessageBoxIcon.Information); } catch (Exception ex) { MessageBox.Show("修改失败!", Mesnac.Basic.LanguageHelper.Caption, MessageBoxButtons.OK, MessageBoxIcon.Information); } } } }