77 lines
1.4 KiB
JavaScript
77 lines
1.4 KiB
JavaScript
/**
|
|
* Нода дерева.
|
|
* Представляет интефрейс для доступа к данным устройства.
|
|
* Позволяет получить список компонентов модели
|
|
*
|
|
* @class Model
|
|
* @memberof Models
|
|
*/
|
|
function Model() {
|
|
/**
|
|
*
|
|
* @public
|
|
* @name static
|
|
* @type {Models.Model.static_data}
|
|
*/
|
|
this.static = new Models.Model.static_data();
|
|
|
|
|
|
/**
|
|
*
|
|
* @public
|
|
* @function address
|
|
* @memberof Models.Model
|
|
* @returns {v2.address}
|
|
*/
|
|
this.address = function() {
|
|
|
|
};
|
|
|
|
/**
|
|
*
|
|
* @public
|
|
* @function groups
|
|
* @memberof Models.Model
|
|
* @returns {tools.promise}
|
|
*/
|
|
this.groups = function() {
|
|
|
|
};
|
|
|
|
|
|
/**
|
|
*
|
|
* @public
|
|
* @function get_group
|
|
* @memberof Models.Model
|
|
* @param groupType {v2.model_type}
|
|
* @returns {tools.promise(ModelGroup)}
|
|
*/
|
|
this.get_group = function(groupType) {
|
|
|
|
};
|
|
|
|
/**
|
|
*
|
|
* @public
|
|
* @function touch
|
|
* @memberof Models.Model
|
|
* @returns {tools.promise}
|
|
*/
|
|
this.touch = function() {
|
|
|
|
};
|
|
|
|
/**
|
|
*
|
|
* @public
|
|
* @function debug
|
|
* @memberof Models.Model
|
|
* @param {v2.address} destination
|
|
* @param {v2.address} variables
|
|
*/
|
|
this.debug = function(destination, variables) {
|
|
|
|
};
|
|
}
|