// BeyondTek Macro File TWO STEP
// Started: 2-24-2012
// Last Updated: 1-11-2013
// Author: Mark Sullivan
//TESTED WITH 500 MACROS
// LATEST BEYONDTEK FIRMWARE ? 5-4-2012
//TO DO :
//SCREEN UPDATE IS STILL SLOW, BEYONTEK WORKING ON IT
//video 300
#define POWER-ON
baudN 9600  //115200   set baudrate had to slow down for beyondtek issue
beepv 0             // beep off
tm 0                // normal text mode
typem 100 10        // setup typematic
Font F24            // set font
d 0                 // draw 0
sc 000000 F2F3F3    // set screen fore , back colors
cls                 // clear screen
macro set_display_backlight_261 5
macro power_on_macro_call_20            //  comment out if doing show GUI
// macro McDonalds_show_gui_20_02       //  uncomment if doing this show GUI
// macro two_step_show_gui_20_03        //  uncomment if doing this show GUI
// macro one_step_show_gui_20_04        //  uncomment if doing this show GUI
#end

// this will send back the current version
// "MVer:" must be at the beginning of the version number and
// is used to authenticate the string.
#define return_macro_version_number
stringout "MVer:28.00"
#end



#define screen_clear_1
Font F24            // set font
tm 0                // normal text mode
sc 000000 F2F3F3    // set screen fore , back colors
cls                 // clear screen
#end

#define advanced_menu_options_screen_2
setguibk 1
macro screen_clear_1               // clear everything and set defaults
rect 0 0 799 479 1 000000          // background
sc F2F3F3 000000    // set screen fore , back colors
ta 2 12                            // center center
t "`0`" 400 50                     //menu options ( page title )
buttonm 25 0 0 4 "" 15 16          // BUNN button
buttonsi 25 S
buttonprv 25 "\x7F" R
buttonm 1 20 412 4 "" 46 49        // return arrow
buttonsi 1 S
buttonprv 1 "\x82\x01" R
buttonm 2 20 100 4 "`1`" 27 28     // recipes
buttonsi 2 S
buttonprv 2 "\x82\x02" R
buttonm 4 20 240 4 "`2`" 27 28     // grinder settings
buttonsi 4 S
buttonprv 4 "\x82\x08" R
buttonm 3 20 170 4 "`3`" 27 28     // machine settings
buttonsi 3 S
buttonprv 3 "\x82\x03" R
buttonm 12 460 240 4 "`4`" 27 28   //   import export
buttonsi 12 S
buttonprv 12 "\x82\x0B" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define advanced_menu_options_screen_milk_2_1
sc F2F3F3 000000    // set screen fore , back colors
buttonm 10 20 310 4 "`0`" 27 28      // Milk Settings Button
buttonsi 10 S
buttonprv 10 "\x82\x07" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define advanced_menu_options_screen_2_2
sc F2F3F3 000000    // set screen fore , back colors
buttonm 6 240 170 4 "`0`" 27 28    //   service I/O
buttonsi 6 S
buttonprv 6 "\x82\x04" R
buttonm 7 240 240 4 "`1`" 27 28    //   service history
buttonsi 7 S
buttonprv 7 "\x82\x05" R
buttonm 8 240 310 4 "`2`" 27 28    //   BUNNlink
buttonsi 8 S
buttonprv 8 "\x82\x09" R
buttonm 13 460 310 4 "`3`" 27 28   //   reminder setup
buttonsi 13 S
buttonprv 13 "\x82\x06" R          // reminder setup screen
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define advanced_menu_options_screen_2_3
sc F2F3F3 000000    // set screen fore , back colors
buttonm 9 240 100 4 "`0`" 27 28     // key assignments
buttonsi 9 S
buttonprv 9 "\x82\x0A" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define general_exception_fault_3
macro screen_clear_1                      // clear everything and set defaults
rect 0 0 799 479 1 0000FF                 // background - blue
sc F2F3F3 0000FF                          // set screen fore , back colors (white on blue)
ta 2 12                                   // center center
t "General Exception Fault" 400 150       // Title
ta 2 12                                   // center center
t "`0`" 400 220                           // Fault Type
ta 2 12                                   // center center
t "`1`" 400 250                           // Fault Type
ta 2 12                                   // center center
t "`2`" 400 280                           // Fault Type
#end

#define setup_date_time_4
setguibk 1
macro screen_clear_1 // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37               //   BUNN
sc F2F3F3 000000    // set screen fore , back colors
buttonm 62 400 406 4 "`10`" 23 24         //   cancel
buttonm 63 590 406 4 "`9`" 23 24          //   enter
buttonl 64 349 118 0 "`0`" "`0`" 25 26    //   day
buttonl 65 239 118 0 "`1`" "`1`" 25 26    //   month
buttonl 66 459 118 0 "`2`" "`2`" 25 26    //   year
buttonl 67 239 188 0 "`3`" "`3`" 25 26    //   hour
buttonl 68 349 188 0 "`4`" "`4`" 25 26    //   minute
buttonl 69 459 188 0 "`5`" "`5`" 25 26    //   AM/PM
sc 000000 F2F3F3    // set screen fore , back colors
buttonm 71 582 100 3 "" 31 32             //   up arrow
buttonm 72 582 188 3 "" 29 30             //   down arrow
buttonsi 25 S                             //   silence standard outputs
buttonsi 62 S
buttonsi 63 S
buttonsi 64 S
buttonsi 65 S
buttonsi 66 S
buttonsi 67 S
buttonsi 68 S
buttonsi 69 S
buttonsi 71 S
buttonsi 72 S
ta 2 12         // center center
t "`6`" 400 50    //Date / Time
ta 1 12         // right center
t "`7`" 220 142   //date ( mm/dd/yyyy )
ta 1 12         // right center
t "`8`" 220 212   //time ( hh/mm/AM )
macro attach_date_time_buttons_5
#end

#define attach_date_time_buttons_5
buttonprv 25 "\x7F" R
buttonprv 62 "\xBC" R           //   Home
buttonprv 63 "\x84\x01" R       //   save
buttonprv 64 "\x84\x02" P       //   day
buttonprv 65 "\x84\x03" P       //   month
buttonprv 66 "\x84\x04" P       //   year
buttonprv 67 "\x84\x05" P       //   hour
buttonprv 68 "\x84\x06" P       //   minute
buttonprv 69 "\x84\x07" P       //   AM/PM
buttonprv 64 "\x84\x02" R       //   day
buttonprv 65 "\x84\x03" R       //   month
buttonprv 66 "\x84\x04" R       //   year
buttonprv 67 "\x84\x05" R       //   hour
buttonprv 68 "\x84\x06" R       //   minute
buttonprv 69 "\x84\x07" R       //   AM/PM
buttonprv 71 "\x84\x08" P       //   up arrow
buttonprv 72 "\x84\x09" P       //   down arrow
#end

#define clear_latched_date_time_buttons_6
setbls 64 0
setbls 65 0
setbls 66 0
setbls 67 0
setbls 68 0
setbls 69 0
setbls 70 0
#end

#define set_latched_buttons_7
setbls `0` `1`
#end

#define output_button_press_8
stringout "`0`"   // output button press, appends end of line 0Dh
#end

#define recipe_setup_screen_status_9
rect 200 80 600 119 1 F2F3F3          // filled rectangle for status
ta 2 12                                       // center center
t "`0`" 400 92                                // status line
#end

#define service_history_remove_up_down_buttons_10
widgetdel 27   // up arrow
widgetdel 28   // down arrow
rect 618 398 780 470 1 F2F3F3          // filled rectangle for status
#end

#define service_history_add_up_down_buttons_11
widgetdel 27   // up arrow
widgetdel 28   // down arrow
buttonm 27 620 400 1 "" 31 32         // up arrow
buttonsi 27 S                           //  silence standard outputs
buttonprv 27 "\xBA\x02" P               // up arrow
buttonm 28 700 400 1 "" 29 30         // down arrow
buttonsi 28 S                           //  silence standard outputs
buttonprv 28 "\xBA\x03" P               // down arrow
#end

#define service_history_up_button_12
widgetdel 27   // up arrow
widgetdel 28   // down arrow
rect 618 398 780 470 1 F2F3F3          // filled rectangle for status
buttonm 27 620 400 1 "" 31 32         // up arrow
buttonsi 27 S                           //  silence standard outputs
buttonprv 27 "\xBA\x02" P               // up arrow
#end

#define service_history_down_button_13
widgetdel 27   // up arrow
widgetdel 28   // down arrow
rect 618 398 780 470 1 F2F3F3          // filled rectangle for status
buttonm 28 700 400 1 "" 29 30         // down arrow
buttonsi 28 S                           //  silence standard outputs
buttonprv 28 "\xBA\x03" P               // down arrow
#end

#define draw_colored_line_14
sc `0` F2F3F3    // set screen fore , back colors
line `1` `2` `3` `4`
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define draw_colored_rectangle_14_02
rect `1` `2` `3` `4` 1 `0`
#end


#define active_left_drink_buttons_15_01
//setguibk 1
widgetdel 10
widgetdel 11
widgetdel 12
widgetdel 13
widgetdel 14
widgetdel 15
widgetdel 16
widgetdel 17
widgetdel 18
buttonm 10 256 72 5 "" `0` `1`    // button 1  active
buttonsi 10 S                     //silence standard outputs
buttonprv 10 "\x80\x11" R         // button 1
buttonprv 10 "\x80\x31" P         // button 1
buttonm 11 438 72 5 "" `2` `3`    // button 2    active
buttonsi 11 S
buttonprv 11 "\x80\x12" R         // button 2
buttonprv 11 "\x80\x32" P         // button 2
buttonm 12 620 72 5 "" `4` `5`    // button 3   active
buttonsi 12 S
buttonprv 12 "\x80\x13" R         // button 3
buttonprv 12 "\x80\x33" P         // button 3
buttonm 13 256 185 5 "" `6` `7`   // button 4     active
buttonsi 13 S
buttonprv 13 "\x80\x14" R         // button 4
buttonprv 13 "\x80\x34" P         // button 4
buttonm 14 438 185 5 "" `8` `9`   // button 5  active
buttonsi 14 S
buttonprv 14 "\x80\x15" R         // button 5
buttonprv 14 "\x80\x35" P         // button 5
#end

#define active_left_drink_buttons_15_02
buttonm 15 620 185 5 "" `0` `1`   // button 6  active
buttonsi 15 S
buttonprv 15 "\x80\x16" R         // button 6
buttonprv 15 "\x80\x36" P         // button 6
buttonm 16 256 298 5 "" `2` `3`   // button 7  active
buttonsi 16 S
buttonprv 16 "\x80\x17" R          // button 7
buttonprv 16 "\x80\x37" P          // button 7
buttonm 17 438 298 5 "" `4` `5`   // button 8  active
buttonsi 17 S
buttonprv 17 "\x80\x18" R         // button 8
buttonprv 17 "\x80\x38" P         // button 8
buttonm 18 620 298 5 "" `6` `7`   // button 9  active
buttonsi 18 S
buttonprv 18 "\x80\x19" R         // button 9
buttonprv 18 "\x80\x39" P         // button 9
//scupdate
//setguibk 0
#end

#define setup_left_brew_screen_drink_buttons_1_16
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000                          // background
buttonm 20 620 411 5 "" `0` `1`         // stop
buttonsi 20 S                         // silence standard outputs
buttonprv 20 "\x8E" P                 // stop
buttonprv 20 "\x8F" R                 // stop
buttonm 21 438 0 4 "" `2` `3`           // right tab
buttonsi 21 S                         // silence standard outputs
buttonprv 21 "\x94" R                 // right tab
buttonm 22 256 0 4 "" `4` `5`           // left tab
buttonsi 22 S                         // silence standard outputs
buttonprv 22 "\x95" R                 // left tab
buttonm 23 620 0 4 "" `6` `7`           // daily care tab
buttonsi 23 S                         // silence standard outputs
buttonprv 23 "\x96" R                 // daily care tab
buttonm 25 0 0 5 "" 15 15             // logo (press&release)
buttonsi 25 S                         // silence standard outputs
buttonprv 25 "\x7D" P                 // logo - press
buttonprv 25 "\x7E" R                 // logo - release
//scupdate
//setguibk 0
#end

#define setup_right_brew_screen_drink_buttons_1_17
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000                             // background
buttonm 20 620 411 1 "" `0` `1`            // stop
buttonsi 20 S                         // silence standard outputs
buttonprv 20 "\x8E" P                 // stop
//buttonprv 20 "\x8F" R               // stop - release screen change not needed
buttonm 21 438 0 4 "" `2` `3`           // right tab
buttonsi 21 S                         // silence standard outputs
buttonprv 21 "\x94" R                 // right tab
buttonm 22 256 0 4 "" `4` `5`           // left tab
buttonsi 22 S                         // silence standard outputs
buttonprv 22 "\x95" R                 // left tab
buttonm 23 620 0 4 "" `6` `7`           // daily care tab
buttonsi 23 S                         // silence standard outputs
buttonprv 23 "\x96" R                 // daily care tab
buttonm 25 0 0 5 "" 15 15             // logo (press&release)
buttonsi 25 S                         // silence standard outputs
buttonprv 25 "\x7D" P                 // logo - press
buttonprv 25 "\x7E" R                 // logo - release
//scupdate
//setguibk 0
#end

#define blank_exit_main_1_18
// blank the display without using the clear until the button is released
rect 0 0 799 479 1 000000                          // backround
#end

#define active_right_drink_buttons_18_01
//setguibk 1
widgetdel 10
widgetdel 11
widgetdel 12
widgetdel 13
widgetdel 14
widgetdel 15
widgetdel 16
widgetdel 17
widgetdel 18
buttonm 10 256 72 5 "" `0` `1`    // button 1  ready
buttonsi 10 S                     //silence standard outputs
buttonprv 10 "\x80\x01" R         // button 1
buttonprv 10 "\x80\x21" P         // button 1
buttonm 11 438 72 5 "" `2` `3`    // button 2    ready
buttonsi 11 S
buttonprv 11 "\x80\x02" R         // button 2
buttonprv 11 "\x80\x22" P         // button 2
buttonm 12 620 72 5 "" `4` `5`    // button 3   ready
buttonsi 12 S
buttonprv 12 "\x80\x03" R         // button 3
buttonprv 12 "\x80\x23" P         // button 3
buttonm 13 256 185 5 "" `6` `7`   // button 4     ready
buttonsi 13 S
buttonprv 13 "\x80\x04" R         // button 4
buttonprv 13 "\x80\x24" P         // button 4
buttonm 14 438 185 5 "" `8` `9`   // button 5  ready
buttonsi 14 S
buttonprv 14 "\x80\x05" R         // button 5
buttonprv 14 "\x80\x25" P         // button 5
#end

#define active_right_drink_buttons_18_02
buttonm 15 620 185 5 "" `0` `1`   // button 6  ready
buttonsi 15 S
buttonprv 15 "\x80\x06" R         // button 6
buttonprv 15 "\x80\x26" P         // button 6
buttonm 16 256 298 5 "" `2` `3`   // button 7  ready
buttonsi 16 S
buttonprv 16 "\x80\x07" R          // button 7
buttonprv 16 "\x80\x27" P          // button 7
buttonm 17 438 298 5 "" `4` `5`   // button 8  ready
buttonsi 17 S
buttonprv 17 "\x80\x08" R         // button 8
buttonprv 17 "\x80\x28" P         // button 8
buttonm 18 620 298 5 "" `6` `7`   // button 9  ready
buttonsi 18 S
buttonprv 18 "\x80\x09" R         // button 9
buttonprv 18 "\x80\x29" P         // button 9
//scupdate
//setguibk 0
#end

#define inactive_drink_buttons_19_01
//setguibk 1
widgetdel 10
widgetdel 11
widgetdel 12
widgetdel 13
widgetdel 14
widgetdel 15
widgetdel 16
widgetdel 17
widgetdel 18
buttonm 10 256 72 4 "" `0` `1`    // button 1  inactive
buttonsi 10 S                     // silence standard outputs
buttonprv 10 "\xFE" R         // button 1
buttonm 11 438 72 4 "" `2` `3`    // button 2    inactive
buttonsi 11 S
buttonprv 11 "\xFE" R         // button 2
buttonm 12 620 72 4 "" `4` `5`    // button 3   inactive
buttonsi 12 S
buttonprv 12 "\xFE" R         // button 3
buttonm 13 256 185 4 "" `6` `7`   // button 4     inactive
buttonsi 13 S
buttonprv 13 "\xFE" R         // button 4
buttonm 14 438 185 4 "" `8` `9`   // button 5  inactive
buttonsi 14 S
buttonprv 14 "\xFE" R         // button 5
#end

#define inactive_drink_buttons_19_02
buttonm 15 620 185 4 "" `0` `1`   // button 6
buttonsi 15 S
buttonprv 15 "\xFE" R         // button 6
buttonm 16 256 298 4 "" `2` `3`   // button 7
buttonsi 16 S
buttonprv 16 "\xFE" R         // button 7
buttonm 17 438 298 4 "" `4` `5`   // button 8
buttonsi 17 S
buttonprv 17 "\xFE" R         // button 8
buttonm 18 620 298 4 "" `6` `7`   // button 9
buttonsi 18 S
buttonprv 18 "\xFE" R         // button 9
//scupdate
//setguibk 0
#end

#define power_on_macro_call_20
setguibk 1
macro screen_clear_1                // clear everything and set defaults
rect 0 0 799 479 1 000000                          // background
buttonm 25 0 0 4 "" 15 16           // BUNN logo
buttonsi 25 S                            // silence standard outputs
buttonprv 25 "\x7F" R
sc F2F3F3 000000    // set screen fore , back colors
t "Copyright © 2013 Bunn-O-Matic Corp. All rights reserved." 10 450
sc 000000 F2F3F3    // set screen fore , back colors
scupdate
setguibk 0
//wait 10000   // LeRoy Nolle 16 Nov 2011 change from 5000 to 10000 due to bootloader delay
typem 100 10
#end

#define McDonalds_show_gui_20_02
setguibk 1
macro screen_clear_1             // clear everything and set defaults
rect 0 0 799 479 1 000000                     // background
disimg 15 0 0                    // BUNN logo
disimg 122 256 72                // button 1       UNASSIGNED
disimg 122 438 72                // button 2       UNASSIGNED
disimg 122 620 72                // button 3       UNASSIGNED
disimg 156 256 185               // button 4       LATTE
disimg 184 438 185               // button 5       MOCHA
disimg 431 620 185               // button 6       HOT_CHOCOLATE
disimg 89 256 298                // button 7       ESPRESSO_2X
disimg 122 438 298               // button 8       UNASSIGNED
disimg 425 620 298               // button 9       ADD_MILK
disimg 542 438 0                 // right tab
disimg 19 256 0                  // left tab
disimg 17 620 0                  // daily care tab
sc 444444 F2F3F3    // set screen fore , back colors
pen 1
line 0 69 251 69    // line to separate top of milk options
sc 000000 F2F3F3    // set screen fore , back colors
disimg 177 0 72                         // "size milk" "text"
disimg 175 128 242                      // "milk temp" "text"
disimg 70 128 72                      // "milk type" "text"
disimg 176 0 313                 // syrup "text"
disimg 145 0  98                 // small drink
disimg 138 0 169                 // medium drink
disimg 132 0 240                 // large drink
disimg 189 128 98                // big cow
disimg 206 128 169               // little cow
disimg 130 128 268               // hot drink
disimg 126 128 339               // cold drink
disimg 147 0 339                 // syrup
disimg 13 620 411                // stop
disimg 38 148 421                // status bar on bottom of display
sc F2F3F3 000000
ta 2 4                           // center bottom
t "ready to brew"  344 452       // status
// time date
ta 2 12                          // center center
t "12:03 PM" 88 430              // time
ta 2 12                          // center center
t "3.21.14" 88 455               // date
sc 000000 F2F3F3
scupdate
setguibk 0
typem 100 10
#end

#define two_step_show_gui_20_03
setguibk 1
macro screen_clear_1             // clear everything and set defaults
rect 0 0 799 479 1 000000                     // background
disimg 15 0 0                    // BUNN logo
disimg 95 256 72                 // button 1   ESPRESSO_1X,   ESPRESSO_1X ,
disimg 89 438 72                // button 2    CAPPUCCINO,    ESPRESSO_2X,
disimg 113 620 72                // button 3   MILK,          RISTRETTO,
disimg 110 256 185                // button 4   ESPRESSO_2X,   LARGE_AMERICANO,
disimg 107 438 185               // button 5   LATTE,         AMERICANO,
disimg 119 620 185               // button 6   FOAM_TOP,      CUP_PREHEAT,
disimg 122 256 298               // button 7   AMERICANO,     UNASSIGNED,
disimg 122 438 298               // button 8   MACCHIATO,     UNASSIGNED,
disimg 122 620 298               // button 9   CUP_PREHEAT,   UNASSIGNED,
disimg 22 438 0                  // right tab
disimg 19 256 0                  // left tab
disimg 17 620 0                  // daily care tab
disimg 12 126 72                  // intellisteam
disimg 9  126 298                   // manual steam
disimg 6 0 298                    // purge steam wand
disimg 78 0 147                   // precise
disimg 74 0 72                    // warm
disimg 71 0 222                   // x-hot
//disimg 177 0 68                  // "size milk type" "text"
//disimg 175 128 238               // "milk temp" "text"
//disimg 176 0 309                 // syrup "text"
//disimg 145 0  98                 // small drink
//disimg 138 0 169                 // medium drink
//disimg 132 0 240                 // large drink
//disimg 142 128 98                // big cow
//disimg 135 128 169               // little cow
//disimg 130 128 268               // hot drink
//disimg 126 128 339               // cold drink
//disimg 147 0 339                 // syrup
disimg 13 620 411                // stop
disimg 38 148 421                // status bar on bottom of display
sc F2F3F3 000000
ta 2 4                           // center bottom
t "ready to brew"  344 452       // status
// time date
ta 2 12                          // center center
t "12:03 PM" 88 430              // time
ta 2 12                          // center center
t "3.21.14" 88 455               // date
sc 000000 F2F3F3
scupdate
setguibk 0
typem 100 10
#end

#define one_step_show_gui_20_04
setguibk 1
macro screen_clear_1             // clear everything and set defaults
rect 0 0 799 479 1 000000                     // background
disimg 15 0 0                    // BUNN logo
disimg 95 256 72                 // button 1   ESPRESSO_1X,
disimg 162 438 72                // button 2   CAPPUCCINO,
disimg 153 620 72                // button 3   MILK,
disimg 89 256 185                // button 4   ESPRESSO_2X,
disimg 156 438 185               // button 5   LATTE,
disimg 150 620 185               // button 6   FOAM_TOP,
disimg 107 256 298               // button 7   AMERICANO,
disimg 159 438 298               // button 8   MACCHIATO,
disimg 119 620 298               // button 9   CUP_PREHEAT,
disimg 22 438 0                  // right tab
disimg 19 256 0                  // left tab
disimg 17 620 0                  // daily care tab
disimg 177 0 72                  // "size " "text"
disimg 175 128 242               // "milk temp" "text"
disimg 176 0 313                 // syrup "text"
disimg 70 128 72                // "milk type" "text"
disimg 145 0  98                 // small drink
disimg 138 0 169                 // medium drink
disimg 132 0 240                 // large drink
disimg 142 128 98                // big cow
disimg 135 128 169               // little cow
disimg 130 128 268               // hot drink
disimg 126 128 339               // cold drink
disimg 147 0 339                 // syrup
disimg 13 620 411                // stop
disimg 38 148 421                // status bar on bottom of display
sc 444444 F2F3F3    // set screen fore , back colors
pen 1
line 0 69 251 69    // line to separate top of milk options
sc 000000 F2F3F3    // set screen fore , back colors
sc F2F3F3 000000
ta 2 4                           // center bottom
t "ready to brew"  344 452       // status
// time date
ta 2 12                          // center center
t "12:03 PM" 88 430              // time
ta 2 12                          // center center
t "3.21.14" 88 455               // date
sc 000000 F2F3F3
scupdate
setguibk 0
typem 100 10
#end

#define display_background_mode_22
setguibk 1
#end

#define display_foreground_mode_23
scupdate
setguibk 0
#end

// MODIFY BEYONDTEK C CODE!!!!!!!!!!!!!!
#define update_brew_cycle_24
// same as called without :stat label
sc 000000 F2F3F3
// t "                                           " 346 26
// t '0' 346 26
#end

// MODIFY BEYONDTEK C CODE!!!!!!!!!!!!!
#define update_brew_cycle_24_stat
// same as if called with :stat label
sc 000000 F2F3F3
t "                                           " 346 26
t "`0`" 346 26
#end

#define turn_off_brew_buttons_25
widgetdis 10    //xd 10 14
widgetdis 11
widgetdis 12
widgetdis 13
widgetdis 14    //xd 21 23
widgetdis 21
widgetdis 22
widgetdis 23    //xd 25 26
widgetdis 25
widgetdis 26
#end

#define turn_on_brew_buttons_26
widgetenb 10    //xe 10 14
widgetenb 11
widgetenb 12
widgetenb 13
widgetenb 14    //xe 21 23
widgetenb 21
widgetenb 22
widgetenb 23    //xe 25 26
widgetenb 25
widgetenb 26
#end

#define unused_1_27
macro screen_clear_1 // clear everything and set defaults
#end

#define update_the_numbers_28
t "`0`  " 220 240
t "`1`  " 220 360
t "`2`  " 520 240
t "`3`  " 520 360
#end

#define setup_date_time_day_button_29
widgetdel 64
sc F2F3F3 000000    // set screen fore , back colors
buttonl 64 349 118 `0` "`1`" "`1`" 25 26   // day
buttonsi 64 S                     //silence standard outputs
buttonprv 64 "\x84\x02" P        //   day
buttonprv 64 "\x84\x02" R        //   day
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define setup_date_time_month_button_30
widgetdel 65
sc F2F3F3 000000    // set screen fore , back colors
buttonl 65 239 118 `0` "`1`" "`1`" 25 26   //   month
buttonsi 65 S                     //silence standard outputs
buttonprv 65 "\x84\x03" P        //   month
buttonprv 65 "\x84\x03" R        //   month
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define setup_date_time_year_button_31
widgetdel 66
sc F2F3F3 000000    // set screen fore , back colors
buttonl 66 459 118 `0` "`1`" "`1`" 25 26   //   year
buttonsi 66 S                     //silence standard outputs
buttonprv 66 "\x84\x04" P        //   year
buttonprv 66 "\x84\x04" R        //   year
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define setup_date_time_hour_button_32
widgetdel 67
sc F2F3F3 000000    // set screen fore , back colors
buttonl 67 239 188 `0` "`1`" "`1`" 25 26   //   hour
buttonsi 67 S                     //silence standard outputs
buttonprv 67 "\x84\x05" P        //   hour
buttonprv 67 "\x84\x05" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define setup_date_time_minute_button_33
widgetdel 68
sc F2F3F3 000000    // set screen fore , back colors
buttonl 68 349 188 `0` "`1`" "`1`" 25 26   //   minute
buttonsi 68 S                     //silence standard outputs
buttonprv 68 "\x84\x06" P        //   minute
buttonprv 68 "\x84\x06" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define setup_date_time_am_pm_button_34
widgetdel 69
sc F2F3F3 000000    // set screen fore , back colors
buttonl 69 459 188 `0` "`1`" "`1`" 25 26   //   AM/PM
buttonsi 69 S                     //silence standard outputs
buttonprv 69 "\x84\x07" P        //   AM/PM
buttonprv 69 "\x84\x07" R
sc 000000 F2F3F3    // set screen fore , back colors
#end


#define recipe_setup_screen_basic_36
setguibk 1                             // background mode
macro screen_clear_1                   // clear everything and set defaults
rect 0 0 799 479 1 000000                           // background
buttonm 1 0 0 4 "" 15 16               // BUNN
buttonsi 1 S
buttonprv 1 "\xBE\x34" R
buttonm 2 20 412 4 "" 46 49            // return arrow
buttonsi 2 S
buttonprv 2 "\xBE\x33" R               // return arrow
sc F2F3F3 000000                       // light foreground/dark background
ta 2 12                                // center center
t "`0`" 400 445                        // Title (Settings: Recipes)
sc 000000 F2F3F3                       // reset black foreground/light background
#end

#define show_button_pressed_36_01
o `0` `1`                       // move the origin to the upper left of the button
sc `2` 000000                   // set screen fore , back colors
pen 2                           // pen 2 wide for rectangle around data
rect 0 0 114 63 0 `2`           // outline
line 0 21 114 21                //
line 0 42 114 42
line 38 0 38 63
line 76 0 76 63
rect `3` `4` `5` `6` 1
o 0 0                           // put the origin back
sc 000000 F2F3F3                // set screen fore , back colors
#end

#define key_assignment_36_02
setguibk 1                             // background mode
macro screen_clear_1                   // clear everything and set defaults
rect 0 0 799 479 1 000000                           // background
buttonm 1 0 0 4 "" 15 16               // BUNN
buttonsi 1 S
buttonprv 1 "\xBE\x34" R
sc F2F3F3 000000                       // light foreground/dark background
ta 2 12                                // center center
t "`0`" 710 36                         // key assignment  title
buttonm 63 590 411 4 "`1`" 23 24       // save
buttonsi 63 S
buttonprv 63 "\xBE\x30" R
buttonm 80 400 411 4 "`2`" 23 24       // cancel
buttonsi 80 S
buttonprv 80 "\xBE\x33" R
sc 000000 F2F3F3                       // reset black foreground/light background
#end

#define recipe_setup_right_buttons_37
widgetdel 3                            // disable right tab
disimg `0` 438 0                        // right tab as an image
buttonm 4 256 0 4 "" `1` `2`             // left tab as button
buttonsi 4 S
buttonprv 4 "\xBE\x32" R
#end

#define recipe_setup_left_buttons_38
widgetdel 4                            // disable left tab
disimg `0` 256 0                        // left tab as an image
buttonm 3 438 0 4 "" `1` `2`             // right tab as button
buttonsi 3 S
buttonprv 3 "\xBE\x31" R
#end

// note: this is used by key assignment screen and the settings: recipe screen
#define recipe_setup_brew_buttons_39
buttonm 10 256 72 4 "" `0` `1`         // button 1
buttonsi 10 S
buttonprv 10 "\xBE\x01" R
buttonm 11 438 72 4 "" `2` `3`         // button 2
buttonsi 11 S
buttonprv 11 "\xBE\x02" R
buttonm 12 620 72 4 "" `4` `5`         // button 3
buttonsi 12 S
buttonprv 12 "\xBE\x03" R
buttonm 13 256 185 4 "" `6` `7`        // button 4
buttonsi 13 S
buttonprv 13 "\xBE\x04" R
buttonm 14 438 185 4 "" `8` `9`        // button 5
buttonsi 14 S
buttonprv 14 "\xBE\x05" R
buttonm 15 620 185 4 "" `10` `11`      // button 6
buttonsi 15 S
buttonprv 15 "\xBE\x06" R
buttonm 16 256 298 4 "" `12` `13`      // button 7
buttonsi 16 S
buttonprv 16 "\xBE\x07" R
buttonm 17 438 298 4 "" `14` `15`      // button 8
buttonsi 17 S
buttonprv 17 "\xBE\x08" R
buttonm 18 620 298 4 "" `16` `17`      // button 9
buttonsi 18 S
buttonprv 18 "\xBE\x09" R
#end

#define recipe_setup_steam_buttons_40
buttonm 35 126 72 4 "" `0` `1`           // intellisteam
buttonsi 35 S
buttonprv 35 "\xBE\x21" R
buttonm 36 126 298 4 "" `2` `3`            // manual steam
buttonsi 36 S
buttonprv 36 "\xBE\x22" R
#end

