@ekamjotsingh.ek/energy-management-system
Version:
A smart campus energy management system
19 lines (18 loc) • 542 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
// Class to represent maintenance staff
class MaintenanceStaff {
constructor(staffID, name) {
this.staffID = staffID;
this.name = name;
}
// Simulate scheduling maintenance
scheduleMaintenance() {
console.log(`Maintenance scheduled by ${this.name}.`);
}
// Simulate responding to alerts
respondToAlerts() {
console.log(`Responding to alerts by ${this.name}.`);
}
}
exports.default = MaintenanceStaff;