1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-23 00:00:02 +01:00
VILLASweb/src/data-managers/notifications-data-manager.js
Markus Grigull 3a87013f9b Add notification system and data managers
Add notification on simulator running state
2017-03-27 21:04:22 +02:00

22 lines
755 B
JavaScript

/**
* File: notifications-data-manager.js
* Author: Markus Grigull <mgrigull@eonerc.rwth-aachen.de>
* Date: 21.03.2017
* Copyright: 2017, Institute for Automation of Complex Power Systems, EONERC
* This file is part of VILLASweb. All Rights Reserved. Proprietary and confidential.
* Unauthorized copying of this file, via any medium is strictly prohibited.
**********************************************************************************/
class NotificationsDataManager {
_notificationSystem = null;
setSystem(notificationSystem) {
this._notificationSystem = notificationSystem;
}
addNotification(notification) {
this._notificationSystem.addNotification(notification);
}
}
export default new NotificationsDataManager();