package com.ffii.fpsms.modules.jobOrder.web.model

data class PrintRequest(
    val itemCode: String,
    val itemName: String,
    val lotNo: String,
    val expiryDate: String,
    val printerIp: String,
    val printerPort: Int
)

data class LaserRequest(
    val templateId: String,   // The name of the file on the laser controller
    val itemCode: String,
    val itemName: String,
    val lotNo: String,
    val expiryDate: String,
    val power: String,        // Laser intensity (0-100)
    val speed: String,        // Marking speed
    val printerIp: String,
    val printerPort: Int
)

data class Laser2Request(
    val printerIp: String,
    val printerPort: String,
    val templateId: String? = null,      // 原有欄位（如果有）

    // 給 HANS600S-M TCP 用的欄位（必須有）
    val textChannel3: String? = null,
    val textChannel4: String? = null,
    val text3ObjectName: String? = "Text3",
    val text4ObjectName: String? = "Text4"
)