Esempio n. 1
0
    protected void OnNewLineBeingUpdated(NewLineUpdatedEventArgs e_)
    {
      var h = NewLineBeingUpdated;

      if (h != null)
      {
        Logger.Info(string.Format("Dummy Day firing [{0}]",e_.Date), typeof (DummyDay));
        //Logger.Info(string.Format("DayBegin (LDN) ={0}", e_.Date.GetDayBegin(Enums.DisplayTimeZone.LDN)), typeof(DummyDay));
        //Logger.Info(string.Format("DayEnd   (LDN) ={0}", e_.Date.GetDayEnd(Enums.DisplayTimeZone.LDN)), typeof(DummyDay));
        //Logger.Info(string.Format("DayBegin (NYK) ={0}", e_.Date.GetDayBegin(Enums.DisplayTimeZone.NYK)), typeof(DummyDay));
        //Logger.Info(string.Format("DayEnd   (NYK) ={0}", e_.Date.GetDayEnd(Enums.DisplayTimeZone.NYK)), typeof(DummyDay));
        h(this, e_);
      }
    }
Esempio n. 2
0
    protected void OnNewLineBeingUpdated(NewLineUpdatedEventArgs e_)
    {
      var h = NewLineBeingUpdated;

      if (h != null)
        h(this, e_);
    }
Esempio n. 3
0
    private void handleInLineWithUpdated(object sender, NewLineUpdatedEventArgs e_)
    {
      m_lastUpdated = LinesAsRelativeDates().GetValue(e_.Date, 0);

      OnNewLineBeingUpdated(new NewLineUpdatedEventArgs(e_.Date, m_lastUpdated));
    }