This commit is contained in:
13118993771@163.com 2023-02-23 11:33:23 +08:00
parent eb23e102b4
commit 562bd7a7b8
481 changed files with 1226605 additions and 24038 deletions

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
@ -42,6 +42,12 @@
<Reference Include="Common.Logging.Core">
<HintPath>CommonDll\Common.Logging.Core.3.0.0\lib\net40\Common.Logging.Core.dll</HintPath>
</Reference>
<Reference Include="ExcelDataReader, Version=3.6.0.0, Culture=neutral, PublicKeyToken=93517dbe6a4012fa, processorArchitecture=MSIL">
<HintPath>packages\ExcelDataReader.3.6.0\lib\net45\ExcelDataReader.dll</HintPath>
</Reference>
<Reference Include="ExcelDataReader.DataSet, Version=3.6.0.0, Culture=neutral, PublicKeyToken=93517dbe6a4012fa, processorArchitecture=MSIL">
<HintPath>packages\ExcelDataReader.DataSet.3.6.0\lib\net35\ExcelDataReader.DataSet.dll</HintPath>
</Reference>
<Reference Include="Glorysoft.EAP.Core">
<HintPath>CommonDll\Glorysoft.EAP.Core.dll</HintPath>
</Reference>
@ -82,6 +88,7 @@
<HintPath>packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.Core" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Ports, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>packages\System.IO.Ports.5.0.0\lib\net461\System.IO.Ports.dll</HintPath>
</Reference>
@ -149,6 +156,7 @@
<Compile Include="Common\SocketClient.cs" />
<Compile Include="Handlers\EventHandlers\AlarmClearedHandler.cs" />
<Compile Include="Handlers\EventHandlers\ContainerRemoveHandler.cs" />
<Compile Include="Handlers\EventHandlers\EquipmentOfflineHandler.cs" />
<Compile Include="Handlers\EventHandlers\ControlStateRemoteHandler .cs" />
<Compile Include="Handlers\EventHandlers\EquipmentStateChangeHandler.cs" />
<Compile Include="Handlers\EventHandlers\MaintenanceEndHandler.cs" />
@ -171,7 +179,7 @@
<Compile Include="Handlers\EventHandlers\AlarmDetectedHandler.cs" />
<Compile Include="Handlers\EventHandlers\MESRequestHandler.cs" />
<Compile Include="Handlers\EventHandlers\MaterialStoredToPalletHandler.cs" />
<Compile Include="Handlers\EventHandlers\ProcessProgramChangeBodyHandler.cs" />
<Compile Include="Handlers\EventHandlers\ProcessProgramChangeHandler.cs" />
<Compile Include="Handlers\EventHandlers\ProcessRecipeSelectedHandler.cs" />
<Compile Include="Handlers\EventHandlers\MaintenanceStartHandler.cs" />
<Compile Include="Handlers\EventHandlers\PalletCompletedHandler.cs" />
@ -351,8 +359,8 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="Configuration\MARK_01.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Content Include="Configuration\LEDE_01.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Configuration\SECSLibrary.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

View File

@ -37,17 +37,17 @@
</logger>
<appender name="SYSLoggerDebug" type="log4net.Appender.RollingFileAppender">
<!--定义文件存放位置-->
<param name="File" value="logs/SYSTEM/DEBUG/"/>
<param name="File" value="logs/SYSTEM/DEBUG/" />
<!--是否追加到文件-->
<param name="AppendToFile" value="true"/>
<param name="AppendToFile" value="true" />
<!--最多产生的日志文件数超过则只保留最新的n个。设定值value="1"为不限文件数-->
<param name="MaxSizeRollBackups" value="-1"/>
<param name="MaxSizeRollBackups" value="-1" />
<!--是否只写到一个文件中-->
<param name="StaticLogFileName" value="false"/>
<param name="StaticLogFileName" value="false" />
<!--按日期划分文件夹和命名文件名-->
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<!--按照何种方式产生多个日志文件(日期[Date],文件大小[Size],混合[Composite])-->
<param name="RollingStyle" value="Date"/>
<param name="RollingStyle" value="Date" />
<!--输出格式-样例-->
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
@ -60,12 +60,12 @@
</filter>
</appender>
<appender name="SYSLoggerError" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/SYSTEM/ERROR/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/SYSTEM/ERROR/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -76,12 +76,12 @@
</filter>
</appender>
<appender name="SYSLoggerInfo" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/SYSTEM/INFO/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/SYSTEM/INFO/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -92,12 +92,12 @@
</filter>
</appender>
<appender name="SECSLoggerDebug" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/SECS/DEBUG/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/SECS/DEBUG/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -108,12 +108,12 @@
</filter>
</appender>
<appender name="SECSLoggerError" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/SECS/ERROR/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/SECS/ERROR/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -124,12 +124,12 @@
</filter>
</appender>
<appender name="SECSLoggerInfo" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/SECS/INFO/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/SECS/INFO/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -140,12 +140,12 @@
</filter>
</appender>
<appender name="MQLoggerDebug" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/MQ/DEBUG/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/MQ/DEBUG/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -156,12 +156,12 @@
</filter>
</appender>
<appender name="MQLoggerError" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/MQ/ERROR/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/MQ/ERROR/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -172,12 +172,12 @@
</filter>
</appender>
<appender name="MQLoggerInfo" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/MQ/INFO/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/MQ/INFO/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>

View File

@ -50,7 +50,7 @@ namespace Glorysoft.SECS.EQP.Commands
trans.Primary.Root.Add(ec);
}
trans.Primary.Root.Item(1).Add(SECSUtil.CreateSECSItem("ECV", eSECS_FORMAT.U1, 5));
trans.Primary.Root.Item(2).Add(SECSUtil.CreateSECSItem("ECV", eSECS_FORMAT.U1, 1));
trans.Primary.Root.Item(2).Add(SECSUtil.CreateSECSItem("ECV", eSECS_FORMAT.U1, 5));
}
trans.Tag = tag;
SimulatorInfo.Instance.Context.SendMessage(trans);

View File

@ -64,6 +64,10 @@ namespace ARI.EAP.HOST.SRD
public string remoteIp { get; set; }
[XmlAttribute]
public string remotePort { get; set; }
[XmlAttribute]
public string equipmentName1 { get; set; }
[XmlAttribute]
public string equipmentName2 { get; set; }
}
[Serializable]

View File

@ -30,7 +30,7 @@ namespace ARI.EAP.HOST.Common
/// </summary>
public static class Constants
{
public const string equipmentName = "MARK_01";
public const string equipmentName = "LEDE_01";
public const string configuerPath = "Configuration/" + equipmentName + ".xml";
}

View File

