Notify-time-Temp-Implementation

From *** My Personal Wiki ***
Revision as of 10:25, 23 November 2008 by 72.208.202.203 (talk)
Jump to navigation Jump to search

Notify t=time , T=Temp Design

  • What is the length of string allowed in this column? 7 characters


Temperature Notification

  • T=2100 6 chars


Time Notification

  • t=stop stop segment
  • t=start start of segment
  • t=12.34 arbitrary time - can only do 4 digits + 1 decimal
    • t=99999 hours or minutes on the high side

Can only do 1 time or Temp but not both per profile line


Implementation

t= 5 characters T= 5 characters

  • 1- Parse: look for string - must begin with t= or T=
  • 2- Parse: t= -> thereafter only accept | numbers | decimal point | negative sign
   Parse: t= -> thereafter only accept | numbers | negative sign 
  • 3- Parse #2: look at 5 chars after #1: If t= then cdbl | If T= then cint



References