File: WORKFLOW\TSetWidthCmd.cpp

    1 #include "workflow\TSetWidthCmd.h"
    2 
    3 TSetWidthCmd::TSetWidthCmd ( TCmdTag ct ) : TCmd(ct)
    4 {
    5         bNoMeasure = TRUE;
    6         mSetValue(Width, atof(ct.P3));
    7         eStep=  CReady;
    8 };
    9 
   10 void TSetWidthCmd::GetName ( LPSTR aName )
   11 {
   12         strcpy( aName, "SetWidth" );
   13 };
   14 
   15 bool TSetWidthCmd::GetShowData ( LPSTR buffer )
   16 {
   17         buffer[0] = 0;
   18         if ( eStep == CReady )
   19         {
   20                 #ifdef GermanVersion
   21                         sprintf(buffer, "\"SetWidth\"-Kommando erfolgreich.");
22 #else 23 sprintf(buffer, "\"SetWidth\"-Command ready.");
24 #endif 25 } 26 return true; 27 }; 28