public static void AddGKMessage(EventName message, EventDescription description, XBase xBase, string userName, bool isAdministrator = false) { AddGKMessage(message, description.ToDescription(), xBase, userName, isAdministrator); }
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); }