initialize

This commit is contained in:
Pruefer
2025-06-06 09:15:13 +02:00
commit fa7c2730f1
5817 changed files with 1339670 additions and 0 deletions

View File

@@ -0,0 +1,145 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/>
</startup>
<appSettings>
<!-- The name or the IP address of the OIB Core Host -->
<add key="OIBCoreHostName" value="192.168.5.51"/>
<!-- this iTAC.OIB.Adapter should work for this line. -->
<!-- the line Name is appended to the endpoint urls to distinguish the endpoints in oib -->
<!--add key="LineName" value="Line1\Line1sync"/>
<add key="LineName" value="Line4\Line 4.2"/-->
<add key="LineName" value="Line1\Line1sync"/>
<add key="isSetupStation" value="false"/>
<!-- set to true for iTAC failure analysis only -->
<add key="offlineMode" value="false"/>
<!-- The listen port is the port the adapter will listen for Java connections -->
<add key="ListenPort" value="33020"/>
<!-- every iTAC.OIB.Adapter endpoint has a separate URL and port. together with the service name results a uniqe URL -->
<!-- the endpoint-url may contain special characters!!! -->
<!-- e.g. http://OibAdapterPc:33334/Itac.Oib.SetupCenterExternalControl/Line1 -->
<add key="SiplaceProEventPort" value="9500"/>
<add key="DisplayServiceEventPort" value="9600"/>
<!-- default port 9600 -->
<add key="SetupCenterNotifyPort" value="33333"/>
<add key="SetupCenterExternalControlPort" value="33334"/>
<add key="TraceServicePort" value="33335"/>
<add key="MonitoringReceiverPort" value="33336"/>
<add key="LineControlReceiverPort" value="33338"/>
<add key="BoardGateKeeperEventPort" value="33339"/>
<add key="DekPrinterExternalControlPort" value="33337"/>
<!-- define wether messages should be logged or not. -->
<add key="xmlExport" value="true"/>
<add key="xmlLogging" value="true"/>
<!-- define, which messages should be logged -->
<add key="TraceabilityData" value="true"/>
<add key="DownloadData" value="false"/>
<add key="StationEventComposite" value="false"/>
<add key="MaterialMovedReport" value="true"/>
<add key="SetupChangedReport" value="false"/>
<add key="FeederPlacedReport" value="false"/>
<add key="TablePlacedReport" value="false"/>
<add key="TableRemovedReport" value="false"/>
<add key="BoardProcessedData" value="false"/>
<add key="CheckInData" value="true"/>
<add key="FeederRemovedReport" value="false"/>
<add key="PackagingUnitConsumedReport" value="true"/>
<add key="PackagingUnitCreatedReport" value="false"/>
<add key="LockStateChangedReport" value="false"/>
<add key="LineChangeoverEvent" value="true"/>
<!-- the following two are for synchronous call on scanning packaging units -->
<add key="PackagingUnitLocation" value="true"/>
<add key="ExternalControlResult" value="true"/>
<add key="BoardRequestData" value="true"/>
<!-- maximum age for boardProcessedMessages to be processed, in 'hours:minutes:seconds' -->
<add key="BoardProcessedDataMaxAge" value="00:30:00"/>
<add key="StationEventMaxAge" value="00:05:00"/>
<!-- This setting allows to stop the line if the trace data is rejected by iTac MES Suite -->
<!-- In this case the input conveyor of the last station is stopped -->
<add key="Asm.As.Oib.Client.Extensions.StopLineOnTraceDataRejected" value="true"/>
<add key="Asm.As.Oib.Client.Extensions.OnVIHDataRejected.ShowMessage" value="true"/>
<add key="Asm.As.Oib.Client.Extensions.OnVIHDataRejected.StationStop" value="true"/>
<!-- timing values for event based mode -->
<add key="Asm.As.Oib.Client.Extensions.ChangeoverIncompleteWarningSeconds" value="120"/>
<add key="Asm.As.Oib.Client.Extensions.ChangeoverIncompleteRepeatWarningSeconds" value="120"/>
<!-- from 2.3.0.2: Virtual Inkspot handling definition
True: VirtualInkspotHandler will only request iTAC if a BarcodeFiducial is configured for the board in SiplacePro. ("Customer-Case")
False: VirtualInkspotHandler will request iTAC always.
Default: true -->
<add key="Asm.As.Oib.Client.Extensions.VirtualInkspotHandlerConsidersBarcodeFiducial" value="true"/>
<!--These are values a user can override if neccessary (for info see MSDN for binding parameters), if not provided the defaults are used-->
<!-- <add key="Siemens.Siplace.OIB.SiplacePro.Proxies.ReliableChannel.MaxNumberOfRetryAttempts" value="1" />-->
<!-- <add key="Siemens.Siplace.OIB.SiplacePro.Proxies.ReliableChannel.RetryFrequency" value="2000" />-->
<!-- This is the interval in ms when the proxy checks the connection to the Service,-->
<!-- it must be greater or equal to 1000ms; if this is not present, a default value of 1 minute is used -->
<!-- <add key="Siemens.Siplace.OIB.SiplacePro.Proxies.ReliableChannel.CheckAliveFrequency" value="60000" />-->
</appSettings>
<log4net>
<appender name="LogFileAppenderFull" type="log4net.Appender.RollingFileAppender">
<file value=".\Log\itac.oib.proxy.full.log"/>
<appendToFile value="true"/>
<rollingStyle value="Size"/>
<maxSizeRollBackups value="10"/>
<maximumFileSize value="10MB"/>
<staticLogFileName value="true"/>
<layout type="log4net.Layout.PatternLayout">
<header value=""/>
<footer value=""/>
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n"/>
</layout>
</appender>
<appender name="LogFileAppenderError" type="log4net.Appender.RollingFileAppender">
<file value=".\Log\itac.oib.proxy.error.log"/>
<appendToFile value="true"/>
<rollingStyle value="Size"/>
<maxSizeRollBackups value="3"/>
<maximumFileSize value="10MB"/>
<staticLogFileName value="true"/>
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="WARN"/>
<levelMax value="FATAL"/>
</filter>
<layout type="log4net.Layout.PatternLayout">
<header value=""/>
<footer value=""/>
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n"/>
</layout>
</appender>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<header value="[Header]\r\n"/>
<footer value="[Footer]\r\n"/>
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n"/>
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="DEBUG"/>
<levelMax value="FATAL"/>
</filter>
</appender>
<root>
<level value="DEBUG"/>
<appender-ref ref="LogFileAppenderFull"/>
<appender-ref ref="LogFileAppenderError"/>
<appender-ref ref="ConsoleAppender"/>
</root>
</log4net>
</configuration>

