File: WORKFLOW\M_STEERG.CPP

    1 // (C) 1994 by Heiko Damerow MPG AG "Roentgenbeugung"
    2 //#############################################################################
    3 //                                                                           //
    4 // M_STEERG.CPP                                                              //
    5 //                                                                           //
    6 // Subsystem : Ablaufsteuerung - Makroverarbeitung, Kommandos                //
    7 // Deklaration: WORKFLOW.H, M_STEERG.H                                       //
    8 //---------------------------------------------------------------------------//
    9 // letzte Bearbeitung: Thomas Kullmann, Günther Reinecker                    //
   10 // Stand:   27.07.2002                                                       //
   11 //                                                                           //
   12 //#############################################################################
   13 //## Diese Kommentare (mit zwei Doppelkreuzen) sind von Marlies Gollnick ~:)
   14 
   15 #include "internls\evrythng.h" // GermanVersion
   16 #include "winresrc\rc_def.h"   // Ressourcen-IDs
   17 #pragma hdrstop
   18 
   19 //#include "datavisa\datavisa.h"
   20 #include "motrstrg\motrstrg.h"
   21 //#include "difrkmty\difrkmty.h"
   22 
   23 #include "workflow\workflow.h"
   24 #include "workflow\m_steerg.h"
   25 
   26 #include "workflow\TCmd.h"
   27 #include "workflow\TChooseAxisCmd.h"
   28 #include "workflow\TGotoIntensityCmd.h"
   29 #include "workflow\TChooseDetectorCmd.h"
   30 #include "workflow\TLoadPointCmd.h"
   31 #include "workflow\TMoveToPointCmd.h"
   32 #include "workflow\TSetWidthCmd.h"
   33 #include "workflow\TGotoIntensityCmd.h"
   34 #include "workflow\TShowValueCmd.h"
   35 #include "workflow\TCalculateCmd.h"
   36 #include "workflow\TScanCmd.h"
   37 
   38 //--||--\\--||--//--||--\\--||--//--||--\\--||--//--||--\\--||--//--||--\\--||--
   39 
   40 //#############################################################################
   41 // global Data
   42 //#############################################################################
   43 
   44 extern TMain Main; // in MAIN.CPP deklariertes Hauptprogramm
   45 
   46 // Modul-Instance
   47 
   48 // Weiterführung der Bewegung nach ca. 6 Sekunden; 30 * 200= 60.000
   49 const UINT TSteering::nAskTicks= 30; // Pausierung der Kommandoverarbeitung [in Millisek.]
   50 //static  const int     nMaxAskNumber= 200;
   51 
   52 //bestimmt wie viele Elemente maximal in dDistance und fIntensity enthalten sein sollen
   53 const UINT TGotoIntensityCmd::nLifo= 3;
   54 const UINT TGotoPeakCmd::nLifo= 3;
   55 const UINT TControlFlankCmd::nLifo= 4;
   56 
   57