|
From: <ma...@us...> - 2010-12-28 12:04:46
|
Revision: 234
http://openautomation.svn.sourceforge.net/openautomation/?rev=234&view=rev
Author: mayerch
Date: 2010-12-28 12:04:40 +0000 (Tue, 28 Dec 2010)
Log Message:
-----------
Bug fix
Modified Paths:
--------------
CometVisu/trunk/visu/transforms/transform_knx.js
Modified: CometVisu/trunk/visu/transforms/transform_knx.js
===================================================================
--- CometVisu/trunk/visu/transforms/transform_knx.js 2010-12-27 23:54:56 UTC (rev 233)
+++ CometVisu/trunk/visu/transforms/transform_knx.js 2010-12-28 12:04:40 UTC (rev 234)
@@ -75,7 +75,7 @@
return (val.length == 1 ? '800' : '80') + val;
},
decode: function( hex ){
- return parseInt( hex, 16 ) * 100 / 360.0;
+ return parseInt( hex, 16 ) * 360 / 255.0;
}
},
'5.004' : {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|