예제 #1
0
 public void DeleteTimedEvent(TimedEventDatum datum)
 {
     _TimedEventData.Remove(datum);
     Save();
 }
예제 #2
0
        public void AddTimedEvent(string eventName)
        {
            TimedEventDatum datum = new TimedEventDatum(eventName);
            _TimedEventData.Add(datum);

            Save();
        }
예제 #3
0
        public void AddTimedEvent(string eventName, List<Parameter> parameters)
        {
            TimedEventDatum datum = new TimedEventDatum(eventName, parameters);
            _TimedEventData.Add(datum);

            Save();
        }
예제 #4
0
        protected void ProcessTimedEventData()
        {
            TimedEventDatum datum = _Recorder.FinishedTimedEvent;

            if (datum != null)
            {
                _TempTimedEventDatum = datum;

                _Connector.onSendingSucceed += TimedEventSendingSucceed;
                _Connector.onSendingFailed += TimedEventSendingFailed;

                if (DEBUG_ENABLED && onDebugLog != null)
                    onDebugLog("[Reta] Processing timed event datum " + datum.ToString());

                _Connector.SendData(datum.ToString());
            }
        }