Exemplo n.º 1
0
        static void DNP3Response(LinkLayer ll, TransportLayer tl, ApplicationLayer al, ref byte[] buffer)
        {
            var appData = ApplicationLayer.ApplicationResponse(al);

            al.ApplicationData = appData;
            var transData = TransportLayer.TransportResponse(tl, al);

            tl.TransportData = transData;
            var linkData = LinkLayer.LinkResponse(ll, tl);

            buffer = linkData;
        }