| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 | 
							- using Aitex.Core.RT.DataCenter;
 
- using Aitex.Core.RT.Device;
 
- using Aitex.Core.RT.Device.Unit;
 
- using Aitex.Core.RT.Event;
 
- using Aitex.Core.RT.OperationCenter;
 
- using Aitex.Core.RT.SCCore;
 
- using Aitex.Core.Utilities;
 
- using Aitex.Sorter.Common;
 
- using FurnaceRT.Devices;
 
- using MECF.Framework.Common.Alarms;
 
- using MECF.Framework.Common.Equipment;
 
- using MECF.Framework.Common.Event;
 
- using MECF.Framework.Common.Schedulers;
 
- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- namespace FurnaceRT.Equipments.FIMSs
 
- {
 
-     public partial class FIMSModule
 
-     {
 
-         public AlarmEventItem LoadTimeoutAlarm { get; set; }
 
-         public AlarmEventItem LoadFailAlarm { get; set; }
 
-         public AlarmEventItem UnloadTimeoutAlarm { get; set; }
 
-         public AlarmEventItem UnloadFailAlarm { get; set; }
 
-         public AlarmEventItem HomeTimeoutAlarm { get; set; }
 
-         public AlarmEventItem HomeFailAlarm { get; set; }
 
-         private void InitAlarmEvent()
 
-         {
 
-             LoadFailAlarm = SubscribeAlarm(new AlarmEventItem()
 
-             {
 
-                 EventEnum = $"{Name}.LoadFailAlarm",
 
-                 Description = $"{Name} load fail reason ",
 
-                 Solution = "No information available. Press[Retry] to delete alarm message.",
 
-                 Explaination = "No information available.",
 
-                 AutoRecovery = false,
 
-                 Level = EventLevel.Alarm,
 
-                 Action = EventAction.ClearAndRetry,
 
-                 Category = "FMISAlarm",
 
-             }, () => { return true; });
 
-             UnloadFailAlarm = SubscribeAlarm(new AlarmEventItem()
 
-             {
 
-                 EventEnum = $"{Name}.UnloadFailAlarm",
 
-                 Description = $"{Name} unload fail reason ",
 
-                 Solution = "No information available. Press[Retry] to delete alarm message.",
 
-                 Explaination = "No information available.",
 
-                 AutoRecovery = false,
 
-                 Level = EventLevel.Alarm,
 
-                 Action = EventAction.ClearAndRetry,
 
-                 Category = "FMISAlarm",
 
-             }, () => { return true; });
 
-             LoadTimeoutAlarm = SubscribeAlarm(new AlarmEventItem()
 
-             {
 
-                 EventEnum = $"{Name}.LoadTimeoutAlarm",
 
-                 Description = $"{Name} load timeout ",
 
-                 Solution = "No information available. Press[Retry] to delete alarm message.",
 
-                 Explaination = "No information available.",
 
-                 AutoRecovery = false,
 
-                 Level = EventLevel.Alarm,
 
-                 Action = EventAction.ClearAndRetry,
 
-                 Category = "FMISAlarm",
 
-             }, () => { return true; });
 
-             UnloadTimeoutAlarm = SubscribeAlarm(new AlarmEventItem()
 
-             {
 
-                 EventEnum = $"{Name}.UnloadTimeoutAlarm",
 
-                 Description = $"{Name} unload timeout ",
 
-                 Solution = "No information available. Press[Retry] to delete alarm message.",
 
-                 Explaination = "No information available.",
 
-                 AutoRecovery = false,
 
-                 Level = EventLevel.Alarm,
 
-                 Action = EventAction.ClearAndRetry,
 
-                 Category = "FMISAlarm",
 
-             }, () => { return true; });
 
-             HomeFailAlarm = SubscribeAlarm(new AlarmEventItem()
 
-             {
 
-                 EventEnum = $"{Name}.HomeFailAlarm",
 
-                 Description = $"{Name} home fail reason ",
 
-                 Solution = "No information available. Press[Retry] to delete alarm message.",
 
-                 Explaination = "No information available.",
 
-                 AutoRecovery = false,
 
-                 Level = EventLevel.Alarm,
 
-                 Action = EventAction.ClearAndRetry,
 
-                 Category = "FMISAlarm",
 
-             }, () => { return true; });
 
-             HomeTimeoutAlarm = SubscribeAlarm(new AlarmEventItem()
 
-             {
 
-                 EventEnum = $"{Name}.HomeTimeoutAlarm",
 
-                 Description = $"{Name} home timeout ",
 
-                 Solution = "No information available. Press[Retry] to delete alarm message.",
 
-                 Explaination = "No information available.",
 
-                 AutoRecovery = false,
 
-                 Level = EventLevel.Alarm,
 
-                 Action = EventAction.ClearAndRetry,
 
-                 Category = "FMISAlarm",
 
-             }, () => { return true; });
 
-         }
 
-     }
 
- }
 
 
  |