eregister WUP modul in check task

This commit is contained in:
Stoyan Zlatev 2025-10-20 12:34:26 +02:00
parent f15b7e5b22
commit d653e0e6e6
4 changed files with 9 additions and 5 deletions

View File

@ -171,7 +171,7 @@
</site>
<site name="MeterProcessState(2)" id="4">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="D:\Projekte\SENSUS_GitLab\LAA_PRODUCTION\Common\Service\MeterProcessState" />
<virtualDirectory path="/" physicalPath="E:\REPO\lab\la_operations\laa_production\Common\Service\MeterProcessState" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:50075:localhost" />

View File

@ -283,7 +283,6 @@
this.runningTasks.Enqueue(new EregisterCheckInitializationTask(this.parameters, frequency)
{
WakeUpCmd = true,
SlotNr = features.SlotNr,
PoNr = features.PoNr,
SerialNr = features.SerialNr,

View File

@ -16,6 +16,7 @@
{
this.parameters = parameters;
this.Name = "Check state";
this.WakeUpCmd = true;
this.Data = new OpticalTelegram
{
Minutes = 1
@ -26,6 +27,13 @@
});
}
public override byte[] Start()
{
this.WakeUpModul = !this.AnyTelegramReceived;
return base.Start();
}
public override void Push(SIRTMessage response)
{
base.Push(response);

View File

@ -77,9 +77,6 @@
public override byte[] Start()
{
//this.WakeUpCmd = !this.AnyTelegramReceived;
//this.WakeUpModul = !this.AnyTelegramReceived;
var payloadL = this.request.Payload.Length;
this.payload = new byte[payloadL];