Наследование: IBacNetApdu
Пример #1
0
        public void SegmentAck(IPEndPoint endPoint, BacNetAddress source, byte invokeId, byte sequenceNumber, byte propWindowSize)
        {
            var apdu = new SegmentAck() { InvokeId = invokeId, SequenceNumber = sequenceNumber, PropWindowSize = propWindowSize };
            var npdu = new BacNetIpNpdu();
            npdu.Destination = source;
            //npdu.Destination = new BacNetAddress();
            //npdu.Destination.Network = ByteConverter.GetBytes((ushort)65535);

            BacNetDevice.Instance.Services.Execute(npdu, apdu, endPoint);
            //WaitForResponce();
        }
Пример #2
0
        public void SegmentAck(IPEndPoint endPoint, BacNetAddress source, byte invokeId, byte sequenceNumber, byte propWindowSize)
        {
            var apdu = new SegmentAck()
            {
                InvokeId = invokeId, SequenceNumber = sequenceNumber, PropWindowSize = propWindowSize
            };
            var npdu = new BacNetIpNpdu();

            npdu.Destination = source;
            //npdu.Destination = new BacNetAddress();
            //npdu.Destination.Network = ByteConverter.GetBytes((ushort)65535);

            BacNetDevice.Instance.Services.Execute(npdu, apdu, endPoint);
            //WaitForResponce();
        }