Exemplo n.º 1
0
		public static void AddGKMessage(EventName message, EventDescription description, XBase xBase, string userName, bool isAdministrator = false)
		{
            AddGKMessage(message, description.ToDescription(), xBase, userName, isAdministrator);
        }
Exemplo n.º 2
0
        void AddFailureJournalItem(EventName name, EventDescription description)
		{
			var journalItem = new JournalItem()
			{
				Name = name.ToDescription(),
				Description = description.ToDescription(),
				StateClass = XStateClass.Unknown,
				ObjectStateClass = XStateClass.Norm,
				GKIpAddress = GkDatabase.RootDevice.GetGKIpAddress()
			};
			GKDBHelper.Add(journalItem);
			GKCallbackResult.JournalItems.Add(journalItem);
		}