View File

@@ -0,0 +1,164 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
<appSettings>
<!-- The name or the IP address of the OIB Core Host -->
<add key="OIBCoreHostName" value="192.168.5.51" />
<!-- this iTAC.OIB.Adapter should work for this line. -->
<!-- the line Name is appended to the endpoint urls to distinguish the endpoints in oib -->
<!--add key="LineName" value="Line1\Line1sync"/>
<add key="LineName" value="Line4\Line 4.2"/-->
<add key="LineName" value="Line1\Line1sync"/>
<add key ="isSetupStation" value="false"/>
<!-- set to true for iTAC failure analysis only -->
<add key ="offlineMode" value="false"/>
<!-- The listen port is the port the adapter will listen for Java connections -->
<add key="ListenPort" value="33020"/>
<!-- every iTAC.OIB.Adapter endpoint has a separate URL and port. together with the service name results a uniqe URL -->
<!-- the endpoint-url may contain special characters!!! -->
<!-- e.g. http://OibAdapterPc:33334/Itac.Oib.SetupCenterExternalControl/Line1 -->
<add key="SiplaceProEventPort" value="9500"/>
<add key="DisplayServiceEventPort" value="9600"/>
<!-- default port 9600 -->
<add key="SetupCenterNotifyPort" value="33333"/>
<add key="SetupCenterExternalControlPort" value="33334"/>
<add key="TraceServicePort" value="33335"/>
<add key="MonitoringReceiverPort" value="33336"/>
<add key="LineControlReceiverPort" value="33338"/>
<add key="BoardGateKeeperEventPort" value="33339"/>
<add key="DekPrinterExternalControlPort" value="33337"/>
<add key="LinecontrolMesInterceptorPort" value="33332"/>
<add key="ConfigurationManagerCallbackPort" value="33340"/>
<!-- define wether messages should be logged or not. -->
<add key="xmlExport" value="true"/>
<add key="xmlLogging" value="true"/>
<!-- define, which messages should be logged -->
<add key="TraceabilityData" value="true"/>
<add key="DownloadData" value="false"/>
<add key="StationEventComposite" value="false"/>
<add key="MaterialMovedReport" value="true"/>
<add key="SetupChangedReport" value="false"/>
<add key="FeederPlacedReport" value="false"/>
<add key="TablePlacedReport" value="false"/>
<add key="TableRemovedReport" value="false"/>
<add key="BoardProcessedData" value="false"/>
<add key="CheckInData" value="true"/>
<add key="FeederRemovedReport" value="false"/>
<add key="PackagingUnitConsumedReport" value="true"/>
<add key="PackagingUnitCreatedReport" value="false"/>
<add key="LockStateChangedReport" value="false"/>
<add key="LineChangeoverEvent" value="true"/>
<!-- the following two are for synchronous call on scanning packaging units -->
<add key="PackagingUnitLocation" value="true"/>
<add key="ExternalControlResult" value="true"/>
<add key="BoardRequestData" value="true"/>
<!-- maximum age for boardProcessedMessages to be processed, in 'hours:minutes:seconds' -->
<add key="BoardProcessedDataMaxAge" value="00:30:00"/>
<add key="StationEventMaxAge" value="02:05:00"/>
<!-- This setting allows to stop the line if the trace data is rejected by iTac MES Suite -->
<!-- In this case the input conveyor of the last station is stopped -->
<add key="Asm.As.Oib.Client.Extensions.StopLineOnTraceDataRejected" value="true"/>
<add key="Asm.As.Oib.Client.Extensions.OnVIHDataRejected.ShowMessage" value="true"/>
<add key="Asm.As.Oib.Client.Extensions.OnVIHDataRejected.StationStop" value="true"/>
<!-- timing values for event based mode -->
<add key="Asm.As.Oib.Client.Extensions.ChangeoverIncompleteWarningSeconds" value="120"/>
<add key="Asm.As.Oib.Client.Extensions.ChangeoverIncompleteRepeatWarningSeconds" value="120"/>
<!-- from 2.3.0.2: Virtual Inkspot handling definition
True: VirtualInkspotHandler will only request iTAC if a BarcodeFiducial is configured for the board in SiplacePro. ("Customer-Case")
False: VirtualInkspotHandler will request iTAC always.
Default: true -->
<add key="Asm.As.Oib.Client.Extensions.VirtualInkspotHandlerConsidersBarcodeFiducial" value="true"/>
<!--These are values a user can override if neccessary (for info see MSDN for binding parameters), if not provided the defaults are used-->
<!-- <add key="Siemens.Siplace.OIB.SiplacePro.Proxies.ReliableChannel.MaxNumberOfRetryAttempts" value="1" />-->
<!-- <add key="Siemens.Siplace.OIB.SiplacePro.Proxies.ReliableChannel.RetryFrequency" value="2000" />-->
<!-- This is the interval in ms when the proxy checks the connection to the Service,-->
<!-- it must be greater or equal to 1000ms; if this is not present, a default value of 1 minute is used -->
<!-- <add key="Siemens.Siplace.OIB.SiplacePro.Proxies.ReliableChannel.CheckAliveFrequency" value="60000" />-->
</appSettings>
<log4net>
<appender name="LogFileAppenderFull" type="log4net.Appender.RollingFileAppender">
<file value=".\Log\itac.oib.proxy.full.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="10MB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<header value="" />
<footer value="" />
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n" />
</layout>
</appender>
<appender name="LogFileAppenderError" type="log4net.Appender.RollingFileAppender">
<file value=".\Log\itac.oib.proxy.error.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="3" />
<maximumFileSize value="10MB" />
<staticLogFileName value="true" />
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="WARN" />
<levelMax value="FATAL" />
</filter>
<layout type="log4net.Layout.PatternLayout">
<header value="" />
<footer value="" />
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n" />
</layout>
</appender>
<appender name="ConsoleAppender" type="log4net.Appender.ColoredConsoleAppender" >
<mapping>
<level value="ERROR" />
<backColor value="White" />
<foreColor value="Red, HighIntensity" />
</mapping>
<mapping>
<level value="INFO" />
<foreColor value="Yellow" />
<backColor value="White" />
</mapping>
<mapping>
<level value="DEBUG" />
<foreColor value="Blue" />
<backColor value="White" />
</mapping>
<layout type="log4net.Layout.PatternLayout">
<header value="[Header]\r\n" />
<footer value="[Footer]\r\n" />
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="DEBUG" />
<levelMax value="FATAL" />
</filter>
</appender>
<root>
<level value="DEBUG" />
<appender-ref ref="LogFileAppenderFull" />
<appender-ref ref="LogFileAppenderError" />
<appender-ref ref="ConsoleAppender" />
</root>
</log4net>
</configuration>