#define recipe_setup_edit_basic_41
setguibk 1
macro screen_clear_1                   // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37            // BUNN
buttonsi 25 S
buttonprv 25 "\x7F" R
ta 2 4                                 // center bottom
t "`0`" 400 50                         //  title (recipe name)
sc F2F3F3 000000    // set screen fore , back colors
buttonm 83 210 406 1 "`1`" 23 24       // default recipe
buttonsi 83 S
buttonprv 83 "\xBF\x0B" P
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define recipe_setup_edit_canel_save_42
widgetdel 20                           // delete stop button
rect 620 411 799 479 1 F2F3F3          // filled rectangle to hide the button
sc F2F3F3 000000    // set screen fore , back colors
buttonm 80 400 406 4 "`0`" 23 24       // cancel
buttonsi 80 S
buttonprv 80 "\xBF\x0A" R
buttonm 81 590 406 4 "`1`" 23 24       // save
buttonsi 81 S
buttonprv 81 "\xBF\x01" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define recipe_setup_edit_stop_43
widgetdel 80                           // delete cancel button
widgetdel 81                           // delete save button
rect 381 406 799 479 1 F2F3F3          // filled rectangle to hide the buttons
buttonm 20 620 411 1 "" `0` `1`          // stop
buttonsi 20 S
buttonprv 20 "\xBF\x8E" P
#end

#define recipe_setup_edit_next_button_44
sc F2F3F3 000000    // set screen fore , back colors
buttonm 82 20 406 4 "`0`" 23 24        // NextPage (milk/coffee)
buttonsi 82 S
buttonprv 82 "\xBF\x04" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define recipe_setup_edit_select_prompt_45
ta 2 4                                 // center bottom
t "`0`" 400 200                        //  prompt1 select new recipe name
ta 2 4                                 // center bottom
t "`1`" 400 230                        //  prompt1 select new recipe name
#end

#define recipe_setup_edit_coffee_buttons_46
macro data_value_input_button_430 10 20 120 `0` "\xBF\x10" `1`    // coffee
macro data_value_input_button_430 11 20 190 `2` "\xBF\x11" `3`    // water
macro data_value_input_button_430 12 20 260 `4` "\xBF\x12" `5`    // bypass after
macro data_value_input_button_430 13 400 120 `6` "\xBF\x13" `7`   // pre-infuse
macro data_value_input_button_430 14 400 190 `8` "\xBF\x14" `9`   // dwell
macro data_value_input_button_430 16 20 330 `10` "\xBF\x16" `11`   // bypass before
sc F2F3F3 000000    // set screen fore , back colors
buttonm 15 400 336 1 "`12`" 23 24        // Coffee Test Recipe
buttonsi 15 S
buttonprv 15 "\xBF\x15" P
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define recipe_setup_edit_coffee_values_47
macro data_value_input_value_431 20 120 `0`
macro data_value_input_value_431 20 190 `1`
macro data_value_input_value_431 20 260 `2`
macro data_value_input_value_431 400 120 `3`
macro data_value_input_value_431 400 190 `4`
macro data_value_input_value_431 20 330 `5`
#end

#define recipe_setup_edit_milk_buttons_48
macro data_value_input_button_430 10 20 120 `0` "\xBF\x20" `1`    // milk
macro data_value_input_button_430 11 20 190 `2` "\xBF\x21" `3`    // foam
macro data_value_input_button_430 12 20 260 `4` "\xBF\x22" `5`    // syrup
macro data_value_input_button_430 13 400 120 `6` "\xBF\x23" `7`   // speed adj
sc F2F3F3 000000    // set screen fore , back colors
buttonm 18 400 260 1 "`8`" 23 24        // Dispense Order
buttonsi 18 S
buttonprv 18 "\xBF\x24" P
pen 2                                   // pen 2 wide for rectangle around data
rect 580 264 730 314 0 000000           // rectangle around data (dispense order)
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define recipe_setup_edit_milk_buttons_48_1
macro data_value_input_button_430 15 20 330 `0` "\xBF\x29" `1`    // foam top volume
#end

#define recipe_setup_edit_recipe_test_button_49
sc F2F3F3 000000    // set screen fore , back colors
buttonm 17 590 336 1 "`0`" 23 24        // Recipe Test Recipe
buttonsi 17 S
buttonprv 17 "\xBF\x26" P                // test recipe
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define recipe_setup_edit_milk_recipe_test_button_49_01
sc F2F3F3 000000    // set screen fore , back colors
buttonm 16 400 336 1 "`0`" 23 24        // Milk Test Recipe
buttonsi 16 S
buttonprv 16 "\xBF\x25" P               // test milk recipe
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define recipe_setup_edit_milk_prime_button_49_02
sc F2F3F3 000000    // set screen fore , back colors
buttonm 19 400 336 4 "`0`" 23 24        // Milk 1 prime
buttonsi 19 S
buttonprv 19 "\xBF\x28" R               // Milk 1 prime
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define recipe_setup_edit_remove_coffee_test_button_50
widgetdel 82                           // delete Next (Coffee Setup) button
widgetdel 17                           // delete Recipe Test button
rect 20 406 192 464 1 F2F3F3           // filled rectangles to hide the buttons
rect 590 336 762 394 1 F2F3F3
#end

#define recipe_setup_edit_milk_values_51
macro data_value_input_value_431 20 120 `0`        // milk
macro data_value_input_value_431 20 190 `1`        // foam
macro data_value_input_value_431 20 260 `2`        // syrup
macro data_value_input_value_431 400 120 `3`       // speed adjust
#end

#define recipe_setup_edit_milk_values_51_1
macro data_value_input_value_431 20 330 `0`        // foam top volume
#end

#define recipe_setup_edit_milk_dispense_value_52
pen 0                                  // no border
rect 582 266 727 311 1 F2F3F3          // rectangle to clear old data
ta 2 4                                 // center bottom
t "`0`" 655 289                        // dispense order
#end

#define recipe_setup_edit_push_and_hold_buttons_53
macro data_value_input_button_430 10 20 120 `0` "\xBF\x27" `1`    // maximum volume
macro data_value_input_button_430 13 400 120 `2` "\xBF\x23" `3`   // speed adj
#end

#define recipe_setup_edit_push_and_hold_values_53_02
macro data_value_input_value_431 20 120 `0`        // maximum volume
macro data_value_input_value_431 400 120 `1`       // speed adjust
#end

#define daily_service_screen_54
setguibk 1
macro screen_clear_1                       // clear everything and set defaults
rect 0 0 799 479 1 000000                               // background
rect 256 69 799 407 1 d6d6d6               // background under daily care
buttonm 20 620 411 5 "" `0` `1`             // stop
buttonsi 20 S
buttonprv 20 "\xC0\x04" P                  // stop
buttonprv 20 "\xC0\x0F" R                  // stop
buttonm 21 438 0 4 "" `2` `3`                // right tab
buttonsi 21 S
buttonprv 21 "\x94" R                      // right tab
buttonm 22 256 0 4 "" `4` `5`                // left tab
buttonsi 22 S                              //silence standard outputs
buttonprv 22 "\x95" R                      // left tab
buttonm 23 620 0 4 "" `6` `7`                // daily care tab
buttonsi 23 S
buttonm 25 0 0 5 "" 15 15                  // BUNN logo
buttonsi 25 S
buttonprv 25 "\x7B" P                      // BUNN logo
buttonprv 25 "\x7C" R                      // BUNN logo
#end

#define two_step_clean_rinse_buttons_02_54
buttonm 82 0 241 4 "" `0` `1`                // clean
buttonsi 82 S
buttonprv 82 "\xC0\x02" R                  // clean  // LeRoy Nolle 19 Oct 2011 change to release
buttonm 83 0 69 4 "" `2` `3`                 // rinse
buttonsi 83 S
buttonprv 83 "\xC0\x03" R                  // rinse  // LeRoy Nolle 19 Oct 2011 change to release
#end

#define one_step_clean_rinse_prime_buttons_03_54
buttonm 82 0 297 4 "" `0` `1`                 // clean
buttonsi 82 S
buttonprv 82 "\xC0\x02" R                    // clean
buttonm 83 0 69 4 "" `2` `3`                  // coffee rinse
buttonsi 83 S
buttonprv 83 "\xC0\x03" R                    // coffee rinse
buttonm 84 0 183 4 "" `4` `5`                 // milk rinse
buttonsi 84 S
buttonprv 84 "\xC0\x07" R                    // milk rinse
buttonm 85 128 69 4 "" `6` `7`                // milk 1 prime
buttonsi 85 S
buttonprv 85 "\xC0\x08" R                    // milk 1 prime
#end

#define one_step_clean_button_04_54
buttonm 82 0 297 4 "" `0` `1`                // clean
buttonsi 82 S
buttonprv 82 "\xA5\x02" R                    // clean
#end

#define two_step_clean_button_05_54
buttonm 82 0 241 4 "" `0` `1`              // clean
buttonsi 82 S
buttonprv 82 "\xA5\x02" R                // clean
#end

#define daily_service_screen_06_54
setguibk 1
macro screen_clear_1                       // clear everything and set defaults
rect 0 0 799 479 1 000000                               // background
rect 256 69 799 407 1 d6d6d6               // background under daily care
buttonm 20 620 411 5 "" `0` `1`             // stop
buttonsi 20 S
buttonprv 20 "\xC0\x04" P                  // stop
buttonprv 20 "\xC0\x0F" R                  // stop
buttonm 22 256 0 4 "" `2` `3`                // beverage select tab
buttonsi 22 S                              //silence standard outputs
buttonprv 22 "\xC0\x0C" R                      // beverage select tab
buttonm 23 620 0 4 "" `4` `5`                // daily care tab
buttonsi 23 S
buttonm 25 0 0 5 "" 15 15                  // BUNN logo
buttonsi 25 S
buttonprv 25 "\x7B" P                      // BUNN logo
buttonprv 25 "\x7C" R                      // BUNN logo
#end

#define one_step_prime_milk_2_button_07_54
buttonm 86 128 183 4 "" `0` `1`               // milk 2 prime
buttonsi 86 S
buttonprv 86 "\xC0\x09" R                    // milk 2 prime
#end

#define cleaning_text_55
ta 2 12         // center center
t "`0`" 470 350
#end

#define cleaning_screen_56
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
rect 0 0 799 479 1 000000                             // background
//rect 256 69 799 407 1 d6d6d6           // background under daily care
buttonm 25 0 0 5 "" 15 15                // BUNN logo
buttonsi 25 S                            // silence standard outputs
buttonprv 25 "\x7B" P                    // BUNN
buttonprv 25 "\x7C" R                    // BUNN
buttonm 20 620 411 5 "" `9` `10`            // stop
buttonsi 20 S
buttonprv 20 "\xA5\x01" P                // stop  shutdown clean
buttonprv 20 "\xA5\x05" R                // stop  reset to main screen
sc F2F3F3 000000                         // set screen fore , back colors
tm 2                                     // transparent text mode
ta 0 0                                   // left top
t "`0`" 10 95
ta 0 0                                   // left top
t "`1`" 10 120
ta 0 0                                   // left top
t "`2`" 10 145
ta 0 0                                   // left top
t "`3`" 10 170
ta 0 0                                   // left top
t "`4`" 10 195
ta 0 0                                   // left top
t "`5`" 10 220
ta 0 0                                   // left top
t "`6`" 10 245
ta 0 0                                   // left top
t "`7`" 10 270
sc 000000 F2F3F3                         // set screen fore , back colors
disimg `8` 256 69                        // photo
tm 0                                     // normal text mode
#end

#define dilution_dispense_wait_56_02
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
rect 0 0 799 479 1 000000                // background
buttonm 20 620 411 5 "" `1` `2`            // stop
buttonsi 20 S
buttonprv 20 "\xA5\x01" P                // stop  reset to main screen
buttonprv 20 "\xA5\x05" R                // stop  reset to main screen
buttonm 25 0 0 5 "" 15 16                // BUNN logo
buttonsi 25 S                            // silence standard outputs
buttonprv 25 "\x7B" P                    // BUNN
buttonprv 25 "\x7C" R                    // BUNN
macro write_at_screen_center_59 "`0`"    // rinse status
scupdate
setguibk 0
#end

#define rinse_screen_57
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
rect 0 0 799 479 1 000000                // background
buttonm 20 620 411 5 "" `1` `2`          // daily care stop
buttonsi 20 S                            // silence standard outputs
buttonprv 20 "\xC0\x04" P                // daily care stop
buttonprv 20 "\xC0\x0F" R                // daily care stop
buttonm 25 0 0 5 "" 15 16                // BUNN logo
buttonsi 25 S                            // silence standard outputs
buttonprv 25 "\x7B" P                    // BUNN
buttonprv 25 "\x7C" R                    // BUNN
macro write_at_screen_center_59 "`0`"    // rinse status
scupdate
setguibk 0
#end

#define write_status_bar_58
widgetdel 100
rect 165 414 575 478 1 `1`  // erase status bar with background color
//rect 145 414 555 478 1 `1`  // erase status bar with background color
disimg 38 168 421           // status bar on bottom of display
sc `0` `1`
ta 2 4                      // center bottom
t "`2`"  364 452            // status
sc 000000 F2F3F3
#end

#define write_status_bar_alt_58_1
rect 0 55 799 114 1 `1`             // erase status bar with background color
//disimg 38 155 55                  // status bar on top of display
sc `0` `1`
ta 2 4                              // center bottom
t "`2`" 400 85                      // status
sc 000000 F2F3F3
#end

#define write_status_bar_as_button_58_2
widgetdel 100
rect 165 414 575 478 1 `1`  // erase status bar with background color
//rect 145 414 555 478 1 `1`  // erase status bar with background color
//buttonb 100 145 414 555 478 ""
buttonb 100 165 414 430 64 ""
//buttonb 100 145 414 410 64 ""
buttonsi 100 S
buttonprv 100 "\x96" P
disimg 38 168 421           // status bar on bottom of display
//disimg 38 148 421           // status bar on bottom of display
sc `0` `1`
ta 2 4                      // center bottom
t "`2`"  364 452            // status
//t "`2`"  344 452            // status
sc 000000 F2F3F3
#end

#define status_bar_help_button_58_3
widgetdel 101
buttonm 101 105 414 4 " " `0` `1`
buttonsi 101 S
buttonprv 101 `2` R
#end

#define clear_status_bar_help_button_58_4
widgetdel 101
rect 104 413 174 478 1 `0`  // erase status bar with background color
#end

#define write_status_bar_for_cleaning_58_5
widgetdel 100
rect 165 414 575 478 1 `1`  // erase status bar with background color
sc `0` `1`
ta 2 4                      // center bottom
t "`2`"  364 452            // status
sc 000000 F2F3F3
#end

#define write_at_screen_center_59
sc F2F3F3 000000    // set screen fore , back colors
rect 0 220 799 260 1 000000              // filled rectangle to clear text
ta 2 12                                  // center center
t "`0`" 400 240
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define setup_buttons_60
setbls 35 0 //pop intelli steam up
setbls 36 0 //pop manual steam up
setbls 37 0 //pop purge steam up
#end

#define main_screen_time_date_61
sc F2F3F3 000000
ta 2 12                                   // center center
t "                 " 50 430
ta 2 12                                   // center center
t "`0`" 50 430
ta 2 12                                   // center center
t "                  " 50 455
ta 2 12                                   // center center
t "`1`" 50 455
sc 000000 F2F3F3
#end

#define startup_screen_62
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
rect 0 0 799 479 1 000000                          // background
buttonm 25 0 0 4 "" 15 16           // BUNN
buttonsi 25 S                           //silence standard outputs
buttonprv 25 "\x7F" R                   // BUNN
buttonm 20 620 411 1 "" `1` `2`            // stop
buttonsi 20 S
buttonprv 20 "\x86" P                // stop  emergency stop
macro write_at_screen_center_59 "`0`"     // write in the middle of the screen
scupdate
setguibk 0
#end

#define emergency_stop_screen_62_1
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
rect 0 0 799 479 1 000000                          // background
disimg 15 0 0                          // background
macro write_at_screen_center_59 "`0`"     // write in the middle of the screen
scupdate
setguibk 0
#end

#define startup_screen_heat_bars_63
// horizontal status bargraphs
levd 50 100 270 699 299 1 0 1 F2F3F3 99 0000FF
levd 51 100 330 399 359 1 0 1 F2F3F3 99 0000FF
levd 52 400 330 699 359 1 0 1 F2F3F3 99 0000FF
levv 50 0
levv 51 0
levv 52 0
#end

#define startup_screen_heat_status_63_1
levv 50 `0`
levv 51 `1`
levv 52 `2`
#end

#define image_test_64
macro screen_clear_1                    // clear everything and set defaults
disimg `0` 0 0                          // test image -- upper left
tm 2                                    // transparent text
ta 2 0                                  // center top
t "image test" 400 0                    // title
ta 0 0                                  // left top
t "`0`"                                 // image number
buttonb 10 0 0 799 479 ""               // hotspot for entire screen
buttonsi 10 S
buttonprv 10 "\x7C" P                   // key like BUNN Button - go to main
#end

#define display_regular_status_bar_65
disimg 28 222 400       // status bar
#end

#define display_status_bar_66
disimg 38 148 429       // status bar on bottom of display
#end

#define display_daily_service_status_bar_67
disimg 27 222 386       // regular status bar
#end

#define display_module_test_screen_68
macro screen_clear_1                    // clear everything and set defaults
ta 2 12                                 // center center
t "`0`" 400 50                             //service menu  ( page title )
buttonm 25 13 13 4 "" 37 37             // logo
buttonsi 25 S                              //silence standard outputs
buttonprv 25 "\xC1\x7F" R                  // logo
buttonm 62 20 412 4 "" 46 49            //   return
buttonsi 62 S                              //silence standard outputs
buttonprv 62 "\xC1\x3B" R                  //   return
sc F2F3F3 000000    // set screen fore , back colors
buttonm 84 20 100 4 "`1`" 27 28         //   brew mechanism
buttonsi 84 S                              //silence standard outputs
buttonprv 84 "\xC1\x01" R                  //   brew mechanism
buttonm 85 20 170 4 "`2`" 27 28         //   steam system
buttonsi 85 S                              //silence standard outputs
buttonprv 85 "\xC1\x02" R                  //   steam system
buttonm 86 20 240 4 "`3`" 27 28         //   brew water system
buttonsi 86 S                              //silence standard outputs
buttonprv 86 "\xC1\x03" R                  //   brew water system
buttonm 87 20 310 4 "`4`" 27 28         //   grind system
buttonsi 87 S                              //silence standard outputs
buttonprv 87 "\xC1\x04" R                  //   grind system
buttonm 89 250 170 4 "`5`" 27 28        // Factory/Maintenance
buttonsi 89 S                              // silence standard outputs
buttonprv 89 "\xC1\x68" R                  // Facrory/Maintenance system
buttonm 91 250 310 4 "`6`" 27 28        // system water flow test
buttonsi 91 S                              // silence standard outputs
buttonprv 91 "\xC1\x69" R                  // system water flow test
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_module_test_screen_68_1
ta 1 0                      // right top
t "`0`" 680 100             // HW revision
ta 1 0                      // right top
t "`3`" 680 130             // boot version
ta 1 0                      // right top
t "`1`" 680 160             // Display FW
ta 1 0                      // right top
t "`4`" 680 190             // macro version
ta 1 0                      // right top
t "+24V:" 680 220           //
ta 1 0                      // right top
t "+5V int:" 680 250        //
ta 1 0                      // right top
t "+5V ext:" 680 280        //
ta 1 0                      // right top
t "+8V:" 680 310            //
ta 1 0                      // right top
t "`2`" 680 340             // circuit temp
#end

#define display_system_voltages_data_68_2
ta 0 0                      // left top
t "`0`   " 690 100          // Hardware Revision
ta 0 0                      // left top
t "`10`   " 690 130          // boot version
ta 0 0                      // left top
t "`1`   " 690 160          // Display FW
ta 0 0                      // left top
t "`11`   " 690 190          // macro version
sc `2` F2F3F3               // color (red out of range)
ta 0 0                      // left top
t "`3`   " 690 220          // 24V Supply
sc `4` F2F3F3               // color (red out of range)
ta 0 0                      // left top
t "`5`     " 690 250        // 5V Int Supply
sc `6` F2F3F3               // color (red out of range)
ta 0 0                      // left top
t "`7`" 690 280             // 5V Ext Supply
sc `8` F2F3F3               // color (red out of range)
ta 0 0                      // left top
t "`9`" 690 310             // 8V Supply
sc 000000 F2F3F3
#end

#define display_system_voltages_data_68_3
ta 0 0                      // left top
t "`0`   " 690 340          // circuit temp
#end

#define display_module_test_screen_68_4
sc F2F3F3 000000                        // set screen fore , back colors
buttonm 90 250 240 4 "`0`" 27 28        // Milk System
buttonsi 90 S                              // silence standard outputs
buttonprv 90 "\xC1\x31" R                  // Milk System
sc 000000 F2F3F3                        // set screen fore , back colors
#end

#define display_module_test_screen_68_5
sc F2F3F3 000000                        // set screen fore , back colors
buttonm 88 250 100 4 "`0`" 27 28        // TDS system
buttonsi 88 S                              // silence standard outputs
buttonprv 88 "\xC1\x60" R                  // TDS system
sc 000000 F2F3F3                        // set screen fore , back colors
#end

#define display_module_test_screen_68_6
sc F2F3F3 000000                        // set screen fore , back colors
buttonm 92 250 380 4 "`0`" 27 28        // service notices
buttonsi 92 S                           // silence standard outputs
buttonprv 92 "\xC1\x61" R               // service notices
sc 000000 F2F3F3                        // set screen fore , back colors
#end

#define display_service_brew_mechanism_screen_69
setguibk 1
macro screen_clear_1                    // clear everything and set defaults !!!!!STUCK HERe
buttonm 25 13 13 4 "" 37 37           // logo
buttonsi 25 S                           //silence standard outputs
buttonprv 25 "\xC1\x7F" R                   // logo
buttonm 62 20 412 4 "" 46 49          //   Home
buttonsi 62 S                           //silence standard outputs
buttonprv 62 "\xC1\x05" R               //   Home
ta 2 12                                 // center center
t "`0`" 400 50                            //service brew mechanism  ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 88 20 100 1 "`1`" 27 28         //   home position
buttonsi 88 S                           //silence standard outputs
buttonprv 88 "\xC1\x06" P               //   home position
buttonm 89 20 170 1 "`2`" 27 28         //   grind position
buttonsi 89 S                           //silence standard outputs
buttonprv 89 "\xC1\x07" P               //   grind position
buttonm 90 20 240 1 "`3`" 27 28         //   cleaning position
buttonsi 90 S                           //silence standard outputs
buttonprv 90 "\xC1\x08" P               //   cleaning position
buttonm 91 240 170 5 "`4`" 27 28         //   manual up
buttonsi 91 S                           //silence standard outputs
buttonprv 91 "\xC1\x09" P               //   manual up
buttonprv 91 "\xC1\x0A" R               //   manual up
buttonm 92 240 240 5 "`5`" 27 28        //   manual down
buttonsi 92 S                           //silence standard outputs
buttonprv 92 "\xC1\x0B" P               //   manual down
buttonprv 92 "\xC1\x0C" R               //   manual down
buttonl 94 20 310 `8` "`6`" "`7`" 27 28  //   Chamber heater enable
buttonsi 94 S                           // silence standard outputs
buttonprv 94 "\xC1\x40" P               //   Chamber heat disable
buttonprv 94 "\xC1\x41" R               //   Chamber heat enable
sc 000000 F2F3F3    // set screen fore , back colors
scupdate
setguibk 0
#end

#define service_brew_mechanism_monitor_labels_70
ta 1 12                     // right center
t "`0`" 700 100             //AC current
ta 1 12                     // right center
t "`1`" 700 130             //DC current
ta 1 12                     // right center
t "`2`" 700 160             //position counter
ta 1 12                     // right center
t "`3`" 700 190             //home position switch
ta 1 12                     // right center
t "`4`" 700 220             //tamp sensor
ta 1 12                     // right center
t "`5`" 700 250             //puck bin
ta 1 12                     // right center
t "`6`" 700 280             //door status
#end


#define service_brew_mechanism_monitor_data_71
ta 0 12                     // left center
t "`0`   " 710 100          //AC current
ta 0 12                     // left center
t "`1`   " 710 130          //DC current
ta 0 12                     // left center
t "`2`     " 710 160        //position counter
ta 0 12                     // left center
t "`3`" 710 190             //home position switch
ta 0 12                     // left center
t "`4`" 710 220             //tamp sensor
ta 0 12                     // left center
t "`5`" 710 250             //puck bin
ta 0 12                     // left center
t "`6`   " 710 280          //door status
#end

#define display_service_brew_system_screen_72
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37             // logo
buttonsi 25 S                           //   silence standard outputs
buttonprv 25 "\xC1\x7F" R               //   logo
buttonm 62 20 412 4 "" 46 49            // Back
buttonsi 62 S                           //   silence standard outputs
buttonprv 62 "\xC1\x05" R               //   Back
ta 2 12                                 // center center
t "`0`" 400 50                          // service brew system  ( page title )
#end

#define display_service_brew_system_buttons_1_73
sc F2F3F3 000000    // set screen fore , back colors
buttonm 88 20 100 5 "`0`" 27 28           //   brew valve
buttonsi 88 S                             //silence standard outputs
buttonprv 88 "\xC1\x0E" P                 //   brew valve
buttonprv 88 "\xC1\x0F" R                 //   brew valve
buttonm 89 20 170 5 "`1`" 27 28           //   bypass valve
buttonsi 89 S                             //silence standard outputs
buttonprv 89 "\xC1\x10" P                 //   bypass valve
buttonprv 89 "\xC1\x11" R                 //   bypass valve
buttonm 93 240 100 5 "`2`" 27 28           //   brew valve with pump
buttonsi 93 S                              //silence standard outputs
buttonprv 93 "\xC1\x18" P                  //   brew valve with pump
buttonprv 93 "\xC1\x19" R                  //   brew valve with pump
buttonm 94 240 170 5 "`3`" 27 28           //   bypass valve with pump
buttonsi 94 S                              //silence standard outputs
buttonprv 94 "\xC1\x1A" P                  //   bypass valve with pump
buttonprv 94 "\xC1\x1B" R                  //   bypass valve with pump
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_service_brew_system_buttons_1_01_73
sc F2F3F3 000000    // set screen fore , back colors
buttonm 88 20 86 5 "`0`" 27 28           //   brew valve
buttonsi 88 S                             //   silence standard outputs
buttonprv 88 "\xC1\x40" P                 //   brew valve
buttonprv 88 "\xC1\x41" R                 //   brew valve

buttonm 89 20 165 5 "`1`" 27 28           //   bypass valve
buttonsi 89 S                             //   silence standard outputs
buttonprv 89 "\xC1\x42" P                 //   bypass valve
buttonprv 89 "\xC1\x43" R                 //   bypass valve

buttonm 93 240 86 4 "`2`" 68 69           //   drain valve for brew valve
buttonsi 93 S                              //  silence standard outputs
buttonprv 93 "\xC1\x44" R                  //   drain valve for brew valve

buttonm 94 240 165 4 "`2`" 68 69           //   drain valve for bypass valve
buttonsi 94 S                              //  silence standard outputs
buttonprv 94 "\xC1\x45" R                  //   drain valve for bypass valve

buttonl 100 345 86 0 "`3`" "`4`" 68 69     //   pump for brew valve
buttonsi 100 S                              //silence standard outputs
buttonprv 100 "\xC1\x46" P                  //   pump for brew valve
buttonprv 100 "\xC1\x47" R                  //   pump for brew valve

buttonl 99 345 165 0 "`3`" "`4`" 68 69     //   pump for bypass valve
buttonsi 99 S                              //silence standard outputs
buttonprv 99 "\xC1\x48" P                  //   pump for bypass valve
buttonprv 99 "\xC1\x49" R                  //   pump for bypass valve

pen 2
rect 16 82 451 152 0 000000
rect 16 161 451 231 0 000000

sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_drain_valve_for_brew_valve_02_73
sc F2F3F3 000000    // set screen fore , back colors
widgetdel 93
buttonm 93 240 86 4 "`0`" 68 69           //   drain valve for brew valve
buttonsi 93 S                              //   silence standard outputs
buttonprv 93 "\xC1\x44" R                  //   drain valve for brew valve
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_drain_valve_for_bypass_valve_03_73
sc F2F3F3 000000    // set screen fore , back colors
widgetdel 94
buttonm 94 240 165 4 "`0`" 68 69           //   drain valve for bypass valve
buttonsi 94 S                              //   silence standard outputs
buttonprv 94 "\xC1\x45" R                  //   drain valve for bypass valve
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_service_brew_system_buttons_2_74
sc F2F3F3 000000    // set screen fore , back colors
buttonm 90 20 240 5 "`0`" 27 28           //   pump
buttonsi 90 S                             //silence standard outputs
buttonprv 90 "\xC1\x12" P                 //   pump
buttonprv 90 "\xC1\x13" R                 //   pump
buttonm 91 20 310 5 "`1`" 27 28           //   water heater
buttonsi 91 S                             //silence standard outputs
buttonprv 91 "\xC1\x14" P                 //   water heater
buttonprv 91 "\xC1\x15" R                 //   water heater
buttonm 95 240 240 1 "`2`" 27 28           //   reset flowmeter
buttonsi 95 S                              //silence standard outputs
buttonprv 95 "\xC1\x1C" P                  //   reset flowmeter
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define service_brew_system_monitor_labels_75
ta 1 0            // right top
t "`0`" 700 70   // AC current
ta 1 0            // right top
t "`1`" 700 100  // DC current
ta 1 0           // right top
t "`2`" 700 130  // water pressure
ta 1 0           // right top
t "`3`" 700 160  // pump speed
ta 1 0           // right top
t "`4`" 700 190  // pump power
ta 1 0           // right top
t "`5`" 700 220  // water temperature
ta 1 0           // right top
t "`6`" 700 250  // water heater
ta 1 0           // right top
t "`7`" 700 280  // flow meter
#end

#define service_brew_system_monitor_data_76
ta 0 0               // left top
t "`0`   " 710 70    // AC current
ta 0 0               // left top
t "`1`   " 710 100   //DC current
ta 0 0               // left top
t "`2`   " 710 130   //water pressure
ta 0 0               // left top
t "`3`   " 710 160   //pump speed
ta 0 0               // left top
t "`4`     " 710 190   //pump power
ta 0 0               // left top
t "`5`   " 710 220   //water temperature
ta 0 0               // left top
t "`6`   " 710 250   //water heater
ta 0 0               // left top
t "`7`   " 710 280  //flow meter
#end

#define display_service_brew_system_buttons_3_77
sc F2F3F3 000000                           // set screen fore , back colors
buttonl 97 240 310 `2` "`0`" "`1`" 27 28   //   heater control
buttonsi 97 S                              // silence standard outputs
buttonprv 97 "\xC1\x1F" P                  //   heater control
buttonprv 97 "\xC1\x20" R                  //   heater control
sc 000000 F2F3F3                           // set screen fore , back colors
macro data_value_large_input_button_430_03 98 240 380 `3` "\xC1\x31" `4`    // brew pressure offset
macro data_value_input_value_with_large_button_431_03 240 380 `5`           // brew pressure offset
sc F2F3F3 000000                           // set screen fore , back colors
buttonm 101 460 310 5 "`6`" 27 28            //   vent valve
buttonsi 101 S                             //   silence standard outputs
buttonprv 101 "\xC1\x4A" P                 //   vent valve
buttonprv 101 "\xC1\x4B" R                 //   vent valve
sc 000000 F2F3F3                           // set screen fore , back colors
#end

#define display_service_steam_system_screen_78
setguibk 1
macro screen_clear_1                // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37         // logo
buttonsi 25 S                       // silence standard outputs
buttonprv 25 "\xC1\x7F" R           // logo
buttonm 62 20 412 4 "" 46 49        //   Home
buttonsi 62 S                       // silence standard outputs
buttonprv 62 "\xC1\x05" R           //   Home
ta 2 12                             // center center
t "`0`" 400 50                        //service steam system  ( page title )
#end

