Notify-time-Temp-Implementation: Difference between revisions

From *** My Personal Wiki ***
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:


== Implementation ==
== Implementation ==
'''Editor Entry | Parsing'''


*t= 5 characters
*t= 5 characters
Line 24: Line 26:
*1- Parse: look for string - must begin with t= or T=  
*1- Parse: look for string - must begin with t= or T=  


*2- Parse: t= -> thereafter only accept | numbers | decimal point | negative sign   
*2-a Parse: t= -> thereafter only accept | numbers | decimal point | negative sign   
    Parse: t= -> thereafter only accept | numbers | negative sign  
*2-b 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  
*3- Parse: look at 5 chars after #1: If t= then cdbl | If T= then cint - use on error routine to parse | flag




'''Design Profile Running'''


*1- check


== References ==
== References ==

Revision as of 10:29, 23 November 2008

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

Editor Entry | Parsing

  • t= 5 characters
  • T= 5 characters
  • 1- Parse: look for string - must begin with t= or T=
  • 2-a Parse: t= -> thereafter only accept | numbers | decimal point | negative sign
  • 2-b Parse: t= -> thereafter only accept | numbers | negative sign
  • 3- Parse: look at 5 chars after #1: If t= then cdbl | If T= then cint - use on error routine to parse | flag


Design Profile Running

  • 1- check

References