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.
15 lines
322 B
15 lines
322 B
using HybirdFrameworkCore.Autofac.Attribute;
|
|
using HybirdFrameworkCore.Utils;
|
|
using HybirdFrameworkDriver.Common;
|
|
|
|
namespace Service.WaterCool.Msg;
|
|
|
|
public class BaseMsg: IToBytes
|
|
{
|
|
[Property(0, 32)] public UInt32 Id { get; set; }
|
|
|
|
public byte[] ToBytes()
|
|
{
|
|
return ModelConvert.Encode(this);
|
|
}
|
|
} |