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/Default/Mesnac.Action.Default/Test/TestAction.cs

24 lines
817 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ICSharpCode.Core;
using Mesnac.Action.Base;
using Mesnac.Controls.Base;
namespace Mesnac.Action.Default.Test
{
public class TestAction : DatabaseAction, IAction
{
private string caption = StringParser.Parse(ResourceService.GetString("Mesnac_Dialog_Caption")); //提示
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime); //必须调用
base.LogDebug("业务测试...");
string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_Default_Test_Text")); //您现在正在进行业务测试...
ShowMsg(msg, caption, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}