eregister WUP modul in check task
This commit is contained in:
parent
f15b7e5b22
commit
d653e0e6e6
@ -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" />
|
||||
|
||||
@ -283,7 +283,6 @@
|
||||
|
||||
this.runningTasks.Enqueue(new EregisterCheckInitializationTask(this.parameters, frequency)
|
||||
{
|
||||
WakeUpCmd = true,
|
||||
SlotNr = features.SlotNr,
|
||||
PoNr = features.PoNr,
|
||||
SerialNr = features.SerialNr,
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user