예제 #1
0
 /// <summary>
 /// Start logging with given start time.
 /// </summary>
 /// <param name="lt">Start time parameter, <see cref="LoggerTime"/>.</param>
 /// <exception cref="ApplicationException">Thrown when tag responded with an error or the tag's response length was invalid.</exception>
 /// <exception cref="NurApiException">Exception is thrown when communication error occured with the tag or module.</exception>
 public void StartLog(LoggerTime lt)
 {
     StartStopExchange(0, false, true, LoggerTimeToUint(lt));
 }
예제 #2
0
 /// <summary>
 /// Convert "logger time" structure to 32-bit unsigned presentation of the time
 /// as specified by the SL900A specification.
 /// </summary>
 /// <param name="lt"><see cref="LoggerTime"/> time structure.</param>
 /// <returns>32-bit representation of the start time.</returns>
 public static uint LoggerTimeToUint(LoggerTime lt)
 {
     return(BuildStartTime(lt.sec, lt.min, lt.hour, lt.day, lt.month, lt.year));
 }