#define ONFRONTCONNECTED 0
#define ONFRONTDISCONNECTED 1
#define ONRSPUSERLOGIN 2
#define ONRSPUSERLOGOUT 3
#define ONNTYMKTSTATUS 4
#define ONRTNINSTRUMENTSTATUS 5
#define ONRSPQRYINSTRUMENT 6
#define ONRSPREQQRYVARIETYCODE 7
#define ONRSPORDERINSERT 8
#define ONRSPETFSUBSCRIPTIONORDERINSERT 9
#define ONRSPETFPURCHASEORDERINSERT 10
#define ONRSPETFREDEEMINSERT 11
#define ONRSPETFACCOUNTBINDING 12
#define ONRSPETFACCOUNTUNBINDING 13
#define ONRTNORDER 14
#define ONFORCELOGOUT 15
#define ONRTNETFACCOUNTBINDINGSTATUS 16
#define ONRTNETFORDER 17
#define ONRSPORDERACTION 18
#define ONRSPERROR 19
#define ONRTNTRADE 20
#define ONRSPQRYTRADINGACCOUNT 21
#define ONRSPQRYHISCAPITAL 22
#define ONRSPQRYORDER 23
#define ONRSPQRYTRADE 24
#define ONRSPQRYINVESTORPOSITION 25
#define ONRSPQRYCLIENTSTORAGE 26
#define ONRSPQRYCOSTMARGINFEERATE 27
#define ONRSPCONDITIONORDERINSERT 28
#define ONRSPCONDITIONORDERACTION 29
#define ONRSPQRYCONDITIONORDER 30
#define ONRSPQRYCONDITIONORDERTRADE 31
#define ONRSPQRYCLIENTSESSIONINFO 32
#define ONRSPQRYQUOTATION 33
#define ONRSPQRYINVESTORPOSITIONDETAIL 34
#define ONRSPQRYETFRADEDETAIL 35
#define ONRSPQRYETFPCFDETAIL 36
#define ONRSPMODIFYPASSWORD 37
#define ONRSPB0CMONEYIO 38
