#ifndef LOGIC_H
#define LOGIC_H
//#pragma push_macro("_WINSOCKAPI_")
//#ifndef _WINSOCKAPI_
//#define _WINSOCKAPI_
//#endif
#include <algorithm>
using std::min;
using std::max;
#include <WinSock2.h>
#include "base.h"
#include "logic_compdef.h"
#include "logic_local_def.h"
#include "logic_eap.h"
#include "logic_io_define.h"
#include "cmallsystem.h"
#include "logic_compdef.h"
#include "logic_local_def.h"
#include "logic_eap.h"
#include "cmotor.h"
#include "cmotordriver.h"
#include "claser.h"
#include "claserdriver.h"
#include "ccam.h"
#include "ccamdriver.h"
#include "claserpath.h"
#include "cworker.h"
#include "cworktabledriver.h"
#include "secsmanager.h"

#include "cproductside.h"
#include "cmproduct.h"
#include "cmproduct.h"
#include "cmworktabledriver.h"

#include "cprocess_trans.h"
#include "cprocess_clean.h"
#include "cprocess_level.h"
#include "cprocess_coat.h"
#include "cprocess_cut.h"
#include "cprocess_utils.h"
#include "cjig_driver.h"
#include "ccritical_res_manager.h"
#include "macro_def.h"

//
//#include "caffinetrans.h"
//#include "cmcam.h"
//#include "cmcamdriver.h"
//
//#include "cablob_h.h"
//#include "cafindcircle_h.h"
//#include "cafindeage_h.h"
//#include "camatchncc_h.h"
//#include "camatchshape_h.h"
//#include "camorphology_h.h"
//
//#include "cmallsystem.h"
//
//#include "cworker.h"
//#include "cworkerdriver.h"
//
//#include "cmotor.h"
//#include "cmotordriver.h"
//
//#include "cmworktable.h"
//#include "cmworktabledriver.h"
//
//#include "cmakepath.h"
//
//#include "cmproduct.h"
//#include "cmproductdriver.h"
//
//#include "cmeashead.h"
//#include "cmeasheaddriver.h"
//
//#include "claser.h"
//#include "claserbase.h"
//#include "claserdriver.h"
//#include "claserdriver_base.h"
//
//#include "claserpath.h"
//#include "claserpathdriver.h"
//
//#include "cmotordriver_acs.h"
//
//#include "ccassette.h"
//#include "ccassettedriver.h"
//
//#include "cproductside.h"
//#include "cproductsidedriver.h"
//
//#include "clight.h"
//#include "clightdriver.h"
//#include "clightdriver_gr.h"
//
//#include "cpowermeterdriver_analog.h"
//#include "cpowermeter.h"
//#include "cpowermeterdriver.h"
//
//#include "cprocess_coatclean.h"
//#include "cprocess_clean.h"
//#include "cprocess_coat.h"
//#include "cprocess_cut.h"
//#include "cprocess_kerf.h"
//#include "cprocess_laserfoucscali.h"
//#include "cprocess_laserpowercali.h"
//#include "cprocess_level.h"
//#include "cprocess_locate.h"
//#include "cprocess_trans.h"
//#include "cprocess_halfcutkerf.h"
//#include "cprocess_laserkerf.h"
//
//#include "clightdriver_wl.h"
//
//#include "ccam_img.h"
//#include "ccamdriver_img.h"
//#include "ccamdriver_mv.h"
//#include "ccam_mv.h"
//
//#include "claserdriver_pi.h"
//#include "claserdriver_jdsu.h"
//#include "claserdriver_igps.h"
//#include "claserpath.h"
//#include "claserpathdriver.h"
//
//#include "cakerfcheck_h.h"
//
//#include "clightdriver_opt.h"
//
//#include "cworktableoffset.h"
//#include "cworktablelaseroffset.h"
//#include "cworktableoffsetdriver.h"
//
//#include "cprocess_scan.h"
//
//#include "cbarcodedriver_xdl.h"
//#include "cbarcode_xdl.h"
//#include "CBarcodeDriverInfoScan.h"
//#include "CAFindEageExternal.h"
//#include "camatchncc_external.h"
//#include "cmotordriver_gugao.h"
//#include "cmotor_gugao.h"
//
//#include "clightdriver_km.h"
//#include "clightdriver_km1.h"
//
//
//#include "vsmt_base.h"
//#include "vsmt_coat.h"
//#include "vsmt_clean.h"
//#include "vsmt_io.h"
//#include "vsmt_main.h"
//#include "vsmt_transfer.h"
//#include "vsmt_schedular.h"
//
//#include "chsmsdriver.h"
//#include "chsms.h"
//#include "vsmt_gem.h"
//
//#include "clightdriversocket.h"
//#include "lightdriver_wl_socket.h"
//#include "cpowermeterdriver_lp.h"
//#include "cmotordriver_base.h"
//#include "claserdriver_sp.h"
//#include "claserpath_thorlab.h"
//#include "claserpathdriver_thorlab.h"
//#include  "cworkerdriveruser.h"
//#include "claserpathdriver_epulse.h"
//#include "claserpath_epulse.h"
//#include "CoatVolumeSensor.h"
//#include "secsmanager.h"
//#include "cgemdriver.h"
//#include "cdhgripper_rs485.h"

//#define GLOG_NO_ABBREVIATED_SEVERITIES
//#include <glog/logging.h>


//#define LEVEL_OPERATOR 1
////#define LEVEL_OPADMIN 2
//#define LEVEL_ENGINEER 2
//#define LEVEL_EQUIPMENT 3
//
//#define LEVEL_ADMINISTRATOR 4
//#define LEVEL_FACTORAY 5

//激光开关定义 
//#define  LASER_ON	1
//#define  LASER_OFF	0

//#define  IO_TRIGGER_ON	1
//#define  IO_TRIGGER_OFF	0

#endif // LOGIC_H