-
Notifications
You must be signed in to change notification settings - Fork 7
/
register.bat
32 lines (28 loc) · 1.19 KB
/
register.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off
rem Dynamic Bandwidth Monitor
rem Leak detection method implemented in a real-time data historian
rem Copyright (C) 2014-2021 J.H. Fitié, Vitens N.V.
rem
rem This file is part of DBM.
rem
rem DBM is free software: you can redistribute it and/or modify
rem it under the terms of the GNU General Public License as published by
rem the Free Software Foundation, either version 3 of the License, or
rem (at your option) any later version.
rem
rem DBM is distributed in the hope that it will be useful,
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem GNU General Public License for more details.
rem
rem You should have received a copy of the GNU General Public License
rem along with DBM. If not, see <http://www.gnu.org/licenses/>.
cd /d %~dp0
rem Variables
if not "%1" == "" set PIAFServer=/PISystem:%1
rem Register PI AF Data Reference on AF server
cd build
"%PIHOME%\AF\regplugin.exe" %PIAFServer% /Unregister DBMDataRef.dll
"%PIHOME%\AF\regplugin.exe" %PIAFServer% DBMDataRef.dll
"%PIHOME%\AF\regplugin.exe" %PIAFServer% /Owner:DBMDataRef.dll * /Exclude:DBMDataRef.dll
cd ..