#define display_service_steam_system_buttons_1_79
sc F2F3F3 000000    // set screen fore , back colors
buttonm 88 20 100 5 "`0`" 27 28           //   fill valve
buttonsi 88 S                             // silence standard outputs
buttonprv 88 "\xC1\x21" P                 //   fill valve
buttonprv 88 "\xC1\x22" R                 //   fill valve
buttonm 89 20 170 5 "`1`" 27 28           //   drain valve
buttonsi 89 S                             // silence standard outputs
buttonprv 89 "\xC1\x23" P                 //   drain valve
buttonprv 89 "\xC1\x24" R                 //   drain valve
buttonm 90 20 240 5 "`2`" 27 28           //   steam valve
buttonsi 90 S                             // silence standard outputs
buttonprv 90 "\xC1\x25" P                 //   steam valve
buttonprv 90 "\xC1\x26" R                 //   steam valve
buttonm 91 240 310 5 "`3`" 27 28          //   main heater
buttonsi 91 S                             // silence standard outputs
buttonprv 91 "\xC1\x27" P                 //   main heater
buttonprv 91 "\xC1\x28" R                 //   main heater
buttonm 92 240 380 5 "`4`" 27 28          //   secondary heater
buttonsi 92 S                             // silence standard outputs
buttonprv 92 "\xC1\x29" P                 //   secondary heater
buttonprv 92 "\xC1\x2A" R                 //   secondary heater
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_service_steam_system_buttons_2_80
sc F2F3F3 000000    // set screen fore , back colors
buttonm 93 240 100 5 "`0`" 27 28        //   fill valve with pump
buttonsi 93 S                           // silence standard outputs
buttonprv 93 "\xC1\x2B" P               //   fill valve with pump
buttonprv 93 "\xC1\x2C" R               //   fill valve with pump
buttonl 94 240 240 `3` "`1`" "`2`" 27 28  //   steam control
buttonsi 94 S                           // silence standard outputs
buttonprv 94 "\xC1\x2D" P               //   steam control
buttonprv 94 "\xC1\x2E" R               //   steam control
buttonm 97 240 170 5 "`4`" 27 28        //   steam tank drain mix valve
buttonsi 97 S                           // silence standard outputs
buttonprv 97 "\xC1\x63" P               //   steam tank drain mix valve
buttonprv 97 "\xC1\x64" R               //   steam tank drain mix valve
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_service_steam_system_buttons_3_80
sc F2F3F3 000000    // set screen fore , back colors
buttonm 95 20 310 5 "`0`" 27 28           //   low pressure steam
buttonsi 95 S                             // silence standard outputs
buttonprv 95 "\xC1\x2F" P                 //   low pressure steam
buttonprv 95 "\xC1\x30" R                 //   low pressure steam
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_service_steam_system_buttons_4_80
macro data_value_input_button_430 14 460 380 `0` "\xC1\x31" `1`    // steam pressure offset
macro data_value_input_value_431 460 380 `2`                       // steam pressure offset
#end

#define service_steam_system_monitor_labels_1_81
ta 1 0              // right top
t "`0`" 700 100     //AC current
ta 1 0              // right top
t "`1`" 700 130     //DC current
ta 1 0              // right top
t "`2`" 700 160     //fill level
#end

#define service_steam_system_monitor_labels_2_82
ta 1 0              // right top
t "`0`" 700 190     //steam pressure stat
ta 1 0              // right top
t "`1`" 700 220     //steam pressure
ta 1 0              // right top
t "`2`" 700 250     //main steam heater
ta 1 0              // right top
t "`3`" 700 280     //secondary steam heater
ta 1 0              // right top
t "`4`" 700 310     //idle refill time
#end

#define service_steam_system_wand_temp_label_3_82
ta 1 0              // right top
t "`0`" 700 340     //wand temperature
#end

#define service_steam_system_monitor_data_83
ta 0 0                // left top
t "`0`   " 710 100    //AC current
ta 0 0                // left top
t "`1`   " 710 130    //DC current
ta 0 0                // left top
t "`2`" 710 160       //fill level
ta 0 0                // left top
t "`3`" 710 190       //steam pressure
ta 0 0                // left top
t "`4`   " 710 220    //steam pressure psi
ta 0 0                // left top
t "`5`" 710 250       //main steam heater
ta 0 0                // left top
t "`6`" 710 280       //secondary steam heater
ta 0 0                // left top
t "`7`   " 710 310    //idle refill time
#end

#define service_steam_system_monitor_data_83_02
ta 0 0                // left top
t "`0`   " 710 340    //wand temperature
#end

#define display_service_grind_system_screen_84
setguibk 1
macro screen_clear_1                // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37         // logo
buttonsi 25 S                       // silence standard outputs
buttonprv 25 "\xC1\x7F" R           // logo
buttonm 27 20 412 4 "" 46 49        //   Home
buttonsi 27 S                       // silence standard outputs
buttonprv 27 "\xC1\x05" R           //   Home
ta 2 12                             // center center
t "`0`" 400 50                      //service grind system  ( page title )
ta 2 12                             // center center
t "`1`" 115 75                      // left grinder
ta 2 12                             // center center
t "`2`" 335 75                      // right grinder
scupdate
setguibk 0
#end

#define display_service_grind_system_buttons_1_85
setguibk 1
sc F2F3F3 000000    // set screen fore , back colors
buttonm 30 20 100 5 "`0`" 27 28           //   left grinder
buttonsi 30 S                               // silence standard outputs
buttonprv 30 "\xC1\x33" P                   //   left grinder
buttonprv 30 "\xC1\x34" R                   //   left grinder
//buttonm 31 240 100 5 "`0`" 27 28          //   right grinder
buttonm 31 240 100 5 "`1`" 27 28          //   right grinder
buttonsi 31 S                               // silence standard outputs
buttonprv 31 "\xC1\x37" P                   //   right grinder
buttonprv 31 "\xC1\x38" R                   //   right grinder

buttonl 40 20 170 0 "`2`" "`3`" 27 28  //   left direction
buttonsi 40 S                           // silence standard outputs
buttonprv 40 "\xC1\x40" P               //   left direction
buttonprv 40 "\xC1\x41" R               //   left direction

buttonl 41 240 170 0 "`2`" "`3`" 27 28  //   right direction
buttonsi 41 S                           // silence standard outputs
buttonprv 41 "\xC1\x42" P               //   right direction
buttonprv 41 "\xC1\x43" R               //   right direction

//buttonm 32 20 170 5 "`1`" 27 28           //   test left grind
//buttonsi 32 S                               // silence standard outputs
//buttonprv 32 "\xC1\x50" P                   //   test left grind
//buttonprv 32 "\xC1\x51" R                   //   test left grind
//buttonm 33 240 170 5 "`1`" 27 28          //   test right grind
//buttonsi 33 S                               // silence standard outputs
//buttonprv 33 "\xC1\x52" P                   //   test right grind
//buttonprv 33 "\xC1\x53" R                   //   test right grind
//buttonm 34 20 240 5 "`2`" 27 28           //   left finer grind
//buttonsi 34 S                               // silence standard outputs
//buttonprv 34 "\xC1\x54" P                   //   left finer grind
//buttonprv 34 "\xC1\x55" R                   //   left finer grind
//buttonm 35 240 240 5 "`2`" 27 28          //   right finer grind
//buttonsi 35 S                               // silence standard outputs
//buttonprv 35 "\xC1\x56" P                   //   right finer grind
//buttonprv 35 "\xC1\x57" R                   //   right finer grind
//buttonm 36 20 310 5 "`3`" 27 28           //   left coarser grind
//buttonsi 36 S                               // silence standard outputs
//buttonprv 36 "\xC1\x58" P                   //   left coarser grind
//buttonprv 36 "\xC1\x59" R                   //   left coarser grind
//buttonm 37 240 310 5 "`3`" 27 28          //   right coarser grind
//buttonsi 37 S                               // silence standard outputs
//buttonprv 37 "\xC1\x5A" P                   //   right coarser grind
//buttonprv 37 "\xC1\x5B" R                   //   right coarser grind
//buttonm 38 460 240 5 "`4`" 27 28          //   eject grind
//buttonsi 38 S                               // silence standard outputs
//buttonprv 38 "\xC1\x5C" P                   //   eject grind
//buttonprv 38 "\xC1\x5D" R                   //   eject grind
//buttonm 39 460 310 5 "`5`" 27 28          //   operate auger
//buttonsi 39 S                               // silence standard outputs
//buttonprv 39 "\xC1\x5E" P                   //   operate auger
//buttonprv 39 "\xC1\x5F" R                   //   operate auger
sc 000000 F2F3F3    // set screen fore , back colors
scupdate
setguibk 0
#end

#define service_grind_system_monitor_labels_86
ta 1 0                        // right top
t "`0`" 700 100               // grind current
ta 1 0                        // right top
t "`1`" 700 130               // right hopper
ta 1 0                        // right top
t "`2`" 700 160               // left hopper
#end

#define service_grind_system_monitor_data_87
ta 0 0                        // left top
t "`0`   " 710 100            // AC current
ta 0 0                        // left top
t "`1`   " 710 130            // right hopper
ta 0 0                        // left top
t "`2`   " 710 160            // left hopper
#end

#define service_grind_system_prompt_87_2
rect 0 260 500 285 1 F2F3F3   // filled rectangle to hide text
ta 2 12                       // center center
t "`0`   " 240 275            // hoppers required
#end

#define display_intellisteam_wand_temperature_88
sc F2F3F3 1A1A1A
ta 2 12                     // center center
t "  `0`  " 188 270
sc 000000 F2F3F3
#end

#define display_manual_wand_temperature_89
sc F2F3F3 444444
ta 2 12                     // center center
t "  `0`  " 188 270         // text is in the intellisteam button
sc 000000 F2F3F3
#end

#define clean_screen_without_clean_button_90
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
rect 0 0 799 479 1 000000                            // background
rect 256 69 799 407 1 d6d6d6            // background under daily care
buttonm 25 0 0 5 "" 15 15               // BUNN logo
buttonsi 25 S                           // silence standard outputs
buttonprv 25 "\x7B" P                   // BUNN
buttonprv 25 "\x7C" R                   // BUNN
tm 2                                    // transparent background when text written
ta 2 12                                 // center center
t "`0`" 529 330
ta 2 12                                 // center center
t "`1`" 529 355
ta 2 12                                 // center center
t "`2`" 529 380
tm 0                                    // normal text mode, background
buttonm 20 620 411 5 "" `3` `4`         // stop
buttonsi 20 S                           // silence standard outputs
buttonprv 20 "\xA5\x01" P               // stop  shutdown clean
buttonprv 20 "\xA5\x05" R               // stop  reset to main screen
scupdate
setguibk 0
#end

#define clean_regular_daily_service_buttons_91
setguibk 1
buttonm 23 620 0 4 "" `0` `1`           // daily care tab
buttonsi 23 S                         // silence standard outputs
scupdate
setguibk 0
#end


#define setup_intellisteam_recipe_buttons_92
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
ta 2 4                                  // center bottom
t "`0`" 400 72                          // header
buttonm 25 13 13 4 "" 37 37             // BUNN
buttonsi 25 S                           // silence standard outputs
buttonprv 25 "\x7F" R                   // BUNN
sc F2F3F3 000000    // set screen fore , back colors
buttonm 1 381 406 4 "`1`" 23 24         // save values
buttonsi 1 S                            // silence standard outputs
buttonprv 1 "\x85\x01" R                // save values
buttonm 2 199 406 4 "`2`" 23 24         // cancel
buttonsi 2 S                            // silence standard outputs
buttonprv 2 "\x85\x02" R                // cancel
buttonm 3 16 406 1 "`3`" 23 24          // default recipe
sc 000000 F2F3F3    // set screen fore , back colors
buttonsi 3 S                            // silence standard outputs
buttonprv 3 "\x85\x03" P                // default
buttonm 4 617 176 3 "" 31 32            // up arrow     temperature
buttonsi 4 S                            // silence standard outputs
buttonprv 4 "\x85\x04" P                // up arrow    temperature
buttonm 5 617 249 3 "" 29 30            // down arrow  temperature
buttonsi 5 S                            // silence standard outputs
buttonprv 5 "\x85\x05" P                // down arrow  temperature
buttonl 6 405 176 0 "" "" 71 72   // hotter
buttonsi 6 S                            // silence standard outputs
buttonprv 6 "\x85\x06" P                // hotter
buttonprv 6 "\x85\x06" R                // hotter
buttonl 7 223 176 0 "" "" 77 78   // normal
buttonsi 7 S                            // silence standard outputs
buttonprv 7 "\x85\x07" P                // normal
buttonprv 7 "\x85\x07" R                // normal
buttonl 8 40 176 0 "" "" 74 75    // cooler
buttonsi 8 S                            // silence standard outputs
buttonprv 8 "\x85\x08" P                // cooler
buttonprv 8 "\x85\x08" R                // cooler
ta 2 12                                 // center center
t "`4`" 467 275                         // warmest temperature
ta 2 12                                 // center center
t "`5`" 285 275                         // default temperature
ta 2 12                                 // center center
t "`6`" 102 275                         // warm temperature
ta 2 12                                 // center center
t "`7`" 467 300                         // hotter data
ta 2 12                                 // center center
t "`8`" 285 300                         // normal data
ta 2 12                                 // center center
t "`9`" 102 300                         // cooler data
scupdate
setguibk 0
#end

#define setup_intellisteam_recipe_temperature_93
ta 2 12                                 // center center
t " `0` " `1` `2`                   //number of degrees
#end

#define setup_intellisteam_recipe_time_94
ta 2 4                              // center bottom
t " `0` " 507 328                   //number of seconds
#end

#define setup_manual_steam_recipe_buttons_95
setguibk 1
macro screen_clear_1                // clear everything and set defaults
ta 2 4                              // center bottom
t "`0`" 400 72
buttonm 25 13 13 4 "" 37 37       // BUNN
buttonsi 25 S                       // silence standard outputs
buttonprv 25 "\x7F" R               // BUNN
sc F2F3F3 000000    // set screen fore , back colors
buttonm 63 381 406 4 "`1`" 23 24      // save
buttonsi 63 S                       // silence standard outputs
buttonprv 63 "\x85\x16" R           // save
buttonm 80 199 406 4 "`2`" 23 24      // cancel
buttonsi 80 S                       // silence standard outputs
buttonprv 80 "\x85\x0B" R           // cancel
buttonm 81 16 406 1 "`3`" 23 24       // default recipe
buttonsi 81 S                       // silence standard outputs
buttonprv 81 "\x85\x17" P           // default manual steam recipe
sc 000000 F2F3F3    // set screen fore , back colors
buttonm 71 617 103 3 "" 31 32     // up arrow     time
buttonsi 71 S                       // silence standard outputs
buttonprv 71 "\x85\x18" P           // up arrow    time
buttonm 72 617 176 3 "" 29 30     // down arrow  time
buttonsi 72 S                       // silence standard outputs
buttonprv 72 "\x85\x19" P           // down arrow  time
pen 2
ta 0 4                              // left bottom
t "`4`" 550 176                       //sec
rect 470 150 545 180 0 000000
ta 2 4                              // center bottom
t " `5` " 507 176                       //number of seconds
ta 1 4                              // right bottom
t "`6`" 460 176                       //max time
scupdate
setguibk 0
#end

#define setup_manual_steam_recipe_time_96
ta 2 4                              // center bottom
t " `0` " 507 176                       //number of seconds
#end

#define machine_settings_basic_buttons_97
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
ta 2 12                                  // center center
t "`0`" 400 50                           // machine settings  ( page title )
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\xC2\x7F" R
sc F2F3F3 000000    // set screen fore , back colors
buttonm 63 590 406 4 "`1`" 23 24         // save
buttonsi 63 S
buttonprv 63 "\xC2\x01" R
buttonm 80 400 406 4 "`2`" 23 24         // cancel
buttonsi 80 S
buttonprv 80 "\xC2\x02" R
buttonm 81 210 406 1 "`3`" 23 24         // default
buttonsi 81 S
buttonprv 81 "\xC2\x03" P
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define machine_settings_next_button_98
sc F2F3F3 000000    // set screen fore , back colors
buttonm 79 20 406 4 "`0`" 23 24          // NextPage
buttonsi 79 S
buttonprv 79 "\xC2\x04" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define machine_settings_buttons_pg1_99
macro data_value_input_button_430 10 20 100 `0` "\xC2\x10" `1`    // brew tank temp
#end

#define machine_settings_intellisteam_timeout_button_pg1_99_1
macro data_value_input_button_430 12 20 240 `0` "\xC2\x12" `1`    // steam timeout
#end

#define machine_settings_buttons_pg1_99_2
macro data_value_input_button_430 11 20 170 `0` "\xC2\x11" `1`    // ready temp
macro large_data_value_large_input_button_430_02 13 400 100 `2` "\xC2\x13" " "   // shot time enable
sc F2F3F3 000000                                                  // set screen fore , back colors
buttonm 82 400 170 4 "`3`" 23 24                                  // energy saver
buttonsi 82 S
buttonprv 82 "\xC2\x14" R
buttonm 83 400 310 4 "`4`" 23 24                                  // home position offset
buttonsi 83 S
buttonprv 83 "\xC2\x25" R
sc 000000 F2F3F3                                                  // set screen fore , back colors
#end

#define machine_settings_values_pg1_100
macro data_value_input_value_431 20 100 `0`           // brew tank temp
#end

#define machine_settings_intellisteam_timeout_value_pg1_100_1
macro data_value_input_value_431 20 240 `0`           // steam timeout
#end

#define machine_settings_values_pg1_100_2
macro data_value_input_value_431 20 170 `0`           // ready temp
macro large_data_value_input_value_with_large_button_431_02 400 100 `1`    // shot time enable
#end

#define machine_settings_buttons_pg2_101
macro large_data_value_input_button_430_01 10 20 100 `0` "\xC2\x20" " "    // puck bin full enable
macro data_value_input_button_430 11 20 170 `1` "\xC2\x21" `2`    // puck bin reset time
macro data_value_input_button_430 12 20 240 `3` "\xC2\x22" " "    // puck bin count
macro data_value_input_button_430 13 400 100 `4` "\xC2\x23" `5`   // boiler purge time
macro large_data_value_input_button_430_01 15 400 170 `6` "\xC2\x24" " "   // TDS monitor enable
sc F2F3F3 000000    // set screen fore , back colors
buttonm 16 400 310 4 "`7`" 23 24                                  // water pump settings
buttonsi 16 S
buttonprv 16 "\xC2\x29" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define machine_settings_flow_calib_pg2_101a
sc F2F3F3 000000    // set screen fore , back colors
buttonm 84 400 240 4 "`0`" 23 24                                  // flowmeter calibration
buttonsi 84 S
buttonprv 84 "\xC2\x26" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define machine_settings_flow_adjust_pg2_101b
macro data_value_input_button_430 85 400 240 `0` "\xC2\x27" "%"    // flowmeter cal adjust
#end

#define machine_settings_cust_care_pg2_101c
macro data_value_input_button_430 86 20 310 `0` "\xC2\x28" `1`    // Customer Care Timeout
#end

#define machine_settings_values_pg2_102
macro large_data_value_input_value_431_01 20 100 `0`           // puck bin full enable
macro data_value_input_value_431 20 170 `1`                    // puck bin reset time
macro data_value_input_value_431 20 240 `2`                    // puck bin count
macro data_value_input_value_431 400 100 `3`                   // boiler purge time
macro large_data_value_input_value_431_01 400 170 `4`          // TDS Monitor Enable
#end

#define machine_settings_flow_adj_value_pg2_102a
macro data_value_input_value_431 400 240 `0`           // flowmeter adjust
#end

#define machine_settings_cust_care_value_pg2_102b
macro data_value_input_value_431 20 310 `0`           // Customer Care Timeout
#end

#define water_pump_settings_buttons_103_1
macro large_data_value_large_input_button_430_02 51 20 110  `0` "\xC2\x51" " "   // control enable
macro large_data_value_large_input_button_430_02 52 20 180  `1` "\xC2\x52" `2`   // pump speed
sc F2F3F3 000000                        // set screen fore , back colors
buttonm 53 552 235 5 "`3`" 27 28         //   pump
buttonsi 53 S
buttonprv 53 "\xC2\x53" P
buttonprv 53 "\xC2\x54" R
buttonm 55 552 305 5 "`4`" 27 28         //   bypass with pump
buttonsi 55 S
buttonprv 55 "\xC2\x55" P
buttonprv 55 "\xC2\x56" R
sc 000000 F2F3F3                        // set screen fore , back colors
ta 2 12                     // center center
t "`5`" 275 300             // prompt line 1
ta 2 12                     // center center
t "`6`" 275 330             // prompt line 2
ta 2 12                     // center center
t "`7`" 275 360             // prompt line 3
#end

#define water_pump_settings_values_103_2
macro large_data_value_input_value_with_large_button_431_02  20 110 `0`   // control enable
macro large_data_value_input_value_with_large_button_431_02  20 180 `1`   // pump speed
#end

#define water_pump_labels_104_1
ta 1 0                      // right top
t "`0`" 700 100             // pump speed
ta 1 0                      // right top
t "`1`" 700 130             // tank pressure
ta 1 0                      // right top
t "`2`" 700 160             // heater
#end

#define water_pump_values_104_2
ta 0 0                      // left top
t "`0`      " 710 100       // pump speed
sc `1` F2F3F3               // set screen fore , back colors
ta 0 0                      // left top
t "`2`      " 710 130       // tank pressure
sc `3` F2F3F3               // set screen fore , back colors
ta 0 0                      // left top
t "`4`      " 710 160       // heater status
sc 000000 F2F3F3
#end

#define grinder_settings_buttons_105
sc F2F3F3 000000    // set screen fore , back colors
buttonm 84 20 240 4 "`0`" 23 24                                   // calibrate left grinder
buttonsi 84 S
buttonprv 84 "\xC2\x33" R
buttonm 85 400 240 4 "`1`" 23 24                                  // calibrate right grinder
buttonsi 85 S
buttonprv 85 "\xC2\x34" R
buttonm 86 20 170 4 "`2`" 23 24                                  // fresh shot
buttonsi 86 S
buttonprv 86 "\xC2\x35" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define grinder_settings_buttons_105_1
macro data_value_input_button_430 10  20 100 `0` "\xC2\x30" `1`    // ThresholdGrindTime
macro data_value_input_button_430 11 400 100 `2` "\xC2\x31" `3`   // BrewTimeOutMin
macro data_value_input_button_430 12 400 170 `4` "\xC2\x32" `5`   // BrewTimeOutMax
#end

#define grinder_settings_values_106
macro data_value_input_value_431  20 100 `0`            // puck bin full enable
macro data_value_input_value_431 400 100 `1`           // BrewTimeOutMin
macro data_value_input_value_431 400 170 `2`           // BrewTimeOutMax
#end

#define fresh_shot_settings_buttons_107
macro large_data_value_large_input_button_430_02 51 20  95  `0` "\xC2\x51" " "   // fresh shot enable
macro large_data_value_large_input_button_430_02 52 20 165  `1` "\xC2\x52" `2`   // coffee weight
macro large_data_value_large_input_button_430_02 53 20 235  `3` "\xC2\x53" `4`   // max coffee grind age
#end

#define fresh_shot_settings_values_108
macro large_data_value_input_value_with_large_button_431_02  20  95 `0`   // fresh shot enable
macro large_data_value_input_value_with_large_button_431_02  20 165 `1`   // coffee weight
macro large_data_value_input_value_with_large_button_431_02  20 235 `2`   // max coffee grind age
#end

#define display_grinder_calib_screen_110
setguibk 1                          // background mode
macro screen_clear_1                // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37         // logo
buttonsi 25 S
buttonprv 25 "\x9E\x7F" R
ta 2 12                             // center center
t "`0`" 400  30                     // calibrate ginder ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 63 590 406 4 "`1`" 23 24    // save
buttonsi 63 S
buttonprv 63 "\x9E\x01" R
buttonm 80 400 406 4 "`2`" 23 24    // cancel
buttonsi 80 S
buttonprv 80 "\x9E\x02" R
buttonm 81 210 406 1 "`3`" 23 24    // default
buttonsi 81 S
buttonprv 81 "\x9E\x03" P
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_grinder_calib_prompt_111
ta 2 12                             // center center
t "`0`" 400 140                     // Line 1
ta 2 12                             // center center
t "`1`" 400 170                     // Line 2
ta 2 12                             // center center
t "`2`" 400 200                     // Line 3
#end

#define display_grinder_calib_buttons_112
sc F2F3F3 000000    // set screen fore , back colors
buttonm 90 180 220 1 "`0`" 27 28    // Calibrate Start
buttonsi 90 S
buttonprv 90 "\x9E\x81" P
buttonm 92 180 290 1 "`2`" 27 28    // 14 gram dry puck
buttonsi 92 S
buttonprv 92 "\x9E\x83" P
sc 000000 F2F3F3    // set screen fore , back colors
ta 1 0                              // right top
t "`1`" 650 350                     // status
ta 1 0                              // right top
t "`3`" 650 320                     // previous calibration
ta 0 0                              // left top
t "`4`" 660 320                     // previous
#end

#define display_grinder_calib_monitor_113
ta 0 0              // left top
t "`0`" 660 350     // status
#end

#define display_grinder_calib_pending_113_1
ta 1 0                              // right top
t "`0`" 650 290                     // previous calibration
ta 0 0                              // left top
t "`1`" 660 290                     // previous
#end

#define add_grinder_calib_stop_114
widgetdel 63
widgetdel 80
widgetdel 81
rect 210 406 799 479 1 F2F3F3       // filled rectangle to hide the buttons
buttonm 20 620 411 4 "" `0` `1`     // stop
buttonsi 20 S
buttonprv 20 "\x9E\x8E" R
#end

#define remove_grinder_calib_stop_115
widgetdel 20                        // delete stop button
rect 620 411 799 479 1 F2F3F3       // filled rectangle to hide the button
sc F2F3F3 000000                    // set screen fore , back colors
buttonm 63 590 406 4 "`0`" 23 24    // save
buttonsi 63 S
buttonprv 63 "\x9E\x01" R
buttonm 80 400 406 4 "`1`" 23 24    // cancel
buttonsi 80 S
buttonprv 80 "\x9E\x02" R
buttonm 81 210 406 1 "`2`" 23 24    // default
buttonsi 81 S
buttonprv 81 "\x9E\x03" P
sc 000000 F2F3F3                    // set screen fore , back colors
#end

#define add_grind_weight_entry_button_116
macro data_value_input_button_430 91 400 220 `0` "\x9E\x82" `1`  // Enter Results
macro data_value_input_value_431 400 220 `2`
#end

#define remove_grind_weight_entry_button_116_1
widgetdel 91                        // delete results button
rect 400 220 790 280 1 F2F3F3       // filled rectangle to hide the button/entry/units
#end

#define activated_manual_steam_buttons_117
widgetdel 35
widgetdel 36
widgetdel 37
widgetdel 38
widgetdel 39
widgetdel 40
buttonm 35 126 72 4 "" `0` `1`    // intellisteam deactivated
buttonl 36 126 298 0 "" "" `2` `3`     // manual steam
buttonl 37 0 298 0 "" "" `4` `5`     // purge steam wand
buttonm 38 0 147 4 "" 79 79     // precise
buttonm 39 0 72 4 "" 76 76    // warm
buttonm 40 0 222 4 "" 73 73    // x-hot
buttonsi 35 S                 //silence standard outputs
buttonsi 36 S
buttonsi 37 S
buttonsi 38 S                        //silence standard outputs
buttonsi 39 S
buttonsi 40 S
//buttonprv 35 "\xFE" P         // intellisteam deactivated
buttonprv 36 "\x8D" P         // manual steam
buttonprv 37 "\x93" P         // purge steam wand
buttonprv 35 "\x8C\x06" R         // intellisteam deactivated
buttonprv 36 "\x8D" R         // manual steam
buttonprv 37 "\x93" R         // purge steam wand
//buttonprv 38 "\xFE" P         // precise
//buttonprv 39 "\xFE" P         // warm
//buttonprv 40 "\xFE" P         // x-hot
buttonprv 38 "\x8C\x06" R         // precise
buttonprv 39 "\x8C\x06" R         // warm
buttonprv 40 "\x8C\x06" R         // x-hot
#end

#define display_service_tds_system_screen_118
macro screen_clear_1                        // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37                 // logo
buttonsi 25 S                               // silence standard outputs
buttonprv 25 "\xC1\x7F" R                   // logo
buttonm 62 20 412 4 "" 46 49                // back
buttonsi 62 S                               // silence standard outputs
buttonprv 62 "\xC1\x05" R                   // back
ta 2 12                                     // center center
t "`0`" 400 50                              // service TDS system  ( page title )
#end

#define display_service_tds_sys_buttons1_119_1
sc F2F3F3 000000
buttonm 88 20 100 1 "`0`" 27 28             // TDS1 Cal
buttonsi 88 S                               // silence standard outputs
buttonprv 88 "\xC1\x61" P                   // TDS1 Cal
buttonm 90 20 240 5 "`1`" 27 28             // TDS Settings
buttonsi 90 S                               // silence standard outputs
buttonprv 90 "\xC1\x5B" P                   // TDS Settings
buttonprv 90 "\xC1\x5D" R                   // TDS Settings
sc 000000 F2F3F3
#end

#define display_service_tds_sys_buttons2_119_2
sc F2F3F3 000000
buttonm 89 20 170 1 "`0`" 27 28             // TDS2 Cal
buttonsi 89 S                               // silence standard outputs
buttonprv 89 "\xC1\x62" P                   // TDS2 Cal
sc 000000 F2F3F3
#end


#define service_tds_system_monitor_labels_120_1
ta 1 0                                      // right top
t "`0`" 700 100                             // input temperature
ta 1 0                                      // right top
t "`1`" 700 130                             // circuit temperature
ta 1 0                                      // right top
t "`2`" 700 160                             // last status
ta 1 0                                      // right top
t "`3`" 690 200                             // Sensor 1 Title
#end

#define service_tds_system_monitor_labels_120_2
ta 1 0                                      // right top
t "`0`" 600 230                             // frequency
ta 1 0                                      // right top
t "`1`" 600 260                             // conductivity raw
ta 1 0                                      // right top
t "`2`" 600 290                             // conductivity Sensor
ta 1 0                                      // right top
t "`3`" 600 320                             // conductivity 25C
ta 1 0                                      // right top
t "`4`" 600 350                             // TDS value
ta 1 0                                      // right top
t "`5`" 600 380                             // Last Flow value
#end

#define service_tds_system_monitor_labels_120_3
ta 0 0                                      // left top
t "`0`" 710 200                             // Sensor 2 Title
ta 1 0                                      // right top
t ":" 700 200                               // Title Separator
ta 1 0                                      // right top
t ":" 700 230                               // Separator
ta 1 0                                      // right top
t ":" 700 260                               // Separator
ta 1 0                                      // right top
t ":" 700 290                               // Separator
ta 1 0                                      // right top
t ":" 700 320                               // Separator
ta 1 0                                      // right top
t ":" 700 350                               // Separator
ta 1 0                                      // right top
t ":" 700 380                               // Separator
#end

#define service_tds_system_monitor_data_121_1
ta 0 0                                      // left top
t "`0`" 710 100                             // input temperature
ta 0 0                                      // left top
t "`1`" 710 130                             // circuit temperature
ta 0 0                                      // left top
t "`2`" 710 160                             // last status
#end

#define service_tds_sensor1_monitor_data_121_2
ta 1 0                                      // right top
t "`0`" 690 230                             // frequency
ta 1 0                                      // right top
t "`1`" 690 260                             // conductivity raw
ta 1 0                                      // right top
t "`2`" 690 290                             // conductivity sensor
ta 1 0                                      // right top
t "`3`" 690 320                             // conductivity 25C
ta 1 0                                      // right top
t "`4`" 690 350                             // TDS value
ta 1 0                                      // right top
t "`5`" 690 380                             // Last Flow value
#end

#define service_tds_sensor2_monitor_data_121_3
ta 0 0                                      // left top
t "`0`" 710 230                             // frequency
ta 0 0                                      // left top
t "`1`" 710 260                             // conductivity raw
ta 0 0                                      // left top
t "`2`" 710 290                             // conductivity sensor
ta 0 0                                      // left top
t "`3`" 710 320                             // conductivity 25C
ta 0 0                                      // left top
t "`4`" 710 350                             // TDS value
ta 0 0                                      // left top
t "`5`" 710 380                             // Last Flow value
#end


