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

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

            return(XSimple);
        }
예제 #2
0
            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");
                }
            }
예제 #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");
                }
            }
예제 #4
0
 public void GotXSimpleNotification(XCSimpleNotification notification)
 {
     throw new NotImplementedException();
 }