mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-02 08:33:14 +00:00
99 lines
3.9 KiB
TypeScript
99 lines
3.9 KiB
TypeScript
export interface ProcStep {
|
|
text: string;
|
|
sub?: string[];
|
|
}
|
|
|
|
export interface Procedure {
|
|
heading: string;
|
|
intro: string;
|
|
steps: ProcStep[];
|
|
}
|
|
|
|
export const SAFETY_BULLETS = [
|
|
"Use required PPE (gloves, goggles, hearing protection, arc flash equip. if needed).",
|
|
"Always follow OSHA, LOTO, FTHA, NFPA, and Amazon Policies before placing hands on equipment.",
|
|
'If any other issues are found not part of this PM\'s tasks please create a new "Work from PM" work order to make the correction.',
|
|
];
|
|
|
|
const BACKFLOW_PROCEDURE: Procedure = {
|
|
heading: "Backflow Procedure",
|
|
intro:
|
|
"Each backflow should be tested and if it passes inspection, the documentation must be submitted to the local municipality (i.e., city or county). No backflow PM is sufficient without at least testing the backflow.",
|
|
steps: [
|
|
{
|
|
text: "Contact base building coordinator/site POC, schedule backflow testing",
|
|
},
|
|
{ text: "Inform Facility Manager of scheduled test date" },
|
|
{
|
|
text: "Meet with base building coordinator/site POC upon arrival at site, confirming backflows will now be tested",
|
|
},
|
|
{
|
|
text: "Visually inspect backflows and take photos of units",
|
|
sub: [
|
|
"Document backflow location in facility",
|
|
'Document size and type of backflow (i.e., 1" RPZ backflow)',
|
|
],
|
|
},
|
|
{
|
|
text: "Perform backflow test",
|
|
sub: [
|
|
"If backflow test fails, disassemble backflow as needed and determine reason for failure",
|
|
"Make repairs to backflow",
|
|
"Retest backflow and ensure appropriate pressure",
|
|
],
|
|
},
|
|
{
|
|
text: "File backflow test and certification paperwork with site POC and local municipality",
|
|
},
|
|
{
|
|
text: 'If any failed backflow cannot be repaired immediately, notify the site POC and schedule tentative follow-up date for return, ensure a new PO for the follow up work. Issue a new "Work from PM" work order.',
|
|
sub: [
|
|
"Ensure equipment is functioning appropriately and safely before returning to operations",
|
|
"Ensure equipment and work area is clean prior to leaving the work site",
|
|
"If any deficiencies are discovered and unable to repair immediately, schedule follow up date with vendor and issue a new PO for the follow-up work. Issue a new \"work from PM' work order.",
|
|
"Provide adequate lead time for parts/scheduling",
|
|
],
|
|
},
|
|
],
|
|
};
|
|
|
|
const GENERIC_PROCEDURE: Procedure = {
|
|
heading: "Service Procedure",
|
|
intro:
|
|
"Perform the scheduled preventive maintenance per the manufacturer specification and Amazon site requirements. Document all findings and submit the completion paperwork to the site POC.",
|
|
steps: [
|
|
{
|
|
text: "Contact base building coordinator/site POC and schedule the service visit",
|
|
},
|
|
{ text: "Inform Facility Manager of the scheduled date" },
|
|
{
|
|
text: "Visually inspect the equipment and take photos of units",
|
|
sub: [
|
|
"Document equipment location in facility",
|
|
"Document make, model and condition of the asset",
|
|
],
|
|
},
|
|
{
|
|
text: "Perform the required preventive maintenance tasks for this asset",
|
|
sub: [
|
|
"If a deficiency is found, determine the corrective action and parts required",
|
|
"Make repairs where possible and re-test to confirm normal operation",
|
|
],
|
|
},
|
|
{
|
|
text: "Ensure equipment is functioning appropriately and the work area is clean prior to leaving the site",
|
|
},
|
|
{
|
|
text: "File the completion paperwork with the site POC and Seahaven",
|
|
sub: [
|
|
'If any deficiencies are discovered and unable to repair immediately, schedule a follow-up date with vendor and issue a new PO. Issue a new "Work from PM" work order.',
|
|
],
|
|
},
|
|
],
|
|
};
|
|
|
|
export function procedureFor(pm: string): Procedure {
|
|
return pm === "Backflow Preventers" || pm === "Domestic Backflow"
|
|
? BACKFLOW_PROCEDURE
|
|
: GENERIC_PROCEDURE;
|
|
}
|