package org.wcs.model.bo.etag;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import org.wcs.constant.enums.etag.LedBlinkingEnum;
import org.wcs.constant.enums.etag.LedColorEnum;

/**
 * 点亮标签参数
 */
@Getter
@Builder
public class EtagLightParams {

    /**
     * 标签种类
     */
    private String tagName;

    /**
     * 标签ID
     */
    @Setter
    private byte tagId;

    /**
     * 标签值
     */
    @Builder.Default
    private String tagValue = "888";

    /**
     * 显示标签字符串
     */
    @Builder.Default
    private String tagString = "未设置文本";

    /**
     * 闪烁频率
     */
    @Builder.Default
    private LedBlinkingEnum ledBlinking = LedBlinkingEnum.BLINKING_0_25;

    /**
     * 灯颜色
     */
    @Builder.Default
    private LedColorEnum ledColor = LedColorEnum.GREEN;



    @Override
    public String toString() {
        return "EtagLightParams{" +
                "tagName='" + tagName + '\'' +
                ", tagId=" + tagId +
                ", tagValue='" + tagValue + '\'' +
                ", tagString='" + tagString + '\'' +
                ", ledBlinking=" + ledBlinking +
                ", ledColor=" + ledColor +
                '}';
    }


}
