示例#1
0
 private void SubmitEvent(string uri, NetworkEventTypes type, string serialNumber)
 {
     OemServerHub.NetworEvent(new NetworkEvent()
     {
         Type = type,
         Uri  = uri
     }, serialNumber);
 }
示例#2
0
        private void SubmitQueue(string uri, NetworkEventTypes type, string serialNumber)
        {
            var count = uri.Split('=')[1];

            OemServerHub.NetworEvent(new NetworkEvent()
            {
                Type   = type,
                Uri    = uri,
                Values = new Dictionary <string, string>()
                {
                    { "count", count }
                }
            }, serialNumber);
        }