@company-manager/docs

Equipment Lifecycle

Asset management, maintenance tracking, and warranty diagrams

Equipment Lifecycle

This page covers equipment and asset management including maintenance schedules and warranty tracking.

Equipment State Machine

stateDiagram-v2
    [*] --> PROCUREMENT: Purchase/Acquire

    PROCUREMENT --> INSTALLATION: Deliver to Site
    INSTALLATION --> ACTIVE: Commission

    ACTIVE --> MAINTENANCE: Scheduled Maintenance
    MAINTENANCE --> ACTIVE: Maintenance Complete

    ACTIVE --> REPAIR: Breakdown
    REPAIR --> ACTIVE: Repair Complete
    REPAIR --> DECOMMISSIONED: Beyond Repair

    ACTIVE --> DECOMMISSIONED: End of Life
    DECOMMISSIONED --> DISPOSED: Dispose
    DECOMMISSIONED --> REPLACED: Replace

    DISPOSED --> [*]
    REPLACED --> [*]

    note right of ACTIVE
        Normal operation
        Generating value
    end note

    note right of MAINTENANCE
        Preventive care
        Scheduled downtime
    end note

Asset Registration Flow

flowchart TD
    RECEIVE[Receive Equipment] --> INSPECT[Initial Inspection]
    INSPECT --> REGISTER[Register in System]

    REGISTER --> DETAILS[Enter Details]
    DETAILS --> SERIAL[Serial Number]
    DETAILS --> MODEL[Model/Type]
    DETAILS --> SPECS[Specifications]
    DETAILS --> PURCHASE[Purchase Info]

    SERIAL --> WARRANTY[Register Warranty]
    WARRANTY --> SCHEDULE[Create Maintenance Schedule]
    SCHEDULE --> ASSIGN[Assign to Location/Customer]

    ASSIGN --> INSTALL[Schedule Installation]
    INSTALL --> COMMISSION[Commission Equipment]
    COMMISSION --> ACTIVE[Active Status]

    style ACTIVE fill:#e8f5e9

Maintenance Schedule Types

flowchart TD
    subgraph "Preventive Maintenance"
        PM_TIME[Time-Based]
        PM_USE[Usage-Based]
        PM_COND[Condition-Based]
    end

    subgraph "Time-Based"
        PM_TIME --> DAILY[Daily Checks]
        PM_TIME --> WEEKLY[Weekly Service]
        PM_TIME --> MONTHLY[Monthly Inspection]
        PM_TIME --> ANNUAL[Annual Overhaul]
    end

    subgraph "Usage-Based"
        PM_USE --> HOURS[Operating Hours]
        PM_USE --> CYCLES[Cycle Count]
        PM_USE --> DISTANCE[Distance/Mileage]
    end

    subgraph "Condition-Based"
        PM_COND --> IOT[IoT Sensors]
        PM_COND --> VIBRATION[Vibration Analysis]
        PM_COND --> THERMAL[Thermal Imaging]
    end

Maintenance Workflow

sequenceDiagram
    participant Scheduler as Maintenance Scheduler
    participant System as System
    participant DB as Database
    participant Tech as Technician
    participant Asset as Equipment

    Note over Scheduler: Check maintenance due

    Scheduler->>DB: Query equipment due for service
    DB-->>Scheduler: Equipment list

    loop For each equipment
        Scheduler->>System: Create maintenance work order
        System->>DB: Save work order
        System->>System: Assign technician

        Tech->>System: Acknowledge assignment
        Tech->>Asset: Perform maintenance

        loop Maintenance checklist
            Tech->>System: Complete checklist item
            Tech->>System: Record measurements
        end

        Tech->>System: Complete work order
        System->>DB: Update equipment record
        System->>DB: Schedule next maintenance
    end

Warranty Management

flowchart TD
    PURCHASE[Equipment Purchased] --> WARRANTY[Warranty Registered]

    WARRANTY --> TRACK[Track Warranty Period]
    TRACK --> CHECK{Issue Occurs}

    CHECK -->|Within Warranty| CLAIM[Create Warranty Claim]
    CHECK -->|Expired| BILLABLE[Billable Service]

    CLAIM --> VALIDATE[Validate Claim]
    VALIDATE --> COVERED{Covered?}

    COVERED -->|Yes| APPROVE[Approve Claim]
    COVERED -->|No| DENY[Deny - Customer Pays]

    APPROVE --> REPAIR[Repair Under Warranty]
    REPAIR --> CLOSE[Close Claim]

    DENY --> BILLABLE

    subgraph "Warranty Alerts"
        TRACK --> ALERT1[30 Days Before Expiry]
        ALERT1 --> ALERT2[7 Days Before Expiry]
        ALERT2 --> EXPIRED[Warranty Expired]
    end

    style APPROVE fill:#e8f5e9
    style DENY fill:#ffebee

