private int parseWorkInterval(string val, ref DATETIME_WORK dtWorkRes) { int iRes = 0; dtWorkRes.m_dtStart = DateTime.Now; dtWorkRes.m_tsPeriod = TimeSpan.FromSeconds(60); dtWorkRes.m_iInterval = -1; return(iRes); }
private int parseWorkInterval(string val, ref DATETIME_WORK dtWorkRes) { int iRes = 0; dtWorkRes.m_dtStart = DateTime.Now; dtWorkRes.m_tsPeriodMain = HTimeSpan.FromSeconds(60); dtWorkRes.m_tsPeriodLocal = HTimeSpan.FromSeconds(60); dtWorkRes.m_tsIntervalLocal = HTimeSpan.NotValue; return(iRes); }