23 lines
540 B
C#
23 lines
540 B
C#
namespace RobotNet.RobotShares.Dtos;
|
|
|
|
public enum TrafficLockedShapeType
|
|
{
|
|
None,
|
|
Circle,
|
|
Rectangle,
|
|
Polygon
|
|
}
|
|
public class TrafficLockedShapeDto
|
|
{
|
|
public TrafficLockedShapeType Type { get; set; }
|
|
public double Radius { get; set; }
|
|
public double X1 { get; set; }
|
|
public double Y1 { get; set; }
|
|
public double X2 { get; set; }
|
|
public double Y2 { get; set; }
|
|
public double X3 { get; set; }
|
|
public double Y3 { get; set; }
|
|
public double X4 { get; set; }
|
|
public double Y4 { get; set; }
|
|
}
|