#define deactivated_steam_buttons_122
//setguibk 1
widgetdel 35
widgetdel 36
widgetdel 37
widgetdel 38
widgetdel 39
widgetdel 40
buttonl 35 126 72 0 "" "" `0` `1`    // intellisteam deactivated
buttonl 36 126 298 0 "" "" `2` `3`     // manual steam
buttonl 37 0 298 0 "" "" `4` `5`     // purge steam wand
buttonl 38 0 147 0 "" "" 79 79  // precise deactivated
buttonl 39 0 72 0 "" "" 76 76   // warm     deactivated
buttonl 40 0 222 0 "" "" 73 73   // x-hot    deactivated
buttonsi 35 S                 //silence standard outputs
buttonsi 36 S
buttonsi 37 S
buttonsi 38 S                 //silence standard outputs
buttonsi 39 S
buttonsi 40 S
buttonprv 35 "\xFE" P         // intellisteam
buttonprv 36 "\xFE" P         // manual steam
buttonprv 37 "\xFE" P         // purge steam wand
buttonprv 35 "\xFE" R         // intellisteam
buttonprv 36 "\xFE" R         // manual steam
buttonprv 37 "\xFE" R         // purge steam wand
buttonprv 38 "\xFE" P         // precise
buttonprv 39 "\xFE" P         // warm
buttonprv 40 "\xFE" P         // x-hot
buttonprv 38 "\xFE" R         // precise
buttonprv 39 "\xFE" R         // warm
buttonprv 40 "\xFE" R         // x-hot
#end

#define select_new_recipe_name_123     // more than 1 page of recipe names
setguibk 1
macro screen_clear_1                   // clear everything and set defaults
rect 0 0 799 479 1 000000                           // background
buttonm 1 0 0 4 "" 15 16               // BUNN
buttonsi 1 S                           // silence standard outputs
buttonprv 1 "\xD0\x33" R               // BUNN
buttonm 2 20 415 4 "" 46 49            // return arrow
buttonsi 2 S
buttonprv 2 "\xD0\x34" R               // return arrow
sc F2F3F3 000000
// previous page
buttonm 3 145 415 4 "" `0` `1`  // prev page
buttonsi 3 S
buttonprv 3 "\xD0\x35" R               // prev page
// next page
buttonm 4 355 415 4 "" `2` `3`  // next page
buttonsi 4 S
buttonprv 4 "\xD0\x36" R               // next page
ta 2 12         // center center
t "`4`" 710 445    // page number
ta 2 12         // center center
t "`5`" 400 20    // new recipe
sc 000000 F2F3F3
#end

#define select_new_recipe_name_123_01  // only one page of recipe names
setguibk 1
macro screen_clear_1                   // clear everything and set defaults
rect 0 0 799 479 1 000000                           // background
buttonm 1 0 0 4 "" 15 16               // BUNN
buttonsi 1 S                           // silence standard outputs
buttonprv 1 "\xD0\x33" R               // BUNN
buttonm 2 20 416 4 "" 46 49            // return arrow
buttonsi 2 S
buttonprv 2 "\xD0\x34" R               // return arrow
sc F2F3F3 000000
ta 2 12         // center center
t "`0`" 400 20    // new recipe
sc 000000 F2F3F3
#end

#define select_new_recipe_name_01_124
// buttons 1 thru 4
buttonm 10 74 72 4 "" `0` `1`     // button 1  ready
buttonsi 10 S                     // silence standard outputs
buttonprv 10 "\xD0\x01" R         // button 1
buttonm 11 256 72 4 "" `2` `3`    // button 2    ready
buttonsi 11 S
buttonprv 11 "\xD0\x02" R         // button 2
buttonm 12 438 72 4 "" `4` `5`    // button 3   ready
buttonsi 12 S
buttonprv 12 "\xD0\x03" R         // button 3
buttonm 13 620 72 4 "" `6` `7`    // button 4     ready
buttonsi 13 S
buttonprv 13 "\xD0\x04" R         // button 4
#end

#define select_new_recipe_name_02_125
// buttons 5 thru 8
buttonm 14 74 185 4 "" `0` `1`     // button 5  ready
buttonsi 14 S                      // silence standard outputs
buttonprv 14 "\xD0\x05" R          // button 5
buttonm 15 256 185 4 "" `2` `3`    // button 6    ready
buttonsi 15 S
buttonprv 15 "\xD0\x06" R          // button 6
buttonm 16 438 185 4 "" `4` `5`    // button 7   ready
buttonsi 16 S
buttonprv 16 "\xD0\x07" R          // button 7
buttonm 17 620 185 4 "" `6` `7`    // button 8     ready
buttonsi 17 S
buttonprv 17 "\xD0\x08" R          // button 8
#end

#define select_new_recipe_name_03_126
// buttons 9 thru 12
buttonm 18 74 298 4 "" `0` `1`     // button 9  ready
buttonsi 18 S                      // silence standard outputs
buttonprv 18 "\xD0\x09" R          // button 9
buttonm 19 256 298 4 "" `2` `3`    // button 10   ready
buttonsi 19 S
buttonprv 19 "\xD0\x0A" R          // button 10
buttonm 20 438 298 4 "" `4` `5`    // button 11  ready
buttonsi 20 S
buttonprv 20 "\xD0\x0B" R          // button 11
buttonm 21 620 298 4 "" `6` `7`    // button 12    ready
buttonsi 21 S
buttonprv 21 "\xD0\x0C" R          // button 12
scupdate
setguibk 0
#end

#define menu_options_screen_127
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000                          // background
buttonm 25 0 0 4 "" 15 16             // logo
buttonsi 25 S                         // silence standard outputs
buttonprv 25 "\x7F" R                 // logo
buttonm 2 20 412 4 "" 46 49           // return arrow
buttonsi 2 S
buttonprv 2 "\x81\x06" R              // return arrow
sc F2F3F3 000000    // set screen fore , back colors
buttonm 3 295 100 4 "`0`" 27 28       // regional settings (date and time)
buttonsi 3 S
buttonprv 3 "\x81\x01" R              // regional settings
buttonm 4 295 170 4 "`1`" 27 28       // cup count
buttonsi 4 S
buttonprv 4 "\x81\x02" R              // cup count
buttonm 5 295 240 4 "`2`" 27 28       // machine statistics
buttonsi 5 S
buttonprv 5 "\x81\x03" R              // machine statistics
buttonm 6 540 380 4 "`3`" 27 28       // advanced menu options
buttonsi 6 S
buttonprv 6 "\x81\x05" R              // advanced menu options
ta 2 12                               // center center
t "`4`" 400 50                        // menu options ( page title )
buttonm 8 75 100 4 "`5`" 27 28        // standby (energy saver)
buttonsi 8 S
buttonprv 8 "\x81\x07" R              // standby
sc 000000 F2F3F3
#end

#define bunnlink_show_setup_enable_127_1
sc F2F3F3 000000    // set screen fore , back colors
buttonl 9 75 170 0 "`0`" "`1`" 27 28   // BUNNlink wifi setup
buttonsi 9 S
buttonprv 9 "\x81\x08" P               //   press
buttonprv 9 "\x81\x09" R               //   release
sc 000000 F2F3F3
#end

#define show_TDS_stats_button_127_2
sc F2F3F3 000000    // set screen fore , back colors
buttonm 10 75 240 4 "`0`" 27 28        // TDS statistics
buttonsi 10 S
buttonprv 10 "\x81\x0A" R              // TDS statistics
sc 000000 F2F3F3
#end

#define show_vend_button_127_3
sc F2F3F3 000000    // set screen fore , back colors
buttonm 11 75 310 4 "`0`" 27 28        // vend
buttonsi 11 S
buttonprv 11 "\x81\x0B" R              // vend
sc 000000 F2F3F3
#end

#define reminders_button_128
sc F2F3F3 000000    // set screen fore , back colors
buttonm 7 295 310 4 "`0`" 27 28        //   reminders
buttonsi 7 S                           //   silence standard outputs
buttonprv 7 "\x81\x04" R               //   reminders
sc 000000 F2F3F3
#end

#define password_screen_129
setguibk 1
macro screen_clear_1               // clear everything and set defaults
rect 0 0 799 479 1 000000                       // background
buttonm 25 0 0 4 "" 15 16          // logo
buttonsi 25 S                      //silence standard output
buttonprv 25 "\x7F" R              // output 7Fh
buttonm 1 20 412 4 "" 46 49        // return arrow
buttonsi 1 S
buttonprv 1 "\x83\x01" R
o 300 120                       // move the origin to the upper left of the password display
macro password_keypad_02_129
o 0 0                           // put the origin back
ta 2 12                               // center center
t "`0`" 400 70                        // password ( page title )
ta 2 12                               // center center
t "`1`" 190 240                        // authorized users only (left)
ta 2 12                               // center center
t "`1`" 610 240                        // authorized users only (right)
sc 000000 F2F3F3
#end

#define password_keypad_02_129
// must set origin before running this macro then set
// origin back to 0,0 after macro is run
sc F2F3F3 000000    // set screen fore , back colors
buttonm 10 70 240 4 "0" 47 48        // 0 button
buttonsi 10 S
buttonprv 10 "\x83\x10" R

buttonm 11 0 60 4 "1" 47 48        // 1 button
buttonsi 11 S
buttonprv 11 "\x83\x11" R

buttonm 12 70 60 4 "2" 47 48        // 2 button
buttonsi 12 S
buttonprv 12 "\x83\x12" R

buttonm 13 140 60 4 "3" 47 48        // 3 button
buttonsi 13 S
buttonprv 13 "\x83\x13" R

buttonm 14 0 120 4 "4" 47 48        // 4 button
buttonsi 14 S
buttonprv 14 "\x83\x14" R

buttonm 15 70 120 4 "5" 47 48        // 5 button
buttonsi 15 S
buttonprv 15 "\x83\x15" R

buttonm 16 140 120 4 "6" 47 48        // 6 button
buttonsi 16 S
buttonprv 16 "\x83\x16" R

buttonm 17 0 180 4 "7" 47 48        // 7 button
buttonsi 17 S
buttonprv 17 "\x83\x17" R

buttonm 18 70 180 4 "8" 47 48        // 8 button
buttonsi 18 S
buttonprv 18 "\x83\x18" R

buttonm 19 140 180 4 "9" 47 48        // 9 button
buttonsi 19 S
buttonprv 19 "\x83\x19" R

buttonm 2 140 240 4 "" 321 322        // backspace button
buttonsi 2 S
buttonprv 2 "\x83\x02" R
disimg 47 0 240                      // blank button image
rect 0 0 206 52 1 F2F3F3          // filled rectangle for password
#end

#define display_password_130
rect 300 120 506 172 1 F2F3F3          // filled rectangle for password
Font F32            // set font
sc 000000 F2F3F3
ta 2 12                            // center center
t "`0`" 400 150                     //menu options ( page title )
Font F24            // set font
#end

#define incorrect_password_131
sc F2F3F3 000000
ta 0 12                     // left center
t "`0`" 530 150                        // incorrect (right)
sc 000000 F2F3F3
#end

#define reset_hotter_steam_setup_button_132
widgetdel 6
buttonl 6 405 176 0 "" "" 71 72   // hotter
buttonsi 6 S                            // silence standard outputs
buttonprv 6 "\x85\x06" P                // hotter
buttonprv 6 "\x85\x06" R                // hotter
#end

#define reset_normal_steam_setup_button_133
widgetdel 7
buttonl 7 223 176 0 "" "" 77 78   // normal
buttonsi 7 S                            // silence standard outputs
buttonprv 7 "\x85\x07" P                // normal
buttonprv 7 "\x85\x07" R                // normal
#end

#define reset_cooler_steam_setup_button_134
widgetdel 8
buttonl 8 40 176 0 "" "" 74 75    // cooler
buttonsi 8 S                            // silence standard outputs
buttonprv 8 "\x85\x08" P                // cooler
buttonprv 8 "\x85\x08" R                // cooler
#end

#define setup_intellisteam_recipe_hotter_temperature_135
ta 2 12                                 // center center
t "`0`" 467 256                         // hotter data
#end

#define setup_intellisteam_recipe_normal_temperature_136
ta 2 12                                 // center center
t "`0`" 285 256                         // normal data
#end

#define setup_intellisteam_recipe_cooler_temperature_137
ta 2 12                                 // center center
t "`0`" 102 256                         // cooler data
#end

#define select_hotter_138
widgetdel 38
widgetdel 39
widgetdel 40
buttonl 38 0 147 0 "" "" 77 78     // precise
buttonl 39 0 72 0 "" "" 74 75    // warm
buttonl 40 0 222 0 "" "" 72 72    // x-hot
buttonsi 38 S                        //silence standard outputs
buttonsi 39 S
buttonsi 40 S
buttonprv 38 "\x8C\x02" P         // precise
buttonprv 39 "\x8C\x03" P         // warm
buttonprv 40 "\xFE" P         // x-hot
buttonprv 38 "\x8C\x02" R         // precise
buttonprv 39 "\x8C\x03" R         // warm
buttonprv 40 "\xFE" R         // x-hot
#end

#define select_cooler_139
widgetdel 38
widgetdel 39
widgetdel 40
buttonl 38 0 147 0 "" "" 77 78     // precise
buttonl 39 0 72 0 "" "" 75 75    // warm
buttonl 40 0 222 0 "" "" 71 72    // x-hot
buttonsi 38 S                        //silence standard outputs
buttonsi 39 S
buttonsi 40 S
buttonprv 38 "\x8C\x02" P         // precise
buttonprv 39 "\xFE" P         // warm
buttonprv 40 "\x8C\x04" P         // x-hot
buttonprv 38 "\x8C\x02" R         // precise
buttonprv 39 "\xFE" R         // warm
buttonprv 40 "\x8C\x04" R         // x-hot
#end

#define select_normal_140
widgetdel 38
widgetdel 39
widgetdel 40
buttonl 38 0 147 0 "" "" 78 78     // precise
buttonl 39 0 72 0 "" "" 74 75    // warm
buttonl 40 0 222 0 "" "" 71 72    // x-hot
buttonsi 38 S                        //silence standard outputs
buttonsi 39 S
buttonsi 40 S
buttonprv 38 "\xFE" P         // precise
buttonprv 39 "\x8C\x03" P         // warm
buttonprv 40 "\x8C\x04" P         // x-hot
buttonprv 38 "\xFE" R         // precise
buttonprv 39 "\x8C\x03" R         // warm
buttonprv 40 "\x8C\x04" R         // x-hot
#end

#define popup_precise_and_xhot_and_warm_141
setbls 38 0 // pop precise
setbls 39 0 // pop warm
setbls 40 0 // pop x-hot
#end

#define press_precise_142
setbls 38 1 // press precise
#end

#define steaming_normal_143
widgetdel 38
widgetdel 39
widgetdel 40
buttonm 38 0 147 4 "" 78 78     // precise
buttonm 39 0 72 4 "" 74 74    // warm
buttonm 40 0 222 4 "" 71 71    // x-hot
buttonsi 38 S                        //silence standard outputs
buttonsi 39 S
buttonsi 40 S
buttonprv 38 "\x8C\x05" R         // precise
buttonprv 39 "\x8C\x05" R         // warm
buttonprv 40 "\x8C\x05" R         // x-hot
#end

#define steaming_cooler_144
widgetdel 38
widgetdel 39
widgetdel 40
buttonm 38 0 147 4 "" 77 77     // precise
buttonm 39 0 72 4 "" 75 75    // warm
buttonm 40 0 222 4 "" 71 71    // x-hot
buttonsi 38 S                        //silence standard outputs
buttonsi 39 S
buttonsi 40 S
buttonprv 38 "\x8C\x05" R         // precise
buttonprv 39 "\x8C\x05" R         // warm
buttonprv 40 "\x8C\x05" R         // x-hot
#end

#define steaming_hotter_145
widgetdel 38
widgetdel 39
widgetdel 40
buttonm 38 0 147 4 "" 77 77     // precise
buttonm 39 0 72 4 "" 74 74    // warm
buttonm 40 0 222 4 "" 72 72    // x-hot
buttonsi 38 S                        //silence standard outputs
buttonsi 39 S
buttonsi 40 S
buttonprv 38 "\x8C\x05" R         // precise
buttonprv 39 "\x8C\x05" R         // warm
buttonprv 40 "\x8C\x05" R         // x-hot
#end

#define temperature_select_while_manual_steaming_146
widgetdel 38
widgetdel 39
widgetdel 40
buttonm 38 0 147 4 "" 79 79     // precise
buttonm 39 0 72 4 "" 76 76    // warm
buttonm 40 0 222 4 "" 73 73    // x-hot
buttonsi 38 S                        //silence standard outputs
buttonsi 39 S
buttonsi 40 S
buttonprv 38 "\x8C\x05" R         // precise
buttonprv 39 "\x8C\x05" R         // warm
buttonprv 40 "\x8C\x05" R         // x-hot
#end

#define set_steam_buttons_to_manual_steaming_147
widgetdel 35
widgetdel 36
widgetdel 37
buttonm 35 126 72 4 "" `0` `1`    // intellisteam
buttonm 36 126 298 4 "" `2` `3`   // manual steam
buttonm 37 0 298 4 "" `4` `5`     // purge steam wand
buttonsi 35 S                     // silence standard outputs
buttonsi 36 S
buttonsi 37 S
buttonprv 35 "\x8C\x01" R         // intellisteam
buttonprv 36 "\x8D" R             // manual steam
buttonprv 37 "\x93" R             // purge steam wand
//setbls 36 1 // press manual
#end

#define set_steam_buttons_to_intellisteam_148
widgetdel 35
widgetdel 36
widgetdel 37
buttonm 35 126 72 4 "" `0` `1`    // intellisteam
buttonm 36 126 298 4 "" `2` `3`   // manual steam
buttonm 37 0 298 4 "" `4` `5`     // purge steam wand
buttonsi 35 S                     // silence standard outputs
buttonsi 36 S
buttonsi 37 S
buttonprv 35 "\x8C\x01" R         // intellisteam
buttonprv 36 "\x8D" R             // manual steam
buttonprv 37 "\x93" R             // purge steam wand
#end

#define set_steam_buttons_to_purge_steaming_149
widgetdel 35
widgetdel 36
widgetdel 37
buttonm 35 126 72 4 "" `0` `1`    // intellisteam
buttonm 36 126 298 4 "" `2` `3`   // manual steam
buttonm 37 0 298 4 "" `4` `5`     // purge steam wand
buttonsi 35 S                     // silence standard outputs
buttonsi 36 S
buttonsi 37 S
buttonprv 35 "\x8C\x01" R         // intellisteam
buttonprv 36 "\x8D" R             // manual steam
buttonprv 37 "\x93" R             // purge steam wand
setbls 37 1 // press purge
#end

#define set_steam_buttons_to_ready_150
widgetdel 35
widgetdel 36
widgetdel 37
buttonm 35 126 72 4 "" `0` `1`    // intellisteam
buttonm 36 126 298 4 "" `2` `3`   // manual steam
buttonm 37 0 298 4 "" `4` `5`     // purge steam wand
buttonsi 35 S                     // silence standard outputs
buttonsi 36 S
buttonsi 37 S
buttonprv 35 "\x8C\x01" R         // intellisteam
buttonprv 36 "\x8D" R             // manual steam
buttonprv 37 "\x93" R             // purge steam wand
#end

#define home_position_offset_151
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
sc F2F3F3 000000    // set screen fore , back colors
buttonm 25 13 13 4 "" 37 37             // BUNN
buttonsi 25 S                           // silence standard outputs
buttonprv 25 "\x87\x06" R               // BUNN
buttonm 10 563 406 4 "`0`" 23 24        // save
buttonsi 10 S                           // silence standard outputs
buttonprv 10 "\x87\x01" R               // save
buttonm 11 425 131 3 "" 31 32           // up arrow
buttonsi 11 S                           // silence standard outputs
buttonprv 11 "\x87\x02" P               // up arrow
buttonm 12 425 201 3 "" 29 30           // down arrow
buttonsi 12 S                           // silence standard outputs
buttonprv 12 "\x87\x03" P               // down arrow
buttonm 13 381 406 4 "`1`" 23 24        // cancel
buttonsi 13 S                           // silence standard outputs
buttonprv 13 "\x87\x04" R               // cancel
sc 000000 F2F3F3                        // set screen fore , back colors
pen 2
ta 2 12                                 // center center
t "`2`" 400 50                          // home position offset (page title)
ta 1 12                                 // right center
t "`3`" 275 200                         // offset
rect 305 183 380 215 0 000000           // rectangle around entry
scupdate
setguibk 0
#end

#define home_pos_door_note_151_2
ta 0 0                                  // left top
t "`0`" 546 238                         // Door close note
#end

#define home_pos_clear_note_151_3
pen 0                                  // no border
rect 546 238 799 268 1 F2F3F3          // rectangle to clear text
#end

#define home_pos_alarm_note_151_4
ta 1 0                                  // right top
t "`0`" 525 310                         // alarm clear note
sc F2F3F3 000000    // set screen fore , back colors
buttonm 35 546 300 4 "" `1` `2`         // continue
buttonsi 35 S                           // silence standard outputs
buttonprv 35 "\x87\x10" R               // continue
sc 000000 F2F3F3                        // set screen fore , back colors
#end

#define home_pos_clear_alarm_151_5
widgetdel 35
pen 0                                  // no border
rect 0 300 799 400 1 F2F3F3            // rectangle to clear text
#end

#define test_home_position_151_6
sc F2F3F3 000000    // set screen fore , back colors
widgetdel 14
buttonm 14 546 168 4 "`0`" 23 24        // move piston to home position
buttonsi 14 S                           // silence standard outputs
buttonprv 14 "\x87\x05" R               // move piston to home position
sc 000000 F2F3F3                        // set screen fore , back colors
#end

#define stop_piston_151_7
sc F2F3F3 000000    // set screen fore , back colors
widgetdel 14
buttonm 14 546 168 4 "`0`" 23 24        // stop piston
buttonsi 14 S                           // silence standard outputs
buttonprv 14 "\x87\x07" R               // stop piston
sc 000000 F2F3F3                        // set screen fore , back colors
#end

#define display_home_position_offset_152
ta 1 12                                 // right center
t "   `0`" 370 200                      // offset data
#end

#define deactivated_cleaning_screen_153
macro screen_clear_1                    // clear everything and set defaults
Font F32            // set font
ta 2 12                                 // center center
t " `0` " 400 240                      // offset data
ta 2 12                                 // center center
t "`1`" 400 120                      // offset data
Font F24            // set font
#end

#define deactivated_cleaning_screen_countdown_154
Font F32            // set font
ta 2 12                                 // center center
t " `0` " 400 240                      // offset data
Font F24            // set font
#end

#define configure_cleaning_progress_bar_155
pen 1
rect `0` 219 `1` 261 0
#end

#define fill_cleaning_progress_bar_02_155
rect `0` 220 `1` 260 1 0000ff
#end

#define progress_bar_countdown_03_155
sc 000000 d6d6d6
tm 0                // normal text mode
ta 0 12                                  // left center
t "`0`  " 700 200
#end

#define time_to_next_step_04_155
sc 000000 d6d6d6
tm 0                // normal text mode
ta 1 12         // right center
t "`0`" 690 200
#end

#define clean_supplies_print_line_157
tm 2                                     // transparent, no background color
ta 0 12                                  // left center
t "`0`" `1` `2`
tm 0                                     // normal text mode
#end

#define clean_supplies_print_long_line_158
tm 2                                     // transparent, no background color
ta 0 12                                  // left center
t "`0``1`" `2` `3`
tm 0                                     // normal text mode
#end

#define clean_button_active_159
widgetdel 82
buttonm 82 0 241 4 "" `0` `1`              // clean
buttonsi 82 S
buttonprv 82 "\`2`\x02" R                  // clean
#end

#define onestep_clean_button_active_02_159
widgetdel 82
buttonm 82 0 298 4 "" `0` `1`                // clean
buttonsi 82 S
buttonprv 82 "\`2`\x02" R                    // clean
#end

#define clean_button_inactive_160
widgetdel 82
buttonm 82 0 241 4 "" `0` `1`                // clean inactive
buttonsi 82 S
#end

#define onestep_clean_button_inactive_02_160
widgetdel 82
buttonm 82 0 298 4 "" `0` `1`                // clean inactive
buttonsi 82 S
#end

#define onestep_clean_yes_no_buttons_161
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
rect 0 0 799 479 1 000000                // background
buttonm 25 0 0 5 "" 15 15                // BUNN logo
buttonsi 25 S                            // silence standard outputs
buttonprv 25 "\x7B" P                    // BUNN
buttonprv 25 "\x7C" R                    // BUNN
buttonm 20 620 411 5 "" `0` `1`         // stop
buttonsi 20 S
buttonprv 20 "\xA5\x01" P                // stop  shutdown clean
buttonprv 20 "\xA5\x05" R                // stop  reset to main screen
sc F2F3F3 000000                         // set screen fore , back colors
buttonm 30 218 300 4 "`2`" 23 24          // yes
buttonsi 30 S
buttonprv 30 "\xA5\x03" R
buttonm 31 410 300 4 "`3`" 23 24          // no
buttonsi 31 S
buttonprv 31 "\xA5\x04" R
tm 2                                     // transparent text mode
ta 2 12                                 // center center
t "`4`" 400 165
ta 2 12                                 // center center
t "`5`" 400 245
tm 0                                     // normal text mode
sc 000000 F2F3F3                         // set screen fore , back colors
#end

#define keypad_screen_171
setguibk 1
macro screen_clear_1               // clear everything and set defaults
rect 0 0 799 479 1 000000                       // background
buttonm 25 0 0 4 "" 15 16          // logo
sc F2F3F3 000000    // set screen fore , back colors
buttonsi 25 S                      //silence standard output
buttonprv 25 "\x7F" R              // output 7Fh
buttonm 10 370 360 4 "0" 47 48        // 0 button
buttonsi 10 S
buttonprv 10 "\x88\x10" R
buttonm 11 300 180 4 "1" 47 48        // 1 button
buttonsi 11 S
buttonprv 11 "\x88\x11" R
buttonm 12 370 180 4 "2" 47 48        // 2 button
buttonsi 12 S
buttonprv 12 "\x88\x12" R
buttonm 13 440 180 4 "3" 47 48        // 3 button
buttonsi 13 S
buttonprv 13 "\x88\x13" R
buttonm 14 300 240 4 "4" 47 48        // 4 button
buttonsi 14 S
buttonprv 14 "\x88\x14" R
buttonm 15 370 240 4 "5" 47 48        // 5 button
buttonsi 15 S
buttonprv 15 "\x88\x15" R
buttonm 16 440 240 4 "6" 47 48        // 6 button
buttonsi 16 S
buttonprv 16 "\x88\x16" R
buttonm 17 300 300 4 "7" 47 48        // 7 button
buttonsi 17 S
buttonprv 17 "\x88\x17" R
buttonm 18 370 300 4 "8" 47 48        // 8 button
buttonsi 18 S
buttonprv 18 "\x88\x18" R
buttonm 19 440 300 4 "9" 47 48        // 9 button
buttonsi 19 S
buttonprv 19 "\x88\x19" R
buttonm 2 515 360 4 "" 323 324        // backspace button
buttonsi 2 S
buttonprv 2 "\x88\x02" R
rect 300 120 506 172 1 F2F3F3          // filled rectangle for data entry
ta 2 12                               // center center
t "`0`" 400 50                        // name of data
ta 0 12                               // left center
t "`1`" 50 146                        // previous value
ta 0 12                               // left center
t "`2`" 50 300                        // minimum value
ta 0 12                               // left center
t "`3`" 50 330                        // maximum value
buttonm 4 515 300 4 "`4`" 25 26        // clear button
buttonsi 4 S
buttonprv 4 "\x88\x04" R
buttonm 1 515 240 4 "`5`" 25 26        // cancel button
buttonsi 1 S
buttonprv 1 "\x88\x01" R
sc 000000 F2F3F3
#end

#define display_keypad_entry_172
rect 300 120 506 172 1 F2F3F3          // filled rectangle for password
Font F32            // set font
ta 2 12                            // center center
t "`0`" 400 150                     // keypad entry
Font F24            // set font
#end

#define entry_out_of_range_173
sc F2F3F3 000000
rect 528 120 798 170 1 000000          // filled rectangle for password
ta 0 12                     // left center
t "`0`" 530 150             // out of range
sc 000000 F2F3F3
#end

#define blank_keypad_entry_174
rect 300 120 506 172 1 F2F3F3          // filled rectangle for data entry
#end

#define create_change_sign_button_175
sc F2F3F3 000000    // set screen fore , back colors
buttonm 5 300 360 4 "+/-" 47 48        // change sign button
buttonsi 5 S
buttonprv 5 "\x88\x05" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define no_change_sign_button_175_1
disimg 47 300 360                       // blank button image instead of "+/-" button
#end

#define create_decimal_point_button_176
sc F2F3F3 000000    // set screen fore , back colors
buttonm 6 440 360 4 "." 47 48        // decimal point button
buttonsi 6 S
buttonprv 6 "\x88\x06" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define no_decimal_point_button_176_1
disimg 47 440 360                       // blank button image instead of "." button
#end

#define create_enter_button_177
sc F2F3F3 000000    // set screen fore , back colors
buttonm 7 515 180 4 "`0`" 25 26        // enter button (102x48))
buttonsi 7 S
buttonprv 7 "\x88\x03" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define remove_enter_button_177_1
widgetdel 7                           // delete enter button
rect 515 180 617 228 1 000000         // blank the graphic on dark background
#end

#define two_step_active_coffee_rinse_button_178
widgetdel 83
buttonm 83 0 69 4 "" `0` `1`                 // coffee rinse
buttonsi 83 S
buttonprv 83 "\xC0\x03" R                  // coffee rinse
#end

#define one_step_active_milk_rinse_button_179
widgetdel 84
buttonm 84 0 183 4 "" `0` `1`                // milk rinse
buttonsi 84 S
buttonprv 84 "\xC0\x07" R                    // milk rinse
#end

#define one_step_active_coffee_rinse_button_180
widgetdel 83
buttonm 83 0 69 4 "" `0` `1`                 // coffee rinse
buttonsi 83 S
buttonprv 83 "\xC0\x03" R                    // coffee rinse
#end

#define two_step_inactive_coffee_rinse_button_181
widgetdel 83
buttonm 83 0 69 4 "" `0` `1`                 // coffee rinse
buttonsi 83 S
#end

#define one_step_inactive_milk_rinse_button_182
widgetdel 84
buttonm 84 0 183 4 "" `0` `1`                // milk rinse
buttonsi 84 S
#end

#define one_step_inactive_coffee_rinse_button_183
widgetdel 83
buttonm 83 0 69 4 "" `0` `1`                 // coffee rinse
buttonsi 83 S
#end

#define one_step_active_milk_prime_buttons_184
widgetdel 85
widgetdel 86
buttonm 85 128 69 4 "" `0` `1`               // milk 1 prime
buttonsi 85 S
buttonprv 85 "\xC0\x08" R                    // milk 1 prime
buttonm 86 128 183 4 "" `2` `3`              // milk 2 prime
buttonsi 86 S
buttonprv 86 "\xC0\x09" R                    // milk 2 prime
#end

#define one_step_active_milk_1_prime_buttons_02_184
widgetdel 85
buttonm 85 128 69 4 "" `0` `1`               // milk 1 prime
buttonsi 85 S
buttonprv 85 "\xC0\x08" R                    // milk 1 prime
#end

#define one_step_active_milk_2_prime_buttons_03_184
widgetdel 86
buttonm 86 128 183 4 "" `0` `1`              // milk 2 prime
buttonsi 86 S
buttonprv 86 "\xC0\x09" R                    // milk 2 prime
#end

#define one_step_inactive_milk_prime_buttons_185
widgetdel 85
widgetdel 86
buttonm 85 128 69 4 "" `0` `1`               // milk 1 prime
buttonsi 85 S
buttonm 86 128 183 4 "" `2` `3`              // milk 2 prime
buttonsi 86 S
#end

#define one_step_inactive_milk_1_prime_button_02_185
widgetdel 85
buttonm 85 128 69 4 "" `0` `1`               // milk 1 prime
buttonsi 85 S
#end

#define one_step_inactive_milk_2_prime_button_03_185
widgetdel 86
buttonm 86 128 183 4 "" `0` `1`              // milk 2 prime
buttonsi 86 S
#end

