using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Drawing.Drawing2D;
using System.Drawing;

namespace TrendCtrlII
{
    [TypeConverterAttribute(typeof(ExpandableObjectConverter))]
    public partial class CChinfo
    {
        public Dictionary<UInt32,float> Value;

        public String C1value { get; set; } = "";
        public String C2value { get; set; } = "";
        public UInt16 Idx { get; set; }    //트렌드뷰에서표시되고있는 인덱스값
        public Boolean Show { get; set; }
        public Color Color { get; set; }
        public int CH { get; set; }
        public String TITLE { get; set; }
        public String GROUP { get; set; }
       
        public CChinfo()
        {
            CH = 0;
            TITLE = "";
            GROUP = "";
            Value = new Dictionary<uint, float>();// List<Single>(0);
        }

        public override string ToString()
        {
            return $"{(Show ? "[O]" : "[X]")} GRP:{GROUP},CH:{CH},{TITLE},{Value.Count}건";
        }



    }
}
