akipta / freedomotic

Automatically exported from code.google.com/p/freedomotic
Other
0 stars 0 forks source link

Make object plugins more reusable from XML #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the object plugin loading is done in the wrong way. It doesn't allows 
to have more XML versions of a single java envobject class. 

Components must be:

- a plugin class whits model a generic problem, like Gate.java
- a template XML in data/templates which is loaded at startup (but not added to 
objects list)
- a set of unique instances of XML template generated by the user when he 
clicks "add door object" from frontend (add to objects list making unique).

This way is possible to have a door.xobj and window.xobj which both are Gates 
but with different descriptions and representations.

Original issue reported on code.google.com by enrico.n...@gmail.com on 2 Sep 2012 at 1:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision c56db92ec885.

Original comment by enrico.n...@gmail.com on 5 Oct 2012 at 11:27

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 31ea1b03610a.

Original comment by enrico.n...@gmail.com on 5 Oct 2012 at 11:28

GoogleCodeExporter commented 9 years ago

Original comment by gabriel....@gmail.com on 5 Oct 2012 at 11:37

GoogleCodeExporter commented 9 years ago
This issue was closed by revision c99376c6265a.

Original comment by enrico.n...@gmail.com on 6 Oct 2012 at 9:52

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 9f5075d27f76.

Original comment by enrico.n...@gmail.com on 6 Oct 2012 at 9:52

GoogleCodeExporter commented 9 years ago
We could add to thermostat template the readOnly property set to true and 
adjust the default parameters as min=-400 max=1000 and scale = 10. So we can 
represents temperature from -40.0 to 100.0 Celsius with a decimal precision.

Original comment by virtualc...@gmail.com on 20 Oct 2012 at 8:05

GoogleCodeExporter commented 9 years ago
Moved last request to another issue on it's own to close this already fixed 
issue. It should be easily implemented so it's marked for the coming release

Original comment by enrico.n...@gmail.com on 18 Nov 2012 at 9:38