initi.doc/docfiles/providers/interface/platform.js

117 lines
2.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* ### Платформа
* Основная точка доступа к данным.
*
* ```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**
*
* @group providers_interface
* @namespace Platform
*/
function Platform() {
/**
* @public
* @name tm
* @type {Trees}
* @memberof Platform
*/
this.tm = new Trees();
/**
*
* @public
* @name mm
* @type {Models}
* @memberof Platform
*/
this.mm = new Models();
/**
*
* @public
* @name mtm
* @type {ModelTypes}
* @memberof Platform
*/
this.mtm = new ModelTypes();
/**
*
* @public
* @name gtm
* @type {GroupTypes}
* @memberof Platform
*/
this.gtm = new GroupTypes();
/**
*
* @public
* @name core_translations
* @type {CoreTranslations}
* @memberof Platform
*/
this.core_translations = new CoreTranslations();
/**
*
* @public
* @name core_config
* @type {CoreConfig}
* @memberof Platform
*/
this.core_config = new CoreConfig();
/**
*
* @public
* @name datasource_manager
* @type {Datasource}
* @memberof Platform
*/
this.datasource_manager = new Datasource();
/**
*
* @public
* @name user_manager
* @type {UserManager}
* @memberof Platform
*/
this.user_manager = new UserManager();
/**
*
* @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 () {
};
}