#define troubleshooting_screen_186
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
rect 0 0 799 479 1 000000                            // background
//rect 256 69 799 407 1 d6d6d6          // background under daily care
buttonm 1 0 0 5 "" 15 15                // BUNN logo
buttonsi 1 S                            // silence standard outputs
buttonprv 1 "\xA3\x01" P                // BUNN
buttonprv 1 "\xA3\x02" R                // BUNN
buttonm 2 620 411 5 "" `9` `10`            // stop
buttonsi 2 S
buttonprv 2 "\xA3\x03" p                // stop  reset to main screen
buttonprv 2 "\xA3\x04" R                // stop  reset to main screen
buttonm 3 20 415 4 "" 46 49             // return
buttonsi 3 S
buttonprv 3 "\xA3\x05" R                // return  where come from
buttonm 4 355 415 4 "" `11` `12`          // next
buttonsi 4 S
buttonprv 4 "\xA3\x06" R                // next
buttonm 5 145 415 4 "" `13` `14`          // prev
buttonsi 5 S
buttonprv 5 "\xA3\x07" R                // prev
sc F2F3F3 000000                        // set screen fore , back colors
tm 2                                    // transparent text mode
ta 0 0                                  // left top
t "`0`" 10 95
ta 0 0                                   // left top
t "`1`" 10 120
ta 0 0                                   // left top
t "`2`" 10 145
ta 0 0                                   // left top
t "`3`" 10 170
ta 0 0                                   // left top
t "`4`" 10 195
ta 0 0                                   // left top
t "`5`" 10 220
ta 0 0                                   // left top
t "`6`" 10 245
ta 0 0                                   // left top
t "`7`" 10 270
sc 000000 F2F3F3                         // set screen fore , back colors
disimg `8` 256 0                         // photo
tm 0                                     // normal text mode
scupdate
setguibk 0
#end

#define station_guide_screen_187
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
rect 0 0 799 479 1 000000                            // background
buttonm 2 620 411 5 "" `0` `1`            // stop
buttonsi 2 S
buttonprv 2 "\xA4\x01" p                // stop  reset to main screen
buttonprv 2 "\xA4\x02" R                // stop  reset to main screen
buttonm 3 20 415 4 "" 46 49             // return
buttonsi 3 S
buttonprv 3 "\xA4\x03" R                // return  where come from
buttonm 4 355 415 4 "" `2` `3`        // next
buttonsi 4 S
buttonprv 4 "\xA4\x04" R                // next
buttonm 5 145 415 4 "" `4` `5`        // prev
buttonsi 5 S
buttonprv 5 "\xA4\x05" R                // prev
disimg `6` 0 0                         // station guide photo
scupdate
setguibk 0
#end


#define load_TDS_statistics_buttons_190
setguibk 1
macro screen_clear_1                  // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37           // BUNN logo
buttonsi 25 S                         // silence standard outputs
buttonprv 25 "\x7F" R                 // BUNN logo
buttonm 2 20 412 4 "" 46 49           // return arrow
buttonsi 2 S
buttonprv 2 "\xA7\x01" R              // return arrow
ta 2 12                               // center center
t "`0`" 400 50                        // ( page title )
pen 1                                 // thin rectangle around data
rect 75 100 725 180 0 000000          // rectangle around data
rect 75 210 725 320 0 000000          // rectangle around data
ta 0 12                               // left center
t " `1` " 120 100                     // group1 title
ta 0 12                               // left center
t " `2` " 120 210                     // group2 title
ta 2 12                               // center center
t "`3`" 200 235                       // min
ta 2 12                               // center center
t "`4`" 400 235                       // avg
ta 2 12                               // center center
t "`5`" 600 235                       // max
#end

#define TDS_log_empty_191
ta 2 12                               // center center
t "`0`" 400 140                       // No Data
ta 2 12                               // center center
t "`0`" 400 275                       // No Data
#end

#define TDS_log_data_point_192
o 0 `1`                               // origin - for Y
ta 2 12                               // center center
t "`2`" `0` 0                         // date
ta 2 12                               // center center
t "`3`" `0` 30                        // value
o 0 0                                 // origin to base
#end

#define TDS_log_data_chart_193
ta 1 12                               // right center
t "`0`" 175 455                       // min/bottom value
ta 1 12                               // right center
t "`1`" 175 350                       // max/top value
ta 0 0                                // left top
t "`2`" 185 456                       // start date
ta 1 0                                // right top
t "`3`" 725 456                       // end date
pen 1
line 184 340 184 456                  // draw chart axis - vertical
line 184 456 725 456                  // draw chart axis - horizontal
// the chart does not plot the data correctly.  The BottomValue(bv) must be the
// smaler value(min).  The TopValue(tv) must be the larger value(max).
// The a bigger number will be plotted lower on the chart, and smaller number
// wil be plotted higher on the chart.
chartzcls 0                           // clear chart data
chartd 0 185 350 725 455 0 18 `0` `1` F2F3F3 2 3E99A1    // define the chart
#end

#define TDS_log_data_add_194
// the chart does not plot the data correctly.  The data sent here must be
// inverted within the range of the chart.
chartv 0 `0`
#end

#define TDS_settings_buttons1_200
setguibk 1
macro screen_clear_1                          // clear everything and set defaults
ta 2 12                                       // center center
t "`0`" 400 45                                // Page title
buttonm 10 13 13 4 "" 37 37                   // BUNN
buttonsi 10 S                                 // silence standard outputs
buttonprv 10 "\xCC\x7F" R                     // BUNN
sc F2F3F3 000000                               // set screen fore , back colors
buttonm 11 563 406 4 "`1`" 23 24              // save
buttonsi 11 S                                 // silence standard outputs
buttonprv 11 "\xCC\x01" R                     // save
buttonm 12 381 406 4 "`2`" 23 24              // cancel
buttonsi 12 S                                 // silence standard outputs
buttonprv 12 "\xCC\x0A" R                     // cancel
buttonm 13 199 406 1 "`3`" 23 24              // default
buttonsi 13 S                                 // silence standard outputs
buttonprv 13 "\xCC\x0B" P                     // default
sc 000000 F2F3F3                              // set screen fore , back colors
#end

#define TDS_settings_buttons2_S1_201_1
sc F2F3F3 000000                               // set screen fore , back colors
buttonm 20 20 80 4 "`0`" 27 28                 // ImpedanceFactor1
buttonsi 20 S                                  // silence standard outputs
buttonprv 20 "\xCC\x11" R                      // ImpedanceFactor1
buttonm 22  20  145 4 "`1`" 27 28              // CalibTemp1
buttonsi 22 S                                  // silence standard outputs
buttonprv 22 "\xCC\x15" R                      // CalibTemp1
buttonm 24  20  210 4 "`2`" 27 28              // SensorFactor1
buttonsi 24 S                                  // silence standard outputs
buttonprv 24 "\xCC\x19" R                      // SensorFactor1
sc 000000 F2F3F3                               // set screen fore , back colors
pen 2
rect 248  93 323 127 0 000000
rect 248 158 323 192 0 000000
rect 248 223 323 257 0 000000
#end

#define TDS_settings_buttons2_S2_201_2
sc F2F3F3 000000                               // set screen fore , back colors
buttonm 21  380  80 4 "`0`" 27 28              // ImpedanceFactor2
buttonsi 21 S                                  // silence standard outputs
buttonprv 21 "\xCC\x13" R                      // ImpedanceFactor2
buttonm 23  380 145 4 "`1`" 27 28              // CalibTemp2
buttonsi 23 S                                  // silence standard outputs
buttonprv 23 "\xCC\x17" R                      // CalibTemp2
buttonm 25  380 210 4 "`2`" 27 28              // SensorFactor2
buttonsi 25 S                                  // silence standard outputs
buttonprv 25 "\xCC\x1B" R                      // SensorFactor2
sc 000000 F2F3F3                               // set screen fore , back colors
pen 2
rect 608  93 683 127 0 000000
rect 608 158 683 192 0 000000
rect 608 222 683 257 0 000000
#end

#define TDS_settings_buttons2_S1_no_edit_201_3
pen 1
rect 20  80 229 143 0 000000                   // rectangle to replace button
ta 2 12                                        // center center
t "`0`" 125  99                                // ImpedanceFactor1
rect 20 145 229 208 0 000000                   // rectangle to replace button
ta 2 12                                        // center center
t "`1`" 125 164                                // CalibTemp1
sc F2F3F3 000000                               // set screen fore , back colors
buttonm 24  20  210 4 "`2`" 27 28              // SensorFactor1
buttonsi 24 S                                  // silence standard outputs
buttonprv 24 "\xCC\x19" R                      // SensorFactor1
sc 000000 F2F3F3                               // set screen fore , back colors
pen 2
rect 248 223 323 257 0 000000
#end

#define TDS_settings_buttons2_S2_no_edit_201_4
pen 1
rect 380  80 589 143 0 000000                  // rectangle to replace button
ta 2 12                                        // center center
t "`0`" 485  99                                // ImpedanceFactor2
rect 380 145 589 208 0 000000                  // rectangle to replace button
ta 2 12                                        // center center
t "`1`" 485 164                                // CalibTemp2
sc F2F3F3 000000                               // set screen fore , back colors
buttonm 25  380 210 4 "`2`" 27 28              // SensorFactor2
buttonsi 25 S                                  // silence standard outputs
buttonprv 25 "\xCC\x1B" R                      // SensorFactor2
sc 000000 F2F3F3                               // set screen fore , back colors
pen 2
rect 608 222 683 257 0 000000
#end

#define TDS_settings_buttons3_202
pen 2
sc F2F3F3 000000                               // set screen fore , back colors
buttonm 30  20  275 4 "`0`" 27 28              // TempK1
buttonsi 30 S                                  // silence standard outputs
buttonprv 30 "\xCC\x1D" R                      // TempK1
buttonm 31  380 275 4 "`1`" 27 28              // TDSK1
buttonsi 31 S                                  // silence standard outputs
buttonprv 31 "\xCC\x1F" R                      // TDSK1
buttonm 32  20  340 4 "`2`" 27 28              // TempK2
buttonsi 32 S                                  // silence standard outputs
buttonprv 32 "\xCC\x21" R                      // TempK2
buttonm 33  380 340 4 "`3`" 27 28              // TDSK2
buttonsi 33 S                                  // silence standard outputs
buttonprv 33 "\xCC\x23" R                      // TDSK2
sc 000000 F2F3F3                               // set screen fore , back colors
rect 248 288 323 322 0 000000
rect 248 353 323 387 0 000000
rect 608 288 683 322 0 000000
rect 608 353 683 387 0 000000
#end

#define TDS_settings_buttons3_no_edit_202a
pen 1
rect  20 275 229 338 0 000000                  // rectangle to replace button
ta 2 12                                        // center center
t "`0`" 125 294                                // TempK1
rect 380 275 589 338 0 000000                  // rectangle to replace button
ta 2 12                                        // center center
t "`1`" 485 294                                // TempK1
rect  20 340 229 403 0 000000                  // rectangle to replace button
ta 2 12                                        // center center
t "`2`" 125 359                                // TempK2
rect 380 340 589 403 0 000000                  // rectangle to replace button
ta 2 12                                        // center center
t "`3`" 485 359                                // TDSK2
#end


#define TDS_settings_values_203
ta 1 12                                 // right center
t "`0`" 318 112                         // ImpedanceFactor1
ta 1 12                                 // right center
t "`1`" 318 177                         // CalibTemp1
ta 1 12                                 // right center
t "`2`" 318 242                         // SensorFactor1
ta 1 12                                 // right center
t "`3`" 318 307                         // TempK1
ta 1 12                                 // right center
t "`4`" 678 307                         // TDSK1
ta 1 12                                 // right center
t "`5`" 318 372                         // TempK2
ta 1 12                                 // right center
t "`6`" 678 372                         // TDSK2
#end

#define TDS_settings_values_S2_203_1
ta 1 12                                 // right center
t "`0`" 678 112                         // ImpedanceFactor2
ta 1 12                                 // right center
t "`1`" 678 177                         // CalibTemp2
ta 1 12                                 // right center
t "`2`" 678 242                         // SensorFactor2
#end


#define TDS_settings_key_release_204
setbls `0` 0                                   // release the specified button
#end

#define error_screen_234
rect 256 69 799 407 1 d6d6d6               // background under daily care
pen 4
sc EE1D25 D5D5D8                          // set screen fore , back colors
rect 259 80 777 305 0
sc 000000 F2F3F3                          // set screen fore , back colors
#end

#define error_message_235
tm 0                                      // normal text mode, background
sc EE1D25 D5D5D8                          // set screen fore , back colors
rect 262 83 625 174 1 d6d6d6              // clear alarm number and text
ta 2 12                                   // center center
t "`0`" 444 131                           // alarm name
ta 2 12                                   // center center
t "`1`" 444 156                           // alarm name
ta 2 12                                   // center center
t "`2`" 444 105                           // alarm number
tm 0                                      // normal text mode, background
sc 000000 F2F3F3                          // set screen fore , back colors
#end

#define error_prompt_236
tm 0                                      // normal text mode, background
sc EE1D25 D5D5D8                          // set screen fore , back colors
rect 262 256 750 300 1 d6d6d6              // clear prompt text
ta 2 12                                     // center center
t "`0`" 505 266
tm 0                                      // normal text mode, background
sc 000000 F2F3F3                          // set screen fore , back colors
#end

#define error_active_number_237
tm 0                                      // normal text mode, background
sc EE1D25 D5D5D8                          // set screen fore , back colors
ta 2 12                                     // right center
t "                                 " 444 204                             //
ta 2 12                                     // right center
t "`0`" 444 204                             //
tm 0                                      // normal text mode, background
sc 000000 F2F3F3                          // set screen fore , back colors
#end

#define error_help_button_238
widgetdel 13
buttonm 13 625 320 4 " " 313 314
buttonsi 13 S
buttonprv 13 "\xC5\x13" R
#end

#define error_remove_help_button_239
widgetdel 13
rect 624 319 760 380 1 D5D5D8
#end

#define service_history_screen_240
macro screen_clear_1                    // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37           // logo
buttonsi 25 S                           // silence standard output
buttonprv 25 "\x7F" R                   // output 7Fh
buttonm 26 20 412 4 "" 46 49          //   return
buttonsi 26 S
buttonprv 26 "\xBA\x04" R                   //   return
ta 2 12                                 // center center
t "`0`" 400 50                          //  service history  ( page title )
ta 2 12                                 // center center
t "`1`" 90 105                          //  error
ta 2 12                                 // center center
t "`2`" 310 105                         //  description
ta 2 12                                 // center center
t "`3`" 540 105                         //  date
ta 2 12                                 // center center
t "`4`" 650 105                         //  time
#end

#define service_history_data_241
rect 1 `7` 750 `8` 1 F2F3F3             // clear line
ta 2 12                                 // center center
t "`1`" 90  `0`                         //  clear line
ta 2 12                                 // center center
t "`1`" 90  `0`                         //  error
ta 2 12                                 // center center
t "`2`" 310 `0`                         //  description  line 1
ta 2 12                                 // center center
t "`4`" 310 `3`                         //  description  line 2
ta 2 12                                 // center center
t "`5`" 540 `0`                         //  date
ta 2 12                                 // center center
t "`6`" 650 `0`                         //  time
#end

#define service_history_clear_data_242
//sc 000000 F2F3F3                          // set screen fore , back colors
//tm 0                                      // normal text mode, background
//ta 2 12                                 // center center
//t "                                                                      " 400  `0`      //  clear line
rect 1 `0` 750 `1` 1 F2F3F3
#end

#define error_clear_button_243
widgetdel 12
buttonm 12 559 175 4 "" `0` `1`        // process error
buttonsi 12 S                             // silence standard outputs
buttonprv 12 "\xC5\x12" R                 // process error
#end

#define error_remove_clear_button_244
widgetdel 12
pen 2
rect 559 175 769 238 1 D5D5D8
#end

#define display_application_version_number_245
sc F2F3F3 000000
ta 1 12           // right center
t "`0`" `1` `2`   //   SW Version String
ta 1 12           // right center
t "`3`" `1` `4`   //   Serial Number
sc 000000 F2F3F3
#end

#define display_factory_maint_screen_246
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
ta 2 12                                 // center center
t "`0`" 400 50                             //factory maint menu  ( page title )
buttonm 25 13 13 4 "" 37 37             // logo
buttonsi 25 S                              //silence standard outputs
buttonprv 25 "\xC1\x7F" R                  // logo
buttonm 62 20 412 4 "" 46 49            //   return
buttonsi 62 S                              //silence standard outputs
buttonprv 62 "\xC1\x05" R                  //   return
sc F2F3F3 000000    // set screen fore , back colors
buttonm 84 20 100 4 "`1`" 27 28         //   system drain
buttonsi 84 S                              //silence standard outputs
buttonprv 84 "\xC1\x69" R                  //   system drain
buttonm 85 20 170 4 "`2`" 27 28         //   RTC reading
buttonsi 85 S                              //silence standard outputs
buttonprv 85 "\xC1\x6D" R                  //   RTC reading
sc 000000 F2F3F3    // set screen fore , back colors
scupdate
setguibk 0
#end

#define display_system_drain_screen_247
setguibk 1                              // background mode
macro screen_clear_1                    // clear everything and set defaults
ta 2 12                                 // center center
t "`0`" 400 50                             //system drain menu  ( page title )
buttonm 25 13 13 4 "" 37 37             // logo
buttonsi 25 S                              //silence standard outputs
buttonprv 25 "\xC1\x7F" R                  // logo
buttonm 62 20 412 4 "" 46 49            //   return
buttonsi 62 S                              //silence standard outputs
buttonprv 62 "\xC1\x68" R                  //   return
sc F2F3F3 000000                        // set screen fore , back colors
buttonm 84 295 100 4 "`1`" 27 28        //   start/pause drain
buttonsi 84 S                              //silence standard outputs
buttonprv 84 "\xC1\x6A" R                  //   system drain
buttonl 85 295 170 0 "`2`" "`3`" 27 28  //   enable pump
buttonsi 85 S                              //silence standard outputs
buttonprv 85 "\xC1\x6B" P                  //   system drain
buttonprv 85 "\xC1\x6C" R                  //   system drain
sc 000000 F2F3F3                        // set screen fore , back colors
ta 1 0                                  // right top
t "`4`" 700 100                         // steam pressure
ta 1 0                                  // right top
t "`5`" 700 130                         // steam tank fill status
ta 1 0                                  // right top
t "`6`" 700 160                         // tank temperature
#end

#define display_system_drain_key_247_1
widgetdel 25                             // disable the logo button
rect 13 13 151 51 1 F2F3F3               // overwrite the logo
widgetdel 62                             // disable the back button
rect 20 412 95 462 1 F2F3F3              // overwrite the back key
widgetdel 84                             // delete the start button
sc F2F3F3 000000                         // set screen fore , back colors
buttonm 84 295 100 4 "`0`" 27 28         // continue/pause drain
buttonsi 84 S                              // silence standard outputs
buttonprv 84 "\xC1\x6A" R                  //
sc 000000 F2F3F3                         // set screen fore , back colors
#end

#define system_drain_monitor_data_247_3
ta 0 0                // left top
t "`0`   " 710 100    //steam pressure
ta 0 0                // left top
t "`1`   " 710 130    //steam tank fill status
ta 0 0                // left top
t "`2`   " 710 160    //brew tank temperature
#end

#define display_milk_drain_key_247_4
sc F2F3F3 000000    // set screen fore , back colors
buttonl 86 78 170 0 "`0`" "`1`" 27 28  //   open Milk valves
buttonsi 86 S                              //   silence standard outputs
buttonprv 86 "\xC1\x6E" P                  //   milk drain
buttonprv 86 "\xC1\x6F" R                  //   milk drain
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_system_drain_prompt1_247_5
ta 0 0                                      // left top
t "`0` `1`" 115 315                          // prompt line 1
ta 0 0                                      // left top
t "`2` `3`" 115 340                          // prompt line 2
#end

#define display_system_drain_prompt2_247_6
ta 0 0                                      // left top
t "`0` `1`" 115 365                          // prompt line 3
ta 0 0                                      // left top
t "`2` `3`" 115 390                          // prompt line 4
#end

#define display_system_drain_prompt3_247_7
ta 0 0                                      // left top
t "`0` `1`" 115 415                          // prompt line 5
ta 0 0                                      // left top
t "`2` `3`" 115 440                          // prompt line 6
#end

#define error_remove_up_down_arrows_248
widgetdel 10   // up arrow
widgetdel 11   // down arrow
rect 623 96 773 164 1 d6d6d6          // filled rectangle for status
#end

#define error_add_up_down_arrows_249
widgetdel 10   // up arrow
widgetdel 11   // down arrow
buttonm 10 625 98 1 "" 31 32            // up arrow
buttonsi 10 S                             // silence standard outputs
buttonprv 10 "\xC5\x10" P                 // up arrow
buttonm 11 705 98 1 "" 29 30            // down arrow
buttonsi 11 S                             // silence standard outputs
buttonprv 11 "\xC5\x11" P                 // down arrow
#end

#define error_up_arrow_250
widgetdel 10   // up arrow
widgetdel 11   // down arrow
rect 623 96 773 164 1 d6d6d6          // filled rectangle for status
buttonm 10 625 98 1 "" 31 32            // up arrow
buttonsi 10 S                             // silence standard outputs
buttonprv 10 "\xC5\x10" P                 // up arrow
#end

#define error_down_arrow_251
widgetdel 10   // up arrow
widgetdel 11   // down arrow
rect 623 96 773 164 1 d6d6d6          // filled rectangle for status
buttonm 11 705 98 1 "" 29 30            // down arrow
buttonsi 11 S                             // silence standard outputs
buttonprv 11 "\xC5\x11" P                 // down arrow
#end

#define energy_saver_setup_screen_252
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
ta 2 12                                 // center center
t "`0`" 400 50                          // energy saver  ( page title )
buttonm 25 13 13 4 "" 37 37             // BUNN
buttonsi 25 S
buttonprv 25 "\x89\x10" R
sc F2F3F3 000000    // set screen fore , back colors
buttonm 10 563 406 4 "`1`" 23 24        // save
buttonsi 10 S
buttonprv 10 "\x89\x11" R
buttonm 11 381 406 4 "`2`" 23 24        // cancel
buttonsi 11 S
buttonprv 11 "\x89\x12" R
buttonm 12 199 406 4 "`3`" 23 24        // default
buttonsi 12 S
buttonprv 12 "\x89\x13" R
sc 000000 F2F3F3    // set screen fore , back colors
macro large_data_value_input_button_430_01 15 20 100 `4` "\x89\x16" " "    // enable
macro data_value_input_button_430 16 20 170 `5` "\x89\x17" `6`    // saver water temp
macro data_value_input_button_430 17 20 240 `7` "\x89\x18" `8`    // saver steam pressure
#end

#define energy_saver_data_253
macro large_data_value_input_value_431_01 20 100 `0`     // enable
macro data_value_input_value_431 20 170 `1`     // saver water temp
macro data_value_input_value_431 20 240 `2`     // saver steam pressure
#end

#define display_rtc_reading_screen_254
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
ta 2 12                                 // center center
t "`0`" 400 50                             //system drain menu  ( page title )
buttonm 25 13 13 4 "" 37 37             // logo
buttonsi 25 S                              //silence standard outputs
buttonprv 25 "\xC1\x7F" R                  // logo
buttonm 62 20 412 4 "" 46 49            //   return
buttonsi 62 S                              //silence standard outputs
buttonprv 62 "\xC1\x68" R                  //   return
scupdate
setguibk 0
#end

#define rtc_display_255
ta 2 12                                   // center center
t "`0`" `3` 230
ta 2 12                                   // center center
t "`1`" `3` 255
ta 2 12                                   // center center
t "`2`" `3` 205
#end

#define energy_saver_blank_display_260
macro screen_clear_1  // clear everything and set defaults
BL 0                  // turn off backlight   (case sensitive)
buttonm 19 0 0 4 "" 1 1             // cancel
buttonsi 19 S
buttonprv 19 "\x89\x19" R
rect 0 0 799 479 1 000000           // enable energy saver
#end

#define set_display_backlight_261
BL `0`                  // set backlight level  (case sensitive)
#end

#define load_default_milk_options_262
sc 444444 F2F3F3    // set screen fore , back colors
pen 1
line 0 69 251 69    // line to separate top of milk options
sc 000000 F2F3F3    // set screen fore , back colors
disimg `4` 0 72                        // "size"      text
disimg `5` 128 242                     // "milk temp" text
buttonl   90 0  98 1 "" "" 144 145      // small drink
buttonsi  90 S                          // silence standard outputs
buttonprv 90 "\x8A\x5A" P               // small drink - press
widgetdel 90
buttonl   91 0 169 0 "" "" 138 139      // medium drink
buttonsi  91 S                          // silence standard outputs
buttonprv 91 "\x8A\x5B" P               // medium drink - press
buttonl   92 0 240 0 "" "" 132 133      // large drink
buttonsi  92 S                          // silence standard outputs
buttonprv 92 "\x8A\x5C" P               // large drink - press
buttonl   95 128 268 1 "" "" `0` `1`      // hot drink
buttonsi  95 S                         // silence standard outputs
buttonprv 95 "\x8A\x5F" P              // hot drink - press
widgetdel 95
buttonl   96 128 339 0 "" "" `2` `3`      // cold drink
buttonsi  96 S                         // silence standard outputs
buttonprv 96 "\x8A\x60" P              // cold drink - press
#end

#define deactivate_milk_option_buttons_262_02
widgetdel 90    // small drink
widgetdel 91    // medium drink
widgetdel 92    // large drink
widgetdel 93    // milk 1
widgetdel 94    // milk 2
widgetdel 95    // hot drink
widgetdel 96    // cold drink
#end

#define deactivate_syrup_buttons_262_03
widgetdel 97    // syrup
#end

#define load_default_single_milk_options_262_04
sc 444444 F2F3F3    // set screen fore , back colors
pen 1
line 0 69 251 69    // line to separate top of milk options
sc 000000 F2F3F3    // set screen fore , back colors
disimg `4` 0 72                        // "size"      text
disimg `5` 128 72                     // "milk temp" text
buttonl   90 0  98 1 "" "" 144 145      // small drink
buttonsi  90 S                          // silence standard outputs
buttonprv 90 "\x8A\x5A" P               // small drink - press
widgetdel 90
buttonl   91 0 169 0 "" "" 138 139      // medium drink
buttonsi  91 S                          // silence standard outputs
buttonprv 91 "\x8A\x5B" P               // medium drink - press
buttonl   92 0 240 0 "" "" 132 133      // large drink
buttonsi  92 S                          // silence standard outputs
buttonprv 92 "\x8A\x5C" P               // large drink - press
buttonl   95 128 98 1 "" "" `0` `1`      // hot drink
buttonsi  95 S                         // silence standard outputs
buttonprv 95 "\x8A\x5F" P              // hot drink - press
widgetdel 95
buttonl   96 128 169 0 "" "" `2` `3`      // cold drink
buttonsi  96 S                         // silence standard outputs
buttonprv 96 "\x8A\x60" P              // cold drink - press
#end

#define update_drink_size_options_263
widgetdel `0`   // delete new button to deactivate it
widgetenb `1`   // re-enable previous selected button
buttonl   `1` `2` `3` 0 "" "" `4` `5`      // hot drink
buttonsi  `1` S                         // silence standard outputs
buttonprv `1` "`6`" P              // hot drink - press
#end

#define load_syrup_button_264
disimg `0` 0 313                        // syrup "text"
buttonl   97 0 339 0 "" "" 147 148      // syrup
buttonsi  97 S                          // silence standard outputs
buttonprv 97 "\x8A\x61" P               // syrup - press
buttonprv 97 "\x8A\x62" R               // syrup - release
#end

#define load_milk_buttons_264_01
buttonl   93 128 98 1 "" "" `0` `1`      // big cow
buttonsi  93 S                         // silence standard outputs
buttonprv 93 "\x8A\x5D" P              // big cow - press
widgetdel 93
buttonl   94 128 169 0 "" "" `2` `3`      // little cow
buttonsi  94 S                         // silence standard outputs
buttonprv 94 "\x8A\x5E" P              // little cow - press
disimg `4` 128 72                        // "size milk type" "text"
#end

#define display_bunnlink_signal_265
o `0` `1`                       // move the origin to the upper left of the area
rect 0 0 25 20 1 `2`            // boarders
rect 30 0 55 20 1 `2`
rect 60 0 85 20 1 `2`
rect 90 0 115 20 1 `2`
rect 120 0 145 20 1 `2`
rect 3 3 22 17 1 `3`            // fill
rect 33 3 52 17 1 `4`
rect 63 3 82 17 1 `5`
rect 93 3 112 17 1 `6`
rect 123 3 142 17 1 `7`
o 0 0                           // reset the origin to the upper left
#end

#define display_bunnlink_signal_test_266
ta 0 0                // left top
t "`2`" `0` `1`       // status as text
#end

#define display_bunnlink_status_screen_270
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
ta 2 12                                  // center center
t "`0`" 400 50                           // BUNNlink Status  ( page title )
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\x7F" R
buttonm 1 20 412 4 "" 46 49              // return arrow
buttonsi 1 S
buttonprv 1 "\xA1\x01" R
ta 1 12                                  // right center
t "`1`" 390 110                          // Connected
rect 410 100 435 120 1 000000            // Connection Status Outline
#end

#define display_bunnlink_status_labels_271
ta 1 12                                  // right center
t "`0`" 390 150                          // Type:
ta 1 12                                  // right center
t "`1`" 390 190                          // Version:
ta 1 12                                  // right center
t "`2`" 390 230                          // Serial Number:
ta 1 12                                  // right center
t "`3`" 390 270                          // Signal Strength:
ta 1 12                                  // right center
t "`4`" 390 310                          // Cloud Link:
ta 1 12                                  // right center
t "`5`" 390 350                          // Up Link:
ta 1 12                                  // right center
t "`6`" 390 390                          // Down Link:
rect 410 300 435 320 1 000000            // Connection Status Outline
rect 410 340 435 360 1 000000            // Connection Status Outline
rect 410 380 435 400 1 000000            // Connection Status Outline
#end

#define update_bunnlink_connect_272
rect 413 103 432 117 1 `0`            // Connection Status White/Green
#end

#define update_bunnlink_connect_data_273
ta 0 12                                  // left center
t "`0`" 410 150                          // Type:
ta 0 12                                  // left center
t "`1`" 410 190                          // Version:
ta 0 12                                  // left center
t "`2`" 410 230                          // Serial Number:
#end

#define update_bunnlink_status_274
rect 413 303 432 317 1 `0`               // Cloud Link Status Green/White
rect 413 343 432 357 1 `1`               // Up Status Green/White
rect 413 383 432 397 1 `2`               // Down Status Green/White
#end

#define display_bunnlink_activate_275
sc F2F3F3 000000    // set screen fore , back colors
buttonm 2 600 100 4 "`0`" 23 24          // activate button
buttonsi 2 S
buttonprv 2 "\xA1\x02" R
#end

#define remove_bunnlink_activate_276
widgetdel 2
rect 600 100 775 160 1 F2F3F3            // clear remaining graphic
#end

#define regional_settings_value_buttons_277
macro large_data_value_input_button_430_01 80 20 270 `0` "\x84\x10" `1`
macro large_data_value_input_button_430_01 81 400 270 `2` "\x84\x11" `3`
#end

#define regional_settings_values_278
macro large_data_value_input_value_431_01 20 270 `0`
macro large_data_value_input_value_431_01 400 270 `1`
#end

