You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
682 B
25 lines
682 B
using System;
|
|
using CoreAgent.Domain.Models.Common;
|
|
using MediatR;
|
|
|
|
namespace CoreAgent.Application.Commands.RanAPI;
|
|
|
|
/// <summary>
|
|
/// 设置所有端口发送增益命令
|
|
/// </summary>
|
|
public class SetAllTxGainCommand : IRequest<ApiActionResult<bool>>
|
|
{
|
|
/// <summary>
|
|
/// 所有端口的增益值数组,按端口顺序排列
|
|
/// </summary>
|
|
public double[] GainValues { get; }
|
|
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="gainValues">所有端口的增益值数组</param>
|
|
public SetAllTxGainCommand(double[] gainValues)
|
|
{
|
|
GainValues = gainValues ?? throw new ArgumentNullException(nameof(gainValues));
|
|
}
|
|
}
|
|
|