MxLabs / Anviz

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

More examples #52

Open JohnKiller opened 4 years ago

JohnKiller commented 4 years ago

I feel like the current state of the sample project is a bit messy. It just throws at you every possible method, but you can't just run it and play with it, you must first change various pieces.

I would like to create a new sample project with a GUI so one can just run it an test every function.

It could be done in WinForms, but it would run only on Windows and I feel like it may be more useful in an ASP.NET scenario, so I'm going to write it in Blazor (Server Mode, not wasm since we need networking).

I will track the progress using this issue, so feel free to ask any questions or suggestions.

Everything will be placed on the GUI branch until I feel it's feature complete.

alebianky commented 4 years ago

Hi, how are you, I was reading your code and your content is excellent and I appreciate it, What do you think can be the options to connect through a selector to several devices?

I will try to develop something for serverless in AWS or GCP

JohnKiller commented 4 years ago

@alebianky what do you mean with "selector"? Every device has its own serial, so you can use that

alebianky commented 4 years ago

How would you develop the process to connect various devices with your code?

JohnKiller commented 4 years ago

Progress for that is tracked here https://github.com/MxLabs/Anviz/issues/21#issuecomment-699615318

Until that is implemented, you need to create a Dictionary<string, AnvizDevice> which will hold all references based on the serial

I hope to finish that code in a week or so. I have already implemented it for my company, so I have to rewrite it in a open source fashion to not break my contracts.

alebianky commented 4 years ago

thanks you so much !!!

JackyZhang027 commented 2 years ago

Hi, is there any update about another sample project with GUI (ASP.NET)? really hope you can provide this.