iotgateway/Plugins/PluginInterface/RpcResponse.cs

21 lines
555 B
C#
Raw Normal View History

2022-04-13 09:01:24 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PluginInterface
{
public class RpcResponse
{
public string RequestId { get; set; }
public string DeviceName { get; set; }
public bool IsSuccess { get; set; }
public string Description { get; set; }
public override string ToString()
{
return $"RequestId:{RequestId},DeviceName:{DeviceName},IsSuccess:{IsSuccess},Description:{Description}";
}
}
}