[성현모] CPMeta 라이브러리, 예제 추가
This commit is contained in:
59
Projects/NetStandard/CPMeta/Models/Wbms.cs
Normal file
59
Projects/NetStandard/CPMeta/Models/Wbms.cs
Normal file
@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CPMeta.Models
|
||||
{
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user