Beispiel #1
0
        public void OnSentData(byte[] data)
        {
            SentDataEventArgs sentArgs = new SentDataEventArgs();

            sentArgs.SentData = data;
            SentData?.Invoke(this, sentArgs);
        }
Beispiel #2
0
        internal static void InvokeSentData(int msgId, string text, int n1, float n2, float n3, float n4, int n5)
        {
            if (SentData == null)
            {
                return;
            }

            var args = new SentDataEventArgs(msgId, text, n1, n2, n3, n4, n5);

            SentData(null, args);
        }
Beispiel #3
0
 internal static void InvokeSentData(int msgId, string text, int n1, float n2, float n3, float n4, int n5)
 {
     if (SentData != null)
     {
         var args = new SentDataEventArgs(msgId, text, n1, n2, n3, n4, n5);
         SentData(null, args);
     }
 }
Beispiel #4
0
        private void HttpPeripheral_SentData(object source, SentDataEventArgs args)
        {
            var str = DataConversion.ByteArrayToAsciiString(args.SentData);

            Debug.WriteLine(str);
        }