using Ropin.Inspection.Model.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ropin.Inspection.Model.ViewModel.DEV
{
    public class DEV_DevOpeAccountConfigModel:BaseViewModel
    {
        public string C_ID { get; set; }
        public string C_DevStoreCode { get; set; }
        public string C_Config { get; set; }
        public string C_Remark { get; set; }
        public Guid C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
    }
    public class TdevDevOpeAccountConfigViewModel
    {
        public IEnumerable<RunSpotConfig> RunSpotConfigList { get; set; }
    }
    public class RunSpotConfig
    {
        public string Label { get; set; }
        public string Name { get; set; }
        public string Value { get; set; }
        //是否读取设备点
        public bool BReadDevSpot { get; set; }

        //设备点ID
        public string DevSpotId { get; set; }
        public string DevSpotName { get; set; }
        public string DevSpotGroupName { get; set; }
        public string DevSpotUnitName { get; set; }
        public string DevSpotBoxNo { get; set; }
    }


    public class TdevDevOpeAccountConfigNameViewModel
    {
        public IEnumerable<RunSpotConfigName> RunSpotConfigList { get; set; }
    }
    public class RunSpotConfigName
    {
        public string Label { get; set; }
        public string Name { get; set; }
        public bool BReadDevSpot { get; set; }
    }
}