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

157 lines
4.0 KiB
JavaScript
Raw Normal View History

/**
2019-03-18 14:03:37 +00:00
* ### Платформа
* Основная точка доступа к данным.
*
* ```bash
* // доступ
* ps.pl
* ```
*
* Доступные менеджеры у платформы:
* - {@link GroupTypes} - Менеджер, который позволяет получить данные по типу компонента, определен как **gtm**
* - {@link LinkTypes} - Менеджер, который позволяет получить данные по типу линка, определен как **ltm**
2019-07-01 13:36:27 +00:00
* - {@link Links} - Менеджер, который позволяет получить данные по идентификатору линка, определен как **links**
2019-03-22 14:25:11 +00:00
* - {@link EventTypes} - Менеджер, который позволяет получить данные по типу события, определен как **etm**
2019-03-18 14:03:37 +00:00
* - {@link ModelTypes} - Менеджер, который позволяет узнать о содержимом модели **mtm**
* - {@link Models} - Менеджер, для доступа к устройствам, определен как **mm**
* - {@link Trees} - Менеджер, для доступа к деревьям, определен как **tm**
* - {@link CoreConfig} - Менеджер, для доступа к конфигу платформы, определен как **core_config**
2019-03-19 11:36:08 +00:00
* - {@link CoreErrors} - Менеджер, для доступа к списку ошибок, определен как **core_errors**
* - {@link CoreTranslations} - Менеджер, для доступа к переводам, определен как **translations**
* - {@link UserManager} - Менеджер, для доступа к данным пользоваталей, определен как **users**
* - {@link Publishers} - Менеджер, для доступа к данным паблишерам, определен как **pm**
*
* @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();
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();
/**
*
* @public
* @name ltm
* @type {LinkTypes}
* @memberof Platform
*/
this.ltm = new LinkTypes();
2019-07-01 13:36:27 +00:00
/**
*
* @public
* @name links
* @type {Links}
* @memberof Platform
*/
this.links = new Links();
2019-03-22 14:25:11 +00:00
/**
*
* @public
* @name etm
* @type {EventTypes}
* @memberof Platform
*/
this.etm = new EventTypes();
/**
*
* @public
2019-03-19 11:36:08 +00:00
* @name translations
2019-03-18 14:03:37 +00:00
* @type {CoreTranslations}
* @memberof Platform
*/
2019-03-19 11:36:08 +00:00
this.translations = new CoreTranslations();
/**
*
* @public
2019-03-18 12:27:25 +00:00
* @name core_config
2019-03-18 14:03:37 +00:00
* @type {CoreConfig}
* @memberof Platform
*/
this.core_config = new CoreConfig();
/**
*
* @public
2019-03-19 11:36:08 +00:00
* @name core_errors
* @type {CoreErrors}
* @memberof Platform
*/
this.core_errors = new CoreErrors();
/**
*
* @public
* @name users
* @type {UserManager}
* @memberof Platform
*/
this.users = new UserManager();
2019-03-18 12:27:25 +00:00
/**
*
* @public
* @name pm
* @type {Publishers}
2019-03-18 12:27:25 +00:00
* @memberof Platform
*/
this.pm = new Publishers();
2019-03-18 12:27:25 +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 () {
};
}