DeviceEntity.cs 767 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HHWCS.Model
{
    public class DeviceEntity
    {
        public int Id { get; set; }

        public string Code { get; set; }

        public string Name { get; set; }

        public int Type { get; set; }

        public string IP { get; set; }

        public string S7_Connect { get; set; }

        public string GroupName { get; set; }

        public int DeviceTypeId { get; set; }

        public bool? Enable { get; set; }

        public int Roadway { get; set; }

        public int SelfAddress { get; set; }

        public override string ToString()
        {
            return this.Code+" "+this.Name;
        }
    }
}