#define ONFRONTCONNECTED 1
#define ONFRONTDISCONNECTED 2
#define ONHEARTBEATWARNING 3
#define ONRSPERROR 4
#define ONRSPUSERLOGIN 5
#define ONRSPUSERLOGOUT 6
#define ONRSPFETCHAUTHRANDCODE 7
#define ONRSPQRYEXCHANGE 8
#define ONRSPQRYINSTRUMENT 9
#define ONRSPQRYINVESTOR 10
#define ONRSPQRYTRADINGCODE 11
#define ONRSPQRYTRADINGACCOUNT 12
#define ONRSPQRYBONDINTEREST 13
#define ONRSPQRYMARKETRATIONINFO 14
#define ONRSPQRYINSTRUMENTCOMMISSIONRATE 15
#define ONRSPQRYETFINSTRUMENT 16
#define ONRSPQRYETFBASKET 17
#define ONRSPQRYOFINSTRUMENT 18
#define ONRSPQRYSFINSTRUMENT 19
#define ONRSPQRYINSTRUMENTUNITMARGIN 20
#define ONRSPQRYPREDELIVINFO 21
#define ONRSPQRYCREDITSTOCKASSIGNINFO 22
#define ONRSPQRYCREDITCASHASSIGNINFO 23
#define ONRSPQRYCONVERSIONRATE 24
#define ONRSPQRYHISCREDITDEBTINFO 25
#define ONRSPQRYMARKETDATASTATICINFO 26
#define ONRSPQRYEXPIREREPURCHINFO 27
#define ONRSPQRYBONDPLEDGERATE 28
#define ONRSPQRYPLEDGEBOND 29
#define ONRSPQRYORDER 30
#define ONRSPQRYTRADE 31
#define ONRSPQRYINVESTORPOSITION 32
#define ONRSPQRYFUNDTRANSFERSERIAL 33
#define ONRSPQRYFUNDINTERTRANSFERSERIAL 34
