39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
/*
|
|
* Copyright 2020 Arnaud Vergnet
|
|
*
|
|
* This file is part of CAMPUS.
|
|
*
|
|
* CAMPUS is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* CAMPUS is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with CAMPUS. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
export default {
|
|
machineStates: {
|
|
AVAILABLE: 0,
|
|
RUNNING: 1,
|
|
RUNNING_NOT_STARTED: 2,
|
|
FINISHED: 3,
|
|
UNAVAILABLE: 4,
|
|
ERROR: 5,
|
|
UNKNOWN: 6,
|
|
},
|
|
stateIcons: {
|
|
0: 'radiobox-blank',
|
|
1: 'progress-check',
|
|
2: 'alert-circle-outline',
|
|
3: 'check-circle',
|
|
4: 'alert-octagram-outline',
|
|
5: 'alert',
|
|
6: 'help-circle-outline',
|
|
},
|
|
};
|