Application Backflush 1-0 to SAP Data Converter - 第8页

1 Installationsanleitung Application Backfl ush 1.0 to SAP Data Converter Application Ausgabe 04/2006 8 1 1 1 1 1 1 <reportTime id="Time 1" time="0:00 " /> <reportTime id="Time 2" t…

100%1 / 58
Application 1 Installationsanleitung Application Backflush 1.0 to SAP Data Converter
Ausgabe 04/2006
7
1.7 Beschreibung Settings xml-file
1.7.1 Allgemein
Nachfolgend wird die mögliche Konfiguration des Konverters mit Hilfe des Konfigurationsfiles
SETTINGS.XML beschrieben. Dieses File muß sich im gleichen Verzeichnis, wie das Backflush
Programm befinden. Dieser Pfad kann während der Installation einmalig definiert werden. 1
1.7.2 Beispiel-file
1
<?xml version="1.0" encoding="utf-8"?>
<!-- Note: All paths have to be written in absolute way.
That is: FALSE ..\MyFolder\
RIGHT C:\MyFolder\ -->
<backflushSumRecordSettings xmlns="backflushReportSettings" version="1.0">
<!-- backflushSettings: occurrences: exactly 1 time
pollSpan: scan backflush dirs all x seconds (maximum: every 60 seconds)
processDataCount: processes at most x files and then changes to next backflush dir (0:
process all files in dir)
processDelSpan: del processed backflush files that are older than x days (0: don't delete
processed data) -->
<backflushSettings pollSpan="10" processDataCount="200" processedDelSpan="14" />
<!-- reportSettings: occurrences: exactly 1 times
mode: "auto" or "Semiauto"
autoModeReportPath: path for the report files in automatic mode
SemiautoModeReportPath: path for the report files in Semiauto mode -->
<reportSettings mode="auto" autoModeReportPath="C:\Program Files\Siemens
SIPLACE\BackflushToSAP\out\auto" SemiautoModeReportPath=" C:\Program Files\Sie-
mens SIPLACE\BackflushToSAP\out\Semiauto">
1 Installationsanleitung Application Backflush 1.0 to SAP Data Converter Application
Ausgabe 04/2006
8
1
1
1
1
1
1
<reportTime id="Time 1" time="0:00" />
<reportTime id="Time 2" time="8:00" />
<reportTime id="Time 3" time="16:00" />
</reportSettings>
<!-- logFileSettings: occurrences: exactly 1 times
detail: "verbose" (show all messages), "medium" (show important messages) or "error"
(show only severe messages)
path: path for the log files
fileName: name of the log files (Note: a %g in a file name will be replaced by a
consecutive number) -->
<logFileSettings detail="medium" path=" C:\Program Files\Siemens SIPLACE\Back-
flushToSAP\out\log" fileName="BF_log_%g.log" />
<!-- backflushPath: occurrences: 1 to 12 times
line: just a name of that line
backflush: the path to the backflush files of this line
processed: the path where the successfully processed backflush files shall be moved
faulty: the path where the faulty processed backflush files shall be moved -->
<backflushPath line="Line 1" backflush="D:\BoardBackflushFiles\Line1" proces-
sed="D:\BoardBackflushFiles\Line1\processed" faulty="D:\BoardBackflushFi-
les\Line1\faulty" />
<backflushPath line="Line 2" backflush="\\LinePCName\BoardBackflushFiles\Line2"
processed="\\LinePCName\BoardBackflushFiles\Line2\processed" faulty="\\LinePC-
Name\BoardBackflushFiles\Line2\faulty" />
<backflushPath line="Line 3" backflush="X:\BoardBackflushFiles\Line3" proces-
sed="X:\BoardBackflushFiles\Line3\processed" faulty="X:\BoardBackflushFi-
les\Line3\faulty" />
</backflushSumRecordSettings>
Application 1 Installationsanleitung Application Backflush 1.0 to SAP Data Converter
Ausgabe 04/2006
9
1.7.3 backflushsettings
Dieses xml-Tag muss genau 1 mal im xml file auftauchen und bildet die Klammer über das ge-
samte Konfigurationsfile. 1
1.7.3.1 pollSpan
Backflush Verzeichnisse werden alle “pollSpan” Sekunden gescannt. 1
Grenzen: 0 <= pollSpan <= 60 1
Standard-Wert: 10 1
Wird die eingestellte Zeit (pollSpan) z.B. durch Abarbeiten von bestehenden xml-Files überschrit-
ten, so wird sofort nachdem Abarbeitungsende wieder nach neuen Files gescannt. 1
1.7.3.2 processDataCount
Nachdem Files in einem Verzeichnis gefunden wurden werden maximal „processDataCount“ xml
files aus diesem Verzeichnis bearbeitet bevor zur Bearbeitung der Files im nächsten Verzeichnis
gewechselt wird. Je kleiner dieser Wert ist, desto öfter wird das nächste Verzeichnis gescannt. 1
Grenzen: processDataCount >= 0 1
Besonderer Wert: 0: verarbeite alle Files aus einem Verzeichnis 1
Standard-Wert: 1000 1
1.7.3.3 processDelSpan
Unterordner aus den processed-Verzeichnissen die älter als „processDelSpan“ Tage sind werden
automatisch gelöscht. 1
Hinweis: Soll ein bestimmter Unterordner nicht gelöscht werden, kann an diesen z.B. ein „_“ an-
gehängt werden. Dann kann das Alter des Ordners aus dem Namen nicht mehr ermittelt werden
und der Ordner wird somit nie gelöscht. 1
Grenzen: processDelSpan >= 0 1
Besonderer Wert: 0: automatisches löschen von Verzeichnissen ist ausgeschaltet 1
Standard-Wert: 14 1
1
1
1
1
1