![]() |
|
Time Program - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Products (https://www.comfortforums.com/forum-3.html) +--- Forum: Questions on Using Comfort (https://www.comfortforums.com/forum-159.html) +--- Thread: Time Program (/thread-1377.html) |
- juwi_uk - 02-27-2009 Hi The TP command includes the Comfort Response Number as a parameter. If I want to include in my Client Application and use by name I can fetch the TimeProgram definition from the CCLX file and lookup the response number as stored in this file using the ResonseName stored against the time program nodes. Question is though is this response number stored in the CCLX the SAME as the response number location in Comfort itself? I want to believe it is so my logic will work but the niggling concern surrounds the ability to have fixed or floating response numbers in comfigurator and how this could affect things? Can you clarify please? Regards Julian - admin - 02-28-2009 The Response number in the cclx file does refer to ther actual response number in Comfort. You must be careful to check the cclx file again if you make any changes to the responses, since the numbers can be changed by preceding responses becoming longer or if you alter responses in any way which would affect the number - juwi_uk - 02-28-2009 [user=606]admin[/user] wrote: Quote:The Response number in the cclx file does refer to ther actual response number in Comfort. You must be careful to check the cclx file again if you make any changes to the responses, since the numbers can be changed by preceding responses becoming longer or if you alter responses in any way which would affect the number That\'s great as I\'m checking the response file each time the application opens. The only scenario I can see where this can go wrong is if you change the responses in the CCLX file and save but DONT upload the changes to Comfort. I\'ve looked in the CCLX file and on first looks there doesnt seem to be any datestamp to say if the configuration has been uploaded that I could check. This would be a nice feature as you could blank this after any change made and set it on download. I could then check this for validity in the app do logic accordingly. Not fullproof I know as doesnt stop someone downloading a different CCLX but then that should be selected as the new CCLX in the app anyway. What\'s the best way to do this. J |