..
This commit is contained in:
@@ -56,17 +56,25 @@ namespace AGVNavigationCore.Models
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 시작점 Point 반환
|
||||
/// 시작점 Point 반환 및 설정
|
||||
/// </summary>
|
||||
[Browsable(false)]
|
||||
[JsonIgnore]
|
||||
public Point StartPoint => new Point((int)P1.X, (int)P1.Y);
|
||||
public Point StartPoint
|
||||
{
|
||||
get => new Point((int)P1.X, (int)P1.Y);
|
||||
set { P1.X = value.X; P1.Y = value.Y; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 끝점 Point 반환
|
||||
/// 끝점 Point 반환 및 설정
|
||||
/// </summary>
|
||||
[Browsable(false)]
|
||||
[JsonIgnore]
|
||||
public Point EndPoint => new Point((int)P2.X, (int)P2.Y);
|
||||
public Point EndPoint
|
||||
{
|
||||
get => new Point((int)P2.X, (int)P2.Y);
|
||||
set { P2.X = value.X; P2.Y = value.Y; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,5 +33,9 @@ namespace AGVNavigationCore.Models
|
||||
[Category("위치 정보")]
|
||||
[Description("마크의 회전 각도")]
|
||||
public double Rotation { get; set; }
|
||||
|
||||
[Category("위치 정보")]
|
||||
[Description("마크의 길이")]
|
||||
public double Length { get; set; } = 20.0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user