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(); } 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 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; } } }