Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple resource stores #3042

Open
pmiklashevych opened this issue Jun 17, 2021 · 0 comments
Open

Support multiple resource stores #3042

pmiklashevych opened this issue Jun 17, 2021 · 0 comments
Labels
feature request forum Issues from forum

Comments

@pmiklashevych
Copy link

pmiklashevych commented Jun 17, 2021

Use case: Working for a manufacture it should be possible to assign a task to a machine and an operator(s)
See quick solution here: https://www.bryntum.com/forum/viewtopic.php?p=81692#p81692
Also requested here: https://www.bryntum.com/forum/viewtopic.php?p=88328#p88328

Sample data:

    machines    = [
        { id : 1, name : 'Assembly station' },
        { id : 2, name : 'Workstation' }
    ];
    operators   = [
        { id : 1, name : 'Celia' },
        { id : 2, name : 'Lee' },
        { id : 3, name : 'Macy' }
    ];
    resources   = [
        ...machines.map(rec => ({ ...rec, id : 'M_' + rec.id, type : 'machines' })),
        ...operators.map(rec => ({ ...rec, id : 'O_' + rec.id, type : 'operators' }))
    ];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request forum Issues from forum
Projects
None yet
Development

No branches or pull requests

1 participant