Exemple #1
0
        public static XCSimpleNotification GetCommonType(NITSimpleNotification SimpleNotification)
        {
            XCSimpleNotification XSimple = new XCSimpleNotification();

            XSimple.NotificationMessage = SimpleNotification.NotificationMessage;
            XSimple.Id = SimpleNotification.ID;

            return(XSimple);
        }
            public void GotSimpleNotification(SimpleNotification p0, TrackingInfo p1)
            {
                XCSimpleNotification XSimple = AdapterSimple.GetCommonType(p0);

                if (NearPCL.GetContentManager() != null)
                {
                    NearPCL.GetContentManager().GotXSimpleNotification(XSimple);
                }
                else
                {
                    Console.WriteLine("You receive a content but you haven't registered a content manager");
                }
            }
Exemple #3
0
            public override void GotSimpleNotification(NITSimpleNotification Notification, NITTrackingInfo TrackingInfo)
            {
                XCSimpleNotification XSimple = AdapterSimple.GetCommonType(Notification);

                if (NearPCL.GetContentManager() != null)
                {
                    NearPCL.GetContentManager().GotXSimpleNotification(XSimple);
                }
                else
                {
                    Console.WriteLine("You receive a content but you haven't registered a content manager");
                }
            }
Exemple #4
0
 public void GotXSimpleNotification(XCSimpleNotification notification)
 {
     throw new NotImplementedException();
 }