simatic-s7-webserver-api icon indicating copy to clipboard operation
simatic-s7-webserver-api copied to clipboard

Implement IProgress<int> in ApiWebAppDeployer

Open KircMax opened this issue 2 years ago • 1 comments

As a GUI creator I would like to be able to

  • [ ] know how many items the ApiWebAppDeployer will have to take care of (appExceptBrowsed.Count)
  • [ ] show the progress of the ApiWebAppDeployer deployment => after each DeployResourceAsync(webApp, r); 1 more is done
  • [ ] Use a method GetDifferenceAsync(ApiWebAppData webApp) that will determine the appExceptBrowsed.Count => will return all items of the webApp in case it is not yet present on the plc

Consider also implementing an Event OnDeployFinished or something alike (then the deploy step itself might also just be performed "fully" in the background and not awaited in the GUI)

KircMax avatar Sep 24 '22 13:09 KircMax

same would be applicable in the ApiDirectoryHandler

KircMax avatar Jan 02 '23 11:01 KircMax