天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
913 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.FJC.TRACING.DAInterface;
using QMAPP.FJC.Entity.Operation;
using QMAPP.FJC.BLL.FwMark;
namespace QMAPP.FJC.TRACING.StateActions
{
/// <summary>
/// 关闭门板指示灯
/// </summary>
public class LightOff : IStateAction
{
public void Execute(DAObject data)
{
Action act = new Action(() =>
{
try
{
//关灯
FJC.BLL.X_Gate.LightController lightcontrollor = new BLL.X_Gate.LightController();
lightcontrollor.LightOnCell(data.WorkLocState.WORKLOC_CODE, null);
}
catch (Exception ex)
{
//throw ex;
}
});
act.BeginInvoke(null, null);
}
}
}