From OpenSCADAWiki
Jump to: navigation, search

CONCEPTUAL > Refactoring and unifying the Transports subsystem in the additional parameters management and expanding in using the connection time parameters for registering configuration parameters of external sources

  • the container configuration field "A_PRMS" of the additional parameters moved to the core library from the modules;
  • appended by functions TTransportS::{prm,cntrCmdPrm}(), {TTransportIn,TTransportOut}::prm() with common implementation the additional parameters;
  • conPrm() expanded by support the configuration parameters of external sources like to protocols and it extended to the input part, also as for the User API;
  • conPrm() appended by an argument of the default value and what used in all transport modules;
  • clearConPrm() expanded by clearing single parameter and only from external sources;
  • setConPrm() was removed after implementing this feature in conPrm() and some modules was updated for that: DAQ.AMRDevs, Protocol.SelfSystem;
  • Protocol.SelfSystem is the first protocol who is used now the configuration parameters in transport;
  • the output transports appended by a link to an input transport, who created the output one, and it is used for holding here the configuration parameters of external sources;
  • all configuration of the associated output transports are set hidden;
  • control of the additional parameters moved in own tab "Additional (aprm)" with a function of resetting their values;
  • marking the input and output transports as modified set only at the configuration fields real change.