package com.its.vms.xnettcp.vms.protocol.dto;

import lombok.Data;

@Data
public abstract class VmsFormObj {

    private int objType;
    private int objSize;
    private int blinking;
    private int posX;
    private int posY;
    private int txtBkClr;

    public VmsFormObj(int objType, int objSize, int blinking, int posX, int posY, int txtBkClr) {
        this.objType = objType;
        this.objSize = objSize;
        this.blinking = blinking;
        this.posX = posX;
        this.posY = posY;
        this.txtBkClr = txtBkClr;
    }

    public abstract void calSize();

    protected void setSize(int objSize) {
        this.objSize = objSize;
    }
}
