public void GetPosition(object p)
        {
            switch (p.ToString())
            {
            case "1":
                Position1 = (double)ActPos1.Value;
                Inifile.INIWriteValue(iniPosition, "Axis1", "Position1", Position1.ToString());
                break;

            case "2":
                Position2 = (double)ActPos1.Value;
                Inifile.INIWriteValue(iniPosition, "Axis1", "Position2", Position2.ToString());
                break;

            case "3":
                Position3 = (double)ActPos1.Value;
                Inifile.INIWriteValue(iniPosition, "Axis1", "Position3", Position3.ToString());
                break;

            case "4":
                Position4 = (double)ActPos1.Value;
                Inifile.INIWriteValue(iniPosition, "Axis1", "Position4", Position4.ToString());
                break;

            case "5":
                Position5 = (double)ActPos1.Value;
                Inifile.INIWriteValue(iniPosition, "Axis1", "Position5", Position5.ToString());
                break;
            }
        }
예제 #2
0
        //public NavMeshAABB AABB1 { get; set; }
        //public NavMeshAABB AABB2 { get; set; }

        public override string ToString()
        {
            return(Unknown_00h.ToString() + ", " +
                   Position1.ToString() + ", " + Position2.ToString() + ", " +
                   Unknown_10h.ToString() + ", " + Unknown_12h.ToString() + ", " +
                   Unknown_14h.ToString() + ", " + Unknown_16h.ToString() + ", " +
                   Unknown_18h.ToString() + ", " + Unknown_1Ah.ToString());
            //AABB1.ToString() + ", " + AABB2.ToString();
        }