This commit is contained in:
@@ -13,7 +13,7 @@ using AyaNova.Models;
|
|||||||
|
|
||||||
namespace AyaNova.Biz
|
namespace AyaNova.Biz
|
||||||
{
|
{
|
||||||
|
|
||||||
internal static class NotifyEventProcessor
|
internal static class NotifyEventProcessor
|
||||||
{
|
{
|
||||||
private static ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger("NotifyEventProcessor");
|
private static ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger("NotifyEventProcessor");
|
||||||
@@ -33,7 +33,7 @@ namespace AyaNova.Biz
|
|||||||
else
|
else
|
||||||
log.LogWarning($"Ops problem notification: \"{message}\"");
|
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
|
//ScheduledOnWorkorder https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
|
||||||
//ScheduledOnWorkorderImminent
|
//ScheduledOnWorkorderImminent https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
|
||||||
//WorkorderFinishStatusOverdue
|
//WorkorderFinishStatusOverdue
|
||||||
//WorkorderFinished
|
//WorkorderFinished
|
||||||
//OutsideServiceOverdue
|
//OutsideServiceOverdue
|
||||||
//OutsideServiceReceived
|
//OutsideServiceReceived https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
|
||||||
//PartRequestReceived
|
//PartRequestReceived https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
|
||||||
//CustomerServiceImminent
|
//CustomerServiceImminent
|
||||||
//PartRequested
|
//PartRequested https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
|
||||||
//WorkorderTotalExceedsThreshold
|
//WorkorderTotalExceedsThreshold
|
||||||
//WorkorderStatusAge
|
//WorkorderStatusAge
|
||||||
}
|
}
|
||||||
@@ -321,7 +321,9 @@ namespace AyaNova.Biz
|
|||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
//ScheduledOnWorkorder (DELETE OLD, USER / DATE COULD CHANGE)
|
//ScheduledOnWorkorder (DELETE OLD, USER / DATE COULD CHANGE)
|
||||||
|
//https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
|
||||||
//ScheduledOnWorkorderImminent (DELTE OLD)
|
//ScheduledOnWorkorderImminent (DELTE OLD)
|
||||||
|
//https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
|
||||||
//WorkorderFinishStatusOverdue (DELETE OLD)
|
//WorkorderFinishStatusOverdue (DELETE OLD)
|
||||||
//WorkorderFinished
|
//WorkorderFinished
|
||||||
//OutsideServiceOverdue (ALSO DELETE OLD)
|
//OutsideServiceOverdue (ALSO DELETE OLD)
|
||||||
@@ -329,8 +331,10 @@ namespace AyaNova.Biz
|
|||||||
//PartRequestReceived
|
//PartRequestReceived
|
||||||
//CustomerServiceImminent (ALSO DELETE OLD)
|
//CustomerServiceImminent (ALSO DELETE OLD)
|
||||||
//PartRequested
|
//PartRequested
|
||||||
|
//https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
|
||||||
//WorkorderTotalExceedsThreshold
|
//WorkorderTotalExceedsThreshold
|
||||||
//WorkorderStatusAge (ALSO DELETE OLD)
|
//WorkorderStatusAge (ALSO DELETE OLD)
|
||||||
|
//https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/1137
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -349,13 +353,16 @@ namespace AyaNova.Biz
|
|||||||
break;
|
break;
|
||||||
case AyaType.UnitMeterReading:
|
case AyaType.UnitMeterReading:
|
||||||
//UnitMeterReadingMultipleExceeded
|
//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;
|
break;
|
||||||
case AyaType.CustomerServiceRequest:
|
case AyaType.CustomerServiceRequest:
|
||||||
//CSRAccepted (DELETE OLD might have changed from one to the other)
|
//CSRAccepted (DELETE OLD might have changed from one to the other)
|
||||||
//CSRRejected (DELETE OLD might have changed from one to the other)
|
//CSRRejected (DELETE OLD might have changed from one to the other)
|
||||||
break;
|
break;
|
||||||
case AyaType.ServiceBank:
|
case AyaType.ServiceBank:
|
||||||
//ServiceBankDepleted
|
//ServiceBankDepleted https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/472
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AyaType.User:
|
case AyaType.User:
|
||||||
|
|||||||
Reference in New Issue
Block a user