Это старая версия документа.



Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/handler.php on line 1458

Warning: Declaration of syntax_plugin_tablecalc::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 41

Warning: Declaration of syntax_plugin_tablecalc::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/tablecalc/syntax.php on line 72

Warning: Declaration of syntax_plugin_offline::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 60

Warning: Declaration of syntax_plugin_offline::render($format, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/lib/plugins/offline/syntax.php on line 67

Warning: preg_match(): Compilation failed: invalid range in character class at offset 3416 in /home/users/p/prom-auto/domains/prom-auto.ru/wiki/inc/parser/lexer.php on line 118
A PCRE internal error occured. This might be caused by a faulty plugin

====== Необходимые действия над проектом после рефакторинга модулей RpVisualXXX от 2021-09-01 ====== ===== 1. Заменить название модулей в uses ===== В pas-файлах в секции implementation исправить название модулей, перечисленных в uses: * Удалить <code> _RpVisualMain Globals</code> * Добавить вместо удаленных <code> RpVisualGlobal, RpVisualLegacyPanels, RpVisualUtils, RpVisualMain; </code> Не допускать редекларирования модулей RpVisualGlobal и RpVisualMain. Если при компиляции возникает ошибка "Undeclared identifier..." на какую-либо переменную, добавить в uses модуль RpVisualGlobal. <note tip>Придерживаться общего правила:\\ Стандартные delphi модули и модули сторонних компонентов размещать в uses в interface секции. Модули visscada\common и модули проекта по возможности размещать в uses в секции implementation. </note> ===== 2. Заменить текст ===== * LogIn на rvgLogIn * dbckeck на dbutils ===== 3. RPVISUAL.DPR ===== По желанию, можно сократить RPVISUAL.DPR до следующего содержимого: <code pascal> program rpvisual; uses Forms, main in '..\..\Common\MainForm\main.pas' {Form1}, DataMod in '..\..\Common\DataMod.pas' {dm: TDataModule}; {$R *.RES} begin Application.Initialize; Application.Title := 'Система визуализации VisScada'; Application.CreateForm(TForm1, Form1); Application.CreateForm(Tdm, dm); Application.Run; end. </code> ===== 4. Выпиленные модули ===== <code> Helper.pas RcpMan.pas RcpManFrame.pas RcpManFrameSetValue.pas Receipt.pas rpLineControl.pas Sounds.pas </code> Убрать весь код, связанный с данными модулями.

doc/visscada/refact_rpvisual_units_20210901.1630554395.txt.gz · Последние изменения: 2021/09/02 06:46 — denis
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0