|
From: <ma...@us...> - 2012-05-01 14:23:22
|
Revision: 778
http://openautomation.svn.sourceforge.net/openautomation/?rev=778&view=rev
Author: mayerch
Date: 2012-05-01 14:23:15 +0000 (Tue, 01 May 2012)
Log Message:
-----------
3D pages: change DPT for azimuth and elevation to 9 which makes much more sense than 5
Modified Paths:
--------------
CometVisu/trunk/visu/structure/pure/page.js
CometVisu/trunk/visu/visu_config_2d3d.xml
Modified: CometVisu/trunk/visu/structure/pure/page.js
===================================================================
--- CometVisu/trunk/visu/structure/pure/page.js 2012-05-01 11:42:50 UTC (rev 777)
+++ CometVisu/trunk/visu/structure/pure/page.js 2012-05-01 14:23:15 UTC (rev 778)
@@ -76,12 +76,12 @@
$(window).bind( 'resize', function(){ floorplan.resize($('.page').width(), $('.page').height(), true);} );
if ($p.attr('azimut')) {
ga_list.push($p.attr('azimut'));
- address[ '_' + $p.attr('azimut') ] = [ 'DPT:5.001', 0, 'azimut' ];
+ address[ '_' + $p.attr('azimut') ] = [ 'DPT:9.001', 0, 'azimut' ];
container.bind( '_' + $p.attr('azimut'), this.update );
}
if ($p.attr('elevation')) {
ga_list.push($p.attr('elevation'));
- address[ '_' + $p.attr('elevation') ] = [ 'DPT:5.001', 0, 'elevation' ];
+ address[ '_' + $p.attr('elevation') ] = [ 'DPT:9.001', 0, 'elevation' ];
container.bind( '_' + $p.attr('elevation'), this.update );
};
if ($p.attr('floor')) {
Modified: CometVisu/trunk/visu/visu_config_2d3d.xml
===================================================================
--- CometVisu/trunk/visu/visu_config_2d3d.xml 2012-05-01 11:42:50 UTC (rev 777)
+++ CometVisu/trunk/visu/visu_config_2d3d.xml 2012-05-01 14:23:15 UTC (rev 778)
@@ -83,15 +83,15 @@
<layout x="3.5" y="3.7" z="1.0"/>
<address transform="DPT:5.001" type="">12/7/53</address>
</info>
- <slide min="0" max="6.283185307179586">
+ <slide min="0" max="6.283185307179586" step="0.01">
<layout x="0px" y="570px" width="600px" />
<label>Azimut</label>
- <address transform="DPT:5.001" type="">12/7/53</address>
+ <address transform="DPT:9.001" type="">12/7/53</address>
</slide>
- <slide min="0" max="1.5707963267948966">
+ <slide min="0" max="1.5707963267948966" step="0.01">
<layout x="400px" y="570px" width="600px" />
<label>Elevation</label>
- <address transform="DPT:5.001" type="">12/7/54</address>
+ <address transform="DPT:9.001" type="">12/7/54</address>
</slide>
<trigger value="0">
<layout x="0px" y="150px" width="600px" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|