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.

20 lines
451 B

using HybirdFrameworkCore.Autofac.Attribute;
using Newtonsoft.Json;
using Service.Cloud.Common;
using Service.Cloud.Msg.Cloud.Req;
namespace Service.Cloud.Handler;
[Scope("InstancePerDependency")]
public class AmtBatHandler : IBaseHandler
{
public void Handle(string t)
{
AmtBat? amtBat = JsonConvert.DeserializeObject<AmtBat>(t);
}
public bool CanHandle(string cmd)
{
return CloudConst.amtBat == cmd;
}
}