maybe I did not fully understand your question - but the "Device Class" is a class like any other class. There is no difference when you access a member of a Device class compared to any other class.
If you want to store global variables and access it from several objects of your GUI application, you can use autoobjects - but this we discussed already in another question.
Does this answer your question? Otherwise let us know what you want to do....