#define setup_statistics_buttons_300
setguibk 1
macro screen_clear_1  // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37       // BUNN
sc F2F3F3 000000    // set screen fore , back colors
buttonl 85 30 70 0 "`0`" "`0`" 27 28     // cycle counts
buttonl 86 250 70 0 "`1`" "`1`" 27 28      // water usage
buttonl 87 30 270 0 "`2`" "`2`" 27 28      // left grinder
buttonl 88 30 170 0 "`3`" "`3`" 27 28     // right grinder
buttonl 89 470 70 0 "`4`" "`4`" 27 28      // steam time
buttonl 90 250 170 0 "`5`" "`5`" 27 28      // clean cycles
buttonl 91 250 270 0 "`6`" "`6`" 27 28     // clean cycle errors
buttonm 92 602 400 4 "`7`" 23 24           // lifetime totals
buttonm 62 20 412 4 "" 46 49               // Home
buttonm 93 312 400 4 "`8`" 23 24           // reset
buttonsi 25 S                           // silence standard outputs
buttonsi 62 S                           // BUNN
buttonsi 85 S                           // cycle counts
buttonsi 86 S                           // water usage
buttonsi 87 S                           // left grinder
buttonsi 88 S                           // right grinder
buttonsi 89 S                           // steam time
buttonsi 90 S                           // clean cycles
buttonsi 91 S                           // clean cycle errors
buttonsi 92 S                           // lifetime totals
buttonsi 93 S                           // reset
buttonprv 25 "\x7F" R                   // BUNN
buttonprv 62 "\xBC" R                   // Home to menu options
buttonprv 85 "\xC8\x02" R               // cycle counts
buttonprv 86 "\xC8\x03" R               // water usage
buttonprv 87 "\xC8\x04" R               // left grinder
buttonprv 88 "\xC8\x05" R               // right grinder
buttonprv 89 "\xC8\x06" R               // steam time
buttonprv 90 "\xC8\x07" R               // clean cycles
buttonprv 91 "\xC8\x08" R               // clean cycle errors
buttonprv 92 "\xC8\x21" R               // lifetime totals screen
buttonprv 93 "\xC8\x20" R               // reset
buttonprv 85 "\xC8\x12" P               // cycle counts
buttonprv 86 "\xC8\x13" P               // water usage
buttonprv 87 "\xC8\x14" P               // left grinder
buttonprv 88 "\xC8\x15" P               // right grinder
buttonprv 89 "\xC8\x16" P               // steam time
buttonprv 90 "\xC8\x17" P               // clean cycles
buttonprv 91 "\xC8\x18" P               // clean cycle errors
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define setup_statistics_milk_1_buttons_300_01
sc F2F3F3 000000    // set screen fore , back colors
buttonl 94 470 170 0 "`0`" "`0`" 27 28  // Milk 1
buttonsi 94 S                           // Milk 1
buttonprv 94 "\xC8\x09" R               // Milk 1
buttonprv 94 "\xC8\x19" P               // Milk 1
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define setup_statistics_milk_2_buttons_300_02
sc F2F3F3 000000    // set screen fore , back colors
buttonl 95 470 270 0 "`0`" "`0`" 27 28  // Milk 2
buttonsi 95 S                           // Milk 2
buttonprv 95 "\xC8\x0A" R               // Milk 2
buttonprv 95 "\xC8\x1A" P               // Milk 2
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define setup_statistics_labels_301
ta 2 12             // center center
t "`0`" 400 50      // machine statistics  ( page title )
ta 2 12             // center center
t "`1`" 400 380     // press button to reset counts
#end

#define update_cycle_counts_302
ta 2 12   // center center
t "                            " 135 145
ta 2 12
t "`0`" 135 145
#end

#define update_water_usage_303
ta 2 12  // center center
t "                            " 365 145
ta 2 12
t "`0`" 365 145
#end

#define update_left_grinder_counts_304
ta 2 12   // center center
t "                            " 135 345
ta 2 12
t "`0`" 135 345
#end

#define update_right_grinder_counts_305
ta 2 12    // center center
t "                            " 135 245
ta 2 12
t "`0`" 135 245
#end

#define update_steam_time_306
ta 2 12   // center center
t "                            " 575 145
ta 2 12
t "`0`" 575 145
#end

#define update_clean_cycles_307
ta 2 12   // center center
t "                            " 365 245
ta 2 12
t "`0`" 365 245
#end

#define update_clean_cycle_errors_308
ta 2 12   // center center
t "                            " 365 345
ta 2 12
t "`0`" 365 345
#end

#define statistics_lifetime_totals_309
setguibk 1
macro screen_clear_1   // clear everything and set defaults
ta 2 12                // center center
t "`0`" 400 50         // lifetime totals  ( page title )
buttonm 25 13 13 4 "" 37 37   // BUNN
buttonm 62 20 412 4 "" 46 49  // Home
ta 0 12         // left center
t "`1`" 50 100  //cycle counts
ta 0 12         // left center
t "`2`" 50 160  //steam time
ta 0 12         // left center
t "`3`" 50 130  //water usage
ta 0 12         // left center
t "`4`" 50 190  //left grinder
ta 0 12         // left center
t "`5`" 50 220  //right grinder
ta 0 12         // left center
t "`6`" 50 250  //clean cycles
ta 0 12         // left center
t "`7`" 50 280  //clean cycle interrupted
buttonsi 25 S           // silence standard outputs
buttonsi 62 S           // Home
buttonprv 25 "\x7F" R   // BUNN
buttonprv 62 "\x9C" R   // Home to statistics screen
#end

#define statistics_lifetime_milk_1_totals_309_01
ta 0 12         // left center
t "`0`" 50 310  // milk 1
#end

#define statistics_lifetime_milk_2_totals_309_02
ta 0 12         // left center
t "`0`" 50 340  // milk 2
#end

#define statistics_data_310
ta 2 12             // center center
t "  `0`  " 135 145 // cycle counts integer
ta 2 12             // center center
t "  `1`  " 365 145 // water usage gal or liter
ta 2 12             // center center
t "  `2`  " 135 345 // left grinder counts integer
ta 2 12             // center center
t "  `3`  " 135 245 // right grinder counts integer
ta 2 12             // center center
t "  `4`  " 575 145 // steam time sec
ta 2 12             // center center
t "  `5`  " 365 245 // clean cycles integer
ta 2 12             // center center
t "  `6`  " 365 345 // clean cycle errors integer
#end

#define statistics_milk_1_data_310_01
ta 2 12             // center center
t "  `0`  " 575 245 // milk 1 integer
#end

#define update_statistics_milk1_usage_310_02
ta 2 12             // center center
t "  `0`  " 575 245 // milk 1 integer
#end

#define update_statistics_milk2_usage_310_03
ta 2 12             // center center
t "  `0`  " 575 345 // milk 2 integer
#end

#define statistics_milk_2_data_310_04
ta 2 12             // center center
t "  `0`  " 575 345 // milk 2 integer
#end

#define statistics_lifetime_totals_data_311
ta 0 12             // left center
t "`0`" 410 100     //cycle counts
ta 0 12            // left center
t "`1`" 410 160     //steam time
ta 0 12            // left center
t "`2`" 410 130     //water usage
ta 0 12            // left center
t "`3`" 410 190     //left grinder
ta 0 12            // left center
t "`4`" 410 220     //right grinder
ta 0 12            // left center
t "`5`" 410 250     //clean cycles
ta 0 12            // left center
t "`6`" 410 280     //clean cycle interrupted
#end

#define statistics_lifetime_milk_1_totals_data_311_01
ta 0 12             // left center
t "`0`" 410 310     // milk 1
#end

#define statistics_lifetime_milk_2_totals_data_311_02
ta 0 12             // left center
t "`0`" 410 340     // milk2
#end

#define statistics_popup_312
setbls 85 0 //pop cycle counts up
setbls 86 0 //pop water usage up
setbls 87 0 //pop left grinder up
setbls 88 0 //pop right grinder up
setbls 89 0 //pop steqm time up
setbls 90 0 //pop clean cycles up
setbls 91 0 //pop clean cycle errors up
#end

#define statistics_milk_popup_312_01
setbls 94 0 //pop milk1 up
setbls 95 0 //pop milk2 up
#end

#define update_statistics_life_cycle_counts_313
ta 0 12   // left center
t "`0`                    " 250 100
#end

#define update_statistics_life_steam_time_314
ta 0 12   // left center
t "`0`                    " 250 160
#end

#define update_statistics_life_water_usage_315
ta 0 12   // left center
t "`0`                    " 250 130
#end

#define update_statistics_life_left_grinder_316
ta 0 12   // left center
t "`0`                    " 250 190
#end

#define update_statistics_life_right_grinder_317
ta 0 12   // left center
t "`0`                    " 250 220
#end

#define update_statistics_life_clean_cycles_318
ta 0 12   // left center
t "`0`                    " 250 250
#end

#define update_statistics_life_clean_cycle_errors_319
ta 0 12   // left center
t "`0`                    " 250 280
#end

#define reminders_setup_buttons_330
setguibk 1
macro screen_clear_1                // clear everything and set defaults
sc F2F3F3 000000    // set screen fore , back colors
buttonm 25 13 13 4 "" 37 37         // logo
buttonsi 25 S
buttonprv 25 "\x7F" R
buttonm 62 20 412 4 "" 46 49        // return
buttonsi 62 S
buttonprv 62 "\xCA\x50" R           // return to advanced menu options
buttonm 56 295 100 4 "`0`" 27 28    // preventive maintenance
buttonsi 56 S
buttonprv 56 "\xCA\x21" R
buttonm 58 295 210 4 "`1`" 27 28    // water filter
buttonsi 58 S
buttonprv 58 "\xCA\x22" R
buttonm 60 295 320 4 "`2`" 27 28    // cleaning
buttonsi 60 S
buttonprv 60 "\xCA\x23" R
sc 000000 F2F3F3    // set screen fore , back colors
ta 2 12                             // center center
t "`3`" 400 50                      // reminders setup ( page title )
scupdate
setguibk 0
#end

#define setup_reminders_page_331
setguibk 1
macro screen_clear_1                   // clear everything and set defaults
sc 000000 F2F3F3    // set screen fore , back colors
buttonm 25 13 13 4 "" 37 37            // BUNN
buttonprv 25 "\x7F" R              // output 7Fh
buttonsi 25 S                        // silence standard output
ta 2 12             // center center
t "`0`" 400 50      // reminders  ( page title )
ta 0 12                     // left center
t "`1`" 400 102      // Remaining
buttonm 62 20 412 4 "" 46 49       // Home
buttonprv 62 "\xC9\x50" R           // return to menu options
buttonsi 62 S
scupdate
setguibk 0
#end

#define update_reminder_name_333
ta 1 12                     // right center
t "`1`" 350 `0`
#end

#define update_reminder_value_334
ta 0 12                     // left center
t "`1`" 400 `0`
#end

#define update_water_filter_335
ta 2 12   // center center
t "                            " 400 256
ta 2 12
t "`0`" 400 256
#end

#define reminders_setup_336
ta 2 12             // center center
t "`0`" 610 102      // Setup
#end

#define reminders_setup_prev_maint_337
ta 2 12             // center center
t "`0`" 610 143      // prev maint setup
#end

#define reminders_setup_water_filter_338
ta 2 12             // center center
t "`0`" 610 256      // water filter Setup
#end

#define reminder_setup_init_339
setguibk 1
macro screen_clear_1            // clear everything and set defaults
sc F2F3F3 000000    // set screen fore , back colors
buttonm 25 13 13 4 "" 37 37     // BUNN
buttonprv 25 "\x7F" R       // BUNN
buttonsi 25 S
sc 000000 F2F3F3    // set screen fore , back colors
ta 2 12             // center center
t "`0`" 400 50      // preventive maintenance-water usage  ( page title )
#end

#define reminder_setup_default_cancel_save_01_339
sc F2F3F3 000000    // set screen fore , back colors
buttonm 1 590 406 4 "`0`" 23 24         // save values
buttonsi 1 S                            // silence standard outputs
buttonprv 1 "\xCA\x05" R                // save values
buttonm 2 400 406 4 "`1`" 23 24         // cancel
buttonsi 2 S                            // silence standard outputs
buttonprv 2 "\xCA\x09" R                // cancel
buttonm 3 210 406 4 "`2`" 23 24          // default
buttonsi 3 S                            // silence standard outputs
buttonprv 3 "\xCA\x08" R                // default
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define remove_default_02_339
widgetdel 3                    // default
rect 209 405 385 465 1 F2F3F3  // filled rectangle for clearing button image
#end

#define reminder_setup_duration_values_03_339
sc 000000 F2F3F3    // set screen fore , back colors
macro large_data_value_input_value_431_01 20 165 `0`  // duration "units"
macro large_data_value_input_value_431_01 20 235 `1`  // duration value
macro large_data_value_input_button_430_01 57 20 165 `2` "\xCA\x02" " "  // end
macro large_data_value_input_button_430_01 58 20 235 `3` "\xCA\x03" " "  // end
#end

#define reminder_setup_cycles_value_n_button_04_339   // used with both durations
macro large_data_value_input_value_431_01 20 305 `0`  // cycles value
macro large_data_value_input_button_430_01 59 20 305 `1` "\xCA\x06" " "  // cycles button
#end

#define reminder_setup_enable_button_05_339
macro large_data_value_input_button_430_01 56 20 95  `0` "\xCA\x01" " "  // end
macro large_data_value_input_value_431_01 20 95  `1`  // enable reminder value
#end

#define reminder_setup_reset_button_06_339
sc F2F3F3 000000    // set screen fore , back colors
buttonm 93 500 235 4 "`0`" 23 24   // reset
buttonprv 93 "\xCA\x04" R          // reset
buttonsi 93 S
sc 000000 F2F3F3    // set screen fore , back colors
ta 2 12             // center center
t "`1`" 586 140      // remaining
ta 2 12             // center center
t "`2`" 586 185      // value lable
#end

#define reminder_setup_reset_button_with_two_remaining_lines_07_339
sc F2F3F3 000000    // set screen fore , back colors
buttonm 93 500 235 4 "`0`" 23 24   // reset
buttonprv 93 "\xCA\x04" R          // reset
buttonsi 93 S
sc 000000 F2F3F3    // set screen fore , back colors
ta 2 12             // center center
t "`1`" 586 140      // remaining
ta 2 12             // center center
t "`2`" 586 170      // value lable
ta 2 12             // center center
t "`3`" 586 200      // value lable
#end


#define reminder_setup_cleaning_schedule_buttons_340
macro large_data_value_large_input_button_430_02 10 20 100 `0` "\xCA\x10" " "   // cleaning schedule type
macro large_data_value_large_input_button_430_02 11 20 200 `1` "\xCA\x11" " "   // secondary cleaning
#end

#define reminder_setup_cleaning_schedule_values_341
macro large_data_value_input_value_with_large_button_431_02 20 100 `0`    // cleaning schedule type
macro large_data_value_input_value_with_large_button_431_02 20 200 `1`    // secondary cleaning
#end

#define reminder_setup_cleaning_secondary_type_button_01_342
macro large_data_value_large_input_button_430_02 12 20 270 `0` "\xCA\x12" " "   // secondary cleaning type button
#end

#define reminder_setup_cleaning_secondary_type_value_02_342
macro large_data_value_input_value_with_large_button_431_02 20 270 `0`    // secondary cleaning type value
#end

#define reminder_setup_cleaning_secondary_type_clear_03_342
widgetdel 12
rect 20 270 380 340 1 F2F3F3         // filled rectangle to hide the button
#end

#define reminder_setup_cleaning_secondary_type_label_04_342
macro reminder_setup_cleaning_secondary_type_clear_03_342
macro reminder_setup_cleaning_secondary_time_clear_03_344
ta 2 12             // center center
t "`0`" 125 301    // secondary cleaning type label
//o 20 270                        // set the origin
//rect 218 14 338 44 0 000000     // rectangle around data
//o 0 0                           // put the origin back
#end

#define reminder_setup_cleaning_primary_time_button_01_343
macro data_value_large_input_button_430_03 13 400 100 `0` "\xCA\x13" " "   // primary time button
#end

#define reminder_setup_cleaning_primary_time_value_02_343
macro data_value_input_value_with_large_button_431_03 400 100 `0`    // primary time value
#end

#define reminder_setup_cleaning_primary_time_clear_03_343
widgetdel 13
widgetdel 14                          // deactivate the primary_meridiem_button
rect 400 100 780 170 1 F2F3F3         // filled rectangle to hide the primary time button
#end


#define reminder_setup_cleaning_secondary_time_button_01_344
macro data_value_large_input_button_430_03 15 400 270 `0` "\xCA\x15" " "   // secondary time button
#end

#define reminder_setup_cleaning_secondary_time_value_02_344
macro data_value_input_value_with_large_button_431_03 400 270 `0`    // secondary time value
#end

#define reminder_setup_cleaning_secondary_time_clear_03_344
widgetdel 15
widgetdel 16                          // deactivate the secondary_meridiem_button
rect 400 270 780 340 1 F2F3F3         // filled rectangle to hide the secondary time button
#end

#define reminder_setup_cleaning_secondary_cups_button_01_345
macro data_value_large_input_button_430_03 17 400 270 `0` "\xCA\x17" " "   // secondary cups button
#end

#define reminder_setup_cleaning_secondary_cups_value_02_345
macro data_value_input_value_with_large_button_431_03 400 270 `0`    // secondary cups value
#end

#define reminder_setup_cleaning_secondary_cups_clear_03_345
widgetdel 17
rect 400 270 780 340 1 F2F3F3         // filled rectangle to hide the secondary cups button
#end

#define reminder_setup_cleaning_secondary_meridiem_button_01_346
sc F2F3F3 000000    // set screen fore , back colors
widgetdel 16
buttonm 16 703 270 4 "`0`" 47 48   // primary_meridiem_button
buttonsi 16 S
buttonprv 16 "\xCA\x16" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define reminder_setup_cleaning_primary_meridiem_button_01_347
sc F2F3F3 000000    // set screen fore , back colors
widgetdel 14
buttonm 14 703 100 4 "`0`" 47 48   // primary_meridiem_button
buttonsi 14 S
buttonprv 14 "\xCA\x14" R
sc 000000 F2F3F3    // set screen fore , back colors
#end












#define cupcount_reset_init_357
setguibk 1
macro screen_clear_1                    // clear everything and set defaults
rect 0 0 799 479 1 000000                             // background
buttonm 1 0 0 4 "" 15 16              // BUNN
buttonsi 1 S                          // silence standard outputs
buttonprv 1 "\x7F" R                  // BUNN
buttonm 2 20 412 4 "" 46 49           // return arrow
buttonsi 2 S
buttonprv 2 "\xBC" R                  // return arrow
sc F2F3F3 000000                     // white text everywhere else
buttonm 20 620 411 4 "`1`" 23 24      //reset, same for right and left
buttonsi 20 S
buttonprv 20 "\xC7\x35" R            // reset
buttonl   21 256 411 0 "`3`" "`4`" 23 24  // daily cupcount / lifetime cupcounts
buttonsi  21 S                            // daily cupcount / lifetime cupcounts
buttonprv 21 "\xC7\x5E" P                 // daily cupcount / lifetime cupcounts
buttonprv 21 "\xC7\x5F" R                 // daily cupcount / lifetime cupcounts
tm 2                                  //transparent
ta 2 12                              // center center
t "`0`" 710 36                      // cupcounts  title
ta 2 12                              // center center
t "`2`" 529 435   //text on how to reset
#end

#define load_cup_count_milk_options_02_357
sc 444444 F2F3F3    // set screen fore , back colors
pen 1
line 0 69 251 69    // line to separate top of milk options
sc 000000 F2F3F3    // set screen fore , back colors
disimg `8` 0 72                         // "size milk" "text"
disimg `9` 128 242                      // "milk temp" "text"
disimg `10` 128 72                      // "milk type" "text"
buttonl   90 0  98 1 "" "" 144 145      // small drink
buttonsi  90 S                          // silence standard outputs
buttonprv 90 "\xC7\x50" P               // small drink - press
buttonprv 90 "\xC7\x51" R               // small drink - press
buttonl   91 0 169 1 "" "" 138 139      // medium drink
buttonsi  91 S                          // silence standard outputs
buttonprv 91 "\xC7\x52" P               // medium drink - press
buttonprv 91 "\xC7\x53" R               // medium drink - press
buttonl   92 0 240 1 "" "" 132 133      // large drink
buttonsi  92 S                          // silence standard outputs
buttonprv 92 "\xC7\x54" P               // large drink - press
buttonprv 92 "\xC7\x55" R               // large drink - press
buttonl   93 128 98 1 "" "" `0` `1`      // big cow
buttonsi  93 S                         // silence standard outputs
buttonprv 93 "\xC7\x56" P              // big cow - press
buttonprv 93 "\xC7\x57" R              // big cow - press
buttonl   94 128 169 1 "" "" `2` `3`      // little cow
buttonsi  94 S                         // silence standard outputs
buttonprv 94 "\xC7\x58" P              // little cow - press
buttonprv 94 "\xC7\x59" R              // little cow - press
buttonl   95 128 268 1 "" "" `4` `5`      // hot drink
buttonsi  95 S                         // silence standard outputs
buttonprv 95 "\xC7\x5A" P              // hot drink - press
buttonprv 95 "\xC7\x5B" R              // hot drink - press
buttonl   96 128 339 1 "" "" `6` `7`      // cold drink
buttonsi  96 S                         // silence standard outputs
buttonprv 96 "\xC7\x5C" P              // cold drink - press
buttonprv 96 "\xC7\x5D" R              // cold drink - press
#end

#define load_cup_count_single_milk_options_03_357
sc 444444 F2F3F3    // set screen fore , back colors
pen 1
line 0 69 251 69    // line to separate top of milk options
sc 000000 F2F3F3    // set screen fore , back colors
disimg `4` 0 72                         // "size milk" "text"
disimg `5` 128 72                      // "milk temp" "text"
buttonl   90 0  98 1 "" "" 144 145      // small drink
buttonsi  90 S                          // silence standard outputs
buttonprv 90 "\xC7\x50" P               // small drink - press
buttonprv 90 "\xC7\x51" R               // small drink - press
buttonl   91 0 169 1 "" "" 138 139      // medium drink
buttonsi  91 S                          // silence standard outputs
buttonprv 91 "\xC7\x52" P               // medium drink - press
buttonprv 91 "\xC7\x53" R               // medium drink - press
buttonl   92 0 240 1 "" "" 132 133      // large drink
buttonsi  92 S                          // silence standard outputs
buttonprv 92 "\xC7\x54" P               // large drink - press
buttonprv 92 "\xC7\x55" R               // large drink - press
buttonl   95 128 98 1 "" "" `0` `1`      // hot drink
buttonsi  95 S                         // silence standard outputs
buttonprv 95 "\xC7\x5A" P              // hot drink - press
buttonprv 95 "\xC7\x5B" R              // hot drink - press
buttonl   96 128 169 1 "" "" `2` `3`      // cold drink
buttonsi  96 S                         // silence standard outputs
buttonprv 96 "\xC7\x5C" P              // cold drink - press
buttonprv 96 "\xC7\x5D" R              // cold drink - press
#end

#define cupcount_reset_right_358
buttonm 3 438 0 4 "" `9` `10`        // right tab
buttonm 4 256 0 4 "" `11` `12`        // left tab
buttonsi 4 S
buttonprv 4 "\xC7\x32" R          // left tab
disimg `0` 256 72  // button 1
disimg `1` 438 72  // button 2
disimg `2` 620 72  // button 3
disimg `3` 256 185 // button 4
disimg `4` 438 185 // button 5
disimg `5` 620 185 // button 6
disimg `6` 256 298 // button 7
disimg `7` 438 298 // button 8
disimg `8` 620 298 // button 9
#end

#define cupcount_reset_left_359
buttonm 3 438 0 4 "" `9` `10`            // right tab
buttonsi 3 S
buttonprv 3 "\xC7\x31" R              // right tab
buttonm 4 256 0 4 "" `11` `12`            // left tab
disimg `0` 256 72  // button 1
disimg `1` 438 72  // button 2
disimg `2` 620 72  // button 3
disimg `3` 256 185 // button 4
disimg `4` 438 185 // button 5
disimg `5` 620 185 // button 6
disimg `6` 256 298 // button 7
disimg `7` 438 298 // button 8
disimg `8` 620 298 // button 9
#end

#define cupcount_reset_data_360
sc F2F3F3 `9`     // white text on defined background
tm 0              // foreground and background colors
ta 2 12           // center center
t "        `0`        " 346 165 // button1 text
ta 2 12           // center center
t "        `1`        " 528 165 // button2 text
ta 2 12           // center center
t "        `2`        " 710 165 // button3 text
ta 2 12           // center center
t "        `3`        " 346 278 // button4 text
ta 2 12           // center center
t "        `4`        " 528 278 // button5 text
ta 2 12           // center center
t "        `5`        " 710 278 // button6 text
ta 2 12           // center center
t "        `6`        " 346 391 // button7 text
ta 2 12           // center center
t "        `7`        " 528 391 // button8 text
ta 2 12           // center center
t "        `8`        " 710 391 // button9 text
#end

#define cupcount_reset_all_362
buttonb 50 256 72 544 337 ""
buttonsi 50 S
buttonprv 50 "\xC7\x36" P              // all
#end

#define cupcount_remove_reset_button_363
widgetdel 20
rect 438 411 799 479 1 000000 // remove reset button and text
#end

#define cupcount_add_reset_button_364
sc F2F3F3 000000    // set screen fore , back colors
buttonm 20 620 411 4 "`0`" 23 24      //reset, same for right and left
buttonsi 20 S
buttonprv 20 "\xC7\x35" R            // reset
tm 2                                  //transparent
ta 2 12                              // center center
t "`1`" 529 435   //text on how to reset
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_service_milk_system_screen_400
macro screen_clear_1 // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37         // logo
buttonsi 25 S                         // silence standard outputs
buttonprv 25 "\xC3\x7F" R           // logo
buttonm 62 20 412 4 "" 46 49        //   Back
buttonsi 62 S                       // silence standard outputs
buttonprv 62 "\xC3\x01" R           //   Back
ta 2 12                             // center center
t "`0`" 400 50                      // milk system  ( page title )
#end

#define display_service_milk_system_buttons_401
sc F2F3F3 000000    // set screen fore , back colors
buttonl 80 20 100 `1` "`0`" "`0`" 27 28           // Rinse valve
buttonsi 80 S
buttonprv 80 "\xC3\x11" P
buttonprv 80 "\xC3\x21" R
buttonl 81 20 170 `3` "`2`" "`2`" 27 28           // Milk 1 valve
buttonsi 81 S
buttonprv 81 "\xC3\x12" P
buttonprv 81 "\xC3\x22" R
buttonl 82 20 240 `5` "`4`" "`4`" 27 28           // Small Orifice Valve
buttonsi 82 S
buttonprv 82 "\xC3\x13" P
buttonprv 82 "\xC3\x23" R
buttonm 83 20 310 5 "`6`" 27 28                   // Pump (no steam)
buttonsi 83 S
buttonprv 83 "\xC3\x14" P
buttonprv 83 "\xC3\x24" R

buttonl 84 240 100 `8` "`7`" "`7`" 27 28          // Dispense valve
buttonsi 84 S
buttonprv 84 "\xC3\x15" P
buttonprv 84 "\xC3\x25" R
buttonl 85 240 170 `10` "`9`" "`9`" 27 28         // Milk 2 valve
buttonsi 85 S
buttonprv 85 "\xC3\x16" P
buttonprv 85 "\xC3\x26" R
buttonl 86 240 240 `12` "`11`" "`11`" 27 28       // Large Orifice Valve
buttonsi 86 S
buttonprv 86 "\xC3\x17" P
buttonprv 86 "\xC3\x27" R
buttonm 87 240 310 5 "`13`" 27 28                 // Pump With Steam
buttonsi 87 S
buttonprv 87 "\xC3\x18" P
buttonprv 87 "\xC3\x28" R
buttonm 88 240 380 1 "`14`" 27 28                 // Pump Tick reset
buttonsi 88 S
buttonprv 88 "\xC3\x08" P
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_service_milk_rpm_buttons_402
macro data_value_input_button_430 90 460 310 `0` "\xC3\x30" `1`
macro data_value_input_value_431 460 310 `2`
#end

#define display_service_pop_button_404
setbls `0` 0                               // unlatch the given button
#end

#define service_milk_system_monitor_labels_406
ta 1 0              // right top
t "`0`" 700 70      //AC current
ta 1 0              // right top
t "`1`" 700 100     //DC current
ta 1 0              // right top
t "`2`" 700 130     //pump speed
ta 1 0              // right top
t "`3`" 700 160     //pump power
ta 1 0              // right top
t "`4`" 700 190     //pump ticks
ta 1 0              // right top
t "`5`" 700 220     //milk 1 sensor voltage
ta 1 0              // right top
t "`6`" 700 250     //milk 2 sensor voltage
#end

#define service_milk_system_monitor_data_407
ta 0 0                   // left top
t "`0`   " 710 70        //AC current
ta 0 0                   // left top
t "`1`   " 710 100       //DC current
ta 0 0                   // left top
t "`2`"    710 130       //pump speed
ta 0 0                   // left top
t "`3`     "    710 160  //pump power
ta 0 0                   // left top
t "`4`"    710 190       //pump counts
sc `7` F2F3F3            // text to given color for sensor 1 voltage
ta 0 0                   // left top
t "`5`" 710 220          //milk 1 sensor voltage
sc `8` F2F3F3            // text to given color for sensor 2 voltage
ta 0 0                   // left top
t "`6`" 710 250          //milk 2 sensor voltage
sc 000000 F2F3F3         // return to black text
#end


#define milk_settings_screen_410
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\x7F" R
ta 2 12                                  // center center
t "`0`" 400 50                           // milk settings ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 26 20 406 4 "`1`" 23 24          // NextPage
buttonsi 26 S
buttonprv 26 "\xA0\x04" R
buttonm 27 200 406 1 "`2`" 23 24         // defaults
buttonsi 27 S
buttonprv 27 "\xA0\x03" P
buttonm 28 380 406 4 "`3`" 23 24         // cancel
buttonsi 28 S
buttonprv 28 "\xA0\x01" R
buttonm 29 560 406 4 "`4`" 23 24          // save
buttonsi 29 S
buttonprv 29 "\xA0\x02" R
sc 000000 F2F3F3    // set screen fore , back colors
#end


#define milk_settings_hot_calib_buttons_pg1_411
sc F2F3F3 000000    // set screen fore , back colors
buttonm 72 20 235 4 "`0`" 27 28                  // Calibrate - Milk1, Hot , Milk
buttonsi 72 S
buttonprv 72 "\xA0\x32" R
buttonm 73 20 305 4 "`1`" 27 28                  // Calibrate - Milk1, Hot , Foam
buttonsi 73 S
buttonprv 73 "\xA0\x33" R
buttonm 76 380 235 4 "`2`" 27 28                  // Calibrate - Milk2, Hot , Milk
buttonsi 76 S
buttonprv 76 "\xA0\x36" R
buttonm 77 380 305 4 "`3`" 27 28                  // Calibrate - Milk2, Hot , Foam
buttonsi 77 S
buttonprv 77 "\xA0\x37" R
#end

#define milk_settings_cold_calib_buttons_pg1_02_411
sc F2F3F3 000000    // set screen fore , back colors
buttonm 70 20 95 4 "`0`" 27 28                   // Calibrate - Milk1, Cold, Milk
buttonsi 70 S
buttonprv 70 "\xA0\x30" R
buttonm 71 20 165 4 "`1`" 27 28                  // Calibrate - Milk1, Cold, Foam
buttonsi 71 S
buttonprv 71 "\xA0\x31" R
buttonm 74 380 95 4 "`2`" 27 28                   // Calibrate - Milk2, Cold, Milk
buttonsi 74 S
buttonprv 74 "\xA0\x34" R
buttonm 75 380 165 4 "`3`" 27 28                  // Calibrate - Milk2, Cold, Foam
buttonsi 75 S
buttonprv 75 "\xA0\x35" R
#end

#define milk_settings_value_buttons_pg2_412
macro data_value_input_button_430 63 380 95 `0` "\xA0\x23" `1`
sc F2F3F3 000000    // set screen fore , back colors
buttonm 65 380 165 4 "`2`" 27 28                 // Calibrate - Flush
buttonsi 65 S
buttonprv 65 "\xA0\x38" R
buttonm 66 20 165 4 "`3`" 27 28                 // rinse settings
buttonsi 66 S
buttonprv 66 "\xA0\x39" R
buttonm 67 20 235 4 "`4`" 27 28                // defrost settings
buttonsi 67 S
buttonprv 67 "\xA0\x3A" R
buttonm 68 20 95 4 "`5`" 27 28                 // Milk purge setting
buttonsi 68 S
buttonprv 68 "\xA0\x3B" R
buttonm 69 380 235 4 "`6`" 27 28                 // Calibrate dilution
buttonsi 69 S
buttonprv 69 "\xA0\x3D" R
buttonm 70 380 305 4 "`8`" 27 28                 // Calibrate milk sensor
buttonsi 70 S
buttonprv 70 "\xA0\x3E" R
sc 000000 F2F3F3    // set screen fore , back colors
macro large_data_value_input_button_430_01 64 20 305 `7` "\xA0\x24" " "
#end

