12 lines
241 B
C#
12 lines
241 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace RobotNet.RobotShares.Models;
|
|
|
|
public class RobotRotateModel
|
|
{
|
|
public string RobotId { get; set; } = string.Empty;
|
|
|
|
[Range(-180, 180)]
|
|
public double Angle { get; set; }
|
|
}
|