public static bool NewEvent(Action <string> logger, HistoryList history, HistoryEntry he) { List <JToken> events = NewEntryList(history, he); if (events.Count > 0) { Submit(events, logger, he.Commander, history.GetCommanderFID(), false); } return(true); }
public static bool HistoricData(Action <string> logger, HistoryList history, EDCommander cmdr) { List <JToken> events = HistoricList(history); if (events.Count > 0) { Submit(events, logger, cmdr, history.GetCommanderFID(), true); } return(true); }