#define milk_settings_values_pg2_413
macro data_value_input_value_431 380 95 `0`
macro large_data_value_input_value_431_01 20 305 `1`
#end


#define milk_rinse_settings_screen_420
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\x7F" R
ta 2 12                                  // center center
t "`0`" 400 50                           // milk settings ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 27 200 406 1 "`1`" 23 24         // defaults
buttonsi 27 S
buttonprv 27 "\xA0\x03" P
buttonm 28 380 406 4 "`2`" 23 24         // cancel
buttonsi 28 S
buttonprv 28 "\xA0\x01" R
buttonm 29 560 406 4 "`3`" 23 24          // save
buttonsi 29 S
buttonprv 29 "\xA0\x02" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define milk_rinse_settings_value_buttons_421
macro data_value_input_button_430 60 20 95 `0` "\xA0\x60" `1`
macro data_value_input_button_430 61 20 165 `2` "\xA0\x61" `3`
macro data_value_input_button_430 62 20 235 `4` "\xA0\x62" `5`
macro large_data_value_input_button_430_01 63 20 305 `6` "\xA0\x63" " "
#end

#define milk_rinse_settings_values_422
macro data_value_input_value_431 20 95 `0`
macro data_value_input_value_431 20 165 `1`
macro data_value_input_value_431 20 235 `2`
macro large_data_value_input_value_431_01 20 305 `3`
#end

#define milk_purge_settings_screen_423
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\x7F" R
ta 2 12                                  // center center
t "`0`" 400 50                           // milk settings ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 27 200 406 1 "`1`" 23 24         // defaults
buttonsi 27 S
buttonprv 27 "\xA0\x03" P
buttonm 28 380 406 4 "`2`" 23 24         // cancel
buttonsi 28 S
buttonprv 28 "\xA0\x01" R
buttonm 29 560 406 4 "`3`" 23 24          // save
buttonsi 29 S
buttonprv 29 "\xA0\x02" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define milk_purge_settings_value_buttons_423_02
widgetdel 61                    // allow key to be redrawn
pen 0                           // no border
rect 20 165 370 230 1 F2F3F3    // clear the space for redraw
macro data_value_input_button_430 60 20 95 `0` "\xA0\x20" `1`
macro data_value_input_button_430 61 20 165 `2` "\xA0\x21" `3`
macro data_value_input_button_430 62 20 235 `4` "\xA0\x22" `5`
macro large_data_value_input_button_430_01 63 380 95 `6` "\xA0\x23" " "
macro large_data_value_input_button_430_01 64 380 165 `7` "\xA0\x24" " "
#end

#define milk_purge_settings_values_423_03
macro data_value_input_value_431 20 95 `0`
macro data_value_input_value_431 20 165 `1`
macro data_value_input_value_431 20 235 `2`
macro large_data_value_input_value_431_01 380 95 `3`
macro large_data_value_input_value_431_01 380 165 `4`
#end

#define display_dilution_calib_screen_424
setguibk 1                          // background mode
macro screen_clear_1                // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37         // logo
buttonsi 25 S
buttonprv 25 "\xA0\x7F" R
ta 2 12                             // center center
t "`0`" 400 20                      // calibrate milkX temp type ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 63 590 406 4 "`1`" 23 24    // save
buttonsi 63 S
buttonprv 63 "\xA0\x01" R
buttonm 64 400 406 4 "`2`" 23 24    // cancel
buttonsi 64 S
buttonprv 64 "\xA0\x02" R
buttonm 65 210 406 1 "`3`" 23 24    // default
buttonsi 65 S
buttonprv 65 "\xA0\x03" P
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_dilution_calib_monitor_424_03
ta 0 0              // left top
t " `0`   " 710 372     //pump ticks
#end

#define milk_defrost_settings_screen_425
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\x7F" R
ta 2 12                                  // center center
t "`0`" 400 50                           // defrost settings ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 27 200 406 1 "`1`" 23 24         // defaults
buttonsi 27 S
buttonprv 27 "\xA0\x03" P
buttonm 28 380 406 4 "`2`" 23 24         // cancel
buttonsi 28 S
buttonprv 28 "\xA0\x01" R
buttonm 29 560 406 4 "`3`" 23 24          // save
buttonsi 29 S
buttonprv 29 "\xA0\x02" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define milk_defrost_settings_value_buttons_426
macro large_data_value_input_button_430_01 60 20 95 `0` "\xA0\x70" `1`
macro data_value_input_button_430 61 20 165 `2` "\xA0\x71" `3`
macro data_value_input_button_430 62 20 235 `4` "\xA0\x72" `5`
#end

#define milk_defrost_settings_values_427
macro large_data_value_input_value_431_01 20 95 `0`
macro data_value_input_value_431 20 165 `1`
macro data_value_input_value_431 20 235 `2`
#end


#define data_value_input_button_430
// parameter 0 button id
// parameter 1 button upper left x
// parameter 2 button upper left y
// parameter 3 button text
// parameter 4 button return keycode string
// parameter 5 units label
o `1` `2`                       // move the origin to the upper left of the button
sc F2F3F3 000000    // set screen fore , back colors
buttonm `0` 0 0 4 "`3`" 23 24   // button for item selection
buttonsi `0` S
buttonprv `0` "`4`" R
sc 000000 F2F3F3    // set screen fore , back colors
pen 2                           // pen 2 wide for rectangle around data
rect 180 14 255 44 0 000000     // rectangle around data
ta 0 12                         // text left center - units
t "`5`" 260 29                  // unit string
o 0 0                           // put the origin back
#end

#define large_data_value_input_button_430_01
// parameter 0 button id
// parameter 1 button upper left x
// parameter 2 button upper left y
// parameter 3 button text
// parameter 4 button return keycode string
// parameter 5 units label
o `1` `2`                       // move the origin to the upper left of the button
sc F2F3F3 000000    // set screen fore , back colors
buttonm `0` 0 0 4 "`3`" 23 24   // button for item selection
buttonsi `0` S
buttonprv `0` "`4`" R
sc 000000 F2F3F3    // set screen fore , back colors
pen 2                           // pen 2 wide for rectangle around data
rect 180 14 300 44 0 000000     // rectangle around data
ta 0 12                         // text left center - units
t "`5`" 305 29                  // unit string
o 0 0                           // put the origin back
#end

#define large_data_value_large_input_button_430_02
// parameter 0 button id
// parameter 1 button upper left x
// parameter 2 button upper left y
// parameter 3 button text
// parameter 4 button return keycode string
// parameter 5 units label
o `1` `2`                       // move the origin to the upper left of the button
sc F2F3F3 000000    // set screen fore , back colors
buttonm `0` 0 0 4 "`3`" 27 28   // button for item selection
buttonsi `0` S
buttonprv `0` "`4`" R
sc 000000 F2F3F3    // set screen fore , back colors
pen 2                           // pen 2 wide for rectangle around data
rect 218 14 338 44 0 000000     // rectangle around data
ta 0 12                         // text left center - units
t "`5`" 343 29                  // value string
o 0 0                           // put the origin back
#end

#define data_value_large_input_button_430_03
// parameter 0 button id
// parameter 1 button upper left x
// parameter 2 button upper left y
// parameter 3 button text
// parameter 4 button return keycode string
// parameter 5 units label
o `1` `2`                       // move the origin to the upper left of the button
sc F2F3F3 000000    // set screen fore , back colors
buttonm `0` 0 0 4 "`3`" 27 28   // button for item selection
buttonsi `0` S
buttonprv `0` "`4`" R
sc 000000 F2F3F3    // set screen fore , back colors
pen 2                           // pen 2 wide for rectangle around data
rect 218 14 293 44 0 000000     // rectangle around data
ta 0 12                         // text left center - units
t "`5`" 298 29                  // value string
o 0 0                           // put the origin back
#end

#define data_value_input_value_431
// place the given text inside the rectangle (as set with data_value_input_button_430)
// parameter 0 button upper left x
// parameter 1 button upper left y
// parameter 2 value text
o `0` `1`                       // move the origin to the upper left of the button
pen 0                           // no border
rect 182 16 253 42 1 F2F3F3     // rectangle to clear old data
ta 2 12                         // text center center
t "`2`" 218 29                  // value string
o 0 0                           // put the origin back
#end

#define large_data_value_input_value_431_01
// place the given text inside the rectangle (as set with large_data_value_input_button_430_01)
// parameter 0 button upper left x
// parameter 1 button upper left y
// parameter 2 value text
o `0` `1`                       // move the origin to the upper left of the button
pen 0                           // no border
rect 182 16 298 42 1 F2F3F3     // rectangle to clear old data
ta 2 12                         // text center center
t "`2`" 240 29                  // value string
o 0 0                           // put the origin back
#end

#define large_data_value_input_value_with_large_button_431_02
// to be used with 210 x 63 button
// place the given text inside the rectangle (as set with data_value_input_button_430)
// parameter 0 button upper left x
// parameter 1 button upper left y
// parameter 2 value text
o `0` `1`                       // move the origin to the upper left of the button
pen 0                           // no border
rect 220 16 336 42 1 F2F3F3     // rectangle around data
ta 2 12                         // text center center
t "`2`" 278 29                  // value string
o 0 0                           // put the origin back
#end

#define data_value_input_value_with_large_button_431_03
// to be used with 210 x 63 button
// place the given text inside the rectangle (as set with data_value_input_button_430)
// parameter 0 button upper left x
// parameter 1 button upper left y
// parameter 2 value text
o `0` `1`                       // move the origin to the upper left of the button
pen 0                           // no border
rect 220 16 291 42 1 F2F3F3     // rectangle around data
ta 2 12                         // text center center
t "`2`" 255 29                  // value string
o 0 0                           // put the origin back
#end


#define display_milk_rate_calib_screen_440
setguibk 1                          // background mode
macro screen_clear_1                // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37         // logo
buttonsi 25 S
buttonprv 25 "\xA0\x7F" R
ta 2 12                             // center center
t "`0`" 400 20                      // calibrate milkX temp type ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 63 590 406 4 "`1`" 23 24    // save
buttonsi 63 S
buttonprv 63 "\xA0\x01" R
buttonm 64 400 406 4 "`2`" 23 24    // cancel
buttonsi 64 S
buttonprv 64 "\xA0\x02" R
buttonm 65 210 406 1 "`3`" 23 24    // default
buttonsi 65 S
buttonprv 65 "\xA0\x03" P
sc 000000 F2F3F3    // set screen fore , back colors
macro data_value_input_button_430 83 260 70 `4` "\xA0\x83" `5`  // Pump Speed
#end

#define display_milk_rate_calib_prompt_441
ta 2 12                             // center center
t "`0`" 400 150                     // Line 1
ta 2 12                             // center center
t "`1`" 400 180                     // Line 2
ta 2 12                             // center center
t "`2`" 400 210                     // Line 3
#end

#define display_milk_rate_calib_buttons_442
sc F2F3F3 000000    // set screen fore , back colors
buttonm 80 180 250 1 "`0`" 27 28    // Calibrate Start
buttonsi 80 S
buttonprv 80 "\xA0\x81" P
buttonm 84 180 320 1 "`1`" 27 28    // 250ml test
buttonsi 84 S
buttonprv 84 "\xA0\x84" P
sc 000000 F2F3F3    // set screen fore , back colors
ta 1 0                              // right top
t "`2`" 700 342                     //previous calibration
ta 0 0                              // left top
t "`3`" 710 342                     //prev calib value
ta 1 0                              // right top
t "`4`" 700 372                     //pump ticks
#end

#define display_milk_rate_calib_prime_442_01
widgetdel 80
rect 0 250 799 405 1 F2F3F3         // filled rectangle to hide the button
buttonm 85 336 250 1 " " `0` `1`    // Milk Prime
buttonsi 85 S
buttonprv 85 "\xA0\x85" P
#end

#define display_milk_rate_calib_monitor_443
ta 0 0              // left top
t "`0`" 710 372     //pump ticks
#end

#define add_milk_rate_calib_stop_444
widgetdel 63                        // delete save button
widgetdel 64                        // delete cancel button
widgetdel 65                        // delete default button
rect 210 405 799 479 1 F2F3F3       // filled rectangle to hide the buttons
buttonm 20 620 411 1 "" `0` `1`     // stop
buttonsi 20 S
buttonprv 20 "\xA0\x8E" P
#end

#define remove_milk_rate_calib_stop_445
widgetdel 20                        // delete stop button
rect 620 411 799 479 1 F2F3F3       // filled rectangle to hide the button
sc F2F3F3 000000    // set screen fore , back colors
buttonm 63 590 406 4 "`0`" 23 24    // save
buttonsi 63 S
buttonprv 63 "\xA0\x01" R
buttonm 64 400 406 4 "`1`" 23 24    // cancel
buttonsi 64 S
buttonprv 64 "\xA0\x02" R
buttonm 65 210 406 1 "`2`" 23 24    // default
buttonsi 65 S
buttonprv 65 "\xA0\x03" P
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define add_milk_volume_entry_button_446
macro data_value_input_button_430 81 400 250 `0` "\xA0\x82" `1`  // Enter Results
macro data_value_input_value_431 400 250 `2`
#end

#define remove_milk_volume_entry_446_1
widgetdel 81
rect 400 250 799 310 1 F2F3F3         // filled rectangle to hide the button/value
#end

#define display_new_calibration_value_447
ta 1 0                              // right top
t "`0`" 700 312                     //new calibration
ta 0 0                              // left top
t "`1`   " 710 312                  //new calib value
#end

#define display_milk_calib_pump_speed_448
macro data_value_input_value_431 260 70 `0`
#end


#define display_flowmeter_calib_screen_450
setguibk 1                          // background mode
macro screen_clear_1                // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37         // logo
buttonsi 25 S
buttonprv 25 "\xA2\x7F" R
ta 2 12                             // center center
t "`0`" 400 50                      // calibrate milkX temp type ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 63 590 406 4 "`1`" 23 24    // save
buttonsi 63 S
buttonprv 63 "\xA2\x01" R
buttonm 80 400 406 4 "`2`" 23 24    // cancel
buttonsi 80 S
buttonprv 80 "\xA2\x02" R
buttonm 81 210 406 1 "`3`" 23 24    // default
buttonsi 81 S
buttonprv 81 "\xA2\x03" P
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_flowmeter_calib_prompt_451
ta 2 12                             // center center
t "`0`" 400 100                     // Line 1
ta 2 12                             // center center
t "`1`" 400 130                     // Line 2
ta 2 12                             // center center
t "`2`" 400 160                     // Line 3
ta 2 12                             // center center
t "`3`" 400 190                     // Line 4
#end

#define display_flowmeter_calib_buttons_452
sc F2F3F3 000000    // set screen fore , back colors
buttonm 90 180 220 1 "`0`" 27 28    // Calibrate Start
buttonsi 90 S
buttonprv 90 "\xA2\x81" P
sc 000000 F2F3F3    // set screen fore , back colors
ta 1 0                              // right top
t "`1`" 650 320                     // previous calibration
ta 0 0                              // left top
t "`2`" 660 320                     // previous
ta 1 0                              // right top
t "`3`" 650 350                     // status label
#end

#define display_flowmeter_calib_monitor_453
ta 0 0                              // left top
t "`0`" 660 350                     //pump ticks
#end

#define add_flowmeter_calib_stop_454
widgetdel 63
widgetdel 80
widgetdel 81
rect 210 406 799 479 1 F2F3F3       // filled rectangle to hide the buttons
buttonm 20 620 411 1 "" `0` `1`       // stop
buttonsi 20 S
buttonprv 20 "\xA2\x8E" P
#end

#define remove_flowmeter_calib_stop_455
widgetdel 20                        // delete stop button
rect 620 411 799 479 1 F2F3F3       // filled rectangle to hide the button
buttonm 63 590 406 4 "`0`" 23 24    // save
buttonsi 63 S
buttonprv 63 "\xA2\x01" R
buttonm 80 400 406 4 "`1`" 23 24    // cancel
buttonsi 80 S
buttonprv 80 "\xA2\x02" R
buttonm 81 210 406 1 "`2`" 23 24    // default
buttonsi 81 S
buttonprv 81 "\xA2\x03" P
#end

#define add_flowmeter_volume_entry_button_456
macro data_value_input_button_430 91 400 220 `0` "\xA2\x82" `1`  // Enter Results
macro data_value_input_value_431 400 220 `2`
#end

#define remove_flowmeter_volume_entry_button_457
widgetdel 91                        // delete results button
rect 400 220 790 280 1 F2F3F3       // filled rectangle to hide the button/entry/units
#end

#define display_flowmeter_calib_pending_158
ta 1 0                              // right top
t "`0`" 650 290                     // previous calibration
ta 0 0                              // left top
t "`1`" 660 290                     // previous
#end

#define display_import_export_screen_458
setguibk 1                          // background mode
macro screen_clear_1                // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37         // logo
buttonsi 25 S
buttonprv 25 "\xA6\x7F" R
ta 2 12                             // center center
t "`0`" 400 50                      // import export ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 2 20 412 4 "" 46 49         // return arrow
buttonsi 2 S
buttonprv 2 "\xA6\x01" R            // return arrow
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define display_import_export_status_459
rect 100 320 700 360 1 F2F3F3       // white rect to erase old text
ta 2 12                             // center center
t "`0`" 400 340                     // new status text
#end

#define display_import_export_buttons_460
sc F2F3F3 000000    // set screen fore , back colors
buttonm 3 180 200 4 "`0`" 27 28     // import
buttonsi 3 S
buttonprv 3 "\xA6\x02" R
buttonm 4 410 200 4 "`1`" 27 28     // export
buttonsi 4 S
buttonprv 4 "\xA6\x03" R
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define hide_import_export_buttons_461
widgetdel 3   // import
widgetdel 4   // export
rect  160 180 640 280 1 F2F3F3
#end

#define show_back_button_462
buttonm 2 20 412 4 "" 46 49         // return arrow
buttonsi 2 S
buttonprv 2 "\xA6\x01" R            // return arrow
#end

#define hide_back_button_463
widgetdel 2
rect 10 400 140 479 1 F2F3F3
#end

#define self_serve_status_bar_499
rect 198 424 602 479 1 000000
disimg 38 198 424
sc F2F3F3 000000    // set screen fore , back colors
ta 2 12             // center center
t " `0` " 400 445     // status message
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define self_serve_beverage_select_header_500
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000                          // background
buttonm 1 10 0 5 "" 454 454             // logo (press&release)
buttonsi 1 S                         // silence standard outputs
buttonprv 1 "\xA8\x01" P                 // logo - press
buttonprv 1 "\xA8\x02" R                 // logo - release
disimg `0` 150 0                  // SELECT YOUR BEVERAGE
#end


#define self_serve_3_button_beverage_select_01_500
buttonm   `1` `2` `0` 5 "" `3` `4`    // button 1  ready
buttonsi  `1` S                     //silence standard outputs
buttonprv `1` "`5`" P         // button 1
buttonprv `1` "`6`" R         // button 1
buttonm   `7` `8` `0` 5 "" `9` `10`    // button 2    ready
buttonsi  `7` S
buttonprv `7` "`11`" P         // button 2
buttonprv `7` "`12`" R         // button 2
buttonm   `13` `14` `0` 5 "" `15` `16`    // button 3   ready
buttonsi  `13` S
buttonprv `13` "`17`" P         // button 3
buttonprv `13` "`18`" R         // button 3
#end

#define self_serve_2_button_beverage_select_02_500
buttonm   `1` `2` `0` 5 "" `3` `4`    // button 1  ready
buttonsi  `1` S                     //silence standard outputs
buttonprv `1` "`5`" P         // button 1
buttonprv `1` "`6`" R         // button 1
buttonm   `7` `8` `0` 5 "" `9` `10`    // button 2    ready
buttonsi  `7` S
buttonprv `7` "`11`" P         // button 2
buttonprv `7` "`12`" R         // button 2
#end

#define self_serve_beverage_buttons_clear_501
setguibk 1
widgetdel `0`           // button 1
widgetdel `1`           // button 2
widgetdel `2`           // button 3
widgetdel `3`           // button 4
widgetdel `4`           // button 5
widgetdel `5`           // button 6
rect 30 70 775 423 1 000000        // clear area of buttons
disimg `6` `7` `8`                  // replace active button image
#end

#define self_serve_beverage_button_active_502
widgetdel `0`
buttonm   `0` `1` `2` 5 "" `3` `4`    // button 1  ready
buttonsi  `0` S                     //silence standard outputs
buttonprv `0` "`5`" P         // button 1
buttonprv `0` "`6`" R         // button 1
#end

#define self_serve_beverage_button_inactive_503
widgetdel `0`
disimg `1` `2` `3`                  // inactive button image
#end

#define self_serve_temperature_select_504
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000          // background
buttonm 1 10 0 5 "" 454 454         // logo (press&release)
buttonsi 1 S                       // silence standard outputs
buttonprv 1 "\xA8\x01" P           // logo - press
buttonprv 1 "\xA8\x02" R           // logo - release
buttonm 2 4 396 5 "" 474 484       // back (press&release)
buttonsi 2 S                       // silence standard outputs
buttonprv 2 "\xA8\x09" P           // back - press
buttonprv 2 "\xA8\x0A" R           // back - release
buttonm 10 150 135 5 "" `0` `1`    // HOT
buttonsi 10 S                      // silence standard outputs
buttonprv 10 "\xA8\x0B" P          // HOT
buttonprv 10 "\xA8\x0C" R          // HOT
buttonm 11 424 135 5 "" `2` `3`    // COLD
buttonsi 11 S
buttonprv 11 "\xA8\x0E" P          // COLD
buttonprv 11 "\xA8\x0F" R          // COLD
disimg `4` 150 0                  // SELECT MILK TEMPERATURE
disimg `5` 424 354                  // FILL CUP WITH 1/2 ICE
#end

#define self_serve_hot_button_press_505
widgetdel 11
rect 418 129 667 336 1 000000                          // clear cold button
rect 424 354 665 398 1 000000                          // clear cold button
#end

#define self_serve_cold_button_press_506
widgetdel 10
rect 144 129 393 336 1 000000                          // clear hot button
#end

#define self_serve_size_select_507
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000          // background
buttonm 1 10 0 5 "" 454 454         // logo (press&release)
buttonsi 1 S                       // silence standard outputs
buttonprv 1 "\xA8\x01" P           // logo - press
buttonprv 1 "\xA8\x02" R           // logo - release
buttonm 2 4 396 5 "" 474 484       // back (press&release)
buttonsi 2 S                       // silence standard outputs
buttonprv 2 "\xA8\x09" P           // back - press
buttonprv 2 "\xA8\x0A" R           // back - release
buttonm 10 150 135 5 "" 459 459    // SMALL
buttonsi 10 S                      // silence standard outputs
buttonprv 10 "\xA8\x10" P          // SMALL
buttonprv 10 "\xA8\x11" R          // SMALL
buttonm 11 424 135 5 "" 460 460    // LARGE
buttonsi 11 S
buttonprv 11 "\xA8\x12" P          // LARGE
buttonprv 11 "\xA8\x13" R          // LARGE
disimg `0` 150 0                  // SELECT CUP SIZE
scupdate
setguibk 0
#end

#define self_serve_small_cup_button_press_508
widgetdel 11
rect 418 129 667 336 1 000000                          // clear large button
#end

#define self_serve_large_cup_button_press_509
widgetdel 10
rect 144 129 393 336 1 000000                          // clear small button
#end

#define self_serve_milk_type_select_510
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000          // background
buttonm 1 10 0 5 "" 454 454         // logo (press&release)
buttonsi 1 S                       // silence standard outputs
buttonprv 1 "\xA8\x01" P           // logo - press
buttonprv 1 "\xA8\x02" R           // logo - release
buttonm 2 4 396 5 "" 474 484       // back (press&release)
buttonsi 2 S                       // silence standard outputs
buttonprv 2 "\xA8\x09" P           // back - press
buttonprv 2 "\xA8\x0A" R           // back - release
buttonm 10 150 135 5 "" `0` `1`    // LOW FAT
buttonsi 10 S                      // silence standard outputs
buttonprv 10 "\xA8\x14" P          // LOW FAT
buttonprv 10 "\xA8\x15" R          // LOW FAT
buttonm 11 424 135 5 "" `2` `3`    // REGULAR MILK
buttonsi 11 S
buttonprv 11 "\xA8\x16" P          // REGULAR MILK
buttonprv 11 "\xA8\x17" R          // REGULAR MILK
disimg `4` 150 0                  // SELECT MILK TEMPERATURE
#end

#define self_serve_low_fat_button_press_511
widgetdel 11
rect 418 129 667 336 1 000000                          // clear regular milk button
#end

#define self_serve_regular_milk_button_press_512
widgetdel 10
rect 144 129 393 336 1 000000                          // clear hot button
#end

#define self_serve_deactivate_regular_milk_button_513
widgetdel 11
disimg `0` 424 135  // inactive regular milk button
rect 170 410 650 465 1 000000                          // clear status bar
sc F2F3F3 000000    // set screen fore , back colors
ta 2 12             // center center
t "`1`" 400 441     // status message
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define self_serve_deactivate_low_fat_milk_button_514
widgetdel 10
disimg `0` 150 135  // inactive low fat milk button
rect 170 410 650 465 1 000000                          // clear status bar
sc F2F3F3 000000    // set screen fore , back colors
ta 2 12             // center center
t "`1`" 400 441     // status message
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define self_serve_coffee_type_select_515
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000          // background
buttonm 1 10 0 5 "" 454 454         // logo (press&release)
buttonsi 1 S                       // silence standard outputs
buttonprv 1 "\xA8\x01" P           // logo - press
buttonprv 1 "\xA8\x02" R           // logo - release
buttonm 2 4 396 5 "" 474 484       // back (press&release)
buttonsi 2 S                       // silence standard outputs
buttonprv 2 "\xA8\x09" P           // back - press
buttonprv 2 "\xA8\x0A" R           // back - release
buttonm 10 150 135 5 "" `0` `1`    // DECAF COFFEE
buttonsi 10 S                      // silence standard outputs
buttonprv 10 "\xA8\x18" P          // DECAF COFFEE
buttonprv 10 "\xA8\x19" R          // DECAF COFFEE
buttonm 11 424 135 5 "" `2` `3`    // REGULAR COFFEE
buttonsi 11 S
buttonprv 11 "\xA8\x1A" P          // REGULAR COFFEE
buttonprv 11 "\xA8\x1B" R          // REGULAR COFFEE
disimg `4` 150 0                  // SELECT COFFEE TYPE
#end

#define self_serve_decaf_coffee_button_press_516
widgetdel 11
rect 418 129 667 336 1 000000                          // clear regular coffee button
#end

#define self_serve_regular_coffee_button_press_517
widgetdel 10
rect 144 129 393 336 1 000000                          // clear decaf button
#end

#define self_serve_deactivate_regular_coffee_button_518
widgetdel 11
disimg `0` 424 135
rect 170 410 650 465 1 000000                          // clear status bar
sc F2F3F3 000000    // set screen fore , back colors
ta 2 12             // center center
t "`1`" 400 441     // status message
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define self_serve_deactivate_decaf_coffee_button_519
widgetdel 10
disimg `0` 150 135
rect 170 410 650 465 1 000000                          // clear status bar
sc F2F3F3 000000    // set screen fore , back colors
ta 2 12             // center center
t "`1`" 400 441     // status message
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define self_serve_start_page_520
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000          // background
buttonm 1 10 0 5 "" 454 454         // logo (press&release)
buttonsi 1 S                       // silence standard outputs
buttonprv 1 "\xA8\x01" P           // logo - press
buttonprv 1 "\xA8\x02" R           // logo - release
buttonm 2 4 396 5 "" 474 484       // back (press&release)
buttonsi 2 S                       // silence standard outputs
buttonprv 2 "\xA8\x09" P           // back - press
buttonprv 2 "\xA8\x0A" R           // back - release
buttonm 3 640 400 5 "" `0` `1`     // stop (press&release)
buttonsi 3 S                       // silence standard outputs
buttonprv 3 "\xA8\x1C" P           // stop - press
buttonprv 3 "\xA8\x1D" R           // stop - release
buttonm 4 218 95 5 "" `2` `3`      // start (press&release)
buttonsi 4 S                       // silence standard outputs
buttonprv 4 "\xA8\x1E" P           // start - press
buttonprv 4 "\xA8\x1F" R           // start - release
disimg `4` 150 10                   // PLACE CUP
#end

#define self_serve_display_your_beverage_520_01
disimg `0` 22 90                   // YOUR BEVERAGE
#end

#define self_serve_display_option_521
disimg `1` 22 `0`                  // sidebar option
#end


#define self_serve_brewing_page_522
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000          // background
buttonm 1 10 0 5 "" 454 454         // logo (press&release)
buttonsi 1 S                       // silence standard outputs
buttonprv 1 "\xA8\x01" P           // logo - press
buttonprv 1 "\xA8\x02" R           // logo - release
//buttonm 2 0 400 5 "" 474 484       // back (press&release)
//buttonsi 2 S                       // silence standard outputs
//buttonprv 2 "\xA8\x09" P           // back - press
//buttonprv 2 "\xA8\x0A" R           // back - release
buttonm 3 640 400 5 "" `0` `1`     // stop (press&release)
buttonsi 3 S                       // silence standard outputs
buttonprv 3 "\xA8\x1C" P           // stop - press
buttonprv 3 "\xA8\x1D" R           // stop - release
disimg `2` 218 95                  // NOW BREWING
disimg `3` 150 0                   // DO NOT REMOVE CUP
scupdate
setguibk 0
#end

#define self_serve_settings_523
setguibk 1
macro screen_clear_1 // clear everything and set defaults
ta 2 12                                  // center center
t "`0`" 400 50                           // machine settings  ( page title )
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\xC2\x7F" R
sc F2F3F3 000000    // set screen fore , back colors
buttonm 63 590 406 4 "`1`" 23 24         // save
buttonsi 63 S
buttonprv 63 "\xC2\x01" R
buttonm 80 400 406 4 "`2`" 23 24         // cancel
buttonsi 80 S
buttonprv 80 "\xC2\x02" R
buttonm 81 210 406 1 "`3`" 23 24         // default
buttonsi 81 S
buttonprv 81 "\xC2\x03" P
macro large_data_value_large_input_button_430_02 51  20  95 `4` "\xC2\x51" " "   // self serve enable
macro large_data_value_large_input_button_430_02 52  20 165 `5` "\xC2\x52" " "   // cold enable
macro large_data_value_large_input_button_430_02 53 400  95 `6` "\xC2\x53" " "   // number of milks
macro data_value_large_input_button_430_03       54 400 165 `7` "\xC2\x54" " "   // number of sizes
macro large_data_value_large_input_button_430_02 55 400 235 `8` "\xC2\x55" " "   // number of hoppers
#end

#define self_serve_disabled_settings_02_523
setguibk 1
macro screen_clear_1 // clear everything and set defaults
ta 2 12                                  // center center
t "`0`" 400 50                           // machine settings  ( page title )
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\xC2\x7F" R
sc F2F3F3 000000    // set screen fore , back colors
buttonm 63 590 406 4 "`1`" 23 24         // save
buttonsi 63 S
buttonprv 63 "\xC2\x01" R
buttonm 80 400 406 4 "`2`" 23 24         // cancel
buttonsi 80 S
buttonprv 80 "\xC2\x02" R
macro large_data_value_large_input_button_430_02 51  20  95 `3` "\xC2\x51" " "   // self serve enable
#end

#define self_serve_settings_button_524
sc F2F3F3 000000                                                  // set screen fore , back colors
buttonm 50 400 240 4 "`0`" 23 24                                  // self_serve_settings
buttonsi 50 S
buttonprv 50 "\xC2\x50" R
sc 000000 F2F3F3                                                  // set screen fore , back colors
#end

