diff --git a/server/AyaNova/biz/NotifyEventProcessor.cs b/server/AyaNova/biz/NotifyEventProcessor.cs index 8b73808a..de412ad8 100644 --- a/server/AyaNova/biz/NotifyEventProcessor.cs +++ b/server/AyaNova/biz/NotifyEventProcessor.cs @@ -13,7 +13,7 @@ using AyaNova.Models; namespace AyaNova.Biz { - + internal static class NotifyEventProcessor { private static ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger("NotifyEventProcessor"); @@ -33,7 +33,7 @@ namespace AyaNova.Biz else log.LogWarning($"Ops problem notification: \"{message}\""); - await AddGeneralNotifyEvent(NotifyEventType.ServerOperationsProblem, message,"OPS"); + await AddGeneralNotifyEvent(NotifyEventType.ServerOperationsProblem, message, "OPS"); } @@ -186,15 +186,15 @@ namespace AyaNova.Biz } } } - //ScheduledOnWorkorder - //ScheduledOnWorkorderImminent + //ScheduledOnWorkorder https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892 + //ScheduledOnWorkorderImminent https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892 //WorkorderFinishStatusOverdue //WorkorderFinished //OutsideServiceOverdue - //OutsideServiceReceived - //PartRequestReceived + //OutsideServiceReceived https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892 + //PartRequestReceived https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892 //CustomerServiceImminent - //PartRequested + //PartRequested https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892 //WorkorderTotalExceedsThreshold //WorkorderStatusAge } @@ -321,7 +321,9 @@ namespace AyaNova.Biz // } } //ScheduledOnWorkorder (DELETE OLD, USER / DATE COULD CHANGE) + //https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892 //ScheduledOnWorkorderImminent (DELTE OLD) + //https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892 //WorkorderFinishStatusOverdue (DELETE OLD) //WorkorderFinished //OutsideServiceOverdue (ALSO DELETE OLD) @@ -329,8 +331,10 @@ namespace AyaNova.Biz //PartRequestReceived //CustomerServiceImminent (ALSO DELETE OLD) //PartRequested + //https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892 //WorkorderTotalExceedsThreshold //WorkorderStatusAge (ALSO DELETE OLD) + //https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/1137 } break; @@ -349,13 +353,16 @@ namespace AyaNova.Biz break; case AyaType.UnitMeterReading: //UnitMeterReadingMultipleExceeded + //case 1254 + // This could work as a threshold multiple value, i.e. if it's passing a multiple of 50,000 then notify, or notify every 10,000 or something. + // In saving code it just checks to see if it has crossed the multiple threshold, i.e. calculate the old multiple, calculate the new multiple if over then send notification immediate. break; case AyaType.CustomerServiceRequest: //CSRAccepted (DELETE OLD might have changed from one to the other) //CSRRejected (DELETE OLD might have changed from one to the other) break; case AyaType.ServiceBank: - //ServiceBankDepleted + //ServiceBankDepleted https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/472 break; case AyaType.User: