init: 导入项目到 meswork Gitea
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Collections;
|
||||
|
||||
using System.Windows.Forms;
|
||||
using bizFacade;
|
||||
using System.Collections.Specialized;
|
||||
using MesWork;
|
||||
using SystemFramework;
|
||||
|
||||
namespace MesServerWork
|
||||
{
|
||||
public partial class MIS_BASE
|
||||
{
|
||||
static object lockerConfirmOkGo = new object();
|
||||
|
||||
static public void ConfirmOkGo(object e)
|
||||
{
|
||||
lock (lockerConfirmOkGo)
|
||||
{
|
||||
try
|
||||
{
|
||||
OpcData.CustomeEvetnArgs msgEvent = (OpcData.CustomeEvetnArgs)e;
|
||||
string OpName = Convert.ToString(msgEvent.OpName);
|
||||
int tagValue = Convert.ToInt32(msgEvent.TagValue);
|
||||
|
||||
if (tagValue == 1)
|
||||
{
|
||||
|
||||
//BaseDataSystemMES.Material_Insert(OpName, 1);
|
||||
|
||||
//更新订单完工数量及物料
|
||||
Sendmessage("24", "11", OpName);
|
||||
|
||||
//工作完成
|
||||
MIS_BASE.Write_MaterialVerifyOver(OpName, true);
|
||||
}
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
ApplicationLog.WriteLog(err, "Function02:ConfirmOkGo");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user