diff --git a/src/simulationmodel/signal-store.js b/src/simulationmodel/signal-store.js new file mode 100644 index 0000000..2924824 --- /dev/null +++ b/src/simulationmodel/signal-store.js @@ -0,0 +1,23 @@ +/** + * File: signal-store.js + * + * This file is part of VILLASweb. + * + * VILLASweb 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. + * + * VILLASweb 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 VILLASweb. If not, see . + ******************************************************************************/ + +import ArrayStore from '../common/array-store'; +import SignalsDataManager from './signals-data-manager' + +export default new ArrayStore('signals', SignalsDataManager); diff --git a/src/simulationmodel/signals-data-manager.js b/src/simulationmodel/signals-data-manager.js new file mode 100644 index 0000000..cccf994 --- /dev/null +++ b/src/simulationmodel/signals-data-manager.js @@ -0,0 +1,22 @@ +/** + * File: signals-data-manager.js + * + * This file is part of VILLASweb. + * + * VILLASweb 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. + * + * VILLASweb 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 VILLASweb. If not, see . + ******************************************************************************/ + +import RestDataManager from '../common/data-managers/rest-data-manager'; + +export default new RestDataManager('signal', '/signals');