init: 导入项目到 meswork Gitea
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
using ExecJavaScript;
|
||||
using ModelBasic;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
//using WeifenLuo.WinFormsUI.Docking;
|
||||
//using static SqlManage.ExecSql;
|
||||
|
||||
namespace DTTest
|
||||
{
|
||||
public partial class E { }
|
||||
public partial class ModelManagement
|
||||
{
|
||||
|
||||
//static Dictionary<String, String> dc_Craft_Script = null;
|
||||
//ExecScript execScript = null;
|
||||
|
||||
//public void ReLoad_CraftAndScript()
|
||||
//{
|
||||
// dc_Craft_Script = SqlOperation.SqlCraft.Load_CraftAndScript();
|
||||
// execScript = new ExecScript();
|
||||
//}
|
||||
|
||||
|
||||
//public void RunScript(Dictionary<String, String> dc_TagID_PlcValue,string changedTagID)
|
||||
//{
|
||||
// try
|
||||
// {
|
||||
// if (dc_TagID_PlcValue == null)
|
||||
// {
|
||||
// return;
|
||||
// }
|
||||
// foreach (KeyValuePair<String, String> item in dc_Craft_Script)
|
||||
// {
|
||||
// var craftCode = item.Key;
|
||||
// var scriptText = item.Value;
|
||||
// if (scriptText.Contains(changedTagID))
|
||||
// {
|
||||
// var result = execScript.RunScript(dc_TagID_PlcValue, scriptText);
|
||||
// if (result == "1")
|
||||
// {
|
||||
// S_PlayAct(craftCode, "1");
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
// }
|
||||
// }
|
||||
// catch (Exception err)
|
||||
// {
|
||||
// // ModelBasic.ErrDef.iErrHandler.ErrInfoTransmit($"执行脚本错误!:{err.Message}");
|
||||
// }
|
||||
|
||||
//}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user