2018-09-19 10:25:01 +00:00
|
|
|
/**
|
2018-09-24 16:03:29 +00:00
|
|
|
* Нода дерева.
|
|
|
|
* Представляет интефрейс для доступа к данным устройства.
|
|
|
|
* Позволяет получить список компонентов модели
|
2018-09-19 10:25:01 +00:00
|
|
|
*
|
|
|
|
* @class Model
|
|
|
|
* @memberof Models
|
|
|
|
*/
|
|
|
|
function Model() {
|
2018-09-25 12:14:18 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @public
|
|
|
|
* @name static
|
|
|
|
* @type {Models.Model.static_data}
|
|
|
|
*/
|
|
|
|
this.static = new Models.Model.static_data();
|
|
|
|
|
|
|
|
|
2018-09-19 10:25:01 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @public
|
|
|
|
* @function address
|
|
|
|
* @memberof Models.Model
|
2018-09-19 10:40:04 +00:00
|
|
|
* @returns {v2.address}
|
2018-09-19 10:25:01 +00:00
|
|
|
*/
|
|
|
|
this.address = function() {
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @public
|
|
|
|
* @function groups
|
|
|
|
* @memberof Models.Model
|
2018-09-19 10:40:04 +00:00
|
|
|
* @returns {tools.promise}
|
2018-09-19 10:25:01 +00:00
|
|
|
*/
|
|
|
|
this.groups = function() {
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2018-09-25 12:14:18 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @public
|
|
|
|
* @function get_group
|
|
|
|
* @memberof Models.Model
|
|
|
|
* @param groupType {v2.model_type}
|
|
|
|
* @returns {tools.promise(ModelGroup)}
|
|
|
|
*/
|
|
|
|
this.get_group = function(groupType) {
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2018-09-19 10:25:01 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @public
|
|
|
|
* @function touch
|
|
|
|
* @memberof Models.Model
|
2018-09-19 10:40:04 +00:00
|
|
|
* @returns {tools.promise}
|
2018-09-19 10:25:01 +00:00
|
|
|
*/
|
|
|
|
this.touch = function() {
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @public
|
|
|
|
* @function debug
|
|
|
|
* @memberof Models.Model
|
2018-09-19 10:40:04 +00:00
|
|
|
* @param {v2.address} destination
|
|
|
|
* @param {v2.address} variables
|
2018-09-19 10:25:01 +00:00
|
|
|
*/
|
|
|
|
this.debug = function(destination, variables) {
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|