IResponseValue IApplicationLayerSlave.GetEmptySendDataBuffor (IBlockDescription block, int station) { SBUSbase_message frame = m_Pool.GetEmptyISesDBuffer(); frame.PrepareDataResponse(block); return(frame); }
AL_ReadData_Result IApplicationLayerSlave.SendACKRes() { SBUSbase_message frame = m_Pool.GetEmptyISesDBuffer(); frame.PrepareResultFrame(0); AL_ReadData_Result res = m_ALProtocol.TransmitMessage(frame, FrameType.FT_RES_ANK); frame.ReturnEmptyEnvelope(); m_ALProtocol.GetIProtocolParent.IncStTxACKCounter(); return(res); }
private AL_ReadData_Result GetFrame (out SBUSbase_message Rxmsg, SBUSbase_message txmsg, bool infinitewait, ref bool reset) { return(m_ALProtocol.GetMessage(out Rxmsg, txmsg, infinitewait, 0, ref reset)); }//ReadData