/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.youchain.basicdata.service.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author dengjiangkun
* @date 2023-12-15
**/
@Data
public class ZcjxbDto implements Serializable {

    private Long id;

    /** 机械臂机台号 */
    private Integer code;

    /** ip地址 */
    private String ip;

    /** 端口号 */
    private Integer port;

    /** 通信类型 */
    private String communicationType;

    /** DB地址 */
    private Integer address;

    /** 数据长度 */
    private Integer dataLength;

    /** 偏移量-A返回空车 */
    private Integer offsetA1;

    /** 偏移量-B返回空车 */
    private Integer offsetB1;

    /** 偏移量-A叫料 */
    private Integer offsetA2;

    /** 偏移量-B叫料 */
    private Integer offsetB2;

    /** 偏移量-A车有料 */
    private Integer offsetA3;

    /** 偏移量-B车有料 */
    private Integer offsetB3;

    /** A车的地标点 */
    private String pointA1;

    /** B车的地标点 */
    private String pointB1;

    /** A车的物料 */
    private String itemA1;

    /** B车的物料 */
    private String itemB1;

    /** 是否启用 */
    private Boolean enabled;

    /** 创建人 */
    private String createBy;

    /** 更新人 */
    private String updateBy;

    /** 创建时间 */
    private Timestamp createTime;

    /** 更新时间 */
    private Timestamp updateTime;

    /** Modbus-tcp的任务是否结束 */
    private Boolean modbusTcpTaskFinish;

    /** Modbus-tcp对应的地标点 */
    private String modbusTcpPoint;

    /** Modbus-tcp对应的物料 */
    private String modbusTcpItem;

    /** a车点位是否有任务 */
    private Boolean taskOffOnA;

    /** b车点位是否有任务 */
    private Boolean taskOffOnB;

    /** 从机ID */
    private Integer modbusTcpSlaveid;
    /** 任务名称 */
    private String taskName;
    /** 读取的值 */
    private Integer readValue;

    /** 异常日志 */
    private String errorTxt;
}