Job and Employee Scheduler

This forum is meant for questions and discussions about the X# language and tools
jonhn
Posts: 86
Joined: Thu Feb 01, 2018 8:04 am
Location: New Zealand

Job and Employee Scheduler

Post by jonhn »

I'm trying to think of the best way to implement a job schedule and roster display.
Some kind of Gantt chart where I can display the hours in a day, and the multiple jobs that must be done in that time. (with a weekly/monthly overview, of course!)

Does anyone know of a .net library I can incorporate in my X# (VO) application? Or a good way to achieve this within X#/VO?
I've attached a couple of jpg's of the kind of thing I am thinking of.

I want to make an interactive / "2-way" chart - it is created from information in my .dbf's and if any dragging or adjusting of the jobs in the chart can be used to update the original .dbf.

Initially I will experiment with bBrowser and see if I can get close, but not sure about creating an object spanning multiple cells that I can drag around between groups of cells.
Attachments
Schedule2.JPG
Schedule2.JPG (41.11 KiB) Viewed 1019 times
Schedule1.JPG
Schedule1.JPG (22.29 KiB) Viewed 1019 times
User avatar
wriedmann
Posts: 3757
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Job and Employee Scheduler?

Post by wriedmann »

Hi John,
in the past I have implemented something like this with the bBrowser.
The bBrowser allows to draw over groups of cells.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
jonhn
Posts: 86
Joined: Thu Feb 01, 2018 8:04 am
Location: New Zealand

Job and Employee Scheduler?

Post by jonhn »

Thank you Wolfgang.
OK, I will try the bBrowser way. I will have a look in the bBrowser X# samples - and see what I can find.
If anyone has any suggestions I'd be interested to see / hear them.
Thanks, Jon
info@task.si
Posts: 31
Joined: Mon Nov 02, 2015 2:08 pm

Job and Employee Scheduler?

Post by info@task.si »

Hi Jonhn!

I have worked a lot on scheduling with CA-VO..
Many years ago I also tried bbrowser for this purpose, but the solutions were only suitable for defining the absence (presence) of workers. I could also show you examples (screenshots) , but I would rather point you to better or at least dedicated products - libraries.
Very professional product; link: https://www.netronic.com/gantt-controls ... art-xgantt
Usefull: https://www.dbi-tech.com/NewsBulletin/# ... nsSchedule
You can also see an example I showed this year in Memmingen :
https://redradix.azurewebsites.net/schedule
Please use browser translator to translate from slovenian to english.
Hope I help a little, Andrej
jonhn
Posts: 86
Joined: Thu Feb 01, 2018 8:04 am
Location: New Zealand

Job and Employee Scheduler?

Post by jonhn »

Thank you Andrej,
That's very helpful! The live demo looks amazing. Is that using the Netronic library? And in X#?

The DBI-tech solution looks like it should work for my requirements, and be reasonably simple to implement (hoping!). I'm just a server based application, not cloud. Will the .NET version be compatible with the X#/VO dialect?

I checked out the bBrowser samples Wolfgang suggested and there is a simple scheduler there - so it is an option, but getting the specialized Dbi-tech one would provide some ready-made advantages.
Thanks again, Jonathan
info@task.si
Posts: 31
Joined: Mon Nov 02, 2015 2:08 pm

Job and Employee Scheduler?

Post by info@task.si »

Dear Jonathan !
For my web demo scheduler I used Blazor and X# Core dialect and various packages already on the market for Blazor.
I think the Dbi-tech library will be adequate for your current requirements. As far as I know it also has built-in DBF file support. But beware of .NET or COM (COM64) versions.
Regards, Andrej
jonhn
Posts: 86
Joined: Thu Feb 01, 2018 8:04 am
Location: New Zealand

Job and Employee Scheduler?

Post by jonhn »

živjo Andrej,
What did you mean by "beware" of the Dbi-tech .Net/Com? Just to be sure that I order the correct version?
I am using X#/VOGUI, and only the XIDE for now. I thought that the .Net version should be the correct one.

I'm not sure which way to go with it from here -
Idea #1 create a windows form with the control and design it in XIDE, or
Idea #2 maybe create a new library in VS with a windows form with that control, then add this library as a reference in my main app
What do you think? Have you tried something similar using .NET with the X#/VOGUI?

It would be nice if it has .dbf capability, but after reading the help files I thought XML or a text file would also work for my data interchange.
Any suggestions on the way forward, or others' experiences with this or similar control are appreciated!
hvala! Jonathan
info@task.si
Posts: 31
Joined: Mon Nov 02, 2015 2:08 pm

Job and Employee Scheduler?

Post by info@task.si »

Hi Jonathan !
dBi-Tech: I just wanted to remind you to choose the appropriate version, since in your first letter you mentioned developing for X#/VO. Now I see that you only need .NET components.
Your approach is correct, both ways should work. For myself, I found that the 3rd way works best for me, which is to leave the old VO programs as they are, but create new standalone programs in win forms and with X# and call these new programs from the old VO exe. I attach a screenshot.
I have now abandoned the desktop development (X# - win forms) and am continuing with the web and mobile only.
Attachments
Razvoj_Mesecni.png
Razvoj_Mesecni.png (199.11 KiB) Viewed 1019 times
Razvoj_Dan_1.png
Razvoj_Dan_1.png (111.75 KiB) Viewed 1019 times
jonhn
Posts: 86
Joined: Thu Feb 01, 2018 8:04 am
Location: New Zealand

Job and Employee Scheduler?

Post by jonhn »

That's great Andrej,
Those images look very encouraging - exactly what I want to do.
Thank you for the information and confirmation of the appropriate path to take. I will have to stick with desktop for now!
User avatar
wriedmann
Posts: 3757
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Job and Employee Scheduler?

Post by wriedmann »

Hi Jonathan,
please pay attention to the fact that with X# you have a choice of GUI: VO GUI, Windows Forms, WPF, and you need the right component for it.
Of course, using the VO GUI, you can also add Windows Forms windows into it using some special classes that are available in the X# VOGUI classes.
And there are also samples how to integrate a Windows Forms control into a VOGUI application (I have done it also myself for a sample)
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply