CreateOrUpdateActionConfigurationCommand.cs 1.32 KB
using System.Collections.Generic;

namespace Rcs.Application.MessageBus.Commands;

public class CreateOrUpdateActionConfigurationCommand : MessageBase
{
    public string? ActionConfigId { get; set; }
    public int ActionCategory { get; set; }
    public string? ActionCategoryName { get; set; }
    public string Manufacturer { get; set; } = string.Empty;
    public int RobotType { get; set; }
    public string ActionName { get; set; } = string.Empty;
    public string? ActionDescription { get; set; }
    public string? ExecutionScope { get; set; }
    public int BlockingType { get; set; }
    public bool IsEnabled { get; set; } = true;
    public int SortOrder { get; set; }
    public string? Remarks { get; set; }
    public List<ActionParameterDto>? Parameters { get; set; }
}

public class ActionParameterDto
{
    public string? ParamId { get; set; }
    public string ParameterName { get; set; } = string.Empty;
    public int ParameterValueType { get; set; }
    public string? ParameterDescription { get; set; }
    public bool IsMandatory { get; set; }
    public string? DefaultValue { get; set; }
    public int? ParameterSourceType { get; set; }
    public string? ParameterSourcePath { get; set; }
    public string? ValueConstraints { get; set; }
    public string? Remarks { get; set; }
    public int SortOrder { get; set; }
}