// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using System;
using System.Collections.Generic;

namespace PVDEMCS.Services.Models;

/// <summary>
/// PLC控制器
/// </summary>
public partial class DeviceInfo
{
    public string Id { get; set; }

    /// <summary>
    /// 控制器编号
    /// </summary>
    public string DeviceCode { get; set; }

    /// <summary>
    /// 控制器名称
    /// </summary>
    public string DeviceName { get; set; }

    /// <summary>
    /// 控制器状态,1：启用，0：停用
    /// </summary>
    public bool Activated { get; set; }

    /// <summary>
    /// 控制器协议:PLC,HTTP,Socket
    /// </summary>
    public string Protocol { get; set; }

    /// <summary>
    /// 控制器主机地址
    /// </summary>
    public string Host { get; set; }

    /// <summary>
    /// 控制器主机端口
    /// </summary>
    public int Port { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }

    /// <summary>
    /// 设备连接状态
    /// </summary>
    public Boolean isConnected { get; set; }

}