示例#1
0
        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);
        }
示例#2
0
        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);
        }