Difference between revisions of "Where Are Floorplan Objects Stored"

From LinuxMCE
Jump to: navigation, search
(added notes about reordering from Uplinks IRC blurb.)
Line 13: Line 13:
  
 
Floorplan objects show different colors based on their state.
 
Floorplan objects show different colors based on their state.
 +
== Changing Floorplan Order ==
 +
# reorder the Page numbers in table Floorplan
 +
# rename the files in /home/pluto/floorplans/instXXXXX
 +
# translate the Page component in all triplets in DD 10
 +
# also taking care of overlaps between the old and the new set

Revision as of 22:21, 24 May 2011

Floorplans are a very nice way to visualize where devices are located, and what there current status is.

Floorplan objects are stored in various tables around the system.

  • EntertainmentArea contain FloorplanInfo as coordinates.
  • Rooms contain FloorplanInfo as coordinates
  • All other locations are stored in DeviceData type Floorplan Info (FK_DeviceData = 10)

All FloorplanInfo is formatted FK_Floorplan,X-Coordinate,Y-Coordinate.

The floorplan background image is stored below the lmce-admin web directory.

Floorplan objects show different colors based on their state.

Changing Floorplan Order

  1. reorder the Page numbers in table Floorplan
  2. rename the files in /home/pluto/floorplans/instXXXXX
  3. translate the Page component in all triplets in DD 10
  4. also taking care of overlaps between the old and the new set