My program ran fine,  but when I dragged the object properties to the console,  it returned the wrong value.It's very confusing.
Please help me,  thank you!

.h file
enum
{
    OBeamlampsGrid = 567678546,
    BEAM_LAMPS_GRID_PLANE = 1000,
    BEAM_LAMPS_GRID_PLANE_XZ = 0,
    BEAM_LAMPS_GRID_PLANE_ZY = 1,
    BEAM_LAMPS_GRID_PLANE_XY = 2,
    BEAM_LAMPS_BEAM_LENGTH = 1001,
    BEAM_LAMPS_ANGLE = 1002,
    BEAM_LAMPS_INTENSITY = 1003,
.....
.res file
CONTAINER OBeamlampsGrid {
    INCLUDE Obase;
    NAME OBeamlampsGrid;
    GROUP ID_OBJECTPROPERTIES {
        LONG BEAM_LAMPS_GRID_PLANE {
            CYCLE {
                BEAM_LAMPS_GRID_PLANE_XZ;
                BEAM_LAMPS_GRID_PLANE_ZY;
                BEAM_LAMPS_GRID_PLANE_XY;
            }
        }
        REAL BEAM_LAMPS_BEAM_LENGTH { DEFAULT 1500.0; CUSTOMGUI REALSLIDER; MIN 500.0; MAX 50000.0; MINSLIDER 500.0; STEP 100.0; UNIT METER; }
        REAL BEAM_LAMPS_ANGLE { DEFAULT 3.0; CUSTOMGUI REALSLIDER; MIN 3.0; MAX 35.0; MINSLIDER 1.0; MAXSLIDER 45.0; STEP 0.5; UNIT DEGREE; }
        REAL BEAM_LAMPS_INTENSITY { DEFAULT 1.0; CUSTOMGUI REALSLIDER; MIN 0.0; MINSLIDER 0.0; MAXSLIDER 100.0; STEP 1.0; UNIT PERCENT; }
...
.str file
STRINGTABLE OBeamlampsGrid {
    OBeamlampsGrid "Beam Lamps Grid";
    BEAM_LAMPS_GRID_PLANE "Plane";
        BEAM_LAMPS_GRID_PLANE_XZ "XZ";
        BEAM_LAMPS_GRID_PLANE_ZY "ZY";
        BEAM_LAMPS_GRID_PLANE_XY "XY";
    BEAM_LAMPS_BEAM_LENGTH "Beam Length";
    BEAM_LAMPS_ANGLE "Beam Angle";
    BEAM_LAMPS_INTENSITY "Beam Intensity";
...