init: 导入项目到 meswork Gitea
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using bizFacade;
|
||||
//using SystemFramework;
|
||||
|
||||
namespace MesServerFunctions
|
||||
{
|
||||
partial class Functions_BASE_10
|
||||
{
|
||||
/// <summary>
|
||||
/// 申请上线
|
||||
/// </summary>
|
||||
/// <param name="OpName"></param>
|
||||
/// <param name="tagValue"></param>
|
||||
private void PartLoad(object e)
|
||||
{
|
||||
try
|
||||
{
|
||||
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e;
|
||||
string OpName = Convert.ToString(msgEvent.OpName);
|
||||
int tagValue = Convert.ToInt32(msgEvent.TagValue);
|
||||
int repairStatus=1;
|
||||
repairStatus = RepairWorkStation.StationStatusSearch(OpName);
|
||||
//repairStatus:0:返修 1:正常
|
||||
if (tagValue == 1)
|
||||
{
|
||||
if (repairStatus!=1)
|
||||
{
|
||||
PartLoad_Repair(OpName, tagValue);
|
||||
return;
|
||||
}
|
||||
|
||||
BaseDataSystemMES.MesServer_Process_EngineTypeOver(OpName);
|
||||
Sendmessage("123", "111", OpName);//向前台发送显示操作指南、物料、图片的命令
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception err)
|
||||
{
|
||||
////ApplicationLog.WriteLog(err, "Function10:PartLoad");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user