weird display behaviour for enums
Created at 04 Apr 2024, 15:02
SH
weird display behaviour for enums
04 Apr 2024, 15:02
underscores in EnumNames trigger weird display behaviour of enums in Optimization.
/// <summary>
/// build robot
/// add symbol
/// select optimization
/// select the possibilities for Message
/// See the weird display behaviour
/// </summary>
using System;
using cAlgo.API;
namespace cAlgo.Robots
{
[Robot(AccessRights = AccessRights.None)]
public class _TEST_1 : Robot
{
[Parameter(DefaultValue = Tests.One)]
public Tests Message { get; set; }
public enum Tests { One, One_Half, Two, Two_Half }
}
}