Code snippets » History » Version 1

Version 1/3 - Next » - Current version
Marien Wolthius, 08/26/2014 11:51 AM


Code snippets

Example output of the JSON interface (with line breaks for readability)
{"showInfoArea":true,
"applicationTitle":"Remote Monitor",
"connectionStatus":"Connected to cep-qcpe",
"connectingMsg":"Connecting...",
"alertLightState":"systemstate_orange.gif",
"dashboardOperatorMessages":["\u003chtml\u003e\u003cb\u003eUpcoming: Load\u0026nbsp;\u003c/b\u003eA3 \u003cimg src\u003d\u0027sef_icon.gif\u0027 border\u003d\u00270\u0027 alt\u003d\u0027\u0027/\u003e, 100 g/m², TopColor, White\u003c/html\u003e","\u003chtml\u003e\u003cb\u003eUpcoming: Load\u0026nbsp;\u0027A4 tab\u0027, \u003c/b\u003e223x297 \u003cimg src\u003d\u0027lef_icon.gif\u0027 border\u003d\u00270\u0027 alt\u003d\u0027\u0027/\u003e, tab inclusive, cyclic\u0026nbsp;(5), 160 g/m², TopColor, White\u003c/html\u003e"],
"systemMode":"systemstate_ready.gif",
"systemState":"Ready",
"scheduleResourceStates":[{"mAvailability":"AVAILABLE","mDurationInSeconds":277},{"mAvailability":"UNCERTAIN","mDurationInSeconds":34},{"mAvailability":"UNAVAILABLE","mDurationInSeconds":174}],"productName":"nemo_imagePRESS-C7010VPS-series.gif"}

notification_image_red.png - Goes into res/drawable_nodpi (33.6 KB) Marien Wolthius, 08/27/2014 10:14 AM

notification_image_yellow.png - Goes into res/drawable_nodpi (33.6 KB) Marien Wolthius, 08/27/2014 10:14 AM

notification_image_none.png - Goes into res/drawable_nodpi (33.6 KB) Marien Wolthius, 08/27/2014 10:14 AM