| 123456789101112131415161718192021222324252627282930 | 
							- using System;
 
- using Houdar.PLC.Driver.Simenss.Protocol.Common;
 
- using Houdar.PLC.Driver.Simenss.Protocol.Control;
 
- using Houdar.PLC.Driver.Simenss.Protocol.DateTime;
 
- namespace Houdar.PLC.Driver.Simenss.ProtocolHandle
 
- {
 
-     public class PlcHotStartHandle:IPacketHandle
 
-     {
 
-         public PlcHotStartRequest Request { get; set; }
 
-         public ControlResponse Response { get; set; }
 
-         public ResultCode ResultCode { get; set; }
 
-         public PlcHotStartHandle()
 
-         {
 
-             ResultCode = ResultCode.Unknown;
 
-             Request = new PlcHotStartRequest();
 
-         }
 
-         public void Handle(IIsoSender sender)
 
-         {
 
-             Response = sender.IsoSend<PlcHotStartRequest, ControlResponse>(Request);
 
-             if(Response==null) return;
 
-             ResultCode = Response.Header.Error;
 
-         }
 
-     }
 
- }
 
 
  |