1234567891011121314151617181920212223 |
- using Houdar.Core.Communication.Transport;
- using Houdar.PLC.Driver.Simenss.Protocol.Header;
- namespace Houdar.PLC.Driver.Simenss.Protocol.Negotiate
- {
- public class NegotiateResponse:IBuildResponse
- {
- public HeaderPacketWithErrorCode Header { get; set; }
- public NegotiateResponseParams Params { get; set; }
- public NegotiateResponse()
- {
- Header = new HeaderPacketWithErrorCode();
- Params = new NegotiateResponseParams();
- }
- public void Build(ByteBuffer buffer)
- {
- Header.Build(buffer);
- Params.Build(buffer);
- }
- }
- }
|