@ -72,7 +72,7 @@ namespace ARI.EAP.HOST.Common
public MESHeartBitParam()
{
this.deviceId = Configurations.conf.connectSetting.deviceId;
this.equipmentName = Configurations.conf.connectSetting.name;
this.equipmentName = Configurations.conf.connectSetting.equipmentName1;
this.ip = Configurations.conf.connectSetting.remoteIp;
this.port = Configurations.conf.connectSetting.remotePort;
this.connectStatus = EquipmentStatus.EqConnectState;

655
Configuration/LEDE_01.xml Normal file
View File

@ -0,0 +1,655 @@
<?xml version="1.0" encoding="utf-8"?>
<Configurations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<connectSetting name="LEDE_01" deviceId="0" remoteIp="172.16.4.10" remotePort="6000" equipmentName1="R1LEDE101" equipmentName2="R1LEDE101"/>
<eapMonitorSetting IPAddress="127.0.0.1" Port="10086" />
<mQConnectionCfg HostName="172.16.21.191" VirtualHost="cdte" UserName="cdte" Password="cdte" Port="5672" ClientProvidedName="LEDE_01">
<Exchange>LEDE_01_Exchange</Exchange>
<Exchange_RTDB>cdte</Exchange_RTDB>
<EAP_Request_Queue>LEDE_01_EAP_Request_Queue</EAP_Request_Queue>
<EAP_Response_Queue>LEDE_01_EAP_Response_Queue</EAP_Response_Queue>
<MES_Request_Queue>LEDE_01_MES_Request_Queue</MES_Request_Queue>
<MES_Response_Queue>LEDE_01_MES_Response_Queue</MES_Response_Queue>
<EAP_Request_Queue_RTDB>logs</EAP_Request_Queue_RTDB>
<EAP_Request_Queue_RoutingKey>LEDE_01_EAP_Request_Queue_RoutingKey</EAP_Request_Queue_RoutingKey>
<EAP_Response_Queue_RoutingKey>LEDE_01_EAP_Response_Queue_RoutingKey</EAP_Response_Queue_RoutingKey>
<MES_Request_Queue_RoutingKey>LEDE_01_MES_Request_Queue_RoutingKey</MES_Request_Queue_RoutingKey>
<MES_Response_Queue_RoutingKey>LEDE_01_MES_Response_Queue_RoutingKey</MES_Response_Queue_RoutingKey>
<Exchange_Name_Dle>Dead_Letter_Exchange</Exchange_Name_Dle>
<Dead_Letter_RoutingKey>Dead_Letter_RoutingKey</Dead_Letter_RoutingKey>
</mQConnectionCfg>
<httpConfiguration>
<heartBitUrl>http://172.16.21.112:8080/api/mq/EquipmentInterfaceStatus/update</heartBitUrl>
<fileDownloadUrl>http://172.16.21.190/api/common/attachment/downloadFile</fileDownloadUrl>
<contentType>application/json</contentType>
</httpConfiguration>
<scenarioCollection>
<Scenarios>
<Scenario Name="Init">
<WorkFlows Step="1">
<MessageName>S1F13</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="2">
<MessageName>S1F14</MessageName>
<MessageContent>{"HCACK":0,"CPNAME":null,"CPACK":null}</MessageContent>
</WorkFlows>
<WorkFlows Step="3">
<MessageName>S1F17</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="4">
<MessageName>S1F18</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="5">
<MessageName>S1F3</MessageName>
<MessageContent>{"DATAID":0,"Events":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="6">
<MessageName>S1F4</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="7">
<MessageName>S6F23</MessageName>
<MessageContent>{"DATAID":0,"Reports":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="8">
<MessageName>S6F24</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="9">
<MessageName>S2F43</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="10">
<MessageName>S2F44</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="11">
<MessageName>S2F37</MessageName>
<MessageContent>{"CEED":false,"CEIDs":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="12">
<MessageName>S2F38</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="13">
<MessageName>S2F35</MessageName>
<MessageContent>{"DATAID":0,"Events":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="14">
<MessageName>S2F36</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="15">
<MessageName>S2F33</MessageName>
<MessageContent>{"DATAID":0,"Reports":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="16">
<MessageName>S2F34</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="17">
<MessageName>S5F3</MessageName>
<MessageContent>{"ALED":0,"ALID":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="18">
<MessageName>S5F4</MessageName>
<MessageContent>{"ACKC5":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="19">
<MessageName>S2F33</MessageName>
<MessageContent>{"DATAID":0,"Reports":[{"RPTID":1,"SVIDs":[900,301,820,400,401],"SVs":[]},{"RPTID":2,"SVIDs":[900,301,820,400,401],"SVs":[]},{"RPTID":3,"SVIDs":[900,301,820,400,401],"SVs":[]},{"RPTID":11,"SVIDs":[900,301,22700],"SVs":[]},{"RPTID":12,"SVIDs":[900,301,22700],"SVs":[]},{"RPTID":21,"SVIDs":[900,301,804,800,801,802,803],"SVs":[]},{"RPTID":22,"SVIDs":[900,301,804,800,801,802,803],"SVs":[]},{"RPTID":23,"SVIDs":[900,301,804,800,801,802,803],"SVs":[]},{"RPTID":30,"SVIDs":[900,301,701,700],"SVs":[]},{"RPTID":40,"SVIDs":[900,301,20024,600,21900,20012],"SVs":[]},{"RPTID":41,"SVIDs":[900,301,20024,600,21900,20012,22201],"SVs":[]},{"RPTID":45,"SVIDs":[900,301,600,21900,20012],"SVs":[]},{"RPTID":46,"SVIDs":[900,301,600,21900,20012],"SVs":[]},{"RPTID":47,"SVIDs":[900,301,20012],"SVs":[]},{"RPTID":60,"SVIDs":[900,20012,20021],"SVs":[]},{"RPTID":70,"SVIDs":[900,301,810],"SVs":[]},{"RPTID":80,"SVIDs":[900,301,1010,1011],"SVs":[]},{"RPTID":90,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":91,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":92,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":93,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":110,"SVIDs":[900,1021,20021],"SVs":[]},{"RPTID":111,"SVIDs":[900,1021,20021],"SVs":[]}]}</MessageContent>
</WorkFlows>
<WorkFlows Step="20">
<MessageName>S2F34</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="21">
<MessageName>S2F35</MessageName>
<MessageContent>{"DATAID":0,"Events":[{"CEID":1,"RPTIDs":[1]},{"CEID":2,"RPTIDs":[2]},{"CEID":3,"RPTIDs":[3]},{"CEID":11,"RPTIDs":[11]},{"CEID":12,"RPTIDs":[12]},{"CEID":21,"RPTIDs":[21]},{"CEID":22,"RPTIDs":[22]},{"CEID":23,"RPTIDs":[23]},{"CEID":30,"RPTIDs":[30]},{"CEID":40,"RPTIDs":[40]},{"CEID":41,"RPTIDs":[41]},{"CEID":45,"RPTIDs":[45]},{"CEID":46,"RPTIDs":[46]},{"CEID":47,"RPTIDs":[47]},{"CEID":60,"RPTIDs":[60]},{"CEID":70,"RPTIDs":[70]},{"CEID":80,"RPTIDs":[80]},{"CEID":90,"RPTIDs":[90]},{"CEID":91,"RPTIDs":[91]},{"CEID":92,"RPTIDs":[92]},{"CEID":93,"RPTIDs":[93]},{"CEID":110,"RPTIDs":[110]},{"CEID":111,"RPTIDs":[111]}]}</MessageContent>
</WorkFlows>
<WorkFlows Step="22">
<MessageName>S2F36</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="23">
<MessageName>S2F37</MessageName>
<MessageContent>{"CEED":true,"CEIDs":[1,2,3,11,12,21,22,23,30,40,41,45,46,47,60,70,80,90,91,92,93,110,111]}</MessageContent>
</WorkFlows>
<WorkFlows Step="24">
<MessageName>S2F38</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="25">
<MessageName>S5F3</MessageName>
<MessageContent>{"ALED":128,"ALID":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="26">
<MessageName>S5F4</MessageName>
<MessageContent>{"ACKC5":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="27">
<MessageName>S2F43</MessageName>
<MessageContent>{"Events":[{"STRID":5,"EVENTIDs":[1]}],"Events":[{"STRID":6,"EVENTIDs":[11]}],}</MessageContent>
</WorkFlows>
<WorkFlows Step="28">
<MessageName>S2F44</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="29">
<MessageName>S1F3</MessageName>
<MessageContent>{"DATAID":0,"Events":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="30">
<MessageName>S1F4</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="31">
<MessageName>S5F5</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="32">
<MessageName>S5F6</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="33">
<MessageName>S7F19</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="34">
<MessageName>S7F20</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="35">
<MessageName>S2F13</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="36">
<MessageName>S2F14</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="37">
<MessageName>S2F15</MessageName>
<MessageContent>{"ECs":[{"ECID":50400,"ECV":"1","ECV_Type":28}],"ECs":[{"ECID":50500,"ECV":"5","ECV_Type":28}]}</MessageContent>
</WorkFlows>
<WorkFlows Step="38">
<MessageName>S2F16</MessageName>
<MessageContent>{"EAC":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="39">
<MessageName>S1F15</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="40">
<MessageName>S1F16</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="41">
<MessageName>S1F17</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="42">
<MessageName>S1F18</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="43">
<MessageName>S1F3</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="44">
<MessageName>S1F4</MessageName>
<MessageContent>{"SVs":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="45">
<MessageName>S2F23</MessageName>
<MessageContent>{"TRID":1,"DSPER_hhmmss":"000030","TOTSMP":10,"REPGSZ":1,"SVID":[600]}</MessageContent>
</WorkFlows>
<WorkFlows Step="46">
<MessageName>S2F24</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
</Scenario>
</Scenarios>
</scenarioCollection>
<commandContentCollection>
<commandContents>
<CommandContent name="S1F3">
<content>
<string>Clock</string>
<string>CommunicationState</string>
<string>CurrentControlState</string>
<string>PreviousControlState</string>
<string>CurrentEquipmentState</string>
<string>PreviousEquipmentState</string>
<string>PPExecName</string>
<string>SpoolingState</string>
<string>SpoolCountActual</string>
<string>SpoolCountTotal</string>
</content>
</CommandContent>
<CommandContent name="S2F15_ControlState">
<content>
<string>DefaultControlState</string>
<string>DefaultOnlineSubState</string>
</content>
</CommandContent>
</commandContents>
</commandContentCollection>
<sRDConfiguration>
<ecvs>
<ECV ecid="4" name="EnableAlarmReportSend" format="B" min="false" max="true" defaultValue="true" description="disable/enable event report send(AlarmDetected, AlarmCleared)" />
<ECV ecid="8" name="TimeFormat" format="U1" min="0" max="2" defaultValue="2" />
<ECV ecid="9" name="MaxTerminalMsgLength" format="U4" min="1" max="254" defaultValue="80" description="Total size of all TerminalMessages of one Terminal Service Message" />
<ECV ecid="49" name="EstablishCommunicationsTimeout" format="U2" min="15" max="9999" defaultValue="30" description="Delay between S1,F13. For details see E30 GEM chapter 4.1.2" />
<ECV ecid="12" name="DefaultCommunicationState" format="U1" defaultValue="1" description="The default GEM communication state" />
<ECV ecid="15" name="DefaultControlState" format="U1" defaultValue="1" description="Default GEM control state" />
<ECV ecid="16" name="DefaultOnlineSubState" format="U1" min="4" max="5" defaultValue="5" description="The default state of the Online GEM control substate 4=Local and 5=Remote" />
<ECV ecid="17" name="DefaultOfflineSubState" format="U1" defaultValue="3" description="The default state of the Offline GEM control substate" />
<ECV ecid="40" name="EnableSpooling" format="B" min="F" max="T" defaultValue="T" description="Enable or disable the Spooling State Machine." />
<ECV ecid="42" name="OverWriteSpool" format="B" min="F" max="T" defaultValue="T" description="Determine whether to overwrite data in the spool area or to discard further messages when the spool area is full as part of the Spooling State Machine." />
<ECV ecid="43" name="MaxSpoolMessages" format="U4" min="0" max="10000000" defaultValue="100000" description="Maximum number of messages that can be put into the spool area until it is considered full as part of the Spooling State Machine." />
<ECV ecid="44" name="MaxSpoolTransmit" format="U4" min="0" max="10000000" defaultValue="0" description="Maximum number of messages that the machine will transmit from the spool area in response to an S6F23 (transmit spooled messages) request as part of the Spooling State Machine." />
<ECV ecid="1" name="MDLN" format="A" description="Equipment model type, 20 bytes" />
<ECV ecid="2" name="SOFTREV" format="A" description="Software revison, 20 bytes" />
</ecvs>
<svs>
<SV svid="81" name="AlarmsEnabled" format="L" description="List of all enabled Alarms" />
<SV svid="82" name="AlarmsSet" format="L" description="List of all active Alarms" />
<SV svid="5" name="AlarmID" />
<SV svid="6" name="AlarmText" />
<SV svid="7" name="AlarmsCategory" />
<SV svid="3" name="Clock" format="A" description="Equipment's internal clock in the format defined by the TimeFormat value" />
<SV svid="13" name="CurrentControlState" format="U1" min="1" max="5" defaultValue="5" description="Current State of the Control State Machine" />
<SV svid="14" name="PreviousControlState" format="U1" min="1" max="5" defaultValue="5" description="pREVIOUS State of the Control State Machine" />
<SV svid="83" name="EventsEnabled" format="L" description="List of all enabled Events" />
<SV svid="71" name="RecipeChangeType" format="U1" description="The PPID change type" />
<SV svid="72" name="PPExecName" format="A" description="The PPID of the currently selected Process Program" />
<SV svid="20" name="ProcessingState" format="U1" description="Current state of the Processing State Machine." />
<SV svid="21" name="PreviousProcessingState" format="L" description="The previous processing state of the equipment. " />
<SV svid="45" name="SpoolCountActual" format="U4" description="Number of messages actually stored in the spool area." />
<SV svid="46" name="SpoolCountTotal" format="U4" description="Total number of messages put into spool area from the time spooling was activated" />
<SV svid="47" name="SpoolFullTime" format="A" description="Timestamp from the time the spool last became full." />
<SV svid="48" name="SpoolStartTime" format="A" description="Timestamp from the time spooling last became active." />
<SV svid="41" name="SpoolingState" format="U1" min="0" max="6" defaultValue="0" description="The current state of the GEM spooling state machine" />
<SV svid="20810" name="ECID" format="U4" description="Last Change Equipment Constant ID." />
<SV svid="11" name="CommunicationState" format="U1" min="0" max="4" defaultValue="0" description="Current GEM communication state" />
<SV svid="21010" name="CurrentEquipmentState" format="U2" min="1000" max="6000" defaultValue="4000" />
<SV svid="21011" name="PreviousEquipmentState" format="U2" min="1000" max="6000" defaultValue="4000" description="Previous equipment state." />
<SV svid="21012" name="UserName" format="A" />
<SV svid="21013" name="PreviousUserName" format="A" />
</svs>
<dvs>
<DV dvid="1000" name="SubstrateID" />
<DV dvid="1001" name="MaterialStatus" />
<DV dvid="1010" name="LocationID" />
<DV dvid="1013" name="ProcessResult" />
<DV dvid="40003" name="StateFlag" />
<DV dvid="1011" name="PPChangeName" />
<DV dvid="1002" name="Target A" />
<DV dvid="1003" name="Target B" />
<DV dvid="1004" name="Target C" />
<DV dvid="1005" name="Target D" />
<DV dvid="1006" name="Reroute A" />
<DV dvid="1007" name="Reroute B" />
<DV dvid="1008" name="Reroute C" />
<DV dvid="1009" name="Reroute D" />
<!--<DV dvid="26000" name="SlotList" />-->
<DV dvid="1015" name="ProcessDurationSBS" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1016" name="ProcessDurationEDS" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1017" name="ProcessRecipeId" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1018" name="ProcessRecipeName" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1019" name="ProcessRecipeVersion" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1020" name="ProcessRecipeCreationDate" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1021" name="ProcessRecipeLastModificationDate" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1022" name="ProcessRecipeCreatedBy" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1023" name="ProcessRecipeLastModifiedBy" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1024" name="MeasuredSubstrateWidth" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1025" name="MeasuredSubstrateLength" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1026" name="Lifetime_Component1" format="" min="" max="" defaultValue="" description="e.g. Purge Air Filter" />
<DV dvid="1027" name="Lifetime_Component2" format="" min="" max="" defaultValue="" description="e.g. Waterfilter" />
<DV dvid="1028" name="Lifetime_Component3" format="" min="" max="" defaultValue="" description="e.g. Laser pump diodes" />
<DV dvid="1029" name="Lifetime_Component4" format="" min="" max="" defaultValue="" description="e.g. vacuum devices" />
<DV dvid="1030" name="Lifetime_Component5" format="" min="" max="" defaultValue="" description="e.g. Protective window scanner" />
<DV dvid="1031" name="Lifetime_Component6" format="" min="" max="" defaultValue="" description="e.g. Filter housing" />
<DV dvid="1032" name="Lifetime_Component7" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1033" name="Lifetime_Component8" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1034" name="Lifetime_Component9" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1035" name="Lifetime_Component10" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1036" name="SubstrateCount_Component11" format="" min="" max="" defaultValue="" description="e.g. filter aspiration" />
<DV dvid="1037" name="SubstrateCount_Component12" format="" min="" max="" defaultValue="" description="e.g. brushes SBS" />
<DV dvid="1038" name="SubstrateCount_Component13" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1039" name="SubstrateCount_Component14" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1040" name="SubstrateCount_Component15" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1041" name="SubstrateCount_Component16" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1042" name="SubstrateCount_Component17" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1043" name="SubstrateCount_Component18" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1044" name="SubstrateCount_Component19" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1045" name="SubstrateCount_Component20" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1046" name="SubstrateID_CV1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1047" name="SubstrateID_SBS" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1048" name="SubstrateID_EDS1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1049" name="SubstrateID_EDS2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1050" name="SubstrateID_CV2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1051" name="LocationId_CV1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1052" name="LocationId_SBS" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1053" name="LocationId_EDS1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1054" name="LocationId_EDS2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1055" name="LocationId_CV2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1056" name="Slot1_CV1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1057" name="Slot1_SBS" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1058" name="Slot1_EDS1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1059" name="Slot1_EDS2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1060" name="Slot1_CV2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1061" name="Target_A_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1062" name="Target_A_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1063" name="Target_A_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1064" name="Target_A_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1065" name="Target_A_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1066" name="Target_B_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1067" name="Target_B_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1068" name="Target_B_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1069" name="Target_B_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1070" name="Target_B_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1071" name="Target_C_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1072" name="Target_C_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1073" name="Target_C_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1074" name="Target_C_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1075" name="Target_C_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1076" name="Target_D_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1077" name="Target_D_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1078" name="Target_D_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1079" name="Target_D_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1080" name="Target_D_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1081" name="Reroute_A_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1082" name="Reroute_A_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1083" name="Reroute_A_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1084" name="Reroute_A_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1085" name="Reroute_A_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1086" name="Reroute_B_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1087" name="Reroute_B_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1088" name="Reroute_B_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1089" name="Reroute_B_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1090" name="Reroute_B_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1091" name="Reroute_C_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1092" name="Reroute_C_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1093" name="Reroute_C_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1094" name="Reroute_C_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1095" name="Reroute_C_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1096" name="Reroute_D_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1097" name="Reroute_D_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1098" name="Reroute_D_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1099" name="Reroute_D_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1100" name="Reroute_D_5" format="" min="" max="" defaultValue="" description="" />
</dvs>
<events>
<EVENT ceid="1" name="EquipmentOffline" reportid="1">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>13</unsignedInt>
<unsignedInt>14</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="2" name="ControlStateLocal" reportid="2">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>13</unsignedInt>
<unsignedInt>14</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="3" name="ControlStateRemote" reportid="3">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>13</unsignedInt>
<unsignedInt>14</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="11" name="AlarmDetected" reportid="11">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>5</unsignedInt>
<unsignedInt>6</unsignedInt>
<unsignedInt>7</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="12" name="AlarmCleared" reportid="12">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>5</unsignedInt>
<unsignedInt>6</unsignedInt>
<unsignedInt>7</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="21" name="SpoolTransmitFailure" reportid="21">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>41</unsignedInt>
<unsignedInt>45</unsignedInt>
<unsignedInt>46</unsignedInt>
<unsignedInt>47</unsignedInt>
<unsignedInt>48</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="22" name="SpoolingActivated" reportid="22">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>41</unsignedInt>
<unsignedInt>45</unsignedInt>
<unsignedInt>46</unsignedInt>
<unsignedInt>47</unsignedInt>
<unsignedInt>48</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="23" name="SpoolingDeactivated" reportid="23">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>41</unsignedInt>
<unsignedInt>45</unsignedInt>
<unsignedInt>46</unsignedInt>
<unsignedInt>47</unsignedInt>
<unsignedInt>48</unsignedInt>
</validVariables>
</EVENT>
<!--<EVENT ceid="120" name="MaintenanceStart" reportid="120">
<validVariables>
<unsignedInt>20300</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="121" name="MaintenanceEnd" reportid="121">
<validVariables>
<unsignedInt>20300</unsignedInt>
</validVariables>
</EVENT>-->
<EVENT ceid="300011" name="Material_Received" reportid="200011">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>1010</unsignedInt>
<unsignedInt>72</unsignedInt>
<unsignedInt>1001</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300012" name="Material_Removed" reportid="200012">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>1010</unsignedInt>
<unsignedInt>1001</unsignedInt>
<unsignedInt>1002</unsignedInt>
<unsignedInt>1003</unsignedInt>
<unsignedInt>1004</unsignedInt>
<unsignedInt>1005</unsignedInt>
<unsignedInt>1006</unsignedInt>
<unsignedInt>1007</unsignedInt>
<unsignedInt>1008</unsignedInt>
<unsignedInt>1009</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300013" name="Material_Hold" reportid="200013">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>1010</unsignedInt>
<unsignedInt>1001</unsignedInt>
<unsignedInt>1002</unsignedInt>
<unsignedInt>1003</unsignedInt>
<unsignedInt>1004</unsignedInt>
<unsignedInt>1005</unsignedInt>
<unsignedInt>1006</unsignedInt>
<unsignedInt>1007</unsignedInt>
<unsignedInt>1008</unsignedInt>
<unsignedInt>1009</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300021" name="Process_Start" reportid="200021">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>72</unsignedInt>
<unsignedInt>21010</unsignedInt>
<unsignedInt>21011</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300022" name="Process_Finish" reportid="200022">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>1013</unsignedInt>
<unsignedInt>21010</unsignedInt>
<unsignedInt>21011</unsignedInt>
<unsignedInt>1015</unsignedInt>
<unsignedInt>1016</unsignedInt>
<unsignedInt>1017</unsignedInt>
<unsignedInt>1018</unsignedInt>
<unsignedInt>1019</unsignedInt>
<unsignedInt>1020</unsignedInt>
<unsignedInt>1021</unsignedInt>
<unsignedInt>1022</unsignedInt>
<unsignedInt>1023</unsignedInt>
<unsignedInt>1024</unsignedInt>
<unsignedInt>1025</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300032" name="Slotlist" reportid="200032">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1046</unsignedInt>
<unsignedInt>1047</unsignedInt>
<unsignedInt>1048</unsignedInt>
<unsignedInt>1049</unsignedInt>
<unsignedInt>1050</unsignedInt>
<unsignedInt>1051</unsignedInt>
<unsignedInt>1052</unsignedInt>
<unsignedInt>1053</unsignedInt>
<unsignedInt>1054</unsignedInt>
<unsignedInt>1055</unsignedInt>
<unsignedInt>1056</unsignedInt>
<unsignedInt>1057</unsignedInt>
<unsignedInt>1058</unsignedInt>
<unsignedInt>1059</unsignedInt>
<unsignedInt>1060</unsignedInt>
<unsignedInt>1061</unsignedInt>
<unsignedInt>1062</unsignedInt>
<unsignedInt>1063</unsignedInt>
<unsignedInt>1064</unsignedInt>
<unsignedInt>1065</unsignedInt>
<unsignedInt>1066</unsignedInt>
<unsignedInt>1067</unsignedInt>
<unsignedInt>1068</unsignedInt>
<unsignedInt>1069</unsignedInt>
<unsignedInt>1070</unsignedInt>
<unsignedInt>1071</unsignedInt>
<unsignedInt>1072</unsignedInt>
<unsignedInt>1073</unsignedInt>
<unsignedInt>1074</unsignedInt>
<unsignedInt>1075</unsignedInt>
<unsignedInt>1076</unsignedInt>
<unsignedInt>1077</unsignedInt>
<unsignedInt>1078</unsignedInt>
<unsignedInt>1079</unsignedInt>
<unsignedInt>1080</unsignedInt>
<unsignedInt>1081</unsignedInt>
<unsignedInt>1082</unsignedInt>
<unsignedInt>1083</unsignedInt>
<unsignedInt>1084</unsignedInt>
<unsignedInt>1085</unsignedInt>
<unsignedInt>1086</unsignedInt>
<unsignedInt>1087</unsignedInt>
<unsignedInt>1088</unsignedInt>
<unsignedInt>1089</unsignedInt>
<unsignedInt>1090</unsignedInt>
<unsignedInt>1091</unsignedInt>
<unsignedInt>1092</unsignedInt>
<unsignedInt>1093</unsignedInt>
<unsignedInt>1094</unsignedInt>
<unsignedInt>1095</unsignedInt>
<unsignedInt>1096</unsignedInt>
<unsignedInt>1097</unsignedInt>
<unsignedInt>1098</unsignedInt>
<unsignedInt>1099</unsignedInt>
<unsignedInt>1100</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300041" name="UserLoggedOn" reportid="200041">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>21012</unsignedInt>
<unsignedInt>21013</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300042" name="UserLoggedOff" reportid="200042">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>21012</unsignedInt>
<unsignedInt>21013</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300052" name="ProcessRecipeSelected" reportid="200052">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>72</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300055" name="ProcessProgramChange" reportid="200055">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>71</unsignedInt>
<unsignedInt>1011</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300061" name="EquipmentStateChange" reportid="200061">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>21010</unsignedInt>
<unsignedInt>21011</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300063" name="Machine_Data_1" reportid="200063">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1026</unsignedInt>
<unsignedInt>1027</unsignedInt>
<unsignedInt>1028</unsignedInt>
<unsignedInt>1029</unsignedInt>
<unsignedInt>1030</unsignedInt>
<unsignedInt>1031</unsignedInt>
<unsignedInt>1032</unsignedInt>
<unsignedInt>1033</unsignedInt>
<unsignedInt>1034</unsignedInt>
<unsignedInt>1035</unsignedInt>
<unsignedInt>1036</unsignedInt>
<unsignedInt>1037</unsignedInt>
<unsignedInt>1038</unsignedInt>
<unsignedInt>1039</unsignedInt>
<unsignedInt>1040</unsignedInt>
<unsignedInt>1041</unsignedInt>
<unsignedInt>1042</unsignedInt>
<unsignedInt>1043</unsignedInt>
<unsignedInt>1044</unsignedInt>
<unsignedInt>1045</unsignedInt>
</validVariables>
</EVENT>
</events>
</sRDConfiguration>
</Configurations>

View File

@ -1,765 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Configurations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<connectSetting name="MARK_01" deviceId="0" remoteIp="127.0.0.1" remotePort="6000" />
<eapMonitorSetting IPAddress="127.0.0.1" Port="10086" />
<mQConnectionCfg HostName="172.16.21.191" VirtualHost="cdte" UserName="cdte" Password="cdte" Port="5672" ClientProvidedName="MARK_01">
<Exchange>MARK_01_Exchange</Exchange>
<Exchange_RTDB>cdte</Exchange_RTDB>
<EAP_Request_Queue>MARK_01_EAP_Request_Queue</EAP_Request_Queue>
<EAP_Response_Queue>MARK_01_EAP_Response_Queue</EAP_Response_Queue>
<MES_Request_Queue>MARK_01_MES_Request_Queue</MES_Request_Queue>
<MES_Response_Queue>MARK_01_MES_Response_Queue</MES_Response_Queue>
<EAP_Request_Queue_RTDB>logs</EAP_Request_Queue_RTDB>
<EAP_Request_Queue_RoutingKey>MARK_01_EAP_Request_Queue_RoutingKey</EAP_Request_Queue_RoutingKey>
<EAP_Response_Queue_RoutingKey>MARK_01_EAP_Response_Queue_RoutingKey</EAP_Response_Queue_RoutingKey>
<MES_Request_Queue_RoutingKey>MARK_01_MES_Request_Queue_RoutingKey</MES_Request_Queue_RoutingKey>
<MES_Response_Queue_RoutingKey>MARK_01_MES_Response_Queue_RoutingKey</MES_Response_Queue_RoutingKey>
<Exchange_Name_Dle>Dead_Letter_Exchange</Exchange_Name_Dle>
<Dead_Letter_RoutingKey>Dead_Letter_RoutingKey</Dead_Letter_RoutingKey>
</mQConnectionCfg>
<httpConfiguration>
<heartBitUrl>http://172.16.21.112:8080/api/mq/EquipmentInterfaceStatus/update</heartBitUrl>
<fileDownloadUrl>http://172.16.21.190/api/common/attachment/downloadFile</fileDownloadUrl>
<contentType>application/json</contentType>
</httpConfiguration>
<scenarioCollection>
<Scenarios>
<Scenario Name="Init">
<WorkFlows Step="1">
<MessageName>S1F13</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="2">
<MessageName>S1F14</MessageName>
<MessageContent>{"HCACK":0,"CPNAME":null,"CPACK":null}</MessageContent>
</WorkFlows>
<WorkFlows Step="3">
<MessageName>S1F17</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="4">
<MessageName>S1F18</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="5">
<MessageName>S1F3</MessageName>
<MessageContent>{"DATAID":0,"Events":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="6">
<MessageName>S1F4</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="7">
<MessageName>S6F23</MessageName>
<MessageContent>{"DATAID":0,"Reports":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="8">
<MessageName>S6F24</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="9">
<MessageName>S2F43</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="10">
<MessageName>S2F44</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="11">
<MessageName>S2F37</MessageName>
<MessageContent>{"CEED":false,"CEIDs":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="12">
<MessageName>S2F38</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="13">
<MessageName>S2F35</MessageName>
<MessageContent>{"DATAID":0,"Events":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="14">
<MessageName>S2F36</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="15">
<MessageName>S2F33</MessageName>
<MessageContent>{"DATAID":0,"Reports":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="16">
<MessageName>S2F34</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="17">
<MessageName>S5F3</MessageName>
<MessageContent>{"ALED":0,"ALID":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="18">
<MessageName>S5F4</MessageName>
<MessageContent>{"ACKC5":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="19">
<MessageName>S2F33</MessageName>
<MessageContent>{"DATAID":0,"Reports":[{"RPTID":1,"SVIDs":[900,301,820,400,401],"SVs":[]},{"RPTID":2,"SVIDs":[900,301,820,400,401],"SVs":[]},{"RPTID":3,"SVIDs":[900,301,820,400,401],"SVs":[]},{"RPTID":11,"SVIDs":[900,301,22700],"SVs":[]},{"RPTID":12,"SVIDs":[900,301,22700],"SVs":[]},{"RPTID":21,"SVIDs":[900,301,804,800,801,802,803],"SVs":[]},{"RPTID":22,"SVIDs":[900,301,804,800,801,802,803],"SVs":[]},{"RPTID":23,"SVIDs":[900,301,804,800,801,802,803],"SVs":[]},{"RPTID":30,"SVIDs":[900,301,701,700],"SVs":[]},{"RPTID":40,"SVIDs":[900,301,20024,600,21900,20012],"SVs":[]},{"RPTID":41,"SVIDs":[900,301,20024,600,21900,20012,22201],"SVs":[]},{"RPTID":45,"SVIDs":[900,301,600,21900,20012],"SVs":[]},{"RPTID":46,"SVIDs":[900,301,600,21900,20012],"SVs":[]},{"RPTID":47,"SVIDs":[900,301,20012],"SVs":[]},{"RPTID":60,"SVIDs":[900,20012,20021],"SVs":[]},{"RPTID":70,"SVIDs":[900,301,810],"SVs":[]},{"RPTID":80,"SVIDs":[900,301,1010,1011],"SVs":[]},{"RPTID":90,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":91,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":92,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":93,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":110,"SVIDs":[900,1021,20021],"SVs":[]},{"RPTID":111,"SVIDs":[900,1021,20021],"SVs":[]}]}</MessageContent>
</WorkFlows>
<WorkFlows Step="20">
<MessageName>S2F34</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="21">
<MessageName>S2F35</MessageName>
<MessageContent>{"DATAID":0,"Events":[{"CEID":1,"RPTIDs":[1]},{"CEID":2,"RPTIDs":[2]},{"CEID":3,"RPTIDs":[3]},{"CEID":11,"RPTIDs":[11]},{"CEID":12,"RPTIDs":[12]},{"CEID":21,"RPTIDs":[21]},{"CEID":22,"RPTIDs":[22]},{"CEID":23,"RPTIDs":[23]},{"CEID":30,"RPTIDs":[30]},{"CEID":40,"RPTIDs":[40]},{"CEID":41,"RPTIDs":[41]},{"CEID":45,"RPTIDs":[45]},{"CEID":46,"RPTIDs":[46]},{"CEID":47,"RPTIDs":[47]},{"CEID":60,"RPTIDs":[60]},{"CEID":70,"RPTIDs":[70]},{"CEID":80,"RPTIDs":[80]},{"CEID":90,"RPTIDs":[90]},{"CEID":91,"RPTIDs":[91]},{"CEID":92,"RPTIDs":[92]},{"CEID":93,"RPTIDs":[93]},{"CEID":110,"RPTIDs":[110]},{"CEID":111,"RPTIDs":[111]}]}</MessageContent>
</WorkFlows>
<WorkFlows Step="22">
<MessageName>S2F36</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="23">
<MessageName>S2F37</MessageName>
<MessageContent>{"CEED":true,"CEIDs":[1,2,3,11,12,21,22,23,30,40,41,45,46,47,60,70,80,90,91,92,93,110,111]}</MessageContent>
</WorkFlows>
<WorkFlows Step="24">
<MessageName>S2F38</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="25">
<MessageName>S5F3</MessageName>
<MessageContent>{"ALED":128,"ALID":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="26">
<MessageName>S5F4</MessageName>
<MessageContent>{"ACKC5":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="27">
<MessageName>S2F43</MessageName>
<MessageContent>{"Events":[{"STRID":5,"EVENTIDs":[1]}],"Events":[{"STRID":6,"EVENTIDs":[11]}],}</MessageContent>
</WorkFlows>
<WorkFlows Step="28">
<MessageName>S2F44</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="29">
<MessageName>S1F3</MessageName>
<MessageContent>{"DATAID":0,"Events":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="30">
<MessageName>S1F4</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="31">
<MessageName>S5F5</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="32">
<MessageName>S5F6</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="33">
<MessageName>S7F19</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="34">
<MessageName>S7F20</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="35">
<MessageName>S2F13</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="36">
<MessageName>S2F14</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="37">
<MessageName>S2F15</MessageName>
<MessageContent>{"ECs":[{"ECID":50400,"ECV":"1","ECV_Type":28}],"ECs":[{"ECID":50500,"ECV":"5","ECV_Type":28}]}</MessageContent>
</WorkFlows>
<WorkFlows Step="38">
<MessageName>S2F16</MessageName>
<MessageContent>{"EAC":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="39">
<MessageName>S1F15</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="40">
<MessageName>S1F16</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="41">
<MessageName>S1F17</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="42">
<MessageName>S1F18</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="43">
<MessageName>S1F3</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="44">
<MessageName>S1F4</MessageName>
<MessageContent>{"SVs":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="45">
<MessageName>S2F23</MessageName>
<MessageContent>{"TRID":1,"DSPER_hhmmss":"000030","TOTSMP":10,"REPGSZ":1,"SVID":[600]}</MessageContent>
</WorkFlows>
<WorkFlows Step="46">
<MessageName>S2F24</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
</Scenario>
</Scenarios>
</scenarioCollection>
<commandContentCollection>
<commandContents>
<CommandContent name="S1F3">
<content>
<string>Clock</string>
<string>CommunicationState</string>
<string>CurrentControlState</string>
<string>PreviousControlState</string>
<string>CurrentEquipmentState</string>
<string>PreviousEquipmentState</string>
<!--<string>PPExecName</string>-->
<string>SpoolingState</string>
<string>SpoolCountActual</string>
<string>SpoolCountTotal</string>
</content>
</CommandContent>
<CommandContent name="S2F15_ControlState">
<content>
<string>DefaultControlState</string>
<string>DefaultOnlineSubState</string>
</content>
</CommandContent>
</commandContents>
</commandContentCollection>
<sRDConfiguration>
<ecvs>
<ECV ecid="10000" name="EnableAlarmReportSend" format="B" min="false" max="true" defaultValue="true" description="disable/enable event report send(AlarmDetected, AlarmCleared)" />
<ECV ecid="10001" name="TimeFormat" format="U1" min="0" max="2" defaultValue="2" />
<ECV ecid="10002" name="MaxTerminalMsgLength" format="U4" min="1" max="254" defaultValue="80" description="Total size of all TerminalMessages of one Terminal Service Message" />
<ECV ecid="10003" name="EstablishCommunicationsTimeout" format="U2" min="15" max="9999" defaultValue="30" description="Delay between S1,F13. For details see E30 GEM chapter 4.1.2" />
<ECV ecid="11000" name="DefaultCommunicationState" format="U1" defaultValue="1" description="The default GEM communication state" />
<ECV ecid="11001" name="DefaultControlState" format="U1" defaultValue="1" description="Default GEM control state" />
<ECV ecid="12000" name="DefaultOnlineSubState" format="U1" min="4" max="5" defaultValue="5" description="The default state of the Online GEM control substate 4=Local and 5=Remote" />
<ECV ecid="12001" name="DefaultOfflineSubState" format="U1" defaultValue="3" description="The default state of the Offline GEM control substate" />
<ECV ecid="13000" name="EnableSpooling" format="B" min="F" max="T" defaultValue="T" description="Enable or disable the Spooling State Machine." />
<ECV ecid="13001" name="OverWriteSpool" format="B" min="F" max="T" defaultValue="T" description="Determine whether to overwrite data in the spool area or to discard further messages when the spool area is full as part of the Spooling State Machine." />
<ECV ecid="13002" name="MaxSpoolMessages" format="U4" min="0" max="10000000" defaultValue="100000" description="Maximum number of messages that can be put into the spool area until it is considered full as part of the Spooling State Machine." />
<ECV ecid="13003" name="MaxSpoolTransmit" format="U4" min="0" max="10000000" defaultValue="0" description="Maximum number of messages that the machine will transmit from the spool area in response to an S6F23 (transmit spooled messages) request as part of the Spooling State Machine." />
<ECV ecid="15000" name="MDLN" format="A" description="Equipment model type, 20 bytes" />
<ECV ecid="15001" name="SOFTREV" format="A" description="Software revison, 20 bytes" />
</ecvs>
<svs>
<SV svid="20200" name="AlarmsEnabled" format="L" description="List of all enabled Alarms" />
<SV svid="20201" name="AlarmsSet" format="L" description="List of all active Alarms" />
<SV svid="20202" name="AlarmID" />
<SV svid="20203" name="AlarmText" />
<SV svid="20204" name="AlarmsCategory" />
<SV svid="20300" name="Clock" format="A" description="Equipment's internal clock in the format defined by the TimeFormat value" />
<SV svid="20400" name="CurrentControlState" format="U1" min="1" max="5" defaultValue="5" description="Current State of the Control State Machine" />
<SV svid="20401" name="PreviousControlState" format="U1" min="1" max="5" defaultValue="5" description="pREVIOUS State of the Control State Machine" />
<SV svid="20500" name="EventsEnabled" format="L" description="List of all enabled Events" />
<!--<SV svid="20600" name="PPExecName" format="A" description="The PPID of the currently selected Process Program" />-->
<SV svid="20701" name="ProcessingState" format="U1" description="Current state of the Processing State Machine." />
<SV svid="20702" name="PreviousProcessingState" format="L" description="The previous processing state of the equipment. " />
<SV svid="20800" name="SpoolCountActual" format="U4" description="Number of messages actually stored in the spool area." />
<SV svid="20801" name="SpoolCountTotal" format="U4" description="Total number of messages put into spool area from the time spooling was activated" />
<SV svid="20802" name="SpoolFullTime" format="A" description="Timestamp from the time the spool last became full." />
<SV svid="20803" name="SpoolStartTime" format="A" description="Timestamp from the time spooling last became active." />
<SV svid="20804" name="SpoolingState" format="U1" min="0" max="6" defaultValue="0" description="The current state of the GEM spooling state machine" />
<SV svid="20810" name="ECID" format="U4" description="Last Change Equipment Constant ID." />
<SV svid="20820" name="CommunicationState" format="U1" min="0" max="4" defaultValue="0" description="Current GEM communication state" />
<SV svid="21010" name="CurrentEquipmentState" format="U2" min="1000" max="6000" defaultValue="4000" />
<SV svid="21011" name="PreviousEquipmentState" format="U2" min="1000" max="6000" defaultValue="4000" description="Previous equipment state." />
<SV svid="21012" name="UserName" format="A" />
<SV svid="21013" name="PreviousUserName" format="A" />
<SV svid="21014" name="LoginState" format="Boolean" />
</svs>
<dvs>
<DV dvid="40000" name="SubstrateID" />
<DV dvid="40001" name="LocationID" />
<DV dvid="40002" name="MaterialStatus" />
<DV dvid="40003" name="StateFlag" />
<!--<DV dvid="40004" name="PPChangeStatus" />
<DV dvid="40005" name="PPChangeName" />-->
<DV dvid="40010" name="Target A" />
<DV dvid="40011" name="Target B" />
<DV dvid="40012" name="Target C" />
<DV dvid="40013" name="Target D" />
<DV dvid="40014" name="Reroute A" />
<DV dvid="40015" name="Reroute B" />
<DV dvid="40016" name="Reroute C" />
<DV dvid="40017" name="Reroute D" />
<!--<DV dvid="41000" name="Data1" />
<DV dvid="41002" name="Data2" format="U1" />
<DV dvid="41003" name="Data3" />
<DV dvid="41004" name="Data4" />
<DV dvid="41005" name="Data5" />
<DV dvid="41006" name="Data6" />
<DV dvid="41007" name="Data7" />
<DV dvid="30507" name="StationID" />
<DV dvid="22600" name="VirtualSubstrateID" />
<DV dvid="20008" name="PortID" />
<DV dvid="25001" name="SourceLocation" />
<DV dvid="250120" name="PalletID" />
<DV dvid="250130" name="Grade" />
<DV dvid="250101" name="ContainerSlotMap" />-->
<DV dvid="26000" name="SlotList" />
<!--<DV dvid="40006" name="ContainerID" />
<DV dvid="40007" name="SlotID" />-->
</dvs>
<events>
<EVENT ceid="1" name="EquipmentOffline" reportid="1">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20400</unsignedInt>
<unsignedInt>20401</unsignedInt>
</validVariables>
</EVENT>
<!--<EVENT ceid="2" name="ControlStateLocal" reportid="2">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20400</unsignedInt>
<unsignedInt>20401</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="3" name="ControlStateRemote" reportid="3">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20400</unsignedInt>
<unsignedInt>20401</unsignedInt>
</validVariables>
</EVENT>-->
<EVENT ceid="11" name="AlarmDetected" reportid="11">
<validVariables>
<unsignedInt>20300</unsignedInt>
<!--<unsignedInt>40003</unsignedInt>-->
<unsignedInt>20202</unsignedInt>
<unsignedInt>20203</unsignedInt>
<unsignedInt>20204</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="12" name="AlarmCleared" reportid="12">
<validVariables>
<unsignedInt>20300</unsignedInt>
<!--<unsignedInt>40003</unsignedInt>-->
<unsignedInt>20202</unsignedInt>
<unsignedInt>20203</unsignedInt>
<unsignedInt>20204</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="21" name="SpoolTransmitFailure" reportid="21">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20800</unsignedInt>
<unsignedInt>20804</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="22" name="SpoolingActivated" reportid="22">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20800</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="23" name="SpoolingDeactivated" reportid="23">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20800</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="120" name="MaintenanceStart" reportid="120">
<validVariables>
<unsignedInt>20300</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="121" name="MaintenanceEnd" reportid="121">
<validVariables>
<unsignedInt>20300</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300011" name="Material_Received" reportid="200011">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40003</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40000</unsignedInt>
<!--<unsignedInt>20600</unsignedInt>-->
<unsignedInt>40002</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300012" name="Material_Removed" reportid="200012">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40003</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>
<!--<EVENT ceid="300013" name="Material_Hold" reportid="200013">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40003</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300014" name="Material_Scrap" reportid="200014">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40003</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>-->
<EVENT ceid="300021" name="Process_Start" reportid="200021">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40003</unsignedInt>
<unsignedInt>40000</unsignedInt>
<!--<unsignedInt>20600</unsignedInt>
<unsignedInt>21010</unsignedInt>
<unsignedInt>21011</unsignedInt>-->
</validVariables>
</EVENT>
<EVENT ceid="300022" name="Process_Finish" reportid="200022">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40003</unsignedInt>
<unsignedInt>40000</unsignedInt>
<!--unsignedInt>20600</unsignedInt>-->
<!--<unsignedInt>21010</unsignedInt>
<unsignedInt>21011</unsignedInt>-->
<unsignedInt>40002</unsignedInt>
<unsignedInt>41000</unsignedInt>
<unsignedInt>41002</unsignedInt>
<unsignedInt>41003</unsignedInt>
<unsignedInt>41004</unsignedInt>
<unsignedInt>41005</unsignedInt>
<unsignedInt>41006</unsignedInt>
<unsignedInt>41007</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300032" name="Slotlist" reportid="200032">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>26000</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300041" name="UserLoggedOn" reportid="200041">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>21012</unsignedInt>
<unsignedInt>21013</unsignedInt>
<unsignedInt>21014</unsignedInt>
</validVariables>
</EVENT>
<!--<EVENT ceid="300042" name="UserLoggedOff" reportid="200042">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>21012</unsignedInt>
<unsignedInt>21013</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300052" name="ProcessRecipeSelected" reportid="200052">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40003</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>20600</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300053" name="Parameter_Update_Request" reportid="200053">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20400</unsignedInt>
<unsignedInt>20420</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300055" name="Process_Program_Change" reportid="200055">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20400</unsignedInt>
<unsignedInt>20421</unsignedInt>
</validVariables>
</EVENT>-->
<EVENT ceid="300061" name="EquipmentStateChange" reportid="200061">
<validVariables>
<unsignedInt>20300</unsignedInt>
<!--<unsignedInt>40003</unsignedInt>-->
<unsignedInt>21010</unsignedInt>
<unsignedInt>21011</unsignedInt>
</validVariables>
</EVENT>
<!--<EVENT ceid="300063" name="Machine_Data_1" reportid="200063">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40003</unsignedInt>
<unsignedInt>41000</unsignedInt>
<unsignedInt>41002</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300064" name="Machine_Data_2" reportid="200064">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20400</unsignedInt>
<unsignedInt>20425</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300065" name="Machine_Data_3" reportid="200065">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20400</unsignedInt>
<unsignedInt>20426</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300066" name="Machine_Data_4" reportid="200066">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20400</unsignedInt>
<unsignedInt>20427</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300067" name="Machine_Data_5" reportid="200067">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>20400</unsignedInt>
<unsignedInt>20428</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="50" name="MaterialReceivedForLSTA" reportid="50">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>30507</unsignedInt>
<unsignedInt>22600</unsignedInt>
<unsignedInt>20008</unsignedInt>
<unsignedInt>40002</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="51" name="MaterialRemovedForLSTA" reportid="51">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="52" name="MaterialReceivedForTrans" reportid="52">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="53" name="MaterialRemovedForTrans" reportid="53">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="145" name="MaterialStoredToContainer" reportid="145">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>20008</unsignedInt>
<unsignedInt>40006</unsignedInt>
<unsignedInt>40007</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="146" name="MaterialRemovedFromContainer" reportid="146">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>20008</unsignedInt>
<unsignedInt>40006</unsignedInt>
<unsignedInt>40007</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="142" name="ContainerPlace" reportid="142">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>20008</unsignedInt>
<unsignedInt>40006</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="143" name="ContainerRemove" reportid="143">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>20008</unsignedInt>
<unsignedInt>40006</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="147" name="MaterialStoredToPallet" reportid="147">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>250120</unsignedInt>
<unsignedInt>20008</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40002</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="148" name="PalletCompleted" reportid="148">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>250120</unsignedInt>
<unsignedInt>20008</unsignedInt>
<unsignedInt>250130</unsignedInt>
<unsignedInt>250101</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="149" name="PalletRemoved" reportid="149">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>250120</unsignedInt>
<unsignedInt>20008</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="56" name="MaterialReceivedForIoPort" reportid="56">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="57" name="MaterialRemovedForIoPort" reportid="57">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="54" name="MaterialReceivedForFILOBuffer" reportid="54">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="55" name="MaterialRemovedForFILOBuffer" reportid="55">
<validVariables>
<unsignedInt>20300</unsignedInt>
<unsignedInt>40001</unsignedInt>
<unsignedInt>40000</unsignedInt>
<unsignedInt>40002</unsignedInt>
<unsignedInt>40010</unsignedInt>
<unsignedInt>40011</unsignedInt>
<unsignedInt>40012</unsignedInt>
<unsignedInt>40013</unsignedInt>
<unsignedInt>40014</unsignedInt>
<unsignedInt>40015</unsignedInt>
<unsignedInt>40016</unsignedInt>
<unsignedInt>40017</unsignedInt>
</validVariables>
</EVENT>-->
</events>
</sRDConfiguration>
</Configurations>

View File

@ -1,3 +0,0 @@
<?xml version="1.0"?>
<SECSLibrary>
</SECSLibrary>

View File

@ -51,32 +51,27 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("AlarmID"):
{
alarmReportBody.alarmCode = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
alarmReportBody.alarmCode = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
alarmReportBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
alarmReportBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
alarmReportBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("AlarmText"):
{
alarmReportBody.alarmText = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
alarmReportBody.alarmText = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("AlarmCategory"):
{
alarmReportBody.alarmCategory = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
alarmReportBody.alarmCategory = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -51,32 +51,27 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("AlarmID"):
{
alarmReportBody.alarmCode = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
alarmReportBody.alarmCode = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
alarmReportBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
alarmReportBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
alarmReportBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("AlarmText"):
{
alarmReportBody.alarmText = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
alarmReportBody.alarmText = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("AlarmCategory"):
{
alarmReportBody.alarmCategory = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
alarmReportBody.alarmCategory = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,26 +50,26 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
containerPlaceBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
containerPlaceBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
containerPlaceBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
containerPlaceBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PortID"):
{
containerPlaceBody.portId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
containerPlaceBody.portId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("ContainerID"):
{
containerPlaceBody.containerId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
containerPlaceBody.containerId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}

View File

@ -50,26 +50,26 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
containerPlaceBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
containerPlaceBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
containerPlaceBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
containerPlaceBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PortID"):
{
containerPlaceBody.portId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
containerPlaceBody.portId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("ContainerID"):
{
containerPlaceBody.containerId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
containerPlaceBody.containerId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}

View File

@ -48,26 +48,21 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
controlStateChangeBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
controlStateChangeBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
controlStateChangeBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("CurrentControlState"):
{
controlStateChangeBody.currentControlState = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
controlStateChangeBody.currentControlState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PreviousControlState"):
{
controlStateChangeBody.previousControlState = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
controlStateChangeBody.previousControlState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -48,26 +48,21 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
controlStateChangeBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
controlStateChangeBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
controlStateChangeBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("CurrentControlState"):
{
controlStateChangeBody.currentControlState = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
controlStateChangeBody.currentControlState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PreviousControlState"):
{
controlStateChangeBody.previousControlState = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
controlStateChangeBody.previousControlState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -0,0 +1,82 @@
#region << >>
/*----------------------------------------------------------------
* Hupe
* 2021/10/14 20:04:50
* V1.0.0
*
*
* ----------------------------------------------------------------
*
*
*
*
* V1.0.1
*----------------------------------------------------------------*/
#endregion << >>
using ARI.EAP.HOST.Common;
using ARI.EAP.HOST.MQ;
using ARI.EAP.HOST.MQ.body;
using ARI.EAP.HOST.SRD;
using Glorysoft.SECS.EQP.Common;
using Glorysoft.SECS.EQP.Utilities;
using Glorysoft.SECSwell;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ARI.EAP.HOST.Handlers.EventHandlers
{
public class EquipmentOfflineHandler : IEventHandler
{
public void Execute(SECSTransaction trans, EVENT even)
{
try
{
MQMessage mQMessage = new MQMessage();
mQMessage.header.messageName = "ControlStateChange";
ControlStateChangeBody controlStateChangeBody = new ControlStateChangeBody();
controlStateChangeBody.spoolingFlag = EquipmentStatus.SpoolingFlag.ToString();
int index = 1;
foreach (var key in even.validVariables)
{
string name = Configurations.conf.sRDConfiguration.tryGetSVOrDV(key);
switch (name)
{
case ("Clock"):
{
controlStateChangeBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("CurrentControlState"):
{
controlStateChangeBody.currentControlState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PreviousControlState"):
{
controlStateChangeBody.previousControlState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);
LoggerService.SECSLogger.Info(trans.Primary);
Global.MF.addlog(trans, LoggerService.Send, even.name, 1);
LoggerService.SECSLogger.Info(trans.Secondary);
mQMessage.body = controlStateChangeBody;
Task.Run(() => MainForm.mq.EAPRequest(mQMessage));
}
catch (Exception e)
{
LoggerService.SECSLogger.Error(e);
}
}
}
}

View File

@ -48,26 +48,21 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
equipmentStateChangeBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
equipmentStateChangeBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
equipmentStateChangeBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("CurrentEquipmentState"):
{
equipmentStateChangeBody.currentEquipmentState = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
equipmentStateChangeBody.currentEquipmentState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PreviousEquipmentState"):
{
equipmentStateChangeBody.previousEquipmentState = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
equipmentStateChangeBody.previousEquipmentState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -164,8 +164,8 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
public static void RequestSlotList(JObject body = null)
{
S2F49Item item = new S2F49Item();
item.DATAID = EquipmentStatus.commandCount++;
item.OBJSPEC = "";
item.DATAID = 1031;
item.OBJSPEC = "1031";
item.RCMD = "Slotlist_Request";
//todo:需要加空的list
Command.S2F49Command(item);

View File

@ -50,22 +50,16 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
machineDataBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
machineDataBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
machineDataBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
default:
{
machineDataBody.machineData.Add($"{key}({name})", trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString());
machineDataBody.machineData.Add($"{key}({name})", trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString());
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -51,11 +51,11 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
maintenanceBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
maintenanceBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -51,11 +51,11 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
maintenanceBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
maintenanceBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,66 +50,66 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialReceivedForTransBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialReceivedForTransBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialReceivedForTransBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialReceivedForTransBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialReceivedForTransBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialReceivedForTransBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialReceivedForTransBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialReceivedForTransBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialReceivedForTransBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialReceivedForTransBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialReceivedForTransBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialReceivedForTransBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}

View File

@ -50,66 +50,66 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialReceivedForTransBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialReceivedForTransBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialReceivedForTransBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialReceivedForTransBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialReceivedForTransBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialReceivedForTransBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialReceivedForTransBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialReceivedForTransBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialReceivedForTransBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialReceivedForTransBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialReceivedForTransBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialReceivedForTransBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}

View File

@ -50,31 +50,31 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("VirtualSubstrateID"):
{
lSTAMaterialReceivedBody.virtualSubstrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
lSTAMaterialReceivedBody.virtualSubstrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
lSTAMaterialReceivedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
lSTAMaterialReceivedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("StationID"):
{
lSTAMaterialReceivedBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
lSTAMaterialReceivedBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PortID"):
{
lSTAMaterialReceivedBody.portId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
lSTAMaterialReceivedBody.portId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
lSTAMaterialReceivedBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
lSTAMaterialReceivedBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}

View File

@ -50,66 +50,66 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialReceivedForTransBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialReceivedForTransBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialReceivedForTransBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialReceivedForTransBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialReceivedForTransBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialReceivedForTransBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialReceivedForTransBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialReceivedForTransBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialReceivedForTransBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialReceivedForTransBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialReceivedForTransBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialReceivedForTransBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedForTransBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}

View File

@ -50,67 +50,67 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialRemovedBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialRemovedBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialRemovedBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialRemovedBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialRemovedBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialRemovedBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialRemovedBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialRemovedBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialRemovedBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialRemovedBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialRemovedBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,67 +50,67 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialRemovedBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialRemovedBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialRemovedBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialRemovedBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialRemovedBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialRemovedBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialRemovedBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialRemovedBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialRemovedBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialRemovedBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialRemovedBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,67 +50,67 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialRemovedBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialRemovedBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialRemovedBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialRemovedBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialRemovedBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialRemovedBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialRemovedBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialRemovedBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialRemovedBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialRemovedBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialRemovedBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,67 +50,67 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialRemovedBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialRemovedBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialRemovedBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialRemovedBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialRemovedBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialRemovedBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialRemovedBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialRemovedBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialRemovedBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialRemovedBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialRemovedBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,81 +50,81 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialStoredToContainerBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialStoredToContainerBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialStoredToContainerBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialStoredToContainerBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PortID"):
{
materialStoredToContainerBody.portId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.portId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("ContainerID"):
{
materialStoredToContainerBody.containerId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.containerId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("SlotID"):
{
materialStoredToContainerBody.slotId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.slotId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialStoredToContainerBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialStoredToContainerBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialStoredToContainerBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialStoredToContainerBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialStoredToContainerBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialStoredToContainerBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialStoredToContainerBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialStoredToContainerBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}

View File

@ -50,81 +50,81 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialStoredToContainerBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialStoredToContainerBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialStoredToContainerBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialStoredToContainerBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PortID"):
{
materialStoredToContainerBody.portId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.portId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("ContainerID"):
{
materialStoredToContainerBody.containerId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.containerId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("SlotID"):
{
materialStoredToContainerBody.slotId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.slotId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialStoredToContainerBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialStoredToContainerBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialStoredToContainerBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialStoredToContainerBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialStoredToContainerBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialStoredToContainerBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialStoredToContainerBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialStoredToContainerBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToContainerBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}

View File

@ -50,36 +50,36 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
materialStoredToPalletBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToPalletBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialStoredToPalletBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToPalletBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PortID"):
{
materialStoredToPalletBody.port = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToPalletBody.port = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PalletID"):
{
materialStoredToPalletBody.palletId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToPalletBody.palletId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("SubstrateID"):
{
materialStoredToPalletBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToPalletBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialStoredToPalletBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialStoredToPalletBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,72 +50,72 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialHoldBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialHoldBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialHoldBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
materialHoldBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.stateFlag = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialHoldBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialHoldBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialHoldBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialHoldBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialHoldBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialHoldBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialHoldBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialHoldBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialHoldBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialHoldBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,36 +50,36 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialReceivedBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialReceivedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialReceivedBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
materialReceivedBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedBody.stateFlag = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PPExecName"):
{
materialReceivedBody.ppExecName = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedBody.ppExecName = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialReceivedBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialReceivedBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}

View File

@ -50,72 +50,72 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialRemovedBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialRemovedBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
materialRemovedBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.stateFlag = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialRemovedBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialRemovedBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialRemovedBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialRemovedBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialRemovedBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialRemovedBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialRemovedBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialRemovedBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialRemovedBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialRemovedBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,72 +50,72 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
materialScrapBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
materialScrapBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
materialScrapBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
materialScrapBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.stateFlag = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
materialScrapBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target A"):
{
materialScrapBody.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target B"):
{
materialScrapBody.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target C"):
{
materialScrapBody.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Target D"):
{
materialScrapBody.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute A"):
{
materialScrapBody.reroutet_A = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.reroutet_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute B"):
{
materialScrapBody.reroutet_B = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.reroutet_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute C"):
{
materialScrapBody.reroutet_C = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.reroutet_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Reroute D"):
{
materialScrapBody.reroutet_D = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
materialScrapBody.reroutet_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,43 +50,43 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
palletCompletedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
palletCompletedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
palletCompletedBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
palletCompletedBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PortID"):
{
palletCompletedBody.port = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
palletCompletedBody.port = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PalletID"):
{
palletCompletedBody.palletId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
palletCompletedBody.palletId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Grade"):
{
palletCompletedBody.grade = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
palletCompletedBody.grade = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("ContainerSlotMap"):
{
for (int i = 1; i < trans.Primary.Root.Item(3).Item(2).Item(index).ItemCount + 1;i++)
for (int i = 1; i < trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).ItemCount + 1;i++)
{
ContainerSlotMap containerSlotMap = new ContainerSlotMap();
containerSlotMap.slotNo = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(1).Value.ToString();
containerSlotMap.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(2).Value.ToString();
containerSlotMap.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(3).Value.ToString();
containerSlotMap.slotNo = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Item(i).Item(1).Value.ToString();
containerSlotMap.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Item(i).Item(2).Value.ToString();
containerSlotMap.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Item(i).Item(3).Value.ToString();
palletCompletedBody.containerSlotMap.Add(containerSlotMap);
}
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,26 +50,26 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
palletRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
palletRemovedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("LocationID"):
{
palletRemovedBody.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
palletRemovedBody.locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PortID"):
{
palletRemovedBody.port = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
palletRemovedBody.port = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PalletID"):
{
palletRemovedBody.palletId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
palletRemovedBody.palletId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -32,7 +32,7 @@ using System.Threading.Tasks;
namespace ARI.EAP.HOST.Handlers.EventHandlers
{
public class ProcessProgramChangeBodyHandler : IEventHandler
public class ProcessProgramChangeHandler : IEventHandler
{
public void Execute(SECSTransaction trans, EVENT even)
{
@ -50,22 +50,22 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("RecipeName"):
{
processProgramChangeBody.ppChangeName = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processProgramChangeBody.ppChangeName = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
processProgramChangeBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processProgramChangeBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("RecipeChangeType"):
{
processProgramChangeBody.ppChangeStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processProgramChangeBody.ppChangeStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,27 +50,22 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
processRecipeSelectedBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processRecipeSelectedBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
processRecipeSelectedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
processRecipeSelectedBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processRecipeSelectedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PPExecName"):
{
processRecipeSelectedBody.ppExecName = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processRecipeSelectedBody.ppExecName = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -49,48 +49,43 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
processFinishBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processFinishBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
processFinishBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processFinishBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
processFinishBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
processFinishBody.stateFlag = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
}
break;
case ("PPExecName"):
case ("ProcessResult"):
{
processFinishBody.ppExecName = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
}
break;
case ("MaterialStatus"):
{
processFinishBody.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processFinishBody.materialStatus = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("CurrentEquipmentState"):
{
processFinishBody.currentEquipmentState = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processFinishBody.currentEquipmentState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PreviousEquipmentState"):
{
processFinishBody.previousEquipmentState = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processFinishBody.previousEquipmentState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
default:
{
formatCheck(key, trans.Primary.Root.Item(3).Item(2).Item(index));
processFinishBody.processData.Add($"{name}", trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString());
formatCheck(key, trans.Primary.Root.Item(3).Item(1).Item(2).Item(index));
processFinishBody.processData.Add($"{name}", trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString());
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -50,37 +50,37 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("SubstrateID"):
{
processStartedBody.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processStartedBody.substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("Clock"):
{
processStartedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processStartedBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("CurrentEquipmentState"):
{
processStartedBody.currentEquipmentState = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processStartedBody.currentEquipmentState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("StateFlag"):
{
processStartedBody.stateFlag = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processStartedBody.stateFlag = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PPExecName"):
{
processStartedBody.ppExecName = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processStartedBody.ppExecName = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PreviousEquipmentState"):
{
processStartedBody.previousEquipmentState = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
processStartedBody.previousEquipmentState = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -42,6 +42,16 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
mQMessage.header.messageName = "SlotList";
SlotListBody slotListBody = new SlotListBody();
slotListBody.spoolingFlag = EquipmentStatus.SpoolingFlag.ToString();
SlotList slot_CV1 = new SlotList();
SlotList slot_SBS = new SlotList();
SlotList slot_EDS1 = new SlotList();
SlotList slot_EDS2 = new SlotList();
SlotList slot_CV2 = new SlotList();
slotListBody.slotList.Add(slot_CV1);
slotListBody.slotList.Add(slot_SBS);
slotListBody.slotList.Add(slot_EDS1);
slotListBody.slotList.Add(slot_EDS2);
slotListBody.slotList.Add(slot_CV2);
int index = 1;
foreach (var key in even.validVariables)
{
@ -50,31 +60,85 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
slotListBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
slotListBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("SlotList"):
default:
{
for (int i = 1; i < trans.Primary.Root.Item(3).Item(2).Item(index).ItemCount + 1;i++)
if (name.Equals("SubstrateID_CV1"))
{
SlotList slot = new SlotList();
slot.substrateId = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(1).Value.ToString();
slot.locationId = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(2).Value.ToString();
slot.materialStatus = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(3).Value.ToString();
slot.target_A = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(4).Value.ToString();
slot.target_B = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(5).Value.ToString();
slot.target_C = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(6).Value.ToString();
slot.target_D = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(7).Value.ToString();
slot.reroute_A = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(8).Value.ToString();
slot.reroute_B = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(9).Value.ToString();
slot.reroute_C = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(10).Value.ToString();
slot.reroute_D = trans.Primary.Root.Item(3).Item(2).Item(index).Item(i).Item(11).Value.ToString();
slotListBody.slotList.Add(slot);
for(int i = 0; i < 5; i++)
{
slotListBody.slotList[i].substrateId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index+i).Value.ToString();
}
}
else if (name.Equals("LocationId_CV1"))
{
for (int i = 0; i < 5; i++)
{
slotListBody.slotList[i].locationId = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index + i).Value.ToString();
}
}
else if (name.Equals("Target_A_1"))
{
for (int i = 0; i < 5; i++)
{
slotListBody.slotList[i].target_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index + i).Value.ToString();
}
}
else if (name.Equals("Target_B_1"))
{
for (int i = 0; i < 5; i++)
{
slotListBody.slotList[i].target_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index + i).Value.ToString();
}
}
else if (name.Equals("Target_C_1"))
{
for (int i = 0; i < 5; i++)
{
slotListBody.slotList[i].target_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index + i).Value.ToString();
}
}
else if (name.Equals("Target_D_1"))
{
for (int i = 0; i < 5; i++)
{
slotListBody.slotList[i].target_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index + i).Value.ToString();
}
}
else if (name.Equals("Reroute_A_1"))
{
for (int i = 0; i < 5; i++)
{
slotListBody.slotList[i].reroute_A = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index + i).Value.ToString();
}
}
else if (name.Equals("Reroute_B_1"))
{
for (int i = 0; i < 5; i++)
{
slotListBody.slotList[i].reroute_B = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index + i).Value.ToString();
}
}
else if (name.Equals("Reroute_C_1"))
{
for (int i = 0; i < 5; i++)
{
slotListBody.slotList[i].reroute_C = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index + i).Value.ToString();
}
}
else if (name.Equals("Reroute_D_1"))
{
for (int i = 0; i < 5; i++)
{
slotListBody.slotList[i].reroute_D = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index + i).Value.ToString();
}
}
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -51,21 +51,21 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
userLoggedOnBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
userLoggedOnBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("UserName"):
{
userLoggedOnBody.currentUserName = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
userLoggedOnBody.currentUserName = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PreviousUserName"):
{
userLoggedOnBody.previousUserName = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
userLoggedOnBody.previousUserName = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -51,21 +51,21 @@ namespace ARI.EAP.HOST.Handlers.EventHandlers
{
case ("Clock"):
{
userLoggedOnBody.eventTimestamp = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
userLoggedOnBody.eventTimestamp = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("UserName"):
{
userLoggedOnBody.currentUserName = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
userLoggedOnBody.currentUserName = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
case ("PreviousUserName"):
{
userLoggedOnBody.previousUserName = trans.Primary.Root.Item(3).Item(2).Item(index).Value.ToString();
userLoggedOnBody.previousUserName = trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Value.ToString();
}
break;
}
trans.Primary.Root.Item(3).Item(2).Item(index).Name = name;
trans.Primary.Root.Item(3).Item(1).Item(2).Item(index).Name = name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, even.name, 0);

View File

@ -25,6 +25,7 @@ namespace Glorysoft.SECS.EQP.Handlers
{
SimulatorInfo.Instance.IsConnected = false;
EquipmentStatus.EqConnectState = ConnectState.disconnected;
EquipmentStatus.initStatus = false;
}
}
}

View File

@ -23,7 +23,7 @@ namespace Glorysoft.SECS.EQP.Handlers
public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
{
SECSMessage reply = trans.Secondary;
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "Request Equipment Offline", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
if (trans.Tag != null)
{

View File

@ -23,7 +23,7 @@ namespace Glorysoft.SECS.EQP.Handlers
public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
{
SECSMessage reply = trans.Secondary;
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "Request Equipment Online", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
if (trans.Tag != null)
{

View File

@ -32,52 +32,55 @@ namespace Glorysoft.SECS.EQP.Handlers
var content = Configurations.conf.commandContentCollection.findContent("S1F3").content;
for(int i = 0; i < content.Count; i++)
{
switch (content[i])
if (trans.Secondary.Root.Item(i + 1).Value != null)
{
case "Clock":
sVListBody.eventTimestamp = trans.Secondary.Root.Item(i+1).Value.ToString();
trans.Secondary.Root.Item(i+1).Name = nameof(sVListBody.eventTimestamp);
break;
case "CommunicationState":
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.CommunicationState);
sVListBody.ControlState = trans.Secondary.Root.Item(i + 1).Value.ToString();
break;
case "CurrentControlState":
sVListBody.ControlState = trans.Secondary.Root.Item(i+1).Value.ToString();
trans.Secondary.Root.Item(i+1).Name = nameof(sVListBody.ControlState);
break;
case "PreviousControlState":
sVListBody.PreviousControlState = trans.Secondary.Root.Item(i+1).Value.ToString();
trans.Secondary.Root.Item(i+1).Name = nameof(sVListBody.PreviousControlState);
break;
case "CurrentEquipmentState":
sVListBody.CurrentEquipmentState = trans.Secondary.Root.Item(i+1).Value.ToString();
trans.Secondary.Root.Item(i+1).Name = nameof(sVListBody.CurrentEquipmentState);
break;
case "PreviousEquipmentState":
sVListBody.PreviousEquipmentState = trans.Secondary.Root.Item(i+1).Value.ToString();
trans.Secondary.Root.Item(i+1).Name = nameof(sVListBody.PreviousEquipmentState);
break;
case "PPExecName":
sVListBody.PPExecName = trans.Secondary.Root.Item(i+1).Value.ToString();
trans.Secondary.Root.Item(i+1).Name = nameof(sVListBody.PPExecName);
break;
case "SpoolingState":
sVListBody.SpoolingState = trans.Secondary.Root.Item(i+1).Value.ToString();
trans.Secondary.Root.Item(i+1).Name = nameof(sVListBody.SpoolingState);
break;
case "SpoolCountActual":
sVListBody.SpoolCountActual = trans.Secondary.Root.Item(i+1).Value.ToString();
trans.Secondary.Root.Item(i+1).Name = nameof(sVListBody.SpoolCountActual);
break;
case "SpoolCountTotal":
sVListBody.SpoolCountTotal = trans.Secondary.Root.Item(i+1).Value.ToString();
trans.Secondary.Root.Item(i+1).Name = nameof(sVListBody.SpoolCountTotal);
break;
switch (content[i])
{
case "Clock":
sVListBody.eventTimestamp = trans.Secondary.Root.Item(i + 1).Value.ToString();
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.eventTimestamp);
break;
case "CommunicationState":
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.CommunicationState);
sVListBody.CommunicationState = trans.Secondary.Root.Item(i + 1).Value.ToString();
break;
case "CurrentControlState":
sVListBody.ControlState = trans.Secondary.Root.Item(i + 1).Value.ToString();
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.ControlState);
break;
case "PreviousControlState":
sVListBody.PreviousControlState = trans.Secondary.Root.Item(i + 1).Value.ToString();
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.PreviousControlState);
break;
case "CurrentEquipmentState":
sVListBody.CurrentEquipmentState = trans.Secondary.Root.Item(i + 1).Value.ToString();
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.CurrentEquipmentState);
break;
case "PreviousEquipmentState":
sVListBody.PreviousEquipmentState = trans.Secondary.Root.Item(i + 1).Value.ToString();
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.PreviousEquipmentState);
break;
case "PPExecName":
sVListBody.PPExecName = trans.Secondary.Root.Item(i + 1).Value.ToString();
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.PPExecName);
break;
case "SpoolingState":
sVListBody.SpoolingState = trans.Secondary.Root.Item(i + 1).Value.ToString();
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.SpoolingState);
break;
case "SpoolCountActual":
sVListBody.SpoolCountActual = trans.Secondary.Root.Item(i + 1).Value.ToString();
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.SpoolCountActual);
break;
case "SpoolCountTotal":
sVListBody.SpoolCountTotal = trans.Secondary.Root.Item(i + 1).Value.ToString();
trans.Secondary.Root.Item(i + 1).Name = nameof(sVListBody.SpoolCountTotal);
break;
}
}
}
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "Selected Equipment Status Request", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
mQMessage.body = sVListBody;

View File

@ -32,12 +32,15 @@ namespace Glorysoft.SECS.EQP.Handlers
int index = 1;
foreach(var ec in Configurations.conf.sRDConfiguration.ecvs)
{
eCRequestBody.ECList.Add(ec.name, trans.Secondary.Root.Item(index).Value.ToString());
if (trans.Secondary.Root.Item(index).Value != null)
{
eCRequestBody.ECList.Add(ec.name, trans.Secondary.Root.Item(index).Value.ToString());
}
trans.Secondary.Root.Item(index).Name = ec.name;
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "Equipment Constant Request", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
mQMessage.body = eCRequestBody;

View File

@ -27,7 +27,7 @@ namespace Glorysoft.SECS.EQP.Handlers
{
public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
{
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "New Equipment Constants Send", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
SECSMessage reply = trans.Secondary;
S2F16Item item = new S2F16Item();

View File

@ -22,7 +22,7 @@ namespace Glorysoft.SECS.EQP.Handlers
{
public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
{
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "Trace Data Start", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
if (trans.Tag != null)
{

View File

@ -22,7 +22,7 @@ namespace Glorysoft.SECS.EQP.Handlers
{
public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
{
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "All Enable/Disable Event Report", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
SECSMessage reply = trans.Secondary;

View File

@ -22,7 +22,7 @@ namespace Glorysoft.SECS.EQP.Handlers
{
public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
{
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "Reset/Set Spooling", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
if (trans.Tag != null)
{

View File

@ -22,7 +22,7 @@ namespace Glorysoft.SECS.EQP.Handlers
{
public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
{
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "Enhanced Remote Command", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
}
}

View File

@ -33,21 +33,27 @@ namespace Glorysoft.SECS.EQP.Handlers
mQMessage.header.messageName = "DisableEnableAlarm";
S5F3Body s5F3Body = new S5F3Body();
s5F3Body.eventTimestamp = System.DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ss.fff");
if (EquipmentStatus.S5F3 == "AlarmEnable" && item.ACKC5 == 0)
if (EquipmentStatus.S5F3 == "AlarmEnable" )
{
Global.MF.S5F3BottonUpdate(EquipmentStatus.S5F3);
Global.MF.addlog(trans, LoggerService.Receive, "Alarm Disable", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
s5F3Body.enableAlarmState = "0";
EquipmentStatus.S5F3 = "AlarmDisable";
if (item.ACKC5 == 0)
{
Global.MF.S5F3BottonUpdate(EquipmentStatus.S5F3);
s5F3Body.enableAlarmState = "0";
EquipmentStatus.S5F3 = "AlarmDisable";
}
}
else if(EquipmentStatus.S5F3 == "AlarmDisable" && item.ACKC5 == 0)
else if(EquipmentStatus.S5F3 == "AlarmDisable" )
{
Global.MF.S5F3BottonUpdate(EquipmentStatus.S5F3);
Global.MF.addlog(trans, LoggerService.Receive, "Alarm Enable", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
s5F3Body.enableAlarmState = "1";
EquipmentStatus.S5F3 = "AlarmEnable";
if (item.ACKC5 == 0)
{
Global.MF.S5F3BottonUpdate(EquipmentStatus.S5F3);
s5F3Body.enableAlarmState = "1";
EquipmentStatus.S5F3 = "AlarmEnable";
}
}
if(item.ACKC5 == 0)
{

View File

@ -43,19 +43,17 @@ namespace Glorysoft.SECS.EQP.Handlers
index++;
}
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "List Alarm Request", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
mQMessage.body = alarmListBody;
Task.Run(() => MainForm.mq.EAPRequest(mQMessage));
if (trans.Tag != null)
{
var scenario = trans.Tag as Scenario;
Thread.Sleep(500);
scenario.ExecuteNextStep();
}
else
{
mQMessage.body = alarmListBody;
Task.Run(() => MainForm.mq.EAPRequest(mQMessage));
}
}
}
}

View File

@ -32,7 +32,7 @@ namespace Glorysoft.SECS.EQP.Handlers
{
SECSMessage primary = trans.Primary;
context.ReplyMessage(trans);
Global.MF.addlog(trans, LoggerService.Receive, trans.Primary.Description, 0);
Global.MF.addlog(trans, LoggerService.Receive, "Trace Data Acknowledge", 0);
LoggerService.SECSLogger.Info(trans.Primary);
Global.MF.addlog(trans, LoggerService.Send, trans.Secondary.Description, 1);
LoggerService.SECSLogger.Info(trans.Secondary);

View File

@ -23,13 +23,17 @@ namespace Glorysoft.SECS.EQP.Handlers
{
public void Execute(SECSContext context, SECSTransaction trans, SECSErrors err, string errmsg)
{
Global.MF.addlog(trans, LoggerService.Receive, trans.Secondary.Description, 1);
Global.MF.addlog(trans, LoggerService.Receive, "Transmit Spooling Data", 1);
LoggerService.SECSLogger.Info(trans.Secondary);
S6F24Item item = new S6F24Item();
item.RSDA = trans.Secondary.Root.Value.To<byte[]>().FirstOrDefault();
if (item.RSDA.ToString() != "0")
uint RSDC = uint.Parse(trans.Primary.Root.Value.ToString());
if (item.RSDA.ToString() == "0" && RSDC == 0)
{
EquipmentStatus.SpoolingFlag = 1;
}
else
{
if (trans.Tag != null)
{
@ -38,10 +42,6 @@ namespace Glorysoft.SECS.EQP.Handlers
scenario.ExecuteNextStep();
}
}
else
{
EquipmentStatus.SpoolingFlag = 1;
}
}
}
}

View File

@ -34,7 +34,7 @@ namespace ARI.EAP.HOST.MQ
from = "EAP";
to = "MES";
transactionId = $"{Configurations.conf.connectSetting.name}_{System.DateTime.Now.ToString("yyyyMMddHHmmss")}" + new Random().Next(100).ToString();
equipmentId = Configurations.conf.connectSetting.name;
equipmentId = Configurations.conf.connectSetting.equipmentName1;
}
}
}

View File

@ -22,12 +22,17 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class AlarmReportBody
{
public string eventTimestamp;
private string _eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string alarmCode;
public string alarmStatus;
public string alarmCategory;
public string alarmText;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,10 +22,15 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class ContainerPlaceBody
{
public string eventTimestamp;
public string spoolingFlag;
public string locationId;
public string containerId;
public string portId;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,16 +22,15 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class ControlStateChangeBody
{
public string eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string currentControlState;
public string previousControlState;
private string _eventTimestamp;
public ControlStateChangeBody()
public string eventTimestamp
{
spoolingFlag = "0";
stateFlag = "0";
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -23,9 +23,15 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class ECChangeBody
{
public string eventTimestamp;
public string spoolingFlag;
public Dictionary<string, string> ECList;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
public ECChangeBody()
{

View File

@ -23,10 +23,15 @@ namespace ARI.EAP.HOST.MQ.body
{
class EquipmentStateChangeBody
{
public string eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string currentEquipmentState;
public string previousEquipmentState;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,11 +22,17 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class LSTAMaterialReceivedBody
{
public string eventTimestamp;
public string spoolingFlag;
public string virtualSubstrateId;
public string locationId;
public string portId;
public string materialStatus;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,16 +22,20 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class MachineDataBody
{
public string eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string machineDataName;
public Dictionary<string,string> machineData;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
public MachineDataBody()
{
spoolingFlag = "0";
stateFlag = "0";
machineData = new Dictionary<string, string>();
}
}

View File

@ -23,8 +23,14 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class MaintenanceBody
{
public string eventTimestamp;
public string spoolingFlag;
public string maintenanceFlag;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,9 +22,8 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class MaterialHoldBody
{
public string eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string stateFlag = "0";
public string materialStatus;
public string substrateId;
public string locationId;
@ -36,5 +35,12 @@ namespace ARI.EAP.HOST.MQ.body
public string reroutet_B;
public string reroutet_C;
public string reroutet_D;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,12 +22,18 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class MaterialReceivedBody
{
public string eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string stateFlag = "0";
public string locationId;
public string substrateId;
public string ppExecName;
public string materialStatus;
public string materialStatus= "OK";
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,7 +22,6 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class MaterialReceivedForTransBody
{
public string eventTimestamp;
public string spoolingFlag;
public string materialStatus;
public string substrateId;
@ -35,5 +34,12 @@ namespace ARI.EAP.HOST.MQ.body
public string reroutet_B;
public string reroutet_C;
public string reroutet_D;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,9 +22,8 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class MaterialRemovedBody
{
public string eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string stateFlag = "0";
public string materialStatus;
public string substrateId;
public string locationId;
@ -36,5 +35,12 @@ namespace ARI.EAP.HOST.MQ.body
public string reroutet_B;
public string reroutet_C;
public string reroutet_D;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,7 +22,6 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class MaterialScrapBody
{
public string eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string materialStatus;
@ -36,5 +35,12 @@ namespace ARI.EAP.HOST.MQ.body
public string reroutet_B;
public string reroutet_C;
public string reroutet_D;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,7 +22,6 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class MaterialStoredToContainerBody
{
public string eventTimestamp;
public string spoolingFlag;
public string materialStatus;
public string substrateId;
@ -38,5 +37,12 @@ namespace ARI.EAP.HOST.MQ.body
public string reroutet_B;
public string reroutet_C;
public string reroutet_D;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -23,12 +23,18 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class MaterialStoredToPalletBody
{
public string eventTimestamp;
public string locationId;
public string spoolingFlag;
public string port;
public string palletId;
public string substrateId;
public string materialStatus;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -23,7 +23,6 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class PalletCompletedBody
{
public string eventTimestamp;
public string locationId;
public string spoolingFlag;
public string port;
@ -31,6 +30,13 @@ namespace ARI.EAP.HOST.MQ.body
public string grade;
public List<ContainerSlotMap> containerSlotMap;
public PalletCompletedBody() => containerSlotMap = new List<ContainerSlotMap>();
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
[Serializable]

View File

@ -23,10 +23,16 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class PalletRemovedBody
{
public string eventTimestamp;
public string locationId;
public string spoolingFlag;
public string port;
public string palletId;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,15 +22,20 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class ProcessFinishBody
{
public string eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string ppExecName;
public string stateFlag = "0";
public string materialStatus;
public string substrateId;
public string currentEquipmentState;
public string previousEquipmentState;
public Dictionary<string,string> processData;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
public ProcessFinishBody()
{

View File

@ -22,9 +22,15 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class ProcessProgramChangeBody
{
public string eventTimestamp;
public string spoolingFlag;
public string ppChangeName;
public string ppChangeStatus;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,10 +22,15 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class ProcessRecipeSelectedBody
{
public string eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string substrateId;
public string ppExecName;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,12 +22,18 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class ProcessStartedBody
{
public string eventTimestamp;
public string spoolingFlag;
public string stateFlag;
public string stateFlag = "0";
public string currentEquipmentState;
public string substrateId;
public string ppExecName;
public string previousEquipmentState;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -22,7 +22,7 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class SVListBody
{
public string eventTimestamp;
private string _eventTimestamp;
public string CommunicationState;
public string ControlState;
public string PreviousControlState;
@ -32,5 +32,11 @@ namespace ARI.EAP.HOST.MQ.body
public string SpoolingState;
public string SpoolCountActual;
public string SpoolCountTotal;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

View File

@ -23,12 +23,18 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class SlotListBody
{
public string eventTimestamp;
public string spoolingFlag;
public List<SlotList> slotList;
public SlotListBody() => slotList = new List<SlotList>();
}
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
[Serializable]
public class SlotList
{

View File

@ -23,10 +23,16 @@ namespace ARI.EAP.HOST.MQ.body
[Serializable]
public class UserLoggedOnBody
{
public string eventTimestamp;
public string spoolingFlag;
public string userLogFlag;
public string currentUserName;
public string previousUserName;
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
}
}

199
MainForm.Designer.cs generated
View File

@ -47,8 +47,17 @@ namespace ARI.EAP.HOST
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.SECSLog = new System.Windows.Forms.GroupBox();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.DateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SxFy = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Transfer = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.EventName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.key = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.dataGridView2 = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.content = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage();
@ -110,15 +119,7 @@ namespace ARI.EAP.HOST
this.deleteECVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.DateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SxFy = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Transfer = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.EventName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.key = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.content = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.importDVListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
@ -357,6 +358,46 @@ namespace ARI.EAP.HOST
this.dataGridView1.TabIndex = 0;
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
//
// DateTime
//
this.DateTime.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.DateTime.FillWeight = 28F;
this.DateTime.HeaderText = "DateTime";
this.DateTime.MinimumWidth = 6;
this.DateTime.Name = "DateTime";
//
// SxFy
//
this.SxFy.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.SxFy.FillWeight = 12F;
this.SxFy.HeaderText = "SxFy";
this.SxFy.MinimumWidth = 6;
this.SxFy.Name = "SxFy";
//
// Transfer
//
this.Transfer.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Transfer.FillWeight = 12F;
this.Transfer.HeaderText = "Transfer";
this.Transfer.MinimumWidth = 6;
this.Transfer.Name = "Transfer";
//
// EventName
//
this.EventName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.EventName.FillWeight = 50F;
this.EventName.HeaderText = "EventName";
this.EventName.MinimumWidth = 6;
this.EventName.Name = "EventName";
//
// key
//
this.key.HeaderText = "Content";
this.key.MaxInputLength = 65535;
this.key.MinimumWidth = 6;
this.key.Name = "key";
this.key.Visible = false;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.dataGridView2);
@ -399,6 +440,37 @@ namespace ARI.EAP.HOST
this.dataGridView2.TabIndex = 1;
this.dataGridView2.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView2_CellDoubleClick);
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn1.FillWeight = 3.5F;
this.dataGridViewTextBoxColumn1.HeaderText = "DateTime";
this.dataGridViewTextBoxColumn1.MinimumWidth = 6;
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn4.FillWeight = 1.5F;
this.dataGridViewTextBoxColumn4.HeaderText = "Transfer";
this.dataGridViewTextBoxColumn4.MinimumWidth = 6;
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn5.FillWeight = 5F;
this.dataGridViewTextBoxColumn5.HeaderText = "EventName";
this.dataGridViewTextBoxColumn5.MinimumWidth = 6;
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
//
// content
//
this.content.HeaderText = "Content";
this.content.MinimumWidth = 6;
this.content.Name = "content";
this.content.Visible = false;
//
// TabControl1
//
this.TabControl1.Controls.Add(this.tabPage1);
@ -430,7 +502,7 @@ namespace ARI.EAP.HOST
this.tabPage2.Location = new System.Drawing.Point(4, 29);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(1530, 736);
this.tabPage2.Size = new System.Drawing.Size(1303, 620);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "Config";
//
@ -440,7 +512,7 @@ namespace ARI.EAP.HOST
this.tabPage3.Location = new System.Drawing.Point(4, 29);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
this.tabPage3.Size = new System.Drawing.Size(1530, 736);
this.tabPage3.Size = new System.Drawing.Size(1303, 620);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "VID";
this.tabPage3.UseVisualStyleBackColor = true;
@ -460,8 +532,8 @@ namespace ARI.EAP.HOST
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
this.splitContainer3.Size = new System.Drawing.Size(1524, 730);
this.splitContainer3.SplitterDistance = 201;
this.splitContainer3.Size = new System.Drawing.Size(1297, 614);
this.splitContainer3.SplitterDistance = 169;
this.splitContainer3.SplitterWidth = 1;
this.splitContainer3.TabIndex = 0;
//
@ -471,7 +543,7 @@ namespace ARI.EAP.HOST
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox3.Location = new System.Drawing.Point(0, 0);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(1524, 201);
this.groupBox3.Size = new System.Drawing.Size(1297, 169);
this.groupBox3.TabIndex = 0;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "SV";
@ -495,7 +567,7 @@ namespace ARI.EAP.HOST
this.dgv_sv.RowHeadersVisible = false;
this.dgv_sv.RowHeadersWidth = 51;
this.dgv_sv.RowTemplate.Height = 27;
this.dgv_sv.Size = new System.Drawing.Size(1518, 175);
this.dgv_sv.Size = new System.Drawing.Size(1291, 143);
this.dgv_sv.TabIndex = 0;
this.dgv_sv.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgv_sv_CellBeginEdit);
this.dgv_sv.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_sv_CellEndEdit);
@ -566,8 +638,8 @@ namespace ARI.EAP.HOST
// splitContainer4.Panel2
//
this.splitContainer4.Panel2.Controls.Add(this.groupBox5);
this.splitContainer4.Size = new System.Drawing.Size(1524, 528);
this.splitContainer4.SplitterDistance = 139;
this.splitContainer4.Size = new System.Drawing.Size(1297, 444);
this.splitContainer4.SplitterDistance = 116;
this.splitContainer4.SplitterWidth = 1;
this.splitContainer4.TabIndex = 0;
//
@ -577,7 +649,7 @@ namespace ARI.EAP.HOST
this.groupBox4.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox4.Location = new System.Drawing.Point(0, 0);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(1524, 139);
this.groupBox4.Size = new System.Drawing.Size(1297, 116);
this.groupBox4.TabIndex = 0;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "DV";
@ -601,7 +673,7 @@ namespace ARI.EAP.HOST
this.dgv_dv.RowHeadersVisible = false;
this.dgv_dv.RowHeadersWidth = 51;
this.dgv_dv.RowTemplate.Height = 27;
this.dgv_dv.Size = new System.Drawing.Size(1518, 113);
this.dgv_dv.Size = new System.Drawing.Size(1291, 90);
this.dgv_dv.TabIndex = 1;
this.dgv_dv.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgv_dv_CellBeginEdit);
this.dgv_dv.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_dv_CellEndEdit);
@ -664,7 +736,7 @@ namespace ARI.EAP.HOST
this.groupBox5.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox5.Location = new System.Drawing.Point(0, 0);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(1524, 388);
this.groupBox5.Size = new System.Drawing.Size(1297, 327);
this.groupBox5.TabIndex = 0;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "ECV";
@ -688,7 +760,7 @@ namespace ARI.EAP.HOST
this.dgv_ec.RowHeadersVisible = false;
this.dgv_ec.RowHeadersWidth = 51;
this.dgv_ec.RowTemplate.Height = 27;
this.dgv_ec.Size = new System.Drawing.Size(1518, 362);
this.dgv_ec.Size = new System.Drawing.Size(1291, 301);
this.dgv_ec.TabIndex = 1;
this.dgv_ec.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgv_ec_CellBeginEdit);
this.dgv_ec.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_ec_CellEndEdit);
@ -910,7 +982,8 @@ namespace ARI.EAP.HOST
this.toolStripDropDownButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.createToolStripMenuItem,
this.deleteToolStripMenuItem,
this.saveToolStripMenuItem});
this.saveToolStripMenuItem,
this.importDVListToolStripMenuItem});
this.toolStripDropDownButton2.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.toolStripDropDownButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton2.Image")));
this.toolStripDropDownButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
@ -925,7 +998,7 @@ namespace ARI.EAP.HOST
this.createDVToolStripMenuItem,
this.createECVToolStripMenuItem});
this.createToolStripMenuItem.Name = "createToolStripMenuItem";
this.createToolStripMenuItem.Size = new System.Drawing.Size(140, 26);
this.createToolStripMenuItem.Size = new System.Drawing.Size(224, 26);
this.createToolStripMenuItem.Text = "Create";
//
// createSVToolStripMenuItem
@ -956,7 +1029,7 @@ namespace ARI.EAP.HOST
this.deleteDVToolStripMenuItem,
this.deleteECVToolStripMenuItem});
this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
this.deleteToolStripMenuItem.Size = new System.Drawing.Size(140, 26);
this.deleteToolStripMenuItem.Size = new System.Drawing.Size(224, 26);
this.deleteToolStripMenuItem.Text = "Delete";
//
// deleteSVToolStripMenuItem1
@ -983,8 +1056,9 @@ namespace ARI.EAP.HOST
// saveToolStripMenuItem
//
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
this.saveToolStripMenuItem.Size = new System.Drawing.Size(140, 26);
this.saveToolStripMenuItem.Size = new System.Drawing.Size(224, 26);
this.saveToolStripMenuItem.Text = "Save";
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
//
// splitContainer2
//
@ -1007,76 +1081,12 @@ namespace ARI.EAP.HOST
this.splitContainer2.SplitterWidth = 1;
this.splitContainer2.TabIndex = 2;
//
// DateTime
// importDVListToolStripMenuItem
//
this.DateTime.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.DateTime.FillWeight = 28F;
this.DateTime.HeaderText = "DateTime";
this.DateTime.MinimumWidth = 6;
this.DateTime.Name = "DateTime";
//
// SxFy
//
this.SxFy.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.SxFy.FillWeight = 12F;
this.SxFy.HeaderText = "SxFy";
this.SxFy.MinimumWidth = 6;
this.SxFy.Name = "SxFy";
//
// Transfer
//
this.Transfer.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Transfer.FillWeight = 12F;
this.Transfer.HeaderText = "Transfer";
this.Transfer.MinimumWidth = 6;
this.Transfer.Name = "Transfer";
//
// EventName
//
this.EventName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.EventName.FillWeight = 50F;
this.EventName.HeaderText = "EventName";
this.EventName.MinimumWidth = 6;
this.EventName.Name = "EventName";
//
// key
//
this.key.HeaderText = "Content";
this.key.MaxInputLength = 65535;
this.key.MinimumWidth = 6;
this.key.Name = "key";
this.key.Visible = false;
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn1.FillWeight = 3.5F;
this.dataGridViewTextBoxColumn1.HeaderText = "DateTime";
this.dataGridViewTextBoxColumn1.MinimumWidth = 6;
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn4.FillWeight = 1.5F;
this.dataGridViewTextBoxColumn4.HeaderText = "Transfer";
this.dataGridViewTextBoxColumn4.MinimumWidth = 6;
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn5.FillWeight = 5F;
this.dataGridViewTextBoxColumn5.HeaderText = "EventName";
this.dataGridViewTextBoxColumn5.MinimumWidth = 6;
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
//
// content
//
this.content.HeaderText = "Content";
this.content.MinimumWidth = 6;
this.content.Name = "content";
this.content.Visible = false;
this.importDVListToolStripMenuItem.Name = "importDVListToolStripMenuItem";
this.importDVListToolStripMenuItem.Size = new System.Drawing.Size(224, 26);
this.importDVListToolStripMenuItem.Text = "ImportDVList";
this.importDVListToolStripMenuItem.Click += new System.EventHandler(this.importDVListToolStripMenuItem_Click);
//
// MainForm
//
@ -1218,6 +1228,7 @@ namespace ARI.EAP.HOST
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
private System.Windows.Forms.DataGridViewTextBoxColumn content;
private System.Windows.Forms.ToolStripMenuItem importDVListToolStripMenuItem;
}
}

View File

@ -15,6 +15,9 @@ using System.Threading.Tasks;
using ARI.EAP.HOST.Utilities;
using ARI.EAP.HOST.MQ;
using Glorysoft.SECSwell;
using System.Data;
using ExcelDataReader;
using System.Threading;
namespace ARI.EAP.HOST
{
@ -38,12 +41,13 @@ namespace ARI.EAP.HOST
{
this.ConnectStatus.Text = EquipmentStatus.EqConnectState;
this.MQStatus.Text = EquipmentStatus.MQstate;
this.Text = Configurations.conf.connectSetting.name;
this.Text = Configurations.conf.connectSetting.equipmentName1;
this.editIPaddress.Text = Configurations.conf.connectSetting.remoteIp;
this.editDeviceID.Text = Configurations.conf.connectSetting.deviceId;
this.editPort.Text = Configurations.conf.connectSetting.remotePort;
VIDLoad();
EquipmentStatus.EapState = RunState.Run;
this.Connect.PerformClick();
}
#region IP等设置输入相关验证
@ -168,7 +172,6 @@ namespace ARI.EAP.HOST
Configurations.conf.connectSetting.deviceId = editDeviceID.Text;
Configurations.conf.connectSetting.remoteIp = editIPaddress.Text;
Configurations.conf.connectSetting.remotePort = editPort.Text;
Configurations.conf.connectSetting.name = this.Text;
XmlSerializeUtil.Serializer<Configurations>(Configurations.conf);
MessageBox.Show("Save Successful", "NOTICE");
}
@ -310,8 +313,8 @@ namespace ARI.EAP.HOST
ec.ECID = ecv.ecid;
item.ECs.Add(ec);
}
item.ECs[0].ECV = 3;
item.ECs[1].ECV = 1;
item.ECs[0].ECV = 4;
item.ECs[1].ECV = 4;
int tag = 1;
Command.S2F15Command(item, tag);
}
@ -339,8 +342,8 @@ namespace ARI.EAP.HOST
ec.ECID = ecv.ecid;
item.ECs.Add(ec);
}
item.ECs[0].ECV = 4;
item.ECs[1].ECV = 1;
item.ECs[0].ECV = 5;
item.ECs[1].ECV = 5;
int tag = 1;
Command.S2F15Command(item, tag);
}
@ -570,6 +573,75 @@ namespace ARI.EAP.HOST
}
}
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{
var svs = new List<SV>();
var dvs = new List<DV>();
var ecvs = new List<ECV>();
foreach(DataGridViewRow row in dgv_sv.Rows)
{
SV sv = new SV();
if (row.Cells[0].Value != null)
sv.svid = uint.Parse(row.Cells[0].Value.ToString());
if (row.Cells[1].Value != null)
sv.name = row.Cells[1].Value.ToString();
if (row.Cells[2].Value != null)
sv.format = row.Cells[2].Value.ToString();
if (row.Cells[3].Value != null)
sv.min = row.Cells[3].Value.ToString();
if (row.Cells[4].Value != null)
sv.max = row.Cells[4].Value.ToString();
if (row.Cells[5].Value != null)
sv.defaultValue = row.Cells[5].Value.ToString();
if (row.Cells[6].Value != null)
sv.description = row.Cells[6].Value.ToString();
svs.Add(sv);
}
foreach (DataGridViewRow row in dgv_dv.Rows)
{
DV dv = new DV();
if (row.Cells[0].Value != null)
dv.dvid = uint.Parse(row.Cells[0].Value.ToString());
if (row.Cells[1].Value != null)
dv.name = row.Cells[1].Value.ToString();
if (row.Cells[2].Value != null)
dv.format = row.Cells[2].Value.ToString();
if (row.Cells[3].Value != null)
dv.min = row.Cells[3].Value.ToString();
if (row.Cells[4].Value != null)
dv.max = row.Cells[4].Value.ToString();
if (row.Cells[5].Value != null)
dv.defaultValue = row.Cells[5].Value.ToString();
if (row.Cells[6].Value != null)
dv.description = row.Cells[6].Value.ToString();
dvs.Add(dv);
}
foreach (DataGridViewRow row in dgv_ec.Rows)
{
ECV ecv = new ECV();
if (row.Cells[0].Value != null)
ecv.ecid = uint.Parse(row.Cells[0].Value.ToString());
if (row.Cells[1].Value != null)
ecv.name = row.Cells[1].Value.ToString();
if (row.Cells[2].Value != null)
ecv.format = row.Cells[2].Value.ToString();
if (row.Cells[3].Value != null)
ecv.min = row.Cells[3].Value.ToString();
if (row.Cells[4].Value != null)
ecv.max = row.Cells[4].Value.ToString();
if (row.Cells[5].Value != null)
ecv.defaultValue = row.Cells[5].Value.ToString();
if (row.Cells[6].Value != null)
ecv.description = row.Cells[6].Value.ToString();
ecvs.Add(ecv);
}
Configurations.conf.sRDConfiguration.svs = svs;
Configurations.conf.sRDConfiguration.dvs = dvs;
Configurations.conf.sRDConfiguration.ecvs = ecvs;
XmlSerializeUtil.Serializer<Configurations>(Configurations.conf);
MessageBox.Show("Save Successful", "NOTICE");
}
private void createSVToolStripMenuItem_Click(object sender, EventArgs e)
{
int index = this.dgv_sv.Rows.Add();
@ -798,6 +870,35 @@ namespace ARI.EAP.HOST
EquipmentStatus.S1F1FuntionStatus = false;
}
}
private void importDVListToolStripMenuItem_Click(object sender, EventArgs e)
{
using (var openFileDialog = new OpenFileDialog { Filter = @"Excel表格|*.xlsx|Excel|*.xls" })
{
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
using (var stream = File.Open(openFileDialog.FileName, FileMode.Open, FileAccess.Read))
{
using (var reader = ExcelReaderFactory.CreateReader(stream))
{
DataSet result = reader.AsDataSet();
DataTable dt = result.Tables[0];
foreach(DataRow row in dt.Rows)
{
int index = this.dgv_dv.Rows.Add();
this.dgv_dv.Rows[index].Cells[0].Value = row[0];
this.dgv_dv.Rows[index].Cells[1].Value = row[1];
this.dgv_dv.Rows[index].Cells[2].Value = row[2];
this.dgv_dv.Rows[index].Cells[3].Value = row[3];
this.dgv_dv.Rows[index].Cells[4].Value = row[4];
this.dgv_dv.Rows[index].Cells[5].Value = row[5];
this.dgv_dv.Rows[index].Cells[6].Value = row[6];
}
}
}
}
}
}
}
public static class Global

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.0.1")]
[assembly: AssemblyFileVersion("1.0.0.1")]

View File

@ -11,6 +11,8 @@ using Glorysoft.SECSwell;
using Newtonsoft.Json;
using System;
using System.ComponentModel;
using System.Data;
using System.Data.OleDb;
using System.IO;
using System.Text;
using System.Xml;

Binary file not shown.

View File

@ -37,17 +37,17 @@
</logger>
<appender name="SYSLoggerDebug" type="log4net.Appender.RollingFileAppender">
<!--定义文件存放位置-->
<param name="File" value="logs/SYSTEM/DEBUG/"/>
<param name="File" value="logs/SYSTEM/DEBUG/" />
<!--是否追加到文件-->
<param name="AppendToFile" value="true"/>
<param name="AppendToFile" value="true" />
<!--最多产生的日志文件数超过则只保留最新的n个。设定值value="1"为不限文件数-->
<param name="MaxSizeRollBackups" value="-1"/>
<param name="MaxSizeRollBackups" value="-1" />
<!--是否只写到一个文件中-->
<param name="StaticLogFileName" value="false"/>
<param name="StaticLogFileName" value="false" />
<!--按日期划分文件夹和命名文件名-->
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<!--按照何种方式产生多个日志文件(日期[Date],文件大小[Size],混合[Composite])-->
<param name="RollingStyle" value="Date"/>
<param name="RollingStyle" value="Date" />
<!--输出格式-样例-->
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
@ -60,12 +60,12 @@
</filter>
</appender>
<appender name="SYSLoggerError" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/SYSTEM/ERROR/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/SYSTEM/ERROR/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -76,12 +76,12 @@
</filter>
</appender>
<appender name="SYSLoggerInfo" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/SYSTEM/INFO/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/SYSTEM/INFO/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -92,12 +92,12 @@
</filter>
</appender>
<appender name="SECSLoggerDebug" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/SECS/DEBUG/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/SECS/DEBUG/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -108,12 +108,12 @@
</filter>
</appender>
<appender name="SECSLoggerError" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/SECS/ERROR/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/SECS/ERROR/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -124,12 +124,12 @@
</filter>
</appender>
<appender name="SECSLoggerInfo" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/SECS/INFO/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/SECS/INFO/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -140,12 +140,12 @@
</filter>
</appender>
<appender name="MQLoggerDebug" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/MQ/DEBUG/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/MQ/DEBUG/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -156,12 +156,12 @@
</filter>
</appender>
<appender name="MQLoggerError" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/MQ/ERROR/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/MQ/ERROR/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>
@ -172,12 +172,12 @@
</filter>
</appender>
<appender name="MQLoggerInfo" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/MQ/INFO/"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;"/>
<param name="RollingStyle" value="Date"/>
<param name="File" value="logs/MQ/INFO/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyy-MM/yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date: %message%newline %n" />
</layout>

Binary file not shown.

View File

@ -0,0 +1,655 @@
<?xml version="1.0" encoding="utf-8"?>
<Configurations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<connectSetting name="LEDE_01" deviceId="0" remoteIp="172.16.4.10" remotePort="6000" equipmentName1="R1LEDE101" equipmentName2="R1LEDE101"/>
<eapMonitorSetting IPAddress="127.0.0.1" Port="10086" />
<mQConnectionCfg HostName="172.16.21.191" VirtualHost="cdte" UserName="cdte" Password="cdte" Port="5672" ClientProvidedName="LEDE_01">
<Exchange>LEDE_01_Exchange</Exchange>
<Exchange_RTDB>cdte</Exchange_RTDB>
<EAP_Request_Queue>LEDE_01_EAP_Request_Queue</EAP_Request_Queue>
<EAP_Response_Queue>LEDE_01_EAP_Response_Queue</EAP_Response_Queue>
<MES_Request_Queue>LEDE_01_MES_Request_Queue</MES_Request_Queue>
<MES_Response_Queue>LEDE_01_MES_Response_Queue</MES_Response_Queue>
<EAP_Request_Queue_RTDB>logs</EAP_Request_Queue_RTDB>
<EAP_Request_Queue_RoutingKey>LEDE_01_EAP_Request_Queue_RoutingKey</EAP_Request_Queue_RoutingKey>
<EAP_Response_Queue_RoutingKey>LEDE_01_EAP_Response_Queue_RoutingKey</EAP_Response_Queue_RoutingKey>
<MES_Request_Queue_RoutingKey>LEDE_01_MES_Request_Queue_RoutingKey</MES_Request_Queue_RoutingKey>
<MES_Response_Queue_RoutingKey>LEDE_01_MES_Response_Queue_RoutingKey</MES_Response_Queue_RoutingKey>
<Exchange_Name_Dle>Dead_Letter_Exchange</Exchange_Name_Dle>
<Dead_Letter_RoutingKey>Dead_Letter_RoutingKey</Dead_Letter_RoutingKey>
</mQConnectionCfg>
<httpConfiguration>
<heartBitUrl>http://172.16.21.112:8080/api/mq/EquipmentInterfaceStatus/update</heartBitUrl>
<fileDownloadUrl>http://172.16.21.190/api/common/attachment/downloadFile</fileDownloadUrl>
<contentType>application/json</contentType>
</httpConfiguration>
<scenarioCollection>
<Scenarios>
<Scenario Name="Init">
<WorkFlows Step="1">
<MessageName>S1F13</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="2">
<MessageName>S1F14</MessageName>
<MessageContent>{"HCACK":0,"CPNAME":null,"CPACK":null}</MessageContent>
</WorkFlows>
<WorkFlows Step="3">
<MessageName>S1F17</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="4">
<MessageName>S1F18</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="5">
<MessageName>S1F3</MessageName>
<MessageContent>{"DATAID":0,"Events":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="6">
<MessageName>S1F4</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="7">
<MessageName>S6F23</MessageName>
<MessageContent>{"DATAID":0,"Reports":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="8">
<MessageName>S6F24</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="9">
<MessageName>S2F43</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="10">
<MessageName>S2F44</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="11">
<MessageName>S2F37</MessageName>
<MessageContent>{"CEED":false,"CEIDs":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="12">
<MessageName>S2F38</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="13">
<MessageName>S2F35</MessageName>
<MessageContent>{"DATAID":0,"Events":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="14">
<MessageName>S2F36</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="15">
<MessageName>S2F33</MessageName>
<MessageContent>{"DATAID":0,"Reports":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="16">
<MessageName>S2F34</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="17">
<MessageName>S5F3</MessageName>
<MessageContent>{"ALED":0,"ALID":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="18">
<MessageName>S5F4</MessageName>
<MessageContent>{"ACKC5":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="19">
<MessageName>S2F33</MessageName>
<MessageContent>{"DATAID":0,"Reports":[{"RPTID":1,"SVIDs":[900,301,820,400,401],"SVs":[]},{"RPTID":2,"SVIDs":[900,301,820,400,401],"SVs":[]},{"RPTID":3,"SVIDs":[900,301,820,400,401],"SVs":[]},{"RPTID":11,"SVIDs":[900,301,22700],"SVs":[]},{"RPTID":12,"SVIDs":[900,301,22700],"SVs":[]},{"RPTID":21,"SVIDs":[900,301,804,800,801,802,803],"SVs":[]},{"RPTID":22,"SVIDs":[900,301,804,800,801,802,803],"SVs":[]},{"RPTID":23,"SVIDs":[900,301,804,800,801,802,803],"SVs":[]},{"RPTID":30,"SVIDs":[900,301,701,700],"SVs":[]},{"RPTID":40,"SVIDs":[900,301,20024,600,21900,20012],"SVs":[]},{"RPTID":41,"SVIDs":[900,301,20024,600,21900,20012,22201],"SVs":[]},{"RPTID":45,"SVIDs":[900,301,600,21900,20012],"SVs":[]},{"RPTID":46,"SVIDs":[900,301,600,21900,20012],"SVs":[]},{"RPTID":47,"SVIDs":[900,301,20012],"SVs":[]},{"RPTID":60,"SVIDs":[900,20012,20021],"SVs":[]},{"RPTID":70,"SVIDs":[900,301,810],"SVs":[]},{"RPTID":80,"SVIDs":[900,301,1010,1011],"SVs":[]},{"RPTID":90,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":91,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":92,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":93,"SVIDs":[900,301,22800,22900],"SVs":[]},{"RPTID":110,"SVIDs":[900,1021,20021],"SVs":[]},{"RPTID":111,"SVIDs":[900,1021,20021],"SVs":[]}]}</MessageContent>
</WorkFlows>
<WorkFlows Step="20">
<MessageName>S2F34</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="21">
<MessageName>S2F35</MessageName>
<MessageContent>{"DATAID":0,"Events":[{"CEID":1,"RPTIDs":[1]},{"CEID":2,"RPTIDs":[2]},{"CEID":3,"RPTIDs":[3]},{"CEID":11,"RPTIDs":[11]},{"CEID":12,"RPTIDs":[12]},{"CEID":21,"RPTIDs":[21]},{"CEID":22,"RPTIDs":[22]},{"CEID":23,"RPTIDs":[23]},{"CEID":30,"RPTIDs":[30]},{"CEID":40,"RPTIDs":[40]},{"CEID":41,"RPTIDs":[41]},{"CEID":45,"RPTIDs":[45]},{"CEID":46,"RPTIDs":[46]},{"CEID":47,"RPTIDs":[47]},{"CEID":60,"RPTIDs":[60]},{"CEID":70,"RPTIDs":[70]},{"CEID":80,"RPTIDs":[80]},{"CEID":90,"RPTIDs":[90]},{"CEID":91,"RPTIDs":[91]},{"CEID":92,"RPTIDs":[92]},{"CEID":93,"RPTIDs":[93]},{"CEID":110,"RPTIDs":[110]},{"CEID":111,"RPTIDs":[111]}]}</MessageContent>
</WorkFlows>
<WorkFlows Step="22">
<MessageName>S2F36</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="23">
<MessageName>S2F37</MessageName>
<MessageContent>{"CEED":true,"CEIDs":[1,2,3,11,12,21,22,23,30,40,41,45,46,47,60,70,80,90,91,92,93,110,111]}</MessageContent>
</WorkFlows>
<WorkFlows Step="24">
<MessageName>S2F38</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="25">
<MessageName>S5F3</MessageName>
<MessageContent>{"ALED":128,"ALID":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="26">
<MessageName>S5F4</MessageName>
<MessageContent>{"ACKC5":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="27">
<MessageName>S2F43</MessageName>
<MessageContent>{"Events":[{"STRID":5,"EVENTIDs":[1]}],"Events":[{"STRID":6,"EVENTIDs":[11]}],}</MessageContent>
</WorkFlows>
<WorkFlows Step="28">
<MessageName>S2F44</MessageName>
<MessageContent>{"DRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="29">
<MessageName>S1F3</MessageName>
<MessageContent>{"DATAID":0,"Events":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="30">
<MessageName>S1F4</MessageName>
<MessageContent>{"LRACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="31">
<MessageName>S5F5</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="32">
<MessageName>S5F6</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="33">
<MessageName>S7F19</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="34">
<MessageName>S7F20</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="35">
<MessageName>S2F13</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="36">
<MessageName>S2F14</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="37">
<MessageName>S2F15</MessageName>
<MessageContent>{"ECs":[{"ECID":50400,"ECV":"1","ECV_Type":28}],"ECs":[{"ECID":50500,"ECV":"5","ECV_Type":28}]}</MessageContent>
</WorkFlows>
<WorkFlows Step="38">
<MessageName>S2F16</MessageName>
<MessageContent>{"EAC":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="39">
<MessageName>S1F15</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="40">
<MessageName>S1F16</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="41">
<MessageName>S1F17</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="42">
<MessageName>S1F18</MessageName>
<MessageContent>{"ERACK":0}</MessageContent>
</WorkFlows>
<WorkFlows Step="43">
<MessageName>S1F3</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
<WorkFlows Step="44">
<MessageName>S1F4</MessageName>
<MessageContent>{"SVs":[]}</MessageContent>
</WorkFlows>
<WorkFlows Step="45">
<MessageName>S2F23</MessageName>
<MessageContent>{"TRID":1,"DSPER_hhmmss":"000030","TOTSMP":10,"REPGSZ":1,"SVID":[600]}</MessageContent>
</WorkFlows>
<WorkFlows Step="46">
<MessageName>S2F24</MessageName>
<MessageContent>{}</MessageContent>
</WorkFlows>
</Scenario>
</Scenarios>
</scenarioCollection>
<commandContentCollection>
<commandContents>
<CommandContent name="S1F3">
<content>
<string>Clock</string>
<string>CommunicationState</string>
<string>CurrentControlState</string>
<string>PreviousControlState</string>
<string>CurrentEquipmentState</string>
<string>PreviousEquipmentState</string>
<string>PPExecName</string>
<string>SpoolingState</string>
<string>SpoolCountActual</string>
<string>SpoolCountTotal</string>
</content>
</CommandContent>
<CommandContent name="S2F15_ControlState">
<content>
<string>DefaultControlState</string>
<string>DefaultOnlineSubState</string>
</content>
</CommandContent>
</commandContents>
</commandContentCollection>
<sRDConfiguration>
<ecvs>
<ECV ecid="4" name="EnableAlarmReportSend" format="B" min="false" max="true" defaultValue="true" description="disable/enable event report send(AlarmDetected, AlarmCleared)" />
<ECV ecid="8" name="TimeFormat" format="U1" min="0" max="2" defaultValue="2" />
<ECV ecid="9" name="MaxTerminalMsgLength" format="U4" min="1" max="254" defaultValue="80" description="Total size of all TerminalMessages of one Terminal Service Message" />
<ECV ecid="49" name="EstablishCommunicationsTimeout" format="U2" min="15" max="9999" defaultValue="30" description="Delay between S1,F13. For details see E30 GEM chapter 4.1.2" />
<ECV ecid="12" name="DefaultCommunicationState" format="U1" defaultValue="1" description="The default GEM communication state" />
<ECV ecid="15" name="DefaultControlState" format="U1" defaultValue="1" description="Default GEM control state" />
<ECV ecid="16" name="DefaultOnlineSubState" format="U1" min="4" max="5" defaultValue="5" description="The default state of the Online GEM control substate 4=Local and 5=Remote" />
<ECV ecid="17" name="DefaultOfflineSubState" format="U1" defaultValue="3" description="The default state of the Offline GEM control substate" />
<ECV ecid="40" name="EnableSpooling" format="B" min="F" max="T" defaultValue="T" description="Enable or disable the Spooling State Machine." />
<ECV ecid="42" name="OverWriteSpool" format="B" min="F" max="T" defaultValue="T" description="Determine whether to overwrite data in the spool area or to discard further messages when the spool area is full as part of the Spooling State Machine." />
<ECV ecid="43" name="MaxSpoolMessages" format="U4" min="0" max="10000000" defaultValue="100000" description="Maximum number of messages that can be put into the spool area until it is considered full as part of the Spooling State Machine." />
<ECV ecid="44" name="MaxSpoolTransmit" format="U4" min="0" max="10000000" defaultValue="0" description="Maximum number of messages that the machine will transmit from the spool area in response to an S6F23 (transmit spooled messages) request as part of the Spooling State Machine." />
<ECV ecid="1" name="MDLN" format="A" description="Equipment model type, 20 bytes" />
<ECV ecid="2" name="SOFTREV" format="A" description="Software revison, 20 bytes" />
</ecvs>
<svs>
<SV svid="81" name="AlarmsEnabled" format="L" description="List of all enabled Alarms" />
<SV svid="82" name="AlarmsSet" format="L" description="List of all active Alarms" />
<SV svid="5" name="AlarmID" />
<SV svid="6" name="AlarmText" />
<SV svid="7" name="AlarmsCategory" />
<SV svid="3" name="Clock" format="A" description="Equipment's internal clock in the format defined by the TimeFormat value" />
<SV svid="13" name="CurrentControlState" format="U1" min="1" max="5" defaultValue="5" description="Current State of the Control State Machine" />
<SV svid="14" name="PreviousControlState" format="U1" min="1" max="5" defaultValue="5" description="pREVIOUS State of the Control State Machine" />
<SV svid="83" name="EventsEnabled" format="L" description="List of all enabled Events" />
<SV svid="71" name="RecipeChangeType" format="U1" description="The PPID change type" />
<SV svid="72" name="PPExecName" format="A" description="The PPID of the currently selected Process Program" />
<SV svid="20" name="ProcessingState" format="U1" description="Current state of the Processing State Machine." />
<SV svid="21" name="PreviousProcessingState" format="L" description="The previous processing state of the equipment. " />
<SV svid="45" name="SpoolCountActual" format="U4" description="Number of messages actually stored in the spool area." />
<SV svid="46" name="SpoolCountTotal" format="U4" description="Total number of messages put into spool area from the time spooling was activated" />
<SV svid="47" name="SpoolFullTime" format="A" description="Timestamp from the time the spool last became full." />
<SV svid="48" name="SpoolStartTime" format="A" description="Timestamp from the time spooling last became active." />
<SV svid="41" name="SpoolingState" format="U1" min="0" max="6" defaultValue="0" description="The current state of the GEM spooling state machine" />
<SV svid="20810" name="ECID" format="U4" description="Last Change Equipment Constant ID." />
<SV svid="11" name="CommunicationState" format="U1" min="0" max="4" defaultValue="0" description="Current GEM communication state" />
<SV svid="21010" name="CurrentEquipmentState" format="U2" min="1000" max="6000" defaultValue="4000" />
<SV svid="21011" name="PreviousEquipmentState" format="U2" min="1000" max="6000" defaultValue="4000" description="Previous equipment state." />
<SV svid="21012" name="UserName" format="A" />
<SV svid="21013" name="PreviousUserName" format="A" />
</svs>
<dvs>
<DV dvid="1000" name="SubstrateID" />
<DV dvid="1001" name="MaterialStatus" />
<DV dvid="1010" name="LocationID" />
<DV dvid="1013" name="ProcessResult" />
<DV dvid="40003" name="StateFlag" />
<DV dvid="1011" name="PPChangeName" />
<DV dvid="1002" name="Target A" />
<DV dvid="1003" name="Target B" />
<DV dvid="1004" name="Target C" />
<DV dvid="1005" name="Target D" />
<DV dvid="1006" name="Reroute A" />
<DV dvid="1007" name="Reroute B" />
<DV dvid="1008" name="Reroute C" />
<DV dvid="1009" name="Reroute D" />
<!--<DV dvid="26000" name="SlotList" />-->
<DV dvid="1015" name="ProcessDurationSBS" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1016" name="ProcessDurationEDS" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1017" name="ProcessRecipeId" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1018" name="ProcessRecipeName" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1019" name="ProcessRecipeVersion" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1020" name="ProcessRecipeCreationDate" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1021" name="ProcessRecipeLastModificationDate" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1022" name="ProcessRecipeCreatedBy" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1023" name="ProcessRecipeLastModifiedBy" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1024" name="MeasuredSubstrateWidth" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1025" name="MeasuredSubstrateLength" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1026" name="Lifetime_Component1" format="" min="" max="" defaultValue="" description="e.g. Purge Air Filter" />
<DV dvid="1027" name="Lifetime_Component2" format="" min="" max="" defaultValue="" description="e.g. Waterfilter" />
<DV dvid="1028" name="Lifetime_Component3" format="" min="" max="" defaultValue="" description="e.g. Laser pump diodes" />
<DV dvid="1029" name="Lifetime_Component4" format="" min="" max="" defaultValue="" description="e.g. vacuum devices" />
<DV dvid="1030" name="Lifetime_Component5" format="" min="" max="" defaultValue="" description="e.g. Protective window scanner" />
<DV dvid="1031" name="Lifetime_Component6" format="" min="" max="" defaultValue="" description="e.g. Filter housing" />
<DV dvid="1032" name="Lifetime_Component7" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1033" name="Lifetime_Component8" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1034" name="Lifetime_Component9" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1035" name="Lifetime_Component10" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1036" name="SubstrateCount_Component11" format="" min="" max="" defaultValue="" description="e.g. filter aspiration" />
<DV dvid="1037" name="SubstrateCount_Component12" format="" min="" max="" defaultValue="" description="e.g. brushes SBS" />
<DV dvid="1038" name="SubstrateCount_Component13" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1039" name="SubstrateCount_Component14" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1040" name="SubstrateCount_Component15" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1041" name="SubstrateCount_Component16" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1042" name="SubstrateCount_Component17" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1043" name="SubstrateCount_Component18" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1044" name="SubstrateCount_Component19" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1045" name="SubstrateCount_Component20" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1046" name="SubstrateID_CV1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1047" name="SubstrateID_SBS" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1048" name="SubstrateID_EDS1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1049" name="SubstrateID_EDS2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1050" name="SubstrateID_CV2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1051" name="LocationId_CV1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1052" name="LocationId_SBS" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1053" name="LocationId_EDS1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1054" name="LocationId_EDS2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1055" name="LocationId_CV2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1056" name="Slot1_CV1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1057" name="Slot1_SBS" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1058" name="Slot1_EDS1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1059" name="Slot1_EDS2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1060" name="Slot1_CV2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1061" name="Target_A_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1062" name="Target_A_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1063" name="Target_A_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1064" name="Target_A_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1065" name="Target_A_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1066" name="Target_B_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1067" name="Target_B_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1068" name="Target_B_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1069" name="Target_B_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1070" name="Target_B_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1071" name="Target_C_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1072" name="Target_C_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1073" name="Target_C_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1074" name="Target_C_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1075" name="Target_C_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1076" name="Target_D_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1077" name="Target_D_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1078" name="Target_D_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1079" name="Target_D_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1080" name="Target_D_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1081" name="Reroute_A_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1082" name="Reroute_A_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1083" name="Reroute_A_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1084" name="Reroute_A_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1085" name="Reroute_A_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1086" name="Reroute_B_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1087" name="Reroute_B_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1088" name="Reroute_B_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1089" name="Reroute_B_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1090" name="Reroute_B_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1091" name="Reroute_C_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1092" name="Reroute_C_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1093" name="Reroute_C_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1094" name="Reroute_C_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1095" name="Reroute_C_5" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1096" name="Reroute_D_1" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1097" name="Reroute_D_2" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1098" name="Reroute_D_3" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1099" name="Reroute_D_4" format="" min="" max="" defaultValue="" description="" />
<DV dvid="1100" name="Reroute_D_5" format="" min="" max="" defaultValue="" description="" />
</dvs>
<events>
<EVENT ceid="1" name="EquipmentOffline" reportid="1">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>13</unsignedInt>
<unsignedInt>14</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="2" name="ControlStateLocal" reportid="2">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>13</unsignedInt>
<unsignedInt>14</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="3" name="ControlStateRemote" reportid="3">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>13</unsignedInt>
<unsignedInt>14</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="11" name="AlarmDetected" reportid="11">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>5</unsignedInt>
<unsignedInt>6</unsignedInt>
<unsignedInt>7</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="12" name="AlarmCleared" reportid="12">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>5</unsignedInt>
<unsignedInt>6</unsignedInt>
<unsignedInt>7</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="21" name="SpoolTransmitFailure" reportid="21">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>41</unsignedInt>
<unsignedInt>45</unsignedInt>
<unsignedInt>46</unsignedInt>
<unsignedInt>47</unsignedInt>
<unsignedInt>48</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="22" name="SpoolingActivated" reportid="22">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>41</unsignedInt>
<unsignedInt>45</unsignedInt>
<unsignedInt>46</unsignedInt>
<unsignedInt>47</unsignedInt>
<unsignedInt>48</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="23" name="SpoolingDeactivated" reportid="23">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>41</unsignedInt>
<unsignedInt>45</unsignedInt>
<unsignedInt>46</unsignedInt>
<unsignedInt>47</unsignedInt>
<unsignedInt>48</unsignedInt>
</validVariables>
</EVENT>
<!--<EVENT ceid="120" name="MaintenanceStart" reportid="120">
<validVariables>
<unsignedInt>20300</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="121" name="MaintenanceEnd" reportid="121">
<validVariables>
<unsignedInt>20300</unsignedInt>
</validVariables>
</EVENT>-->
<EVENT ceid="300011" name="Material_Received" reportid="200011">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>1010</unsignedInt>
<unsignedInt>72</unsignedInt>
<unsignedInt>1001</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300012" name="Material_Removed" reportid="200012">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>1010</unsignedInt>
<unsignedInt>1001</unsignedInt>
<unsignedInt>1002</unsignedInt>
<unsignedInt>1003</unsignedInt>
<unsignedInt>1004</unsignedInt>
<unsignedInt>1005</unsignedInt>
<unsignedInt>1006</unsignedInt>
<unsignedInt>1007</unsignedInt>
<unsignedInt>1008</unsignedInt>
<unsignedInt>1009</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300013" name="Material_Hold" reportid="200013">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>1010</unsignedInt>
<unsignedInt>1001</unsignedInt>
<unsignedInt>1002</unsignedInt>
<unsignedInt>1003</unsignedInt>
<unsignedInt>1004</unsignedInt>
<unsignedInt>1005</unsignedInt>
<unsignedInt>1006</unsignedInt>
<unsignedInt>1007</unsignedInt>
<unsignedInt>1008</unsignedInt>
<unsignedInt>1009</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300021" name="Process_Start" reportid="200021">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>72</unsignedInt>
<unsignedInt>21010</unsignedInt>
<unsignedInt>21011</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300022" name="Process_Finish" reportid="200022">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>1013</unsignedInt>
<unsignedInt>21010</unsignedInt>
<unsignedInt>21011</unsignedInt>
<unsignedInt>1015</unsignedInt>
<unsignedInt>1016</unsignedInt>
<unsignedInt>1017</unsignedInt>
<unsignedInt>1018</unsignedInt>
<unsignedInt>1019</unsignedInt>
<unsignedInt>1020</unsignedInt>
<unsignedInt>1021</unsignedInt>
<unsignedInt>1022</unsignedInt>
<unsignedInt>1023</unsignedInt>
<unsignedInt>1024</unsignedInt>
<unsignedInt>1025</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300032" name="Slotlist" reportid="200032">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1046</unsignedInt>
<unsignedInt>1047</unsignedInt>
<unsignedInt>1048</unsignedInt>
<unsignedInt>1049</unsignedInt>
<unsignedInt>1050</unsignedInt>
<unsignedInt>1051</unsignedInt>
<unsignedInt>1052</unsignedInt>
<unsignedInt>1053</unsignedInt>
<unsignedInt>1054</unsignedInt>
<unsignedInt>1055</unsignedInt>
<unsignedInt>1056</unsignedInt>
<unsignedInt>1057</unsignedInt>
<unsignedInt>1058</unsignedInt>
<unsignedInt>1059</unsignedInt>
<unsignedInt>1060</unsignedInt>
<unsignedInt>1061</unsignedInt>
<unsignedInt>1062</unsignedInt>
<unsignedInt>1063</unsignedInt>
<unsignedInt>1064</unsignedInt>
<unsignedInt>1065</unsignedInt>
<unsignedInt>1066</unsignedInt>
<unsignedInt>1067</unsignedInt>
<unsignedInt>1068</unsignedInt>
<unsignedInt>1069</unsignedInt>
<unsignedInt>1070</unsignedInt>
<unsignedInt>1071</unsignedInt>
<unsignedInt>1072</unsignedInt>
<unsignedInt>1073</unsignedInt>
<unsignedInt>1074</unsignedInt>
<unsignedInt>1075</unsignedInt>
<unsignedInt>1076</unsignedInt>
<unsignedInt>1077</unsignedInt>
<unsignedInt>1078</unsignedInt>
<unsignedInt>1079</unsignedInt>
<unsignedInt>1080</unsignedInt>
<unsignedInt>1081</unsignedInt>
<unsignedInt>1082</unsignedInt>
<unsignedInt>1083</unsignedInt>
<unsignedInt>1084</unsignedInt>
<unsignedInt>1085</unsignedInt>
<unsignedInt>1086</unsignedInt>
<unsignedInt>1087</unsignedInt>
<unsignedInt>1088</unsignedInt>
<unsignedInt>1089</unsignedInt>
<unsignedInt>1090</unsignedInt>
<unsignedInt>1091</unsignedInt>
<unsignedInt>1092</unsignedInt>
<unsignedInt>1093</unsignedInt>
<unsignedInt>1094</unsignedInt>
<unsignedInt>1095</unsignedInt>
<unsignedInt>1096</unsignedInt>
<unsignedInt>1097</unsignedInt>
<unsignedInt>1098</unsignedInt>
<unsignedInt>1099</unsignedInt>
<unsignedInt>1100</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300041" name="UserLoggedOn" reportid="200041">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>21012</unsignedInt>
<unsignedInt>21013</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300042" name="UserLoggedOff" reportid="200042">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>21012</unsignedInt>
<unsignedInt>21013</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300052" name="ProcessRecipeSelected" reportid="200052">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1000</unsignedInt>
<unsignedInt>72</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300055" name="ProcessProgramChange" reportid="200055">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>71</unsignedInt>
<unsignedInt>1011</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300061" name="EquipmentStateChange" reportid="200061">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>21010</unsignedInt>
<unsignedInt>21011</unsignedInt>
</validVariables>
</EVENT>
<EVENT ceid="300063" name="Machine_Data_1" reportid="200063">
<validVariables>
<unsignedInt>3</unsignedInt>
<unsignedInt>1026</unsignedInt>
<unsignedInt>1027</unsignedInt>
<unsignedInt>1028</unsignedInt>
<unsignedInt>1029</unsignedInt>
<unsignedInt>1030</unsignedInt>
<unsignedInt>1031</unsignedInt>
<unsignedInt>1032</unsignedInt>
<unsignedInt>1033</unsignedInt>
<unsignedInt>1034</unsignedInt>
<unsignedInt>1035</unsignedInt>
<unsignedInt>1036</unsignedInt>
<unsignedInt>1037</unsignedInt>
<unsignedInt>1038</unsignedInt>
<unsignedInt>1039</unsignedInt>
<unsignedInt>1040</unsignedInt>
<unsignedInt>1041</unsignedInt>
<unsignedInt>1042</unsignedInt>
<unsignedInt>1043</unsignedInt>
<unsignedInt>1044</unsignedInt>
<unsignedInt>1045</unsignedInt>
</validVariables>
</EVENT>
</events>
</sRDConfiguration>
</Configurations>

Some files were not shown because too many files have changed in this diff Show More