View File

@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<appSettings>
<!-- The name or the IP address of the OIB Core Host -->
<add key="OIBCoreHostName" value="192.168.5.51" />
<!-- define the factory element for the MES SiMM Application.
Find the value for this configuration in the ASM Studio - Factory Layout.
Typically use here the main area. -->
<add key="factoryElementPathMes" value="Enterprise:Site_327811073"/>
<!-- the port of the endpoint. please note that port sharing is not enabled;
every application MUST have it's own port
the resulting endpoint looks like this
http://host:port/iTAC.SIMMApplication/SetupCenterExtCrtl/SIMM
You may browse this port via a web browser and you will get an overview page
It is required to assign this endpoint manually to the Factory
-->
<add key="SetupCenterExternalControlPort" value="35331"/>
<!-- define to which server this iTAC.SIMM.Application should connect to -->
<add key="itac.artes.clusternodes" value="http://itacsv103:10080/mes"/>
<!-- define the client
this is required for registration of the process -->
<add key="client" value="01"/>
<!-- use this movement code for any material quantity change
because the client just provides the current filling level it is not possible to
distinguish between positive and negative movements -->
<add key="transactionCode" value="122" />
<!-- define which station number should be used to call IMSAPI for Material verification
a verification will fail if the station is not existent or not TR-licensed -->
<add key="stationNumber" value="01010010"/>
<!-- define which system leads for maintaining the quantities of containers
available values are off, MES, SIMM
see flows for description-->
<add key="QuantityMaster" value="off"/>
<!-- define which system leads for maintaining the msl-Values of containers
available values are off, MES, SIMM (not case-sensitive)
see flows for description-->
<add key="MSLMaster" value="SIMM"/>
<!-- define which system leads for maintaining the expiration of containers
available values are off, MES, SIMM (not case-sensitive)
see flows for description-->
<add key="ExpirationMaster" value="simm"/>
<!-- define the interval the application check s the MES for empty containers
and report them to the SiMM
Format: hr:mi:secs, invalid values are reported at start time
Option is disabled if value is 00:00:00 -->
<add key="emptyContainerCheckInterval" value="00:00:15"/>
<!-- optional parameters to enable/disable some features
by default this check is disabled!-->
<add key="mslLevelCheck" value="false"/>
</appSettings>
<log4net>
<appender name="LogFileAppenderFull" type="log4net.Appender.RollingFileAppender">
<file value=".\log\itac.simm.full.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="10MB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<header value="" />
<footer value="" />
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n" />
</layout>
</appender>
<appender name="LogFileAppenderError" type="log4net.Appender.RollingFileAppender">
<file value=".\log\itac.simm.error.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="3" />
<maximumFileSize value="10MB" />
<staticLogFileName value="true" />
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="WARN" />
<levelMax value="FATAL" />
</filter>
<layout type="log4net.Layout.PatternLayout">
<header value="" />
<footer value="" />
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n" />
</layout>
</appender>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
<layout type="log4net.Layout.PatternLayout">
<header value="[Header]\r\n" />
<footer value="[Footer]\r\n" />
<conversionPattern value="%date{dd.MM.yyyy HH:mm:ss,f} %8.10c %-5p %m%n" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="DEBUG" />
<levelMax value="FATAL" />
</filter>
</appender>
<root>
<level value="DEBUG" />
<appender-ref ref="LogFileAppenderFull" />
<appender-ref ref="LogFileAppenderError" />
<appender-ref ref="ConsoleAppender" />
</root>
</log4net>
</configuration>