2018-09-24 16:03:29 +00:00
|
|
|
|
/**
|
2019-03-18 14:03:37 +00:00
|
|
|
|
* ### Платформа
|
|
|
|
|
* Основная точка доступа к данным.
|
|
|
|
|
*
|
|
|
|
|
* ```bash
|
|
|
|
|
* // доступ
|
|
|
|
|
* ps.pl
|
|
|
|
|
* ```
|
|
|
|
|
*
|
|
|
|
|
* Доступные менеджеры у платформы:
|
|
|
|
|
* - {@link GroupTypes} - Менеджер, который позволяет получить данные по типу компонента, определен как **gtm**
|
|
|
|
|
* - {@link ModelTypes} - Менеджер, который позволяет узнать о содержимом модели **mtm**
|
|
|
|
|
* - {@link Models} - Менеджер, для доступа к устройствам, определен как **mm**
|
|
|
|
|
* - {@link Trees} - Менеджер, для доступа к деревьям, определен как **tm**
|
|
|
|
|
* - {@link CoreConfig} - Менеджер, для доступа к конфигу платформы, определен как **core_config**
|
|
|
|
|
* - {@link CoreTranslations} - Менеджер, для доступа к переводам, определен как **core_translations**
|
|
|
|
|
* - {@link Datasource} - Менеджер, для к каталогу датасорсов, определен как **datasource_manager**
|
|
|
|
|
* - {@link UserManager} - Менеджер, для доступа к данным пользоваталей, определен как **user_manager**
|
2018-09-24 16:03:29 +00:00
|
|
|
|
*
|
|
|
|
|
* @group providers_interface
|
|
|
|
|
* @namespace Platform
|
|
|
|
|
*/
|
|
|
|
|
function Platform() {
|
|
|
|
|
/**
|
|
|
|
|
* @public
|
2019-03-18 09:02:53 +00:00
|
|
|
|
* @name tm
|
2018-09-24 16:03:29 +00:00
|
|
|
|
* @type {Trees}
|
|
|
|
|
* @memberof Platform
|
|
|
|
|
*/
|
|
|
|
|
this.tm = new Trees();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @public
|
2019-03-18 09:02:53 +00:00
|
|
|
|
* @name mm
|
|
|
|
|
* @type {Models}
|
2018-09-24 16:03:29 +00:00
|
|
|
|
* @memberof Platform
|
|
|
|
|
*/
|
2019-03-18 09:02:53 +00:00
|
|
|
|
this.mm = new Models();
|
2018-09-24 16:03:29 +00:00
|
|
|
|
|
2019-03-18 14:03:37 +00:00
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @public
|
|
|
|
|
* @name mtm
|
|
|
|
|
* @type {ModelTypes}
|
|
|
|
|
* @memberof Platform
|
|
|
|
|
*/
|
|
|
|
|
this.mtm = new ModelTypes();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @public
|
|
|
|
|
* @name gtm
|
|
|
|
|
* @type {GroupTypes}
|
|
|
|
|
* @memberof Platform
|
|
|
|
|
*/
|
|
|
|
|
this.gtm = new GroupTypes();
|
|
|
|
|
|
2018-09-24 16:03:29 +00:00
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @public
|
2019-03-18 12:27:25 +00:00
|
|
|
|
* @name core_translations
|
2019-03-18 14:03:37 +00:00
|
|
|
|
* @type {CoreTranslations}
|
2018-09-24 16:03:29 +00:00
|
|
|
|
* @memberof Platform
|
|
|
|
|
*/
|
2019-03-18 09:02:53 +00:00
|
|
|
|
this.core_translations = new CoreTranslations();
|
2018-09-24 16:03:29 +00:00
|
|
|
|
|
2019-03-18 09:02:53 +00:00
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @public
|
2019-03-18 12:27:25 +00:00
|
|
|
|
* @name core_config
|
2019-03-18 14:03:37 +00:00
|
|
|
|
* @type {CoreConfig}
|
2019-03-18 09:02:53 +00:00
|
|
|
|
* @memberof Platform
|
|
|
|
|
*/
|
|
|
|
|
this.core_config = new CoreConfig();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @public
|
2019-03-18 12:27:25 +00:00
|
|
|
|
* @name datasource_manager
|
2019-03-18 14:03:37 +00:00
|
|
|
|
* @type {Datasource}
|
2019-03-18 09:02:53 +00:00
|
|
|
|
* @memberof Platform
|
|
|
|
|
*/
|
|
|
|
|
this.datasource_manager = new Datasource();
|
2018-09-24 16:03:29 +00:00
|
|
|
|
|
2019-03-18 12:27:25 +00:00
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @public
|
|
|
|
|
* @name user_manager
|
2019-03-18 14:03:37 +00:00
|
|
|
|
* @type {UserManager}
|
2019-03-18 12:27:25 +00:00
|
|
|
|
* @memberof Platform
|
|
|
|
|
*/
|
|
|
|
|
this.user_manager = new UserManager();
|
|
|
|
|
|
2018-09-24 16:03:29 +00:00
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @public
|
|
|
|
|
* @function m_sys_addr
|
|
|
|
|
* @memberof Platform
|
|
|
|
|
* @returns {v2.address}
|
|
|
|
|
*/
|
|
|
|
|
this.m_sys_addr = function () {
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @public
|
|
|
|
|
* @function m_address
|
|
|
|
|
* @memberof Platform
|
|
|
|
|
* @returns {v2.address}
|
|
|
|
|
*/
|
|
|
|
|
this.m_address = function () {
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|