Inheritance: IBacNetApdu
コード例 #1
0
ファイル: AckServices.cs プロジェクト: kib357/BACsharp
        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
ファイル: AckServices.cs プロジェクト: zenglc/BACsharp
        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();
        }