| [637] | 1 | 
 | 
|---|
 | 2 | enum            {
 | 
|---|
 | 3 |                 auto_val=1,     // appel systematique si auto est on
 | 
|---|
 | 4 |                 auto_force=4,   // appel sur bouton auto individuel ou global
 | 
|---|
 | 5 |                 auto_carre=6    // appel par courbe V(I)
 | 
|---|
 | 6 |                 
 | 
|---|
 | 7 |                 };  //  differents changement automatiques
 | 
|---|
 | 8 | 
 | 
|---|
 | 9 | void            auto_control(int bolo,int mode);
 | 
|---|
 | 10 | void            auto_transitoire(int bolo,int ct);      
 | 
|---|
 | 11 | 
 | 
|---|
 | 12 | int             test_saturation(int bolo);
 | 
|---|
 | 13 | 
 | 
|---|
 | 14 | extern int      vg[nb_max_bolo];                        // 0 ou vieux gain pour remonter le gain
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 | //debut_id=1090
 | 
|---|
 | 17 | //----------------------------------  fenetre : auto  -----------------------------------
 | 
|---|
 | 18 | 
 | 
|---|
 | 19 | #define auto_id  1090  //  le id de la fenetre dans la ressource
 | 
|---|
 | 20 | 
 | 
|---|
 | 21 | void exec_auto(int fen,int item,double valeur,...);   //  prototype de la fonction
 | 
|---|
 | 22 | 
 | 
|---|
 | 23 | // liste des items de la fenetre (39) items 
 | 
|---|
 | 24 | 
 | 
|---|
 | 25 | #define  auto_auto_val              1     //   edit texte 
 | 
|---|
 | 26 | #define  auto_fixe_gain             2     //   controle 
 | 
|---|
 | 27 | #define  auto_gain                  3     //   controle 
 | 
|---|
 | 28 | #define  auto_tout_auto             4     //   controle 
 | 
|---|
 | 29 | #define  auto_rien_auto             5     //   controle 
 | 
|---|
 | 30 | #define  auto_montre                7     //   controle 
 | 
|---|
 | 31 | #define  auto_verouille             8     //   controle 
 | 
|---|
 | 32 | #define  auto_correct               10     //   edit texte 
 | 
|---|
 | 33 | #define  auto_thermo                11     //   controle 
 | 
|---|
 | 34 | #define  auto_voie1                 13     //   controle 
 | 
|---|
 | 35 | #define  auto_voie2                 14     //   controle 
 | 
|---|
 | 36 | #define  auto_voie3                 15     //   controle 
 | 
|---|
 | 37 | #define  auto_fixe_courant          16     //   controle 
 | 
|---|
 | 38 | #define  auto_courant               17     //   controle 
 | 
|---|
 | 39 | #define  auto_transitoire_auto      18     //   controle 
 | 
|---|
 | 40 | #define  auto_sauve                 19     //   controle 
 | 
|---|
 | 41 | #define  auto_bolo_couleur          30     //   controle 
 | 
|---|
 | 42 | #define  auto_bolo_couleur31        31     //   controle 
 | 
|---|
 | 43 | #define  auto_bolo_couleur32        32     //   controle 
 | 
|---|
 | 44 | #define  auto_bolo_couleur33        33     //   controle 
 | 
|---|
 | 45 | #define  auto_bolo_couleur34        34     //   controle 
 | 
|---|
 | 46 | #define  auto_bolo_couleur35        35     //   controle 
 | 
|---|
 | 47 | #define  auto_bolo_couleur36        36     //   controle 
 | 
|---|
 | 48 | #define  auto_bolo_couleur37        37     //   controle 
 | 
|---|
 | 49 | #define  auto_bolo_couleur38        38     //   controle 
 | 
|---|
 | 50 | #define  auto_bolo_couleur39        39     //   controle 
 | 
|---|
 | 51 | 
 | 
|---|
 | 52 | //fin_id
 | 
|---|
 | 53 | 
 | 
|---|
 | 54 | 
 | 
|---|
 | 55 | 
 | 
|---|
 | 56 | //debut_id=1120
 | 
|---|
 | 57 | //----------------------------------  fenetre : automatismes  -----------------------------------
 | 
|---|
 | 58 | 
 | 
|---|
 | 59 | #define automatismes_id  1120  //  le id de la fenetre dans la ressource
 | 
|---|
 | 60 | 
 | 
|---|
 | 61 | void exec_automatismes(int fen,int item,double valeur,...);   //  prototype de la fonction
 | 
|---|
 | 62 | 
 | 
|---|
 | 63 | // liste des items de la fenetre (34) items 
 | 
|---|
 | 64 | 
 | 
|---|
 | 65 | #define  atm_gain                  10     //   controle 
 | 
|---|
 | 66 | #define  atm_gain11                11     //   controle 
 | 
|---|
 | 67 | #define  atm_gain12                12     //   controle 
 | 
|---|
 | 68 | #define  atm_gain13                13     //   controle 
 | 
|---|
 | 69 | #define  atm_gain14                14     //   controle 
 | 
|---|
 | 70 | #define  atm_gain15                15     //   controle 
 | 
|---|
 | 71 | #define  atm_courant               16     //   controle 
 | 
|---|
 | 72 | #define  atm_courant17             17     //   controle 
 | 
|---|
 | 73 | #define  atm_courant18             18     //   controle 
 | 
|---|
 | 74 | #define  atm_courant19             19     //   controle 
 | 
|---|
 | 75 | #define  atm_courant20             20     //   controle 
 | 
|---|
 | 76 | #define  atm_courant21             21     //   controle 
 | 
|---|
 | 77 | #define  atm_auto                  22     //   controle 
 | 
|---|
 | 78 | #define  atm_auto23                23     //   controle 
 | 
|---|
 | 79 | #define  atm_auto24                24     //   controle 
 | 
|---|
 | 80 | #define  atm_auto25                25     //   controle 
 | 
|---|
 | 81 | #define  atm_auto26                26     //   controle 
 | 
|---|
 | 82 | #define  atm_auto27                27     //   controle 
 | 
|---|
 | 83 | #define  atm_delai                 28     //   controle 
 | 
|---|
 | 84 | #define  atm_delai29               29     //   controle 
 | 
|---|
 | 85 | #define  atm_delai30               30     //   controle 
 | 
|---|
 | 86 | #define  atm_delai31               31     //   controle 
 | 
|---|
 | 87 | #define  atm_delai32               32     //   controle 
 | 
|---|
 | 88 | #define  atm_delai33               33     //   controle 
 | 
|---|
 | 89 | 
 | 
|---|
 | 90 | //fin_id
 | 
|---|