Notify-time-Temp-Implementation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 24: | Line 24: | ||
*T= 5 characters | *T= 5 characters | ||
*1- Parse: look for string - must begin with t= | *1- Parse: look for string - must begin with | t= | T= | start | stop | | ||
*2-a Parse: t= -> thereafter only accept | numbers | decimal point | negative sign | *2-a Parse: t= -> thereafter only accept | numbers | decimal point | negative sign | ||
| Line 34: | Line 34: | ||
'''Design Profile Running''' | '''Design Profile Running''' | ||
*1- check | *0- create NotificationSent boolean array to remember what notifications have been sent | ||
*1- check column 9 for t= | T= | start | stop | | |||
*2- conditional checks for first passage by t= | T= | start | stop | | |||
*3- send message once and set the NotificationSent Flag for that profile line | |||
== References == | == References == | ||
*[[Temperature-Profile-Notes]] | *[[Temperature-Profile-Notes]] - | 0-Segment | 1-Start Time | 2-Duration | 3-Action | 4-Start T | 5-Stop T | 6-Ramp | 7-Error Limits | 8-Command | 9-Notify | | ||
*[[Anafaze-Project-CheckList]] | *[[Anafaze-Project-CheckList]] | ||
Latest revision as of 10:39, 23 November 2008
Notify t=time , T=Temp Design[edit]
- 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[edit]
Editor Entry | Parsing
- t= 5 characters
- T= 5 characters
- 1- Parse: look for string - must begin with | t= | T= | start | stop |
- 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
- 0- create NotificationSent boolean array to remember what notifications have been sent
- 1- check column 9 for t= | T= | start | stop |
- 2- conditional checks for first passage by t= | T= | start | stop |
- 3- send message once and set the NotificationSent Flag for that profile line
References[edit]
- Temperature-Profile-Notes - | 0-Segment | 1-Start Time | 2-Duration | 3-Action | 4-Start T | 5-Stop T | 6-Ramp | 7-Error Limits | 8-Command | 9-Notify |
- Anafaze-Project-CheckList