using Grasshopper.Kernel;
using System;
using System.Collections.Generic;
using System.Runtime.Versioning;

namespace FeMM.Grasshopper.Components.MeCheck2
{
#if NETCOREAPP
    [SupportedOSPlatform("windows")]
#endif
    public class PrintCheckImageMeCheckTaubComponentV2 : PrintCheckImageMeCheckTaubComponentBase
    {
        public PrintCheckImageMeCheckTaubComponentV2()
          : base()
        {
        }

        public override GH_Exposure Exposure => GH_Exposure.tertiary;

        /// <summary>
        /// Gets the unique ID for this component. Do not change this ID after release.
        /// </summary>
        public override Guid ComponentGuid => new("7f34d5c1-52fa-4591-bcdf-5ec9f7f7e3c1");

        protected override void GetInputMarks(IGH_DataAccess DA, ref int nnn, ref bool showMarks, List<double> customMarks)
        {
            DA.GetData(nnn++, ref showMarks);
            DA.GetDataList(nnn++, customMarks);
        }

        protected override void RegisterInputMarks(GH_InputParamManager pManager)
        {
            pManager.AddBooleanParameter("Show Marks", "SM", "If true, show vertical marks and X-axis ticks/labels", GH_ParamAccess.item, true);
            pManager.AddNumberParameter("Mark Positions", "MP", "Optional list of X positions (in model units) where marks should appear", GH_ParamAccess.list);
            pManager[pManager.ParamCount - 1].Optional = true;
        }
    }
}
303 files24 directories