[login to view URL] file:
______________
url json
token
name print
[login to view URL] file
____________________
at the first launch of the empty file application
[login to view URL] class:
______________
With the fields: idcmd, date time, Customer, url_ticket
Class [login to view URL]
______________
url, token, print fields
[login to view URL] class
_____________________
read function (return an [login to view URL] object), modify the [login to view URL] file
Winform
_______
In the load of the winform:
Thread every 1 minute launches the ReadFlux function.
Read from infomarate fields and display them in the winform
Read feed:
Get the token from info manager
Read and retrieve the url from [login to view URL] file which is a post service with the token
Compare the [login to view URL] file with the recovered one
If different call printdata function, send in param file received by stream
retrieve the last 10 entries transform them into [login to view URL] list
Call updateView and send the list 10
print data:
recover entries not present in [login to view URL] but present in the file received in param.
Transform the difference into an object list of the [login to view URL] class
recover name print from file since infomanager
For any object in the list, run the print command with the printer name
Updateview
__________
Display the list received as parameter in the box list of the winform
save parameters button
______________________
popup confirms wanting an update yes no
call since infomanager the function update then the function read and display in the view