Plugin - Can I get the job start timing in Repetier-host plugin
I am implementing a plugin for Repetier-host, and I would like to get the timing when a print job is started like the events to get job stop timing such as JobFinishedEvent or JobStoppedEvent. Is there a way to achieve this?
Currently, I create a timer event with Windows form and make the timer monitor "IsJobRunning" at a certain interval.
However, in this way, it is impossible to get information at the moment of actual initiation...
Thank you!
Currently, I create a timer event with Windows form and make the timer monitor "IsJobRunning" at a certain interval.
However, in this way, it is impossible to get information at the moment of actual initiation...
Thank you!
Comments
event FunctionVoid JobStartedEvent;
for next release, but that will probably end of june as server release is first due.
Awesome!!
I am looking forward to the release.
Because (at)pause command doesn't seem to generate any log, it is helpful if I can get that.
Thank you again.
For continue there are 2 more events:
core:printjobBeforeContinue
core:printjobAfterContinue
so guess everything you need is already there.
--
I wrote the following registration in an initialization method.
Then, made these methods as event catchers.
private void JobStartedEvent(string text, object val){