Equipment Health Monitoring

flowchart TD
    subgraph "Data Sources"
        SENSOR[IoT Sensors]
        MANUAL[Manual Readings]
        SERVICE[Service History]
    end

    subgraph "Analysis"
        SENSOR --> COLLECT[Collect Data]
        MANUAL --> COLLECT
        SERVICE --> COLLECT

        COLLECT --> ANALYZE[Analyze Trends]
        ANALYZE --> SCORE[Calculate Health Score]
    end

    subgraph "Health Score"
        SCORE --> LEVEL{Score Level}
        LEVEL -->|90-100| EXCELLENT[Excellent]
        LEVEL -->|70-89| GOOD[Good]
        LEVEL -->|50-69| FAIR[Fair - Monitor]
        LEVEL -->|< 50| POOR[Poor - Action Needed]
    end

    subgraph "Actions"
        FAIR --> SCHEDULE_PM[Schedule Preventive]
        POOR --> URGENT[Urgent Intervention]
    end

    style EXCELLENT fill:#c8e6c9
    style POOR fill:#ffcdd2

Asset Depreciation

flowchart LR
    subgraph "Depreciation Methods"
        STRAIGHT[Straight Line]
        DECLINING[Declining Balance]
        UNITS[Units of Production]
    end

    subgraph "Calculation"
        COST[Original Cost]
        SALVAGE[Salvage Value]
        LIFE[Useful Life]

        COST --> CALC[Calculate Annual Depreciation]
        SALVAGE --> CALC
        LIFE --> CALC
    end

    subgraph "Tracking"
        CALC --> BOOK[Book Value]
        BOOK --> REPORT[Financial Reports]
    end

Equipment ERD

erDiagram
    EQUIPMENT ||--o{ EQUIPMENT_MAINTENANCE : has
    EQUIPMENT ||--o{ EQUIPMENT_READING : records
    EQUIPMENT }o--|| EQUIPMENT_MODEL : is_type

    CUSTOMER_ASSET ||--o{ ASSET_MAINTENANCE : has
    CUSTOMER_ASSET ||--o{ ASSET_WARRANTY : covered_by
    CUSTOMER_ASSET ||--o{ ASSET_READING : records

    EQUIPMENT {
        string id PK
        string tenantId FK
        string modelId FK
        string serialNumber
        string name
        enum status
        timestamp purchaseDate
        decimal purchaseCost
        timestamp installDate
        string locationId FK
        json specifications
    }

    EQUIPMENT_MAINTENANCE {
        string id PK
        string equipmentId FK
        enum maintenanceType
        timestamp scheduledDate
        timestamp completedDate
        string technicianId FK
        text workPerformed
        decimal cost
    }

    ASSET_WARRANTY {
        string id PK
        string assetId FK
        string warrantyType
        timestamp startDate
        timestamp endDate
        string provider
        json terms
        enum status
    }

Disposal Process

flowchart TD
    EOL[End of Life Decision] --> ASSESS[Assess Equipment]

    ASSESS --> OPTIONS{Disposal Option}
    OPTIONS --> SELL[Sell]
    OPTIONS --> DONATE[Donate]
    OPTIONS --> RECYCLE[Recycle]
    OPTIONS --> DISPOSE[Dispose]

    SELL --> APPRAISE[Get Appraisal]
    APPRAISE --> LIST[List for Sale]
    LIST --> TRANSFER[Transfer Ownership]

    DONATE --> DOCUMENT[Document Donation]
    DOCUMENT --> TAX[Tax Documentation]

    RECYCLE --> CERTIFY[Certified Recycler]
    CERTIFY --> CERTIFICATE[Disposal Certificate]

    DISPOSE --> SECURE[Secure Disposal]
    SECURE --> CERTIFICATE

    TRANSFER --> REMOVE[Remove from System]
    TAX --> REMOVE
    CERTIFICATE --> REMOVE

    REMOVE --> ARCHIVE[Archive Records]

    style REMOVE fill:#fff3e0