35 строки
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			35 строки
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
// ********************************************************************************
 | 
						|
// 	文件名字: S1F14Handler
 | 
						|
// 	文件描述: S1F14Handler
 | 
						|
// 	开发人员: Michael
 | 
						|
// 	创建时间: 2019/11/8 0:08
 | 
						|
//
 | 
						|
// 	更新历史:
 | 
						|
// 			+ 创建 S1F14Handler.cs 文件. by Michael @2019/11/8 0:08
 | 
						|
// ********************************************************************************
 | 
						|
using Glorysoft.SECS.EQP.Common;
 | 
						|
using Glorysoft.SECS.EQP.Message;
 | 
						|
using Glorysoft.SECS.EQP.Utilities;
 | 
						|
using Glorysoft.SECSwell;
 | 
						|
using System.Linq;
 | 
						|
using System.Threading;
 | 
						|
 | 
						|
namespace Glorysoft.SECS.EQP.Handlers
 | 
						|
{
 | 
						|
    public class S1F13Handler : ISECSMessageHandler
 | 
						|
    {
 | 
						|
        public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
 | 
						|
        {
 | 
						|
            SECSMessage reply = trans.Secondary;
 | 
						|
            reply.Root.Item(1).Value = 0;
 | 
						|
            SimulatorInfo.Instance.Context?.ReplyMessage(trans);
 | 
						|
            //S1F14Item item = new S1F14Item();
 | 
						|
            //item.COMMACK = reply.Root.Item(1).Value.To<byte[]>().FirstOrDefault();
 | 
						|
            //item.MDLN = reply.Root.Item(2).Item(1).Value.ToString();
 | 
						|
            //item.SOFTREV = reply.Root.Item(2).Item(2).Value.ToString();
 | 
						|
            //var scenario = trans.Tag as Scenario;
 | 
						|
            //Thread.Sleep(500);
 | 
						|
            //scenario.ExecuteNextStep();
 | 
						|
        }
 | 
						|
    }
 | 
						|
} |