Files
imsInterface/interface/asm/test/SimmApplication3x/SimmApplication3x.exe.config
2025-06-06 09:15:13 +02:00

120 lines
4.8 KiB
XML

<?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>