00001 //: xrcarbon.h 00015 #if defined (__GNUG__) 00016 #pragma interface "xrcarbon.h" 00017 #endif 00018 00019 #ifndef xrcarbon_h 00020 #define xrcarbon_h 00021 00022 #include <wx/wxprec.h> 00023 00024 #ifdef __BORLANDC__ 00025 #pragma hdrstop 00026 #endif 00027 00028 #ifndef WX_PRECOMP 00029 #include <wx/wx.h> 00030 #endif 00031 00032 #include "xrxps.h" 00033 00035 00037 class xrIsCarbonXPresent : public xpRuleXPS 00038 { 00039 public: 00041 xrIsCarbonXPresent( xpAgent *MyAgent=NULL); 00043 xpRuleGeneric Fire(void); 00044 };// of xrIsCarbonXPresent 00045 00047 00049 class xrIsCarbonAugerPresent : public xpRuleXPS 00050 { 00051 public: 00053 xrIsCarbonAugerPresent( xpAgent *MyAgent=NULL); 00055 xpRuleGeneric Fire(void); 00056 };// of xrIsCarbonAugerPresent 00057 00059 00061 class xrIsRutheniumPresent : public xpRuleXPS 00062 { 00063 public: 00065 xrIsRutheniumPresent( xpAgent *MyAgent=NULL); 00067 xpRuleGeneric Fire(void); 00068 };// of xrIsRutheniumPresent 00069 00071 00080 class xrHasCarbon1sPeak : public xpRuleXPS 00081 { 00082 public: 00084 xrHasCarbon1sPeak( xpAgent *MyAgent=NULL); 00086 xpRuleGeneric Fire(void); 00087 };// of xrHasCarbon1sPeak 00088 00090 00092 class xrIsCarbon1sPeak : public xpRuleXPS 00093 { 00094 public: 00096 xrIsCarbon1sPeak( xpAgent *MyAgent=NULL); 00098 xpRuleGeneric Fire(void); 00099 };// of xrIsCarbon1sPeak 00100 00102 00105 class xrDoesSampleContainCarbon : public xpRuleXPS 00106 { 00107 public: 00109 xrDoesSampleContainCarbon( xpAgent *MyAgent=NULL); 00111 xpRuleGeneric Fire(void); 00112 };// of xrDoesSampleContainCarbon 00113 00114 00116 00119 class xrDoMarkCarbon1s : public xpRuleXPS 00120 { 00121 public: 00123 xrDoMarkCarbon1s( xpAgent *MyAgent=NULL); 00125 xpRuleGeneric Fire(void); 00126 };// of xrDoMarkCarbon1s 00127 00129 class xrIsCarbonEnergySeparationOK : public xpRuleXPS 00130 { 00131 public: 00133 xrIsCarbonEnergySeparationOK( xpAgent *MyAgent=NULL, float Low = 15, float High = 20); 00135 xpRuleGeneric Fire(void); 00136 protected: 00137 float LowLimit; 00138 float HighLimit; 00139 };// of xrIsCarbonEnergySeparationOK 00140 00141 00143 class xrIsCarbonShirleyTailHigh : public xpRuleXPS 00144 { 00145 public: 00147 xrIsCarbonShirleyTailHigh( xpAgent *MyAgent=NULL, float TailThreshold = 0.1); 00149 xpRuleGeneric Fire(void); 00150 protected: 00151 float ShirleyThreshold; 00152 };// of xrIsCarbonShirleyTailHigh 00153 00155 class xrIsCarbonPostPeakSlopeBiggest : public xpRuleXPS 00156 { 00157 public: 00159 xrIsCarbonPostPeakSlopeBiggest( xpAgent *MyAgent=NULL); 00161 xpRuleGeneric Fire(void); 00162 };// of xrIsCarbonPostPeakSlopeBiggest 00163 00165 class xrIsCarbonAngleRatioBiggest : public xpRuleXPS 00166 { 00167 public: 00169 xrIsCarbonAngleRatioBiggest( xpAgent *MyAgent=NULL); 00171 xpRuleGeneric Fire(void); 00172 };// of xrIsCarbonAngleRatioBiggest 00173 00174 00176 class xrIsCarbonContaminationConsensus : public xpRuleXPS 00177 { 00178 public: 00180 xrIsCarbonContaminationConsensus( xpAgent *MyAgent=NULL, float Low = 25.0, float High = 70.0); 00182 xpRuleGeneric Fire(void); 00183 protected: 00184 float LowLimit; 00185 float HighLimit; 00186 };// of xrIsCarbonContaminationConsensus 00187 00188 /* 00189 Is_Carbide(Specimen) 00190 OR Is_Known_Carbon(Specimen) 00191 */ 00192 00193 #endif //xrcarbon_h