@ekamjotsingh.ek/energy-management-system
Version:
A smart campus energy management system
16 lines (15 loc) • 535 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
// Class to represent a maintenance schedule
class MaintenanceSchedule {
constructor(scheduleID, date, equipmentID) {
this.scheduleID = scheduleID;
this.date = date;
this.equipmentID = equipmentID;
}
// Simulate performing maintenance
performMaintenance() {
console.log(`Performing maintenance for schedule ${this.scheduleID} on equipment ${this.equipmentID}.`);
}
}
exports.default = MaintenanceSchedule;