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/LjMixFormula/LjMixView.cs

65 lines
1.3 KiB
C#

1 year ago
using System;
using System.Collections.Generic;
namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
{
public class LjMixView
{
public LjMixView()
{
this.Id = Guid.NewGuid().ToString("N");
Data = new List<LjMixDetailView>();
}
public string Id { get; set; }
public string Name { get; set; }
public DateTime CreateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string Remark { get; set; }
public int DeviceUnitId { get; set; }
public string DeviceUnitName { get; set; }
public void AddData(LjMixDetailView detailView)
{
this.Data.Add(detailView);
}
public IList<LjMixDetailView> Data { get; set; }
}
public class LjMixDetailView
{
public int Id { get; set; }
public string MixId { get; set; }
public int ActionId { get; set; }
public string ActionName { get; set; }
public int SecondTime { get; set; }
public float Temperature { get; set; }
public float Speed { get; set; }
public float Weight { get; set; }
public float Difference { get; set; }
public string Remark { get; set; }
}
}