erp-platform/ui/src/mocks/mockMaintenanceCalendarEvent.ts
2025-09-15 12:31:47 +03:00

86 lines
2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { PriorityEnum } from "../types/common";
import {
PmCalendarEvent as MaintenanceCalendarEvent,
WorkOrderStatusEnum,
} from "../types/pm";
export const mockCalendarEvents: MaintenanceCalendarEvent[] = [
{
id: "E001",
title: "CNC Torna Rutin Bakım",
type: "plan",
date: new Date("2024-02-12"),
startTime: "09:00",
endTime: "11:00",
status: "scheduled",
priority: PriorityEnum.High,
assignedTo: "Mehmet Kaya",
workCenterCode: "CNC-001",
duration: 120,
},
{
id: "E002",
title: "Kompresör Aylık Bakım",
type: "plan",
date: new Date("2024-02-15"),
startTime: "08:00",
endTime: "12:00",
status: "scheduled",
priority: PriorityEnum.Urgent,
assignedTo: "Ali Demir",
workCenterCode: "COMP-001",
duration: 240,
},
{
id: "E003",
title: "Konveyör Arıza Onarım",
type: "workorder",
date: new Date("2024-02-10"),
startTime: "14:00",
endTime: "17:00",
status: WorkOrderStatusEnum.InProgress,
priority: PriorityEnum.High,
assignedTo: "Ahmet Yılmaz",
workCenterCode: "CONV-001",
duration: 180,
},
{
id: "E004",
title: "Robot Kaynak Kalibrasyon",
type: "workorder",
date: new Date("2024-02-08"),
startTime: "10:00",
endTime: "18:00",
status: WorkOrderStatusEnum.Completed,
priority: PriorityEnum.Normal,
assignedTo: "Fatma Özkan",
workCenterCode: "WELD-001",
duration: 480,
},
{
id: "E005",
title: "Hidrolik Sistem Kontrol",
type: "plan",
date: new Date("2024-02-14"),
startTime: "13:00",
endTime: "15:00",
status: "scheduled",
priority: PriorityEnum.Normal,
assignedTo: "Sema Korkmaz",
workCenterCode: "HYD-001",
duration: 120,
},
{
id: "E006",
title: "Elektrik Panosu Bakım",
type: "plan",
date: new Date("2024-02-16"),
startTime: "16:00",
endTime: "18:00",
status: "scheduled",
priority: PriorityEnum.Low,
assignedTo: "Hasan Çelik",
workCenterCode: "ELEC-001",
duration: 120,
},
];