dc/MQ/body/MachineDataBody.cs

43 lines
1.1 KiB
C#
Raw Normal View History

2022-04-01 17:03:54 +08:00
#region << >>
/*----------------------------------------------------------------
* Hupe
* 2021/10/19 16:26:51
* V1.0.0
*
* ----------------------------------------------------------------
*
*
*
* V1.0.1
*----------------------------------------------------------------*/
#endregion << >>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ARI.EAP.HOST.MQ.body
{
[Serializable]
public class MachineDataBody
{
public string spoolingFlag;
2022-07-27 14:46:20 +08:00
public string machineDataName;
2022-04-01 17:03:54 +08:00
public Dictionary<string,string> machineData;
2023-02-23 11:33:23 +08:00
private string _eventTimestamp;
public string eventTimestamp
{
get { return _eventTimestamp; }
set { _eventTimestamp = DateTime.Parse(value).ToString("s"); }
}
2022-04-01 17:03:54 +08:00
public MachineDataBody()
{
spoolingFlag = "0";
machineData = new Dictionary<string, string>();
}
}
}