04-28-2013, 01:44 PM
Bonjour, à ma connaissance, il n'est pas possible pour l'instant (v1.3.53) de créer des fonctions avec des paramètres en entrée. Je crois que la solution actuelle à votre problème est de créer une succession de "IF" du genre:
1- IF consigne_thermo1 > consigne_thermo2 ALORS consigne_max=consigne_thermo1 SINON consigne_max=thermo2, PUIS CONTINUER en ligne 2
2- IF consigne_thermo3 > consigne_max ALORS consigne_max=consigne_thermo3 SINON rien, PUIS CONTINUER en ligne 3
3- IF consigne_thermo4 > consigne_max ALORS consigne_max=consigne_thermo4 SINON rien, PUIS CONTINUER en ligne 4
4- IF consigne_thermo5 > consigne_max ALORS etc....
Je ne sais pas si c'est très clair désolé :o
1- IF consigne_thermo1 > consigne_thermo2 ALORS consigne_max=consigne_thermo1 SINON consigne_max=thermo2, PUIS CONTINUER en ligne 2
2- IF consigne_thermo3 > consigne_max ALORS consigne_max=consigne_thermo3 SINON rien, PUIS CONTINUER en ligne 3
3- IF consigne_thermo4 > consigne_max ALORS consigne_max=consigne_thermo4 SINON rien, PUIS CONTINUER en ligne 4
4- IF consigne_thermo5 > consigne_max ALORS etc....
Je ne sais pas si c'est très clair désolé :o
www.osmotiq.com, domotique, développement logiciel et web -- tests & tutoriels KNX, Lifedomus, ZWave, etc.
Twitter: osmotiq
Twitter: osmotiq