public ProgramJournal(
     Detail detail,
     string whatsDone,
     Machine machine,
     double programTime,
     string actNum,
     DateTime actDate,
     ActStatus actStatus,
     Coworker programmer,
     TPStatus tpStatus,
     bool setupCard,
     bool project,
     bool program,
     bool annuled,
     string pathToAct,
     string note) : this()
 {
     Detail      = detail;
     WhatsDone   = whatsDone;
     Machine     = machine;
     ProgramTime = programTime;
     ActNumber   = actNum;
     ActDate     = actDate;
     ActStatus   = actStatus;
     Programmer  = programmer;
     TPStatus    = tpStatus;
     SetupCard   = setupCard;
     Project     = project;
     Program     = program;
     Annuled     = annuled;
     PathToAct   = pathToAct;
     Notes       = note;
 }
Beispiel #2
0
        private void callback(
			TPStatus status,
			int nPercent,
			string str1,
			string str2 )
        {
            /*
            if ( !_controlSync.IsDisposed && _controlSync.IsHandleCreated )
                try
                {
                    _controlSync.Invoke(
                        _tp,
                        status,
                        nPercent,
                        str1,
                        str2 );
                }
                catch
                {
                }
             * */
            _tp(
                status,
                nPercent,
                str1,
                str2 );
        }