|
@@ -887,85 +887,115 @@ namespace Venus_RT.Devices.EFEM
|
|
|
private const string Port2TagDataWrite = "Port2TagDataWrite";
|
|
|
private const string Port2WriteTagDataFailed = "Port2WriteTagDataFailed";
|
|
|
|
|
|
+ private const string Port3LoadComplete = "Port3LoadComplete";
|
|
|
+ private const string Port3LoadFailed = "Port3LoadFailed";
|
|
|
+ private const string Port3UnloadComplete = "Port3UnloadComplete";
|
|
|
+ private const string Port3UnloadFailed = "Port3UnloadFailed";
|
|
|
+
|
|
|
+ private const string Port3Clamped = "Port3Clamped";
|
|
|
+ private const string Port3Unclamped = "Port3Unclamped";
|
|
|
+ private const string Port3IDRead = "Port3IDRead";
|
|
|
+ private const string Port3ReadIDFailed = "Port3ReadIDFailed";
|
|
|
+ private const string Port3IDWrite = "Port3IDWrite";
|
|
|
+ private const string Port3WriteIDFailed = "Port3WriteIDFailed";
|
|
|
+ private const string Port3TagDataRead = "Port3TagDataRead";
|
|
|
+ private const string Port3ReadTagDataFailed = "Port3ReadTagDataFailed";
|
|
|
+ private const string Port3TagDataWrite = "Port3TagDataWrite";
|
|
|
+ private const string Port3WriteTagDataFailed = "Port3WriteTagDataFailed";
|
|
|
private Dictionary<ModuleName, string> PortLoadComplete = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1LoadComplete},
|
|
|
{ModuleName.LP2, Port2LoadComplete},
|
|
|
+ {ModuleName.LP3, Port3LoadComplete},
|
|
|
};
|
|
|
|
|
|
private Dictionary<ModuleName, string> PortLoadFailed = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1LoadFailed},
|
|
|
{ModuleName.LP2, Port2LoadFailed},
|
|
|
+ {ModuleName.LP3, Port3LoadFailed},
|
|
|
};
|
|
|
|
|
|
private Dictionary<ModuleName, string> PortUnloadComplete = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1UnloadComplete},
|
|
|
{ModuleName.LP2, Port2UnloadComplete},
|
|
|
+ {ModuleName.LP3, Port3UnloadComplete},
|
|
|
};
|
|
|
|
|
|
private Dictionary<ModuleName, string> PortUnloadFailed = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1UnloadFailed},
|
|
|
{ModuleName.LP2, Port2UnloadFailed},
|
|
|
+ {ModuleName.LP3, Port3UnloadFailed},
|
|
|
};
|
|
|
private Dictionary<ModuleName, string> PortClamped = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1Clamped},
|
|
|
{ModuleName.LP2, Port2Clamped},
|
|
|
+ {ModuleName.LP3, Port3Clamped},
|
|
|
};
|
|
|
private Dictionary<ModuleName, string> PortUnclamped = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1Unclamped},
|
|
|
{ModuleName.LP2, Port2Unclamped},
|
|
|
+ {ModuleName.LP3, Port3Unclamped},
|
|
|
};
|
|
|
private Dictionary<ModuleName, string> PortIDRead = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1IDRead},
|
|
|
{ModuleName.LP2, Port2IDRead},
|
|
|
+ {ModuleName.LP3, Port3IDRead},
|
|
|
};
|
|
|
private Dictionary<ModuleName, string> PortReadIDFailed = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1ReadIDFailed},
|
|
|
{ModuleName.LP2, Port2ReadIDFailed},
|
|
|
+ {ModuleName.LP3, Port3ReadIDFailed},
|
|
|
};
|
|
|
private Dictionary<ModuleName, string> PortIDWrite = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1IDWrite},
|
|
|
{ModuleName.LP2, Port2IDWrite},
|
|
|
+ {ModuleName.LP3, Port3IDWrite},
|
|
|
};
|
|
|
private Dictionary<ModuleName, string> PortWriteIDFailed = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1WriteIDFailed},
|
|
|
{ModuleName.LP2, Port2WriteIDFailed},
|
|
|
+ {ModuleName.LP3, Port3WriteIDFailed},
|
|
|
};
|
|
|
|
|
|
private Dictionary<ModuleName, string> PortTagDataRead = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1TagDataRead},
|
|
|
{ModuleName.LP2, Port2TagDataRead},
|
|
|
+ {ModuleName.LP3, Port3TagDataRead},
|
|
|
};
|
|
|
private Dictionary<ModuleName, string> PortReadTagDataFailed = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1ReadTagDataFailed},
|
|
|
{ModuleName.LP2, Port2ReadTagDataFailed},
|
|
|
+ {ModuleName.LP3, Port3ReadTagDataFailed},
|
|
|
};
|
|
|
private Dictionary<ModuleName, string> PortTagDataWrite = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1TagDataWrite},
|
|
|
{ModuleName.LP2, Port2TagDataWrite},
|
|
|
+ {ModuleName.LP3, Port3TagDataWrite},
|
|
|
};
|
|
|
private Dictionary<ModuleName, string> PortWriteTagDataFailed = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, Port1WriteTagDataFailed},
|
|
|
{ModuleName.LP2, Port2WriteTagDataFailed},
|
|
|
+ {ModuleName.LP3, Port3WriteTagDataFailed},
|
|
|
};
|
|
|
|
|
|
private Dictionary<ModuleName, string> PortId = new Dictionary<ModuleName, string>()
|
|
|
{
|
|
|
{ModuleName.LP1, "1"},
|
|
|
{ModuleName.LP2, "2"},
|
|
|
+ {ModuleName.LP3, "3"},
|
|
|
};
|
|
|
|
|
|
public LoadPortFACallback()
|
|
@@ -1001,6 +1031,22 @@ namespace Venus_RT.Devices.EFEM
|
|
|
EV.Subscribe(new EventItem("Event", Port2ReadTagDataFailed, Port2ReadTagDataFailed));
|
|
|
EV.Subscribe(new EventItem("Event", Port2TagDataWrite, Port2TagDataWrite));
|
|
|
EV.Subscribe(new EventItem("Event", Port2WriteTagDataFailed, Port2WriteTagDataFailed));
|
|
|
+
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3LoadComplete, Port3LoadComplete));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3LoadFailed, Port3LoadFailed));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3UnloadComplete, Port3UnloadComplete));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3UnloadFailed, Port3UnloadFailed));
|
|
|
+
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3Clamped, Port3Clamped));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3Unclamped, Port3Unclamped));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3IDRead, Port3IDRead));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3ReadIDFailed, Port3ReadIDFailed));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3IDWrite, Port3IDWrite));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3WriteIDFailed, Port3WriteIDFailed));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3TagDataRead, Port3TagDataRead));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3ReadTagDataFailed, Port3ReadTagDataFailed));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3TagDataWrite, Port3TagDataWrite));
|
|
|
+ EV.Subscribe(new EventItem("Event", Port3WriteTagDataFailed, Port3WriteTagDataFailed));
|
|
|
}
|
|
|
|
|
|
public void LoadComplete(Loadport lp)
|