#define self_serve_settings_data_display_525
sc 000000 F2F3F3                                                  // set screen fore , back colors
macro large_data_value_input_value_with_large_button_431_02  20  95 `0`   // self serve enable
macro large_data_value_input_value_with_large_button_431_02  20 165 `1`   // cold enable
macro large_data_value_input_value_with_large_button_431_02 400  95 `2`   // number of milks
macro data_value_input_value_with_large_button_431_03       400 165 `3`   // number of sizes
macro large_data_value_input_value_with_large_button_431_02 400 235 `4`   // number of hoppers
#end

#define self_serve_disabled_settings_data_display_02_525
sc 000000 F2F3F3                                                  // set screen fore , back colors
macro large_data_value_input_value_with_large_button_431_02  20  95 `0`   // self serve enable
#end

#define self_serve_deactivate_cappuccino_button_526
widgetdel 10
disimg `0` 34 155                 // inactive
#end

#define self_serve_deactivate_cappuccino_button_01_526
widgetdel 10
disimg `0` 160 73                 // inactive
#end

#define self_serve_activate_cappuccino_button_527
buttonm 10 34 155 5 "" `0` `1`    // button 1  ready
buttonsi 10 S                     //silence standard outputs
buttonprv 10 "\xA8\x03" P         // button 1
buttonprv 10 "\xA8\x04" R         // button 1
#end

#define self_serve_activate_cappuccino_button_01_527
buttonm 10 160 73 5 "" `0` `1`    // button 1  ready
buttonsi 10 S                     //silence standard outputs
buttonprv 10 "\xA8\x03" P         // button 1
buttonprv 10 "\xA8\x04" R         // button 1
#end

#define self_serve_deactivate_latte_button_528
widgetdel 11
disimg `0` 282 155                // inactive
#end

#define self_serve_deactivate_latte_button_01_528
widgetdel 11
disimg `0` 406 73                // inactive
#end

#define self_serve_activate_latte_button_529
buttonm 11 282 155 5 "" `0` `1`    // button 2    ready
buttonsi 11 S
buttonprv 11 "\xA8\x05" P         // button 2
buttonprv 11 "\xA8\x06" R         // button 2
#end

#define self_serve_activate_latte_button_01_529
buttonm 11 406 73 5 "" `0` `1`    // button 2    ready
buttonsi 11 S
buttonprv 11 "\xA8\x05" P         // button 2
buttonprv 11 "\xA8\x06" R         // button 2
#end

#define self_serve_deactivate_espresso_button_530
widgetdel 12
disimg `0` 530 155        // inactive
#end

#define self_serve_deactivate_espresso_button_01_530
widgetdel 12
disimg `0` 160 253        // inactive
#end

#define self_serve_activate_espresso_button_531
buttonm 12 530 155 5 "" `0` `1`    // button 3   ready
buttonsi 12 S
buttonprv 12 "\xA8\x07" P         // button 3
buttonprv 12 "\xA8\x08" R         // button 3
#end

#define self_serve_activate_espresso_button_01_531
buttonm 12 160 253 5 "" `0` `1`    // button 3   ready
buttonsi 12 S
buttonprv 12 "\xA8\x07" P         // button 3
buttonprv 12 "\xA8\x08" R         // button 3
#end

#define self_serve_deactivate_hot_button_532
widgetdel 10
disimg `0` 150 135        // inactive
rect 170 410 650 465 1 000000                          // clear status bar
sc F2F3F3 000000    // set screen fore , back colors
ta 2 12             // center center
t "`1`" 400 441     // status message
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define self_serve_activate_hot_button_533
buttonm 10 150 135 5 "" `0` `1`    // HOT
buttonsi 10 S                      // silence standard outputs
buttonprv 10 "\xA8\x0B" P          // HOT
buttonprv 10 "\xA8\x0C" R          // HOT
#end

#define self_serve_button_stroke_534
pen `0`                           // pen 2 wide for rectangle around button
rect `1` `2` `3` `4` 0 `5`           // outline
#end

#define self_serve_deactivate_americano_button_535
widgetdel 13
disimg `0` 406 253        // inactive
#end

#define self_serve_activate_americano_button_536
buttonm 13 406 253 5 "" `0` `1`    // button 4   ready
buttonsi 13 S
buttonprv 13 "\xA8\x20" P         // button 4
buttonprv 13 "\xA8\x21" R         // button 4
#end
                                                       // system water flow test
#define display_system_water_flow_test_screen_537
setguibk 1
macro screen_clear_1                // clear everything and set defaults
sc 000000 F2F3F3    // set screen fore , back colors
buttonm 25 13 13 4 "" 37 37         // logo
buttonsi 25 S                       // silence standard outputs
buttonprv 25 "\xC1\x7F" R           // logo
buttonm 27 20 412 4 "" 46 49        //   Home
buttonsi 27 S                       // silence standard outputs
buttonprv 27 "\xC1\x01" R           //   Home
ta 2 12                             // center center
t "`0`" 400 50                      // system water flow test  ( page title )
ta 1 0                              // right top
t "`1`" 700 100                     // WaterPressure
ta 1 0                              // right top
t "`2`" 700 130                     // FlowMeter
ta 1 0                              // right top
t "`3`" 700 160                     // PositionCounter
ta 1 0                              // right top
t "`4`" 400 290                     // VolumeDispensed
ta 1 0                              // right top
t "`5`" 400 320                     // TimeOfDispense
ta 1 0                              // right top
t "`6`" 400 350                     // RateOfDispense
sc F2F3F3 000000                    // set screen fore , back colors
buttonm 30 180 220 4 "`7`" 27 28    // start
buttonsi 30 S
buttonprv 30 "\xC1\x02" R
sc 000000 F2F3F3                    // set screen fore , back colors
ta 0 0                              // left top
t "1." 50 100                      // position cleaning tube
ta 0 0                              // left top
t "`8`" 72 100                      // position cleaning tube
ta 0 0                              // left top
t "`9`" 72 130                      // position cleaning tube line 2
scupdate
setguibk 0
#end

#define service_system_water_flow_test_monitor_data_538
ta 0 0                        // left top
t "`0`   " 710 100            // WaterPressure
ta 0 0                        // left top
t "`1`   " 710 130            // FlowMeter
ta 0 0                        // left top
t "`2`   " 710 160            // PositionCounter
ta 0 0                        // left top
t "`3`   " 410 290            // VolumeDispensed
ta 0 0                        // left top
t "`4`   " 410 320            // TimeOfDispense
ta 0 0                        // left top
t "`5`   " 410 350            // Dispense rate
#end

#define service_system_water_flow_test_stop_button_539
widgetdel 30
rect 180 220 390 283 1 F2F3F3      // clear start test button to background
widgetdel 27
rect 20 412 95 462 1 F2F3F3              // overwrite the back key
buttonm 31 620 411 5 "" `0` `1`     // stop
buttonsi 31 S                     // silence standard outputs
buttonprv 31 "\xC1\x03" P             // stop
buttonprv 31 "\xC1\x04" R             // stop
#end

#define vend_screen_540
setguibk 1
macro screen_clear_1               // clear everything and set defaults
rect 0 0 799 479 1 000000                       // background
buttonm 25 0 0 4 "" 15 16          // logo
buttonsi 25 S                      //silence standard output
buttonprv 25 "\x7F" R              // output 7Fh
buttonm 1 20 412 4 "" 46 49        // return arrow
buttonsi 1 S
buttonprv 1 "\xA9\x01" R
sc F2F3F3 000000                   // set screen fore , back colors
ta 2 12                               // center center
t "`0`" 400 50                        // vend ( page title )
buttonm 10  20 95 4 "`1`" 27 28       // free vend
buttonsi 10 S
buttonprv 10 "\xA9\x10" R
buttonm 11  20 165 4 "`2`" 27 28       // vend pricing
buttonsi 11 S
buttonprv 11 "\xA9\x11" R
buttonm 12  20 235 4 "`3`" 27 28       // device status
buttonsi 12 S
buttonprv 12 "\xA9\x12" R
sc 000000 F2F3F3
#end

#define change_password_541
sc F2F3F3 000000    // set screen fore , back colors
buttonm 3 590 406 4 "`0`" 23 24        // change password
buttonsi 3 S
buttonprv 3 "\x83\x03" R
#end

#define change_password_screen_542
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
ta 2 12                                  // center center
t "`0`" 400 70                           // change "xxxx" password  ( page title )
sc F2F3F3 000000                         // set screen fore , back colors
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\x83\x7F" R
#end

#define display_old_password_value_543
macro data_value_input_value_431 270 120 `0`
#end

#define display_new_password_value_544
macro data_value_input_value_431 270 190 `0`
#end

#define display_confirm_password_value_545
macro data_value_input_value_431 270 260 `0`
#end

#define display_old_password_button_546
macro data_value_input_button_430 10 270 120 `0` "\x83\x10" " "   // old
#end

#define display_new_password_button_547
macro data_value_input_button_430 11 270 190 `0` "\x83\x11" " "   // new
#end

#define display_confirm_password_button_548
macro data_value_input_button_430 12 270 260 `0` "\x83\x12" " "   // confirm
#end

#define display_cancel_save_buttons_549
widgetdel 80                          // return arrow
rect 19 411 100 478 1 F2F3F3         // filled rectangle for cancel_save_buttons
buttonm 80 400 406 4 "`0`" 23 24       // cancel
buttonsi 80 S
buttonprv 80 "\x83\x01" R
buttonm 81 590 406 4 "`1`" 23 24       // save
buttonsi 81 S
buttonprv 81 "\x83\x02" R
#end

#define display_change_password_back_button_550
widgetdel 80                          // cancel
widgetdel 81                          // save
rect 399 405 798 478 1 F2F3F3         // filled rectangle for cancel_save_buttons
buttonm 80 20 412 4 "" 46 49          // return arrow
buttonsi 80 S
buttonprv 80 "\x83\x01" R
#end

#define incorrect_confirm_password_551
sc 000000 F2F3F3
ta 0 12                     // left center
t "`0`" 550 290                        // incorrect (right)
#end

#define display_vend_setup_screen_552
setguibk 1
macro screen_clear_1 // clear everything and set defaults
ta 2 12                                  // center center
t "`0`" 400 50                           // vend settings  ( page title )
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\xC2\x7F" R
sc F2F3F3 000000    // set screen fore , back colors
buttonm 63 590 406 4 "`1`" 23 24         // save
buttonsi 63 S
buttonprv 63 "\xC2\x01" R
buttonm 80 400 406 4 "`2`" 23 24         // cancel
buttonsi 80 S
buttonprv 80 "\xC2\x02" R
buttonm 81 210 406 1 "`3`" 23 24         // default
buttonsi 81 S
buttonprv 81 "\xC2\x03" P
macro large_data_value_large_input_button_430_02 56  20  95 `4` "\xC2\x56" " "   // vend enable
macro large_data_value_large_input_button_430_02 57  20 165 `5` "\xC2\x57" " "   // reset free vend password
macro large_data_value_large_input_button_430_02 58  20 235 `6` "\xC2\x58" " "   // reset vend price password
#end

#define vend_settings_data_display_553
macro large_data_value_input_value_with_large_button_431_02  20  95 `0`   // vend enable
macro large_data_value_input_value_with_large_button_431_02  20 165 `1`   // reset free vend password
macro large_data_value_input_value_with_large_button_431_02  20 235 `2`   // reset vend price password
#end

#define display_vend_setup_button_554
sc F2F3F3 000000    // set screen fore , back colors
buttonm 56  20 235 4 "`0`" 27 28       // vend_setup_button
buttonsi 56 S
buttonprv 56 "\xC2\x56" R
#end

#define remove_vend_setup_button_555
widgetdel 56                          // save
rect 19 234 231 300 1 F2F3F3         // filled rectangle for vend_setup_button
#end

#define vend_pricing_screen_556
setguibk 1
macro screen_clear_1               // clear everything and set defaults
rect 0 0 799 479 1 000000                       // background
buttonm 25 0 0 4 "" 15 16          // logo
buttonsi 25 S                      //silence standard output
buttonprv 25 "\x7F" R              // output 7Fh
buttonm 1 20 412 4 "" 46 49        // return arrow
buttonsi 1 S
buttonprv 1 "\xA9\x01" R
sc F2F3F3 000000    // set screen fore , back colors
ta 2 12                               // center center
t "`0`" 400 50                        // password ( page title )
sc 000000 F2F3F3
#end

#define free_vend_screen_557
setguibk 1
macro screen_clear_1               // clear everything and set defaults
sc F2F3F3 000000    // set screen fore , back colors
rect 0 0 799 479 1 000000                       // background
buttonm 25 0 0 4 "" 15 16          // logo
buttonsi 25 S                      //silence standard output
buttonprv 25 "\x7F" R              // output 7Fh
buttonm 1 20 412 4 "" 46 49        // return arrow
buttonsi 1 S
buttonprv 1 "\xA9\x01" R
buttonm 2 20 95 4 "`1`" 27 28    // dispense single beverage
buttonsi 2 S
buttonprv 2 "\xA9\x02" R
ta 2 12                               // center center
t "`0`" 400 50                        // password ( page title )
sc 000000 F2F3F3
#end

#define vend_pricing_3_button_beverage_select_558
buttonm   `1` `2` `0` 4 "" `3` `4`    // button 1  ready
buttonsi  `1` S                     //silence standard outputs
buttonprv `1` "`5`" R         // button 1
buttonm   `6` `7` `0` 4 "" `8` `9`    // button 2    ready
buttonsi  `6` S
buttonprv `6` "`10`" R         // button 2
buttonm   `11` `12` `0` 4 "" `13` `14`    // button 3   ready
buttonsi  `11` S
buttonprv `11` "`15`" R         // button 3
#end

#define vend_pricing_2_button_beverage_select_559
buttonm   `1` `2` `0` 4 "" `3` `4`    // button 1  ready
buttonsi  `1` S                     //silence standard outputs
buttonprv `1` "`5`" R         // button 1
buttonm   `6` `7` `0` 4 "" `8` `9`    // button 2    ready
buttonsi  `6` S
buttonprv `6` "`10`" R         // button 2
#end

#define vend_pricing_edit_screen_560
setguibk 1
macro screen_clear_1               // clear everything and set defaults
rect 0 0 799 479 1 000000                       // background
buttonm 25 0 0 4 "" 15 16          // logo
buttonsi 25 S                      //silence standard output
buttonprv 25 "\x7F" R              // output 7Fh
sc F2F3F3 000000    // set screen fore , back colors
ta 2 12                               // center center
t "`0`" 400 50                        // password ( page title )
buttonm 2 590 406 4 "`1`" 23 24         // save
buttonsi 2 S
buttonprv 2 "\xA9\x01" R
buttonm 3 400 406 4 "`2`" 23 24         // cancel
buttonsi 3 S
buttonprv 3 "\xA9\x02" R
buttonm 4 210 406 1 "`3`" 23 24         // default
buttonsi 4 S
buttonprv 4 "\xA9\x03" P
disimg `4` 50 75                        // recipe being priced

sc 000000 F2F3F3
#end

#define vend_pricing_edit_buttons_561
sc F2F3F3 000000    // set screen fore , back colors
ta 1 12                               // right center
t "`0`" 315 205                       // small
ta 1 12                               // right center
t "`1`" 315 274                       // medium
ta 2 12                               // center center
t "`2`" 431 155                       // hot
ta 2 12                               // center center
t "`3`" 645 155                       // cold
buttonm   10 326 174 4 "`4`" 27 28      // small hot button
buttonsi  10 S                          // silence standard outputs
buttonprv 10 "\xA9\x10" R               // button 1
buttonm   11 541 174 4 "`5`" 27 28      // small cold button
buttonsi  11 S
buttonprv 11 "\xA9\x11" R               // button 2
buttonm   12 326 243 4 "`6`" 27 28      // medium hot button
buttonsi  12 S                          // silence standard outputs
buttonprv 12 "\xA9\x12" R               // button 1
buttonm   13 541 243 4 "`7`" 27 28      // medium cold button
buttonsi  13 S
buttonprv 13 "\xA9\x13" R               // button 2
sc 000000 F2F3F3
#end

#define vend_pricing_edit_water_based_button_562
sc F2F3F3 000000    // set screen fore , back colors
buttonm   10 326 174 4 "`0`" 27 28      // water_based button
buttonsi  10 S                          // silence standard outputs
buttonprv 10 "\xA9\x14" R               // button 1
sc 000000 F2F3F3
#end

#define display_small_recipe_price_563
o `0` `1`              // origin
sc F2F3F3 000000       // set screen fore , back colors
cir 15 15 15 1 `2`
cir 80 15 15 1 `2`
rect 15 0 80 30 1 `2`
tm 2                   // transparent backround
ta 2 12                // center center
t "`3`" 47 15          // price
sc 000000 F2F3F3
tm 0
o 0 0                  // reset origin
#end

#define display_small_long_recipe_price_564
o `0` `1`              // origin
sc F2F3F3 000000       // set screen fore , back colors
cir 15 15 15 1 `2`
cir 120 15 15 1 `2`
rect 15 0 120 30 1 `2`
tm 2                   // transparent backround
ta 2 12                // center center
t "`3`" 67 15          // price
sc 000000 F2F3F3
tm 0
o 0 0                  // reset origin
#end

#define display_large_recipe_price_565
o `0` `1`              // origin
sc F2F3F3 000000       // set screen fore , back colors
Font F32
cir 25 25 25 1 `2`
cir 100 25 25 1 `2`
rect 25 0 100 50 1 `2`
tm 2                   // transparent backround
ta 2 12                // center center
t "`3`" 62 25          // price
sc 000000 F2F3F3
Font F24
tm 0
o 0 0                  // reset origin
#end

#define vend_pricing_edit_buttons_hot_small_medium_566
sc F2F3F3 000000    // set screen fore , back colors
ta 1 12                               // right center
t "`0`" 315 205                       // small
ta 1 12                               // right center
t "`1`" 315 274                       // medium
buttonm   10 326 174 4 "`2`" 27 28      // small hot button
buttonsi  10 S                          // silence standard outputs
buttonprv 10 "\xA9\x10" R               // button 1
buttonm   12 326 243 4 "`3`" 27 28      // medium hot button
buttonsi  12 S                          // silence standard outputs
buttonprv 12 "\xA9\x12" R               // button 1
sc 000000 F2F3F3
#end

#define vend_pricing_edit_buttons_small_hot_cold_567
sc F2F3F3 000000    // set screen fore , back colors
ta 2 12                               // center center
t "`0`" 431 155                       // hot
ta 2 12                               // center center
t "`1`" 645 155                       // cold
buttonm   10 326 174 4 "`2`" 27 28      // small hot button
buttonsi  10 S                          // silence standard outputs
buttonprv 10 "\xA9\x10" R               // button 1
buttonm   11 541 174 4 "`3`" 27 28      // small cold button
buttonsi  11 S
buttonprv 11 "\xA9\x11" R               // button 2
sc 000000 F2F3F3
#end

#define vend_pricing_edit_buttons_small_hot_568
sc F2F3F3 000000    // set screen fore , back colors
buttonm   10 326 174 4 "`0`" 27 28      // small hot button
buttonsi  10 S                          // silence standard outputs
buttonprv 10 "\xA9\x10" R               // button 1
sc 000000 F2F3F3
#end

#define energy_saver_password_settings_569
macro large_data_value_large_input_button_430_02 53 400  95 `0` "\x89\x14" " "   // energy Saver Password Enable
macro large_data_value_large_input_button_430_02 54 400 165 `1` "\x89\x15" " "   // energy Saver Password reset
#end

#define energy_saver_display_password_settings_570
macro large_data_value_input_value_with_large_button_431_02  400  95 `0`   // energy Saver Password Enable
macro large_data_value_input_value_with_large_button_431_02  400 165 `1`   // energy Saver Password reset
#end

#define free_vend_screen_hot_key_571
buttonm 5 720 5 5 "" 589 589              // hotspot for jump to free vend
buttonsi 5 S
buttonprv 5 "\xA8\x03" P            // start countdown to free vend hop
buttonprv 5 "\xA8\x04" R            // go to free vend if pressed long enough
#end

#define self_serve_selected_stop_button_572
widgetdel 3
disimg `0` 640 400      // stop selected
#end

#define credit_card_screen_hot_key_573
buttonm 5 720 5 4 "" 589 589              // hotspot for jump to free vend
buttonsi 5 S
buttonprv 5 "\xA8\x2C" R            // go to free vend if pressed long enough
#end

#define credit_card_swipe_screen_574
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000          // background
buttonm 1 10 0 5 "" 454 454         // logo (press&release)
buttonsi 1 S                       // silence standard outputs
buttonprv 1 "\xA8\x01" P           // logo - press
buttonprv 1 "\xA8\x02" R           // logo - release
buttonm 2 4 396 5 "" 474 484       // back (press&release)
buttonsi 2 S                       // silence standard outputs
buttonprv 2 "\xA8\x09" P           // back - press
buttonprv 2 "\xA8\x0A" R           // back - release
disimg 596 264 95
#end

#define credit_card_authorizing_screen_575
setguibk 1
macro screen_clear_1 // clear everything and set defaults
rect 0 0 799 479 1 000000          // background
buttonm 1 10 0 5 "" 454 454         // logo (press&release)
buttonsi 1 S                       // silence standard outputs
buttonprv 1 "\xA8\x01" P           // logo - press
buttonprv 1 "\xA8\x02" R           // logo - release
buttonm 2 4 396 5 "" 474 484       // back (press&release)
buttonsi 2 S                       // silence standard outputs
buttonprv 2 "\xA8\x09" P           // back - press
buttonprv 2 "\xA8\x0A" R           // back - release
sc F2F3F3 000000    // set screen fore , back colors
tm 2                   // transparent backround
ta 2 12                // center center
t "`0`" 400 370          // price
tm 0
#end

#define number_of_milks_button_576
macro large_data_value_large_input_button_430_02 53 20 240 `0` "\xC2\x53" " "   // number of milks
#end

#define number_of_milks_button_577
macro large_data_value_input_value_with_large_button_431_02 20 240 `0`   // number of milks
#end

#define slide_show_progress_bar_578
pen 1
sc F2F3F3 F2F3F3
rect 288 441 594 445 1 F2F3F3   // white bar
sc 000000 000000
rect 288 428 594 440 1 000000   // top black bar
rect 288 446 594 458 1 000000   // bottom black bar
sc F2F3F3 F2F3F3
// white tick
rect `0` 428 `1` 458 1 F2F3F3   // white bar
#end

#define load_resume_button_579
widgetdel 11
buttonm 10 90 420 4 "" 711 710
buttonsi 10 S
buttonprv 10 "\xA5\x07" R
#end

#define load_pause_button_580
widgetdel 10
buttonm 11 90 420 4 "" 712 713
buttonsi 11 S
buttonprv 11 "\xA5\x06" R
#end

#define replace_dispense_tips_screen_581
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
sc F2F3F3 000000    // set screen fore , back colors
rect 0 0 799 479 1 000000                // background
buttonm 20 314 290 4 "`0`" 23 24          // yes button
buttonsi 20 S                            // silence standard outputs
buttonprv 20 "\xC0\x10" R                // continue button
buttonm 25 0 0 5 "" 15 16                // BUNN logo
buttonsi 25 S                            // silence standard outputs
buttonprv 25 "\xC0\x11" P                    // BUNN
buttonprv 25 "\xC0\x12" R                    // BUNN
macro write_at_screen_center_59 "`1`"    // replace tips
scupdate
setguibk 0
#end

#define load_service_notices_screen_582
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
rect 0 0 799 479 1 000000               // background under daily care
sc F2F3F3 000000    // set screen fore , back colors
tm 2                   // transparent backround
ta 2 12                                 // center center
t "`0`" 400 50                             //service menu  ( page title )
buttonm 25 0 0 4 "" 15 15             // logo
buttonsi 25 S                              //silence standard outputs
buttonprv 25 "\xC1\x7F" R                  // logo
buttonm 62 20 412 4 "" 46 49            //   return
buttonsi 62 S                              //silence standard outputs
buttonprv 62 "\xC1\x3B" R                  //   return
#end

#define load_calibrate_milk_sensor_screen_583
setguibk 1
macro screen_clear_1                     // clear everything and set defaults
buttonm 25 13 13 4 "" 37 37              // BUNN
buttonsi 25 S
buttonprv 25 "\x7F" R
ta 2 12                                  // center center
t "`0`" 400 50                           // calibrate milk sensor ( page title )
sc F2F3F3 000000    // set screen fore , back colors
buttonm 62 20 412 4 "" 46 49             //   return
buttonsi 62 S                            // silence standard outputs
buttonprv 62 "\xA0\x01" R                //   return
buttonm 63 295 230 4 "`1`" 27 28          //   start test
buttonsi 63 S                            // silence standard outputs
buttonprv 63 "\xA0\x02" R                //   start test
sc 000000 F2F3F3    // set screen fore , back colors
#end

#define calibrate_milk_sensor_value_labels_584
ta 1 0              // right top
t "`0`" 700 205     //milk 1 sensor voltage
ta 1 0              // right top
t "`1`" 700 235     //milk 1 sensor intensity
ta 1 0              // right top
t "`2`" 700 265     //milk 1 previous calib
ta 1 0              // right top
t "`3`" 700 310     //milk 2 sensor voltage
ta 1 0              // right top
t "`4`" 700 340     //milk 2 sensor intensity
ta 1 0              // right top
t "`5`" 700 370     //milk 2 previous calib
#end

#define calibrate_milk_sensor_value_585
rect 705 200 798 405 1 F2F3F3     // rectangle around data - blank previous values
sc `7` F2F3F3                     // text to given color for sensor 1 voltage
ta 0 0                            // left top
t "`0`" 710 205                   // milk 1 sensor voltage
ta 0 0                            // left top
t "`1`" 710 235                   // milk 1 sensor intensity
sc 000000 F2F3F3                  // return to black text
ta 0 0                            // left top
t "`2`" 710 265                   // milk 1 previous value
sc `8` F2F3F3                     // text to given color for sensor 2 voltage
ta 0 0                            // left top
t "`3`" 710 310                   // milk 2 sensor voltage
ta 0 0                            // left top
t "`4`" 710 340                   // milk 2 sensor intensity
sc 000000 F2F3F3                  // return to black text
ta 0 0                            // left top
t "`5`" 710 370                   // milk 2 previous value
ta 2 12                           // center center
t "`6`" 400 310                   // sensor not detected prompt
#end

#define calibrate_milk_sensor_stop_button_586
widgetdel 63                         // remove start button
rect 290 225 510 300 1 F2F3F3        // rectangle clear start button
buttonm 20 620 411 5 "" `0` `1`      // stop
buttonsi 20 S                        // silence standard outputs
buttonprv 20 "\xA0\x03" P            // stop - press
buttonprv 20 "\xA0\x04" R            // stop - release
#end

#define calibrate_milk_sensor_start_button_587
widgetdel 20                         // remove stop button
rect 620 411 799 479 1 F2F3F3        // rectangle clear stop button
sc F2F3F3 000000                     // set screen fore , back colors
buttonm 63 295 230 4 "`0`" 27 28     // start test
buttonsi 63 S                        // silence standard outputs
buttonprv 63 "\xA0\x02" R            // start test
sc 000000 F2F3F3                     // set screen fore , back colors
#end

#define vend_device_status_590
setguibk 1
macro screen_clear_1                 // clear everything and set defaults
rect 0 0 799 479 1 000000            // background
buttonm 25 0 0 4 "" 15 16            // logo
buttonsi 25 S                        // silence standard output
buttonprv 25 "\x7F" R                // output 7Fh
buttonm 1 20 412 4 "" 46 49          // return arrow
buttonsi 1 S
buttonprv 1 "\xA9\x20" R
sc F2F3F3 000000                     // set screen fore , back colors
ta 2 12                              // center center
t "`0`" 400 50                       // device status ( page title )
sc 000000 F2F3F3
#end

#define vend_device_status_info_591
sc F2F3F3 000000                     // set screen fore , back colors
ta 1 12                                  // right center
t "`0`" 390 150                          // Active:
ta 0 12                                  // left center
t "`1`" 410 150                          // Active Yes/No
ta 1 12                                  // right center
t "`2`" 390 190                          // Manufacturer:
ta 0 12                                  // left center
t "`3`" 410 190                          // value
ta 1 12                                  // right center
t "`4`" 390 230                          // Model Number:
ta 0 12                                  // left center
t "`5`" 410 230                          // value
ta 1 12                                  // right center
t "`6`" 390 270                          // Serial Number:
ta 0 12                                  // left center
t "`7`" 410 270                          // value
ta 1 12                                  // right center
t "`8`" 390 310                          // Software Version:
ta 0 12                                  // left center
t "`9`" 410 310                          // value
#end




#define display_brew_tank_drain_button_634
widgetdel 87                             // delete the start button
sc F2F3F3 000000                         // set screen fore , back colors
buttonl 87 78 170 0 "`0`" "`0`" 27 28         // continue/pause brew drain
buttonsi 87 S                              // silence standard outputs
buttonprv 87 "\xC1\x70" P                  //
buttonprv 87 "\xC1\x71" R                  //
sc 000000 F2F3F3                         // set screen fore , back colors
#end

#define display_steam_tank_drain_button_635
widgetdel 84                             // delete the start button
sc F2F3F3 000000                         // set screen fore , back colors
buttonl 84 295 100 0 "`0`" "`0`" 27 28         // continue/pause steam drain
buttonsi 84 S                              // silence standard outputs
buttonprv 84 "\xC1\x72" P                  //
buttonprv 84 "\xC1\x73" R                  //
sc 000000 F2F3F3                         // set screen fore , back colors
#end

#define remove_logo_n_back_buttons_636
widgetdel 25                             // disable the logo button
rect 13 13 151 51 1 F2F3F3               // overwrite the logo
widgetdel 62                             // disable the back button
rect 20 412 95 462 1 F2F3F3              // overwrite the back key
#end

#define display_system_drain_screen_02_637
setguibk 1                              // background mode
macro screen_clear_1                    // clear everything and set defaults
ta 2 12                                 // center center
t "`0`" 400 50                             //system drain menu  ( page title )
buttonm 25 13 13 4 "" 37 37             // logo
buttonsi 25 S                              //silence standard outputs
buttonprv 25 "\xC1\x7F" R                  // logo
buttonm 62 20 412 4 "" 46 49            //   return
buttonsi 62 S                              //silence standard outputs
buttonprv 62 "\xC1\x68" R                  //   return
sc F2F3F3 000000                        // set screen fore , back colors
buttonl 85 295 170 0 "`1`" "`2`" 27 28  //   enable pump
buttonsi 85 S                              //silence standard outputs
buttonprv 85 "\xC1\x74" P                  //   system drain
buttonprv 85 "\xC1\x75" R                  //   system drain
sc 000000 F2F3F3                        // set screen fore , back colors
ta 1 0                                  // right top
t "`3`" 700 100                         // steam pressure
ta 1 0                                  // right top
t "`4`" 700 130                         // steam tank fill status
ta 1 0                                  // right top
t "`5`" 700 160                         // tank temperature
#end

#define display_system_drain_status_638
rect 78 70 512 98 1 F2F3F3               // overwrite the logo
ta 2 12                                   // center center
t "`0`" 292 82                           //
#end

#define display_brew_tank_cool_button_639
widgetdel 89                             // delete the start button
sc F2F3F3 000000                         // set screen fore , back colors
buttonl 89 78 100 0 "`0`" "`0`" 27 28         // continue/pause brew drain
buttonsi 89 S                              // silence standard outputs
buttonprv 89 "\xC1\x76" P                  //
buttonprv 89 "\xC1\x77" R                  //
sc 000000 F2F3F3                         // set screen fore , back colors
#end

#define display_milk_drain_key_640       // for system drain with new hydraulic modual
widgetdel 86                             // delete the start button
sc F2F3F3 000000    // set screen fore , back colors
buttonl 86 78 240 0 "`0`" "`1`" 27 28  //   open Milk valves
buttonsi 86 S                              //   silence standard outputs
buttonprv 86 "\xC1\x6E" P                  //   milk drain
buttonprv 86 "\xC1\x6F" R                  //   milk drain
sc 000000 F2F3F3    // set screen fore , back colors
#end














