MxLabs / Anviz

.NET library to access and control Anviz devices.
MIT License
33 stars 17 forks source link

Setting WorkTypes #63

Open MCutrin opened 1 year ago

MCutrin commented 1 year ago

Hi everyone and thanks in advance for taking the time to read my question.

I have a VB .NET program that is connected to an ANVIZ VF30 Pro, and it is working perfectly thanks to this DLL.

My client now has a new request: she needs to differentiate between various "types" of work, so all the employees can make registers on the device, but being able to "tell" the system if they are starting their day, going out to the doctor or whatever type of register they decide to configure. There is a section in CrossChex where I can create different tasks with its code, but I would like to do it from my VB .NET program.

I have been looking into methods and properties on the DLL, and there is a a WorkType property inside the Record when downloading them. However, I haven't been able to find any methods that would allow me to create WorkTypes or anything else related to them.

Is there any way to create WorkTypes from this DLL so employees could type the Id before checking-in and that register would get "identified" with that WorkType?

Thanks in advance!

JohnKiller commented 1 year ago

Hi, Currently there is no public documentation to the function to change that information on the device. You can use WireShark to capture the packet from CrossChex, then it could be implemented in the library. Pull requests are welcome.

MCutrin commented 1 year ago

Okay, understood!

For now, I will probably set WorkTypes manually from CrossChex and then, when downloading the records I will sort them using the WorkType property that is available.

Thanks for the fast reply!