123

envtemperature.js
123
var envtemperature = StudioWidgetWrapper.extend({
/*
* Triggered when initializing a widget and will have the code that invokes rendering of the widget
*/
init: function () {
var thisObj = this;
thisObj._super.apply(thisObj, arguments);
thisObj.render();
if ((typeof (Studio) != “undefined”) && Studio) {

        //切换设备发出的事件
        //Studio.registerEvents(thisObj, "changeCurrentDevice", "Change Current Device", []);

        //接受点击某个设备事件
        //Studio.registerAction(thisObj, "clickMarkerAction", "Click Marker Action", [], $.proxy(thisObj.clickMarkerActionCbk, thisObj), []);

        // Studio.registerEvents(thisObj, "clearDeviceIconById", "clearDeviceById", []); //{overlaysIds[]}
        //Studio.registerEvents(thisObj, "addDeviceIconById", "addDeviceIconById", []); //{overlaysIds[]}
        //Studio.registerEvents(thisObj, 
上一篇:JDK 11 将引入低延迟 GC,大幅度缩短 GC 暂停时长


下一篇:获取请求参数和请求转发