Exemplo n.º 1
0
 public GroupTelegram(int address, object data, DateTime received, int routing, int priority, GroupTelegramTypes type)
 {
     this.Address = address;
     this.Routing = routing;
     this.Priority = priority;
     this.Data = data;
     this.TelegramType = type;
     this.Received = received;
 }
Exemplo n.º 2
0
 private void OnReceivedGroupTelegram(int address, int routing, Priority priority, object data, GroupTelegramTypes type)
 {
     GroupTelegram gt = new GroupTelegram(address, data, DateTime.Now, routing, (int)priority, type);
     if (ReceivedGroupTelegram != null)
         ReceivedGroupTelegram(this, new ReceivedGroupTelegramEventArgs(gt));
 }