| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 | using System;using InABox.Core;namespace Comal.Classes{    [Caption("Manufacturing History")]    [UserTracking(typeof(ManufacturingPacket))]    public class ManufacturingHistory : Entity, IRemotable, IPersistent, IOneToMany<ManufacturingPacket>, ILicense<ManufacturingLicense>    {        [SecondaryIndex]        public DateTime Date { get; set; }        public EmployeeLink Employee { get; set; }        //[NullEditor]        //public SetoutLink Setout { get; set; }        //[NullEditor]        //public JobLink Job { get; set; }        [NullEditor]        public ManufacturingPacketLink Packet { get; set; }        [NullEditor]        public ManufacturingLostTimeLink LostTime { get; set; }        public string Description { get; set; }        public ManufacturingSectionLink Section { get; set; }        [IntegerEditor(Editable = Editable.Hidden)]        public int Station { get; set; }        [TimeOfDayEditor]        public TimeSpan QADuration { get; set; }        [NullEditor]        public int QACompleted { get; set; }        [TimeOfDayEditor]        public TimeSpan WorkDuration { get; set; }        public int WorkCompleted { get; set; }        [NullEditor]        public TimeSpan Window { get; set; }        public ActivityLink Activity { get; set; }        public ManufacturingHistorySummaryLink Summary { get; set; }        public string Breakdown { get; set; }        protected override void Init()        {            base.Init();            Employee = new EmployeeLink();            //Setout = new SetoutLink();            Packet = new ManufacturingPacketLink();            Description = "";            Section = new ManufacturingSectionLink();            //Job = new JobLink();            Summary = new ManufacturingHistorySummaryLink();            LostTime = new ManufacturingLostTimeLink();            Activity = new ActivityLink();        }    }}
 |