BaoKai_202508-Wcs-Jingwang..../WCSIce/LKnoticeMode.cs
2025-08-24 12:51:29 +08:00

87 lines
1.6 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace WCS
{
public class RKnoticeMode
{
private string TrayNo;
public RKnoticeMode(string TrayNo)
{
this.TrayNo = TrayNo;
}
/// <summary>
/// 时间
/// </summary>
public string dDate
{
get
{
return DateTime.Now.ToString("yyyy-MM-dd");
}
}
/// <summary>
/// 托盘号
/// </summary>
public string cTrayNo
{
get
{
return TrayNo;
}
}
public override string ToString()
{
return JsonConvert.SerializeObject(this);
}
}
public class CKnoticeMode
{
public string dDate
{
get
{
return DateTime.Now.ToString("yyyy-MM-dd");
}
}
/// <summary>
/// 托盘号
/// </summary>
public string cTrayNo
{
get;
set;
}
/// <summary>
/// 未知字段
/// </summary>
public string cCode
{
get;
set;
}
/// <summary>
/// 任务标记ERP出的返回1WMS出的返回0
/// </summary>
public string cRdType
{
set;
get;
}
public override string ToString()
{
return JsonConvert.SerializeObject(this);
}
}
}