Where Are Floorplan Objects Stored
From LinuxMCE
Revision as of 22:21, 24 May 2011 by Marie.o (Talk | contribs) (added notes about reordering from Uplinks IRC blurb.)
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
- 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