You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lj_plc/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/InterfaceDocking/LGusedEntity.cs

36 lines
898 B
C#

using Mesnac.Action.ChemicalWeighing.LjDevice;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mesnac.Action.ChemicalWeighing.InterfaceDocking
{
public class LGusedEntity
{
public LGusedEntity(int deCode, string used)
{
this.used = used;
factoryCode = "999";
deviceCode = "L" + deCode;
usedUnit = "公斤";
lgCreateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
createDate = DateTime.Now.ToString("yyyy-MM-dd");
}
public string factoryCode { get; set; }
public string deviceCode { get; set; }
public string usedUnit { get; set; }
public string lgCreateTime { get; set; }
public string createDate { get; set; }
public string used { get; set; }
}
}