[성현모] Web.Operation CPMeta 기능 추가

This commit is contained in:
SHM
2025-11-03 14:27:54 +09:00
parent d6c033f149
commit 8198f0b7bb
14 changed files with 384 additions and 5 deletions

View File

@ -0,0 +1,55 @@
namespace Web.Operation.Packet
{
public class Request_SetWbmsMeta
{
//pk
public string ProductID { get; set; } = string.Empty;
//uk
public string MacAddress1 { get; set; } = string.Empty;
public string MacAddress2 { get; set; } = string.Empty;
//value
public string Type { get; set; } = string.Empty;
public string ProductNo { get; set; } = string.Empty;
public string SpareValue { get; set; } = string.Empty;
public int ShardID { get; set; } = 1;
}
public class Response_SetWbmsMeta
{
public string ProductID { get; set; } = string.Empty;
public string Result { get; set; } = string.Empty;
public string Message { get; set; } = string.Empty;
}
public class Request_GetWbmsMetaByProductID
{
public string ProductID { get; set; } = string.Empty;
public int ShardID { get; set; } = 1;
}
public class Request_GetWbmsMetaByMacAddress
{
public string MacAddress { get; set; } = string.Empty;
public int ShardID { get; set; } = 1;
}
public class Response_GetWbmsMeta
{
public List<tWbms> Wbms { get; set; }
public string Result { get; set; } = string.Empty;
public string Message { get; set; } = string.Empty;
}
public class tWbms
{
public string cProductID { get; set; } = null;
public string cMacAddress1 { get; set; }
public string cMacAddress2 { get; set; }
public string cType { get; set; }
public string cProductNo { get; set; }
public string cSpareValue { get; set; }
public DateTime cDateTime { get; set; }
}
}