;;************************************************************************
;; HVC-Dialogue Library
;; File with STANDARD Text HEADL0_S.TXT (HEADL2_S.T_E)
;;************************************************************************
;; ENGIBY, N. Bovigny, Avenches
;; Version DL0 / V 2.0.70 / 04.02.99 / English
;;************************************************************************
;; Text for Code display and SBUS Dialogue.
;;************************************************************************
__dlgxoutp macro xoutp,pref,corxy,dpas1,dpas2

;;==============================
;; Selection of code display
;;==============================
OPTION  LEQU    1       ;;1=Image 'SAIA DDC +' with Date, Time and Code
                        ;;2=Image 'SAIA SAIA'
                        ;;3=Image 'COMPANY-NAME' and only 4 Code under left
                        ;;Other values = ........ for Code
;;=======================================================================

$ifb <dpas1#dpas2>      ;;if not used
$endif
$if option=1
text xoutp      "$A",pref.04,                   ;;Position command
                "$A",corxy.04,                  ;;Co-ordinate X,Y
                " --[SAIA DDC+]--"              ;;Line 1

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10>"            ;;Co-ordinate X,Y
                "  DATE:$d"                     ;;Line 2

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10>"        ;;Co-ordinate X,Y
                "  TIME:$H"                     ;;Line 3

                "$A",pref.04,                       ;;Position command
                "$A",corxy.04,"<10><10><10>"        ;;Co-ordinate X,Y
                "  CODE:$A",dpas1.04,"$A",dpas2.04  ;;Line 4
$elseif option=2
text xoutp      "$A",pref.04,                   ;;Position command
                "$A",corxy.04,                  ;;Co-ordinate X,Y
                " ---------------"              ;;Line 1

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10>"            ;;Co-ordinate X,Y
                " SAIA SAIA SAIA "              ;;Line 2

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10>"        ;;Co-ordinate X,Y
                " ---------------"              ;;Line 3

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10><10>"    ;;Co-ordinate X,Y
                " Tel 026/6727111"              ;;Line 4
$elseif option=3
text xoutp      "$A",pref.04,                   ;;Position command
                "$A",corxy.04,                  ;;Co-ordinate X,Y
                " ---------------"              ;;Line 1

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10>"            ;;Co-ordinate X,Y
                " YOUR    COMPANY"              ;;Line 2

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10>"        ;;Co-ordinate X,Y
                " ---------------"              ;;Line 3

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10><10>"    ;;Co-ordinate X,Y
                " 000/0000000",                 ;;Line 4
                "$A",dpas1.04                   ;;Code, Line 4
$else
text xoutp      "$A",pref.04,                   ;;Default Text
                "$A",corxy.04,"<10>"            ;;Co-ordinate X,Y Y
                "    $A",dpas1.04,"$A",dpas2.04 ;;Line 1
$endif
endm

;;************************************************************************
__dlgxouts macro xoutsb,xoutby,pref,corxy

;;==============================
;; Selection of SBUS Text
;;==============================
OPT_SB  LEQU    1       ;;Text fr SBUS free
                        ;;1=Image 'SAIA DDC +' with date and time
                        ;;2=Image 'SAIA SAIA'
                        ;;3=Image 'COMPANY NAME'
                        ;;Other values = date and time
OPT_BY  LEQU    1       ;;Text for SBUS busy
                        ;;1=Bild 'SAIA DDC +', BUS busy
                        ;;Other values = BUS busy
;;=======================================================================

$if opt_sb=1
text xoutsb     "$A",pref.04,                   ;;Position command
                "$A",corxy.04,                  ;;Co-ordinate X,Y
                " --[SAIA DDC+]--"              ;;Line 1

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10>"            ;;Co-ordinate X,Y
                "  DATE:$d"                     ;;Line 2

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10>"        ;;Co-ordinate X,Y
                "  TIME:$H"                     ;;Line 3

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10><10>"    ;;Co-ordinate X,Y
                "1 PRESS KEY"                   ;;Line 4

$elseif opt_sb=2
text xoutsb     "$A",pref.04,                   ;;Position command
                "$A",corxy.04,                  ;;Co-ordinate X,Y
                " ---------------"              ;;Line 1

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10>"            ;;Co-ordinate X,Y
                " SAIA SAIA SAIA "              ;;Line 2

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10>"        ;;Co-ordinate X,Y
                " ---------------"              ;;Line 3

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10><10>"    ;;Co-ordinate X,Y
                " Tel 026/6727111"              ;;Line 4
$elseif opt_sb=3
text xoutsb     "$A",pref.04,                   ;;Position command
                "$A",corxy.04,                  ;;Co-ordinate X,Y
                " ---------------"              ;;Line 1

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10>"            ;;Co-ordinate X,Y
                " YOUR    COMPANY"              ;;Line 2

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10>"        ;;Co-ordinate X,Y
                " ---------------"              ;;Line 3

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10><10>"    ;;Co-ordinate X,Y
                "000/000 00 00   "              ;;Line 4
$else
text xoutsb
                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10>"            ;;Co-ordinate X,Y
                "    $d"                        ;;Line 2

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10>"        ;;Co-ordinate X,Y
                "    $H"                        ;;Line 3
$endif
;;==============================================
$if opt_by=1
text xoutby     "$A",pref.04,                   ;;Position command
                "$A",corxy.04,                  ;;Co-ordinate X,Y
                " --[SAIA DDC+]--"              ;;Line 1

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10>"        ;;Co-ordinate X,Y
                "   BUS OCCUPIED  "             ;;Line 2

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10><10>"    ;;Co-ordinate X,Y
                " ---------------"              ;;Line 4
$else
text xoutby     "$A",pref.04,                   ;;Position command
                "$A",corxy.04,                  ;;Co-ordinate X,Y
                " ---------------"              ;;Line 1

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10>"            ;;Co-ordinate X,Y
                "   BUS OCCUPIED  "             ;;Line 2

                "$A",pref.04,                   ;;Position command
                "$A",corxy.04,"<10><10>"        ;;Co-ordinate X,Y
                " ---------------"              ;;Line 3
$endif
endm

;;**************************************
;; List of terminal addresses
;;**************************************
__dlgxteru macro xteru
text xteru
"  01" ;;1
"  02" ;;2
"  03" ;;3
"  04" ;;4
"  05" ;;5
"  06" ;;6
"  07" ;;7
"  08" ;;8
"  09" ;;9
"  10" ;;10
endm

;;**************************************
;; List of system texts
;;**************************************
__dlgxsyss macro xsyss
text xsyss
;123412341234123412341234;
;0   1   2   3   4   5   ;
"    Texte 0=reserved    " ;;0
"     OFF  ON            " ;;1 (right justified)
"    OK  ALA NAK OK      " ;;2
"                        " ;;3
"                        " ;;4
"                        " ;;5 
"                        " ;;6 
"                        " ;;7 
"                        " ;;8 
"                        " ;;9 
"     OFF  ON            " ;;10	Txt 0 for binay ((right justified)
"    AUTO MAN            " ;;11
"      OK ERR            " ;;12
"      NO YES            " ;;13
"                        " ;;14
"                        " ;;15
"                        " ;;16
"                        " ;;17
"                        " ;;18
"                        " ;;19	Txt 9 for binay
"     OFFOPENCLOS        " ;;20	Txt 0 for duplex (right justified)
"     OFF  UPDOWN        " ;;21
"     OFF VORBACK        " ;;22
"     OFFPLUSMINU        " ;;23
"                        " ;;24
"                        " ;;25
"                        " ;;26
"                        " ;;27
"                        " ;;28
"                        " ;;29	Txt 9 for duplex
endm

;;**************************************
;; Text for standard objects
;;**************************************
__dlgxobjs macro xobjs
text xobjs
;123412341234123412341234;
;0   1   2   3   4   5   ;
"     Text 0=reserved    " ;;0
"     Input BIN          " ;;1
"     Input INT          " ;;2
"     Force BIN          " ;;3
"     Force INT          " ;;4
"     Output BIN         " ;;5
"     Output INT         " ;;6
"     Switch             " ;;7
"     Heat gradient      " ;;8
"     Set-point          " ;;9
"     Clock day          " ;;10
"     Clock week         " ;;11
"     Clock year         " ;;12
"     Clock holiday      " ;;13
"     Clock write        " ;;14
"     Working time       " ;;15
"     P-Controller       " ;;16
"     PI-Controller      " ;;17
"     PID-Controller     " ;;18
"     Controller W 3P    " ;;19
"     Correction W       " ;;20
"     Monitoring         " ;;21
"     Conversion         " ;;22
"     Clock impuls       " ;;23
"     Clock month        " ;;24
"     Controller 2P      " ;;25
"                        " ;;26
"                        " ;;27
"     List num           " ;;28
"     List bin           " ;;29
"     Buffer alarm       " ;;30
"     Setup              " ;;31
"     Message            " ;;32
"     Dialog Object      " ;;33
"                        " ;;34
"                        " ;;35
"                        " ;;36
"                        " ;;37
"                        " ;;38
"                        " ;;39
"                        " ;;40
"                        " ;;41
"                        " ;;42
"                        " ;;43
"                        " ;;44
"                        " ;;45
"                        " ;;46
"                        " ;;47
"                        " ;;48
"     -------------------" ;;49
endm

;;**************************************
;; Text for standard elements
;;**************************************
__dlgxeles macro xeles
text xeles
;12341234123412341234;
;0   1   2   3   4   5     ;
"    Text0=reserved      " ;;0
"  00Maximum             " ;;1
"  00Minimum             " ;;2
"    State               " ;;3
"  00Value               " ;;4
"    State               " ;;5
"  00Value               " ;;6
"    State               " ;;7
"    Value               " ;;8
"    Message             " ;;9
"    Switch              " ;;10
"  50P-Factor            " ;;11
"  50Integration         " ;;12
"  50Derivation          " ;;13
"  50Filter T1           " ;;14
"  00Set-point W         " ;;15
"  00Input X             " ;;16
"  00Deviation           " ;;17
"  00Output Y            " ;;18
"  00Offset              " ;;19
"  00Dead range          " ;;20
"  00Shift               " ;;21
"  00Gradient            " ;;22
"                        " ;;23
"  00Outside temp        " ;;24
"  00Outside tmp 1       " ;;25
"  00Outside tmp 2       " ;;26
"  00Outside tmp 3       " ;;27
"  00Outside tmp 4       " ;;28
"  00SetP Day 1          " ;;29
"  00SetP Day 2          " ;;30
"  00SetP Day 3          " ;;31
"  00SetP Day 4          " ;;32
"  00SetP Night 1        " ;;33
"  00SetP Night 2        " ;;34
"  00SetP Night 3        " ;;35
"  00Setp Night 4        " ;;36
"  00Reduction           " ;;37
"  00SetP low            " ;;38
"  00SetP high           " ;;39
"    Time On             " ;;40
"    Time Off            " ;;41
"  00Day On              " ;;42
"  00Day Off             " ;;43
"    Date On             " ;;44
"    Date Off            " ;;45
"    Date                " ;;46
"    Input               " ;;47
"    Channel             " ;;48
"    Output              " ;;49
"  00Duration            " ;;50
"  00Working time        " ;;51
"  00Switch on           " ;;52
"  00Signal              " ;;53
"  00Reset               " ;;54
"  00Dev pos             " ;;55
"  00Dev neg             " ;;56
"  00Dead range          " ;;57
"  00Correction          " ;;58
"  00Correction          " ;;59
"  00Factor              " ;;60
"    01 Value            " ;;61
"    Point ON            " ;;62
"    Point OFF           " ;;63
"                        " ;;64
"    Time 1              " ;;65
"    Time 2              " ;;66
"    Time 3              " ;;67
"    Time 4              " ;;68
"                        " ;;69
"    Time HH.MM          " ;;70
"    Day  Mon=1          " ;;71
"    Date DD.MM          " ;;72
"    Year    YY          " ;;73
"                        " ;;74
"    On  Monday          " ;;75
"    Off Monday          " ;;76
"    On  Tuesday         " ;;77
"    Off Tuesday         " ;;78
"    On  Wednesday       " ;;79
"    Off Wednesday       " ;;80
"    On  Thursday        " ;;81
"    Off Thursday        " ;;82
"    On  Friday          " ;;83
"    Off Friday          " ;;84
"    On  Saturday        " ;;85
"    Off Saturday        " ;;86
"    On  Sunday          " ;;87
"    Off Sunday          " ;;88
"                        " ;;89
"    Upper lim 2         " ;;90
"    Upper lim 1         " ;;91
"    Lower lim 1         " ;;92
"    Lower lim 2         " ;;93
"                        " ;;94
"    Point X1            " ;;95
"    Point Y1            " ;;96
"    Point X2            " ;;97
"    Point Y2            " ;;98
"    Contrast            " ;;99

text xeles+1
;12341234123412341234;
;0   1   2   3   4   5     ;
"    Actual day          " ;;100
"    Next                " ;;101
"    On  1               " ;;102
"    Off 1               " ;;103
"    On  2               " ;;104
"    Off 2               " ;;105
"    On  3               " ;;106
"    Off 3               " ;;107
"    On  4               " ;;108
"    Off 4               " ;;109
"                        " ;;110
"                        " ;;111
"                        " ;;112
"                        " ;;113
"                        " ;;114
"                        " ;;115
"                        " ;;116
"                        " ;;117
"                        " ;;118
"                        " ;;119
endm