Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:mervis-db:installation:spdba [2018/06/25 16:52]
m.chlupac
en:mervis-db:installation:spdba [2018/06/29 15:32] (current)
Line 1: Line 1:
-====== SPDBA (DB adapter for Mervis PLC) ======+====== SPDBA ======
  
-ASP.NET application to convert binary data sent from Mervis PLC into SOAP calls of Mervis DB.+ASP.NET application to convert binary data sent from Mervis PLC into SOAP calls of Mervis DB. You have to install SPDBA if you want to save data directly from Mervis PLC (UniPi, Domat, ...).
  
 ===== Requirements ===== ===== Requirements =====
Line 11: Line 11:
 ==== Web.config ==== ==== Web.config ====
  
-  * WCF klient nastavení pro komunikaci s DB - ../system.serviceModel/ +  * Mervis DB settings 
-    * Zásadní je URL klienta (../client/endpoint/@address) +    * URL of the MervisDB server: ../system.serviceModel/client/endpoint/@address <code xml>... 
-    * logování: ../system.diagnostics/../listener LogFileListener +<client> 
-    * jde o standardní logování .NET, lze si dodělat podle potřeby cokoliv jiného +  <endpoint address="http://localhost:9876/RcWareDbAccess" 
-    * appSettingskey=KeyValuePersistentStorageRootvalue=cesta na file systemu. SPDBA si na disk ukládá/kešuje potřebna data pro interpretaci hodnot (všelijaká metadata)Pokud na disku nejsou (nebo se v PLC změnila), SPDBA si vyjedná s PLC novéTzn. není problém, pokud se tato cesta změní nebo přesune jinam. Funkci to neohrozí.+            binding="basicHttpBinding" 
 +            bindingConfiguration="RcWareDbAccess" 
 +            contract="ESG.Db.ServerAccess.HistoryDbAccess" 
 +            name="RcWareDbAccess" 
 +            behaviorConfiguration="RcWareDbBehavior" 
 +            /> 
 +</client> 
 +...</code> 
 +  * Logging 
 +    *  ../system.diagnostics/../listener 
 +    * standard .NET loggingextensible in a standard way 
 +  * Metadata cache 
 +    * Path to the folder where cached metadata should be stored <code xml> 
 +... 
 +<appSettings
 +  <add key="KeyValuePersistentStorageRootvalue="c:\temp\spdba"/
 +</appSettings> 
 +...</code>
  
  • © Energocentrum Plus, s.r.o. 2017 - 2024