-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: overview table will check all instance everytime now, to make su…
…re no instances are lost
- Loading branch information
Jasper De Keukelaere (imec)
authored and
Jasper De Keukelaere (imec)
committed
Oct 10, 2024
1 parent
e9bd549
commit 48299e7
Showing
4 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
namespace PLCsimAdvanced_Manager.Services; | ||
|
||
public class ManagerFacade | ||
public class ManagerFacade: IHostedService, IDisposable | ||
{ | ||
private readonly EventDispatchService _eventDispatchService; | ||
public readonly InstanceHandler InstanceHandler; | ||
private EventDispatchService _eventDispatchService; | ||
public InstanceHandler InstanceHandler; | ||
|
||
public ManagerFacade() | ||
|
||
|
||
public Task StartAsync(CancellationToken cancellationToken) | ||
{ | ||
this.InstanceHandler = new InstanceHandler(); | ||
this._eventDispatchService = new EventDispatchService(this.InstanceHandler); | ||
this._eventDispatchService = new EventDispatchService(this.InstanceHandler); | ||
return Task.CompletedTask; | ||
} | ||
|
||
public Task StopAsync(CancellationToken cancellationToken) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public void Dispose() | ||
{ | ||
// throw new NotImplementedException(); | ||
} | ||
} |