mtp_const.cs 261 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325
  1. /// <summary>
  2. // 交易模式
  3. /// </summary>
  4. public enum eTradeMode {
  5. #region MTP1.0
  6. QuotePAndX = 500,
  7. /// <summary>
  8. /// 托管计划
  9. /// </summary>
  10. Deposit = 501,
  11. /// <summary>
  12. /// 所有商品
  13. /// </summary>
  14. AllGoods = 502,
  15. /// <summary>
  16. /// 我的自选
  17. /// </summary>
  18. MySelected = 503,
  19. /// <summary>
  20. /// 资金汇总
  21. /// </summary>
  22. AmountSum = 504,
  23. /// <summary>
  24. /// 发售
  25. /// </summary>
  26. TRADEMODE_SALE = 2,
  27. /// <summary>
  28. /// 竞价即期=混合
  29. /// </summary>
  30. TRADEMODE_BIDDINGMARKETMAKE = 3,
  31. /// <summary>
  32. /// 挂牌
  33. /// </summary>
  34. TRADEMODE_HANGTAG = 6,
  35. #endregion
  36. /// <summary>
  37. /// 做市
  38. /// </summary>
  39. TRADEMODE_MARKETMAKE = 10,
  40. /// <summary>
  41. /// 竞价
  42. /// </summary>
  43. TRADEMODE_BIDDING = 13,
  44. /// <summary>
  45. /// 通道交易
  46. /// </summary>
  47. TRADEMODE_ENTRUST_HEDGE = 15,
  48. /// <summary>
  49. /// 挂牌点选
  50. /// </summary>
  51. TRADEMODE_LISTING_SELECT = 16,
  52. /// <summary>
  53. /// 仓单贸易
  54. /// </summary>
  55. TRADEMODE_SPOT_WRTRADE = 17,
  56. /// <summary>
  57. /// 期权贸易
  58. /// </summary>
  59. TRADEMODE_OPTION = 18,
  60. /// <summary>
  61. /// 竞拍-降价式
  62. /// </summary>
  63. TRADEMODE_AUCTIONCUT = 19,
  64. /// <summary>
  65. /// 竞拍-竞价式
  66. /// </summary>
  67. TRADEMODE_AUCTIONBID = 20,
  68. /// <summary>
  69. /// 竞拍-大宗式
  70. /// </summary>
  71. TRADEMODE_AUCTIONBULK = 21,
  72. /// <summary>
  73. /// 受托竞价
  74. /// </summary>
  75. TRADEMODE_ENTRUSTBID = 22,
  76. /// <summary>
  77. /// 预售集采
  78. /// </summary>
  79. TRADEMODE_PRESALE = 23,
  80. /// <summary>
  81. /// 竞拍-降价式(无仓单)
  82. /// </summary>
  83. TRADEMODE_AUCTIONCUTNOWR = 24,
  84. /// <summary>
  85. /// 点价点选贸易
  86. /// </summary>
  87. TRADEMODE_POINTANDSELECT = 25,
  88. /// <summary>
  89. /// 挂牌期权
  90. /// </summary>
  91. TRADEMODE_LISTINGOPTION = 26,
  92. /// <summary>
  93. /// 招投标
  94. /// </summary>
  95. TRADEMODE_TENDER = 27,
  96. /// <summary>
  97. /// 币币兑换
  98. /// </summary>
  99. TRADEMODE_COINEXCHANGE = 32,
  100. /// <summary>
  101. /// 竞拍-荷兰式
  102. /// </summary>
  103. TRADEMODE_AUCTIONDUTCH = 34,
  104. /// <summary>
  105. /// 场外期权-单向
  106. /// </summary>
  107. TRADEMODE_OTCOPTION_ONEWAY = 35,
  108. /// <summary>
  109. /// 法币C2C
  110. /// </summary>
  111. TRADEMODE_COINC2C = 36,
  112. /// <summary>
  113. /// 挂牌点选-尚志
  114. /// </summary>
  115. TRADEMODE_SZDZ_LS = 75,
  116. /// <summary>
  117. /// 竞拍-金点拍
  118. /// </summary>
  119. TRADEMODE_SZDZ_JDP = 76,
  120. /// <summary>
  121. /// 现货商城
  122. /// </summary>
  123. TRADEMODE_SPOTSHOP = 77,
  124. /// <summary>
  125. /// 报价系统
  126. /// </summary>
  127. TRADEMODE_SPOTQUOTE = 78,
  128. /// <summary>
  129. /// 挂牌系统
  130. /// </summary>
  131. TRADEMODE_SPOTLISTING = 79
  132. }
  133. /// <summary>
  134. // 交易属性
  135. /// </summary>
  136. public enum eTradeProperty {
  137. /// <summary>
  138. /// 收益权(可做空)
  139. /// </summary>
  140. TRADEPROPERTY_CANSHORT = 1,
  141. /// <summary>
  142. /// 所有权(不可做空)
  143. /// </summary>
  144. TRADEPROPERTY_NOSHORT = 2,
  145. /// <summary>
  146. /// 期权
  147. /// </summary>
  148. TRADEPROPERTY_OPTION = 3,
  149. /// <summary>
  150. /// 现货
  151. /// </summary>
  152. TRADEPROPERTY_CANGOODS = 4,
  153. /// <summary>
  154. /// 参考行情
  155. /// </summary>
  156. TRADEPROPERTY_REFERENCEQUOTES = 5,
  157. /// <summary>
  158. /// 通道交易
  159. /// </summary>
  160. TRADEPROPERTY_CHANNELTRADE = 6,
  161. /// <summary>
  162. /// 币交易
  163. /// </summary>
  164. TRADEPROPERTY_COINEXCHANGE = 7,
  165. /// <summary>
  166. /// 场外期权
  167. /// </summary>
  168. TRADEPROPERTY_OTCOPTION = 8
  169. }
  170. /// <summary>
  171. // 持仓类型
  172. /// </summary>
  173. public enum eHolderType {
  174. /// <summary>
  175. /// 单边
  176. /// </summary>
  177. HOLDERTYPE_UNILATERAL = 1,
  178. /// <summary>
  179. /// 双边
  180. /// </summary>
  181. HOLDERTYPE_BILATERAL = 2
  182. }
  183. /// <summary>
  184. // 单据方向
  185. /// </summary>
  186. public enum eOrderDirection {
  187. /// <summary>
  188. /// 订单买方向
  189. /// </summary>
  190. ORDERDIRECTION_BUY = 0,
  191. /// <summary>
  192. /// 订单卖方向
  193. /// </summary>
  194. ORDERDIRECTION_SELL = 1
  195. }
  196. /// <summary>
  197. // 订单类型
  198. /// </summary>
  199. public enum eOrderType {
  200. /// <summary>
  201. /// 市价建仓
  202. /// </summary>
  203. ORDERTYPE_OPEN_MARKET = 1,
  204. /// <summary>
  205. /// 限价建仓
  206. /// </summary>
  207. ORDERTYPE_OPEN_LIMIT = 2,
  208. /// <summary>
  209. /// 市价平仓
  210. /// </summary>
  211. ORDERTYPE_CLOSE_MARKET = 3,
  212. /// <summary>
  213. /// 限价平仓
  214. /// </summary>
  215. ORDERTYPE_CLOSE_LIMIT = 4,
  216. /// <summary>
  217. /// 先平后建
  218. /// </summary>
  219. ORDERTYPE_CLOSETHENOPEN = 5,
  220. /// <summary>
  221. /// 止盈止损
  222. /// </summary>
  223. ORDERTYPE_SPSL = 6,
  224. /// <summary>
  225. /// 交割协议转让
  226. /// </summary>
  227. ORDERTYPE_DELIVERY_TRANSFER = 7,
  228. /// <summary>
  229. /// 交割协议平仓
  230. /// </summary>
  231. ORDERTYPE_DELIVERY_CLOSE = 8,
  232. /// <summary>
  233. /// 交割成交(所有权)
  234. /// </summary>
  235. ORDERTYPE_DELIVERY_TRADE = 9,
  236. /// <summary>
  237. /// 受托市价
  238. /// </summary>
  239. ORDERTYPE_ENTRUST_MARKET = 10,
  240. /// <summary>
  241. /// 受托限价
  242. /// </summary>
  243. ORDERTYPE_ENTRUST_LIMIT = 11,
  244. /// <summary>
  245. /// 管理端协议转让
  246. /// </summary>
  247. ORDERTYPE_MANAGE_TRANSFER = 12
  248. }
  249. /// <summary>
  250. // 触发条件
  251. /// </summary>
  252. public enum eTriggerOperator {
  253. /// <summary>
  254. /// 大于等于
  255. /// </summary>
  256. TRIGGEROPERATOR_GREATEROREQUAL = 1,
  257. /// <summary>
  258. /// 小于等于
  259. /// </summary>
  260. TRIGGEROPERATOR_LESSOREQUAL = 2
  261. }
  262. /// <summary>
  263. // 价格类型
  264. /// </summary>
  265. public enum ePriceMode {
  266. /// <summary>
  267. /// 市价
  268. /// </summary>
  269. PRICEMODE_MARKET = 1,
  270. /// <summary>
  271. /// 限价
  272. /// </summary>
  273. PRICEMODE_LIMIT = 2
  274. }
  275. /// <summary>
  276. // 有效类型
  277. /// </summary>
  278. public enum eValidType {
  279. /// <summary>
  280. /// 当日有效
  281. /// </summary>
  282. VALIDTYPE_DR = 1,
  283. /// <summary>
  284. /// 本周有效
  285. /// </summary>
  286. VALIDTYPE_BZ = 2,
  287. /// <summary>
  288. /// 指定日期有效
  289. /// </summary>
  290. VALIDTYPE_ZDRQ = 3,
  291. /// <summary>
  292. /// 一直有效
  293. /// </summary>
  294. VALIDTYPE_YZ = 4,
  295. /// <summary>
  296. /// 指定时间有效
  297. /// </summary>
  298. VALIDTYPE_GTT = 5
  299. }
  300. /// <summary>
  301. // 成交量类型
  302. /// </summary>
  303. public enum eVolumeType {
  304. /// <summary>
  305. /// 任意量
  306. /// </summary>
  307. VOLUMETYPE_ANY = 1,
  308. /// <summary>
  309. /// 最小量(暂时不支持)
  310. /// </summary>
  311. VOLUMETYPE_MIN = 2,
  312. /// <summary>
  313. /// 全部量
  314. /// </summary>
  315. VOLUMETYPE_ALL = 3
  316. }
  317. /// <summary>
  318. // 预埋单状态
  319. /// </summary>
  320. public enum ePreOrderStatus {
  321. /// <summary>
  322. /// 待激活
  323. /// </summary>
  324. PREORDERSTATUS_INACTIVE = 1,
  325. /// <summary>
  326. /// 已激活
  327. /// </summary>
  328. PREORDERSTATUS_ACTIVE = 2,
  329. /// <summary>
  330. /// 已撤销
  331. /// </summary>
  332. PREORDERSTATUS_CANCELLED = 3
  333. }
  334. /// <summary>
  335. // 客户端类型
  336. /// </summary>
  337. public enum eClientType {
  338. /// <summary>
  339. /// 保留为未填终端类型
  340. /// </summary>
  341. CLIENTTYPE_NONE = 0,
  342. /// <summary>
  343. /// PC管理端
  344. /// </summary>
  345. CLIENTTYPE_PC_MANAGER_CLIENT = 1,
  346. /// <summary>
  347. /// PC交易端
  348. /// </summary>
  349. CLIENTTYPE_PC_TRADE_CLIENT = 2,
  350. /// <summary>
  351. /// 手机客户端_安卓
  352. /// </summary>
  353. CLIENTTYPE_MOBILE_CLIENT_ANDROID = 3,
  354. /// <summary>
  355. /// 网页客户端
  356. /// </summary>
  357. CLIENTTYPE_WEBPAGE_CLIENT = 4,
  358. /// <summary>
  359. /// 微信客户端
  360. /// </summary>
  361. CLIENTTYPE_WECHAT_CLIENT = 5,
  362. /// <summary>
  363. /// 手机客户端_苹果
  364. /// </summary>
  365. CLIENTTYPE_MOBILE_CLIENT_IOS = 6,
  366. /// <summary>
  367. /// 网上开户客户端
  368. /// </summary>
  369. CLIENTTYPE_USERACCOUNT_ONLINE = 7,
  370. /// <summary>
  371. /// 无效终端编号
  372. /// </summary>
  373. CLIENTTYPE_INVALID = 8,
  374. /// <summary>
  375. /// 报价终端
  376. /// </summary>
  377. CLIENTTYPE_QUOTE_CLIENT = 9,
  378. /// <summary>
  379. /// 交易接口
  380. /// </summary>
  381. CLIENTTYPE_TRADE_INTERFACE = 10
  382. }
  383. /// <summary>
  384. // 消息状态
  385. /// </summary>
  386. public enum eMessageStatus {
  387. /// <summary>
  388. /// 待发送
  389. /// </summary>
  390. MESSAGESTATUS_PENDING = 1,
  391. /// <summary>
  392. /// 发送完成
  393. /// </summary>
  394. MESSAGESTATUS_FINISHED = 2
  395. }
  396. /// <summary>
  397. // 成交类型
  398. /// </summary>
  399. public enum eTradeType {
  400. /// <summary>
  401. /// 正常委托成交
  402. /// </summary>
  403. TRADETYPE_NORMAL_ORDER_DEAL = 1,
  404. /// <summary>
  405. /// 定向做市成交(接单)
  406. /// </summary>
  407. TRADETYPE_DIRECTED_MM_DEAL = 2,
  408. /// <summary>
  409. /// 交割协议平仓成交
  410. /// </summary>
  411. TRADETYPE_DELIVERY_AGREECLOSE_DEAL = 3,
  412. /// <summary>
  413. /// 交割减仓成交
  414. /// </summary>
  415. TRADETYPE_DELIVERY_AGREEREDUCE_DEAL = 4,
  416. /// <summary>
  417. /// 到期强平成交
  418. /// </summary>
  419. TRADETYPE_EXPIRE_FORCE = 5,
  420. /// <summary>
  421. /// 风控斩仓成交
  422. /// </summary>
  423. TRADETYPE_RISK_FORCE = 6,
  424. /// <summary>
  425. /// 协议平仓(管理端)成交
  426. /// </summary>
  427. TRADETYPE_AGREECLOSE_MANAGE_DEAL = 7,
  428. /// <summary>
  429. /// 仓单转持仓成交
  430. /// </summary>
  431. TRADETYPE_WAREHOUSETOPOSITION = 8,
  432. /// <summary>
  433. /// 协议转让成交
  434. /// </summary>
  435. TRADETYPE_DELIVERY_TRANSFER = 9,
  436. /// <summary>
  437. /// 受托竞价成交(接单)
  438. /// </summary>
  439. TRADETYPE_ENTRUSTBID_ACCEPT = 10,
  440. /// <summary>
  441. /// 协议转让成交
  442. /// </summary>
  443. TRADETYPE_MANAGE_PROTO_TRANSFER = 11,
  444. /// <summary>
  445. /// 管理端强平成交
  446. /// </summary>
  447. TRADETYPE_MANAGE_FORCE_CLOSE = 12,
  448. /// <summary>
  449. /// 违约平仓成交
  450. /// </summary>
  451. TRADETYPE_BREACK_CLOSE = 13,
  452. /// <summary>
  453. /// 场外期权单向成交
  454. /// </summary>
  455. TRADETYPE_OPTIONONEWAY = 14,
  456. /// <summary>
  457. /// 冻结头寸解冻申请
  458. /// </summary>
  459. TRADETYPE_FREEZEPOS_UNFREEZE_REQUEST = 15,
  460. /// <summary>
  461. /// 冻结头寸商品配售
  462. /// </summary>
  463. TRADETYPE_FREEZEPOS_GOODS_RATION = 16,
  464. /// <summary>
  465. /// 冻结头寸商品转让
  466. /// </summary>
  467. TRADETYPE_FREEZEPOS_GOODS_TRANSFER = 17,
  468. /// <summary>
  469. /// 冻结头寸商品回购
  470. /// </summary>
  471. TRADETYPE_FREEZEPOS_GOODS_BUYBACK = 18,
  472. /// <summary>
  473. /// 冻结头寸商品提货
  474. /// </summary>
  475. TRADETYPE_FREEZEPOS_GOODS_PICKUP = 19
  476. }
  477. /// <summary>
  478. // 成交明细状态
  479. /// </summary>
  480. public enum eTradeDetailStatus {
  481. /// <summary>
  482. /// 待处理
  483. /// </summary>
  484. TRADEDETAIL_STATUS_WAIT = 1,
  485. /// <summary>
  486. /// 已处理
  487. /// </summary>
  488. TRADEDETAIL_STATUS_SECCESS = 2,
  489. /// <summary>
  490. /// 处理失败
  491. /// </summary>
  492. TRADEDETAIL_STATUS_FAILED = 3,
  493. /// <summary>
  494. /// 履约完成
  495. /// </summary>
  496. TRADEDETAIL_STATUS_PERFORMANCEFINISHED = 4
  497. }
  498. /// <summary>
  499. // 下单类型
  500. /// </summary>
  501. public enum eBuildType {
  502. /// <summary>
  503. /// 建仓
  504. /// </summary>
  505. BUILDTYPE_OPEN = 1,
  506. /// <summary>
  507. /// 平仓
  508. /// </summary>
  509. BUILDTYPE_CLOSE = 2,
  510. /// <summary>
  511. /// 先平后建
  512. /// </summary>
  513. BUILDTYPE_CLOSETHENOPEN = 3
  514. }
  515. /// <summary>
  516. // 升贴水类型
  517. /// </summary>
  518. public enum ePriceMoveType {
  519. /// <summary>
  520. /// 品牌
  521. /// </summary>
  522. PRICEMOVETYPE_BRAND = 1,
  523. /// <summary>
  524. /// 品质
  525. /// </summary>
  526. PRICEMOVETYPE_QUALITY = 2,
  527. /// <summary>
  528. /// 规格
  529. /// </summary>
  530. PRICEMOVETYPE_SPECIFICATION = 3,
  531. /// <summary>
  532. /// 仓库
  533. /// </summary>
  534. PRICEMOVETYPE_WAREHOUSE = 4,
  535. /// <summary>
  536. /// 月份
  537. /// </summary>
  538. PRICEMOVETYPE_MONTH = 5
  539. }
  540. /// <summary>
  541. // 行情取价方式
  542. /// </summary>
  543. public enum eFromField {
  544. /// <summary>
  545. /// 最新价
  546. /// </summary>
  547. FROMFIELD_LAST = 1,
  548. /// <summary>
  549. /// 买价
  550. /// </summary>
  551. FROMFIELD_BUY = 2,
  552. /// <summary>
  553. /// 卖价
  554. /// </summary>
  555. FROMFIELD_SELL = 3
  556. }
  557. /// <summary>
  558. // 费用算法
  559. /// </summary>
  560. public enum eFeeAlgorithm {
  561. /// <summary>
  562. /// 比率
  563. /// </summary>
  564. FEEALGORITHM_RATIO = 1,
  565. /// <summary>
  566. /// 固定
  567. /// </summary>
  568. FEEALGORITHM_FIXED = 2
  569. }
  570. /// <summary>
  571. // 商品状态
  572. /// </summary>
  573. public enum eGoodsStatus {
  574. /// <summary>
  575. /// 待审核
  576. /// </summary>
  577. GOODSSTATUS_INACTIVE = 1,
  578. /// <summary>
  579. /// 未上市
  580. /// </summary>
  581. GOODSSTATUS_UNLISTED = 2,
  582. /// <summary>
  583. /// 上市
  584. /// </summary>
  585. GOODSSTATUS_LISTED = 3,
  586. /// <summary>
  587. /// 已注销
  588. /// </summary>
  589. GOODSSTATUS_CLOSED = 4,
  590. /// <summary>
  591. /// 审核拒绝
  592. /// </summary>
  593. GOODSSTATUS_REJECTED = 5,
  594. /// <summary>
  595. /// 退市
  596. /// </summary>
  597. GOODSSTATUS_DELISTED = 6,
  598. /// <summary>
  599. /// 待退市
  600. /// </summary>
  601. GOODSSTATUS_PRE_DELISTED = 7
  602. }
  603. /// <summary>
  604. // 交割标志
  605. /// </summary>
  606. public enum eDeliveryFlag {
  607. /// <summary>
  608. /// 不可交割
  609. /// </summary>
  610. DELIVERYFLAG_NO = 0,
  611. /// <summary>
  612. /// 可交割
  613. /// </summary>
  614. DELIVERYFLAG_YES = 1
  615. }
  616. /// <summary>
  617. // 变更状态
  618. /// </summary>
  619. public enum eModifyStatus {
  620. /// <summary>
  621. /// 未变更
  622. /// </summary>
  623. MODIFYSTATUS_UNCHANGED = 1,
  624. /// <summary>
  625. /// 变更中
  626. /// </summary>
  627. MODIFYSTATUS_CHANGING = 2,
  628. /// <summary>
  629. /// 变更待审核
  630. /// </summary>
  631. MODIFYSTATUS_PENDINGAUDIT = 3,
  632. /// <summary>
  633. /// 变更待复审(投资者)
  634. /// </summary>
  635. MODIFYSTATUS_PENDINGREAUDIT = 4
  636. }
  637. /// <summary>
  638. // 开盘方式
  639. /// </summary>
  640. public enum eOpenMethod {
  641. /// <summary>
  642. /// 自动
  643. /// </summary>
  644. OPENMETHOD_AUTO = 0,
  645. /// <summary>
  646. /// 手动
  647. /// </summary>
  648. OPENMETHOD_MANUAL = 1
  649. }
  650. /// <summary>
  651. // 结算价算法
  652. /// </summary>
  653. public enum eReckonPriceAlgorithm {
  654. /// <summary>
  655. /// 最后多少笔成交价加权平均
  656. /// </summary>
  657. RECKONPRICEALGORITHM_LASTLOTAVG = 1,
  658. /// <summary>
  659. /// 最后多少秒成交价加权平均
  660. /// </summary>
  661. RECKONPRICEALGORITHM_LASTSECONDAVG = 2,
  662. /// <summary>
  663. /// 全天加权平均
  664. /// </summary>
  665. RECKONPRICEALGORITHM_ALLDAY = 3,
  666. /// <summary>
  667. /// 最后一口价
  668. /// </summary>
  669. RECKONPRICEALGORITHM_LASTPRICE = 4,
  670. /// <summary>
  671. /// 买一价
  672. /// </summary>
  673. RECKONPRICEALGORITHM_BID_ONE = 5,
  674. /// <summary>
  675. /// 卖一价
  676. /// </summary>
  677. RECKONPRICEALGORITHM_ASK_ONE = 6,
  678. /// <summary>
  679. /// 买一卖一均价
  680. /// </summary>
  681. RECKONPRICEALGORITHM_AVG_BID_ONE_ASK_ONE = 7,
  682. /// <summary>
  683. /// 外部结算价
  684. /// </summary>
  685. RECKONPRICEALGORITHM_EXTENAL_RECKONPRICE = 8
  686. }
  687. /// <summary>
  688. // 有效状态
  689. /// </summary>
  690. public enum eValidStatus {
  691. /// <summary>
  692. /// 待生效
  693. /// </summary>
  694. VALIDSTATUS_INACTIVE = 1,
  695. /// <summary>
  696. /// 正常
  697. /// </summary>
  698. VALIDSTATUS_NORMAL = 2,
  699. /// <summary>
  700. /// 注销
  701. /// </summary>
  702. VALIDSTATUS_CANCELLED = 3
  703. }
  704. /// <summary>
  705. // 结算状态
  706. /// </summary>
  707. public enum eReckonStatus {
  708. /// <summary>
  709. /// 自动结算
  710. /// </summary>
  711. RECKONSTATUS_AUTO = 1,
  712. /// <summary>
  713. /// 手工结算
  714. /// </summary>
  715. RECKONSTATUS_MANUAL = 2
  716. }
  717. /// <summary>
  718. // 周几
  719. /// </summary>
  720. public enum eDayOfWeek {
  721. /// <summary>
  722. /// 星期天
  723. /// </summary>
  724. DAYOFWEEK_SUNDAY = 0,
  725. /// <summary>
  726. /// 星期一
  727. /// </summary>
  728. DAYOFWEEK_MONDAY = 1,
  729. /// <summary>
  730. /// 星期二
  731. /// </summary>
  732. DAYOFWEEK_TUESDAY = 2,
  733. /// <summary>
  734. /// 星期三
  735. /// </summary>
  736. DAYOFWEEK_WEDNESDAY = 3,
  737. /// <summary>
  738. /// 星期四
  739. /// </summary>
  740. DAYOFWEEK_THURSDAY = 4,
  741. /// <summary>
  742. /// 星期五
  743. /// </summary>
  744. DAYOFWEEK_FRIDAY = 5,
  745. /// <summary>
  746. /// 星期六
  747. /// </summary>
  748. DAYOFWEEK_SATURDAY = 6
  749. }
  750. /// <summary>
  751. // 运行阶段
  752. /// </summary>
  753. public enum eRunStep {
  754. /// <summary>
  755. /// 集合竞价
  756. /// </summary>
  757. RUNSTEP_BIDDINGPRICE = 1,
  758. /// <summary>
  759. /// 连续竞价(交割)
  760. /// </summary>
  761. RUNSTEP_BIDDINGCONTINUOUS = 2,
  762. /// <summary>
  763. /// 补充交割
  764. /// </summary>
  765. RUNSTEP_SUPPLEMENTDELIVERY = 3,
  766. /// <summary>
  767. /// 确认行权
  768. /// </summary>
  769. RUNSTEP_CONFIRMEXERCISE = 4
  770. }
  771. /// <summary>
  772. // 市场状态信号
  773. /// </summary>
  774. public enum eRunStatus {
  775. /// <summary>
  776. /// 初始状态
  777. /// </summary>
  778. RUNSTATUS_INIT = 0,
  779. /// <summary>
  780. /// 待开市
  781. /// </summary>
  782. RUNSTATUS_PENDING = 1,
  783. /// <summary>
  784. /// 开市
  785. /// </summary>
  786. RUNSTATUS_OPEN = 2,
  787. /// <summary>
  788. /// 休市
  789. /// </summary>
  790. RUNSTATUS_PAUSE = 3,
  791. /// <summary>
  792. /// 手工休市
  793. /// </summary>
  794. RUNSTATUS_PAUSE_MANUAL = 4,
  795. /// <summary>
  796. /// 闭市
  797. /// </summary>
  798. RUNSTATUS_CLOSE = 5,
  799. /// <summary>
  800. /// 确认行权开始
  801. /// </summary>
  802. RUNSTATUS_EXPIRE_BEGIN = 6,
  803. /// <summary>
  804. /// 确认行权结束
  805. /// </summary>
  806. RUNSTATUS_EXPIRE_END = 7,
  807. /// <summary>
  808. /// 日终处理开始
  809. /// </summary>
  810. RUNSTATUS_DAYEND_PROCESSING = 10,
  811. /// <summary>
  812. /// 日终处理成功
  813. /// </summary>
  814. RUNSTATUS_DAYEND_SUCCESS = 11,
  815. /// <summary>
  816. /// 日终处理失败
  817. /// </summary>
  818. RUNSTATUS_DAYEND_FAILED = 12,
  819. /// <summary>
  820. /// 基础服务结算开始
  821. /// </summary>
  822. RUNSTATUS_BASIC_RECKONBEGIN = 13,
  823. /// <summary>
  824. /// 基础服务结算成功
  825. /// </summary>
  826. RUNSTATUS_BASIC_RECKONSUCCESS = 14,
  827. /// <summary>
  828. /// 日终处理暂停
  829. /// </summary>
  830. RUNSTATUS_DAYEND_PAUSE = 15,
  831. /// <summary>
  832. /// 资金结算开始
  833. /// </summary>
  834. RUNSTATUS_RECKON_BEGIN = 23,
  835. /// <summary>
  836. /// 资金结算结束
  837. /// </summary>
  838. RUNSTATUS_RECKON_FINISHED = 24,
  839. /// <summary>
  840. /// 资金结算失败
  841. /// </summary>
  842. RUNSTATUS_RECKON_FAILED = 25,
  843. /// <summary>
  844. /// 系统结算成功
  845. /// </summary>
  846. RUNSTATUS_SYS_RECKON_SUCCESS = 26,
  847. /// <summary>
  848. /// 系统结算失败
  849. /// </summary>
  850. RUNSTATUS_SYS_RECKON_FAILED = 27,
  851. /// <summary>
  852. /// 盘中处理开始
  853. /// </summary>
  854. RUNSTATUS_ONTHEPLATE_BEGIN = 28,
  855. /// <summary>
  856. /// 盘中处理成功
  857. /// </summary>
  858. RUNSTATUS_ONTHEPLATE_SUCCESS = 29,
  859. /// <summary>
  860. /// 盘中处理失败
  861. /// </summary>
  862. RUNSTATUS_ONTHEPLATE_FAILED = 30,
  863. /// <summary>
  864. /// 资金结算开始(内)
  865. /// </summary>
  866. RUNSTATUS_RECKON_BEGIN_INNER = 31,
  867. /// <summary>
  868. /// 资金结算结束(内)
  869. /// </summary>
  870. RUNSTATUS_RECKON_FINISHED_INNER = 32,
  871. /// <summary>
  872. /// 资金结算失败(内)
  873. /// </summary>
  874. RUNSTATUS_RECKON_FAILED_INNER = 33,
  875. /// <summary>
  876. /// 签到开始
  877. /// </summary>
  878. RUNSTATUS_BANKSIGNIN_BEGIN = 40,
  879. /// <summary>
  880. /// 签到成功
  881. /// </summary>
  882. RUNSTATUS_BANKSIGNIN_SUCCESS = 41,
  883. /// <summary>
  884. /// 签到部份成功
  885. /// </summary>
  886. RUNSTATUS_BANKSIGNIN_PARTSUCCESS = 42,
  887. /// <summary>
  888. /// 签到失败
  889. /// </summary>
  890. RUNSTATUS_BANKSIGNIN_FAILED = 43,
  891. /// <summary>
  892. /// 签退开始
  893. /// </summary>
  894. RUNSTATUS_BANKSIGNOUT_BEGIN = 44,
  895. /// <summary>
  896. /// 签退成功
  897. /// </summary>
  898. RUNSTATUS_BANKSIGNOUT_SUCCESS = 45,
  899. /// <summary>
  900. /// 签退部份成功
  901. /// </summary>
  902. RUNSTATUS_BANKSIGNOUT_PARTSUCCESS = 46,
  903. /// <summary>
  904. /// 签退失败
  905. /// </summary>
  906. RUNSTATUS_BANKSIGNOUT_FAILED = 47,
  907. /// <summary>
  908. /// 对账开始
  909. /// </summary>
  910. RUNSTATUS_BANKCHECK_BEGIN = 48,
  911. /// <summary>
  912. /// 对账成功
  913. /// </summary>
  914. RUNSTATUS_BANKCHECK_SUCCESS = 49,
  915. /// <summary>
  916. /// 对账失败
  917. /// </summary>
  918. RUNSTATUS_BANKCHECK_FAILED = 50,
  919. /// <summary>
  920. /// 清算开始
  921. /// </summary>
  922. RUNSTATUS_BANKCLEAR_BEGIN = 51,
  923. /// <summary>
  924. /// 清算成功
  925. /// </summary>
  926. RUNSTATUS_BANKCLEAR_SUCCESS = 52,
  927. /// <summary>
  928. /// 清算失败
  929. /// </summary>
  930. RUNSTATUS_BANKCLEAR_FAILED = 53,
  931. /// <summary>
  932. /// 清算部分成功
  933. /// </summary>
  934. RUNSTATUS_BANKCLEAR_PARTIALSUCCESS = 54,
  935. /// <summary>
  936. /// 系统结算开始
  937. /// </summary>
  938. RUNSTATUS_SYS_RECKON_BEGIN = 55,
  939. /// <summary>
  940. /// 交割时段开始
  941. /// </summary>
  942. RUNSTATUS_DELIVERY_BEGIN = 56,
  943. /// <summary>
  944. /// 交割时段结束
  945. /// </summary>
  946. RUNSTATUS_DELIVERY_END = 57,
  947. /// <summary>
  948. /// 补充交割开始
  949. /// </summary>
  950. RUNSTATUS_SUPPLY_DELIVERY_BEGIN = 58,
  951. /// <summary>
  952. /// 补充交割结束
  953. /// </summary>
  954. RUNSTATUS_SUPPLY_DELIVERY_END = 59,
  955. /// <summary>
  956. /// 市场清盘信号
  957. /// </summary>
  958. RUNSTATUS_MARKET_CLEAR_UP_SIGNAL = 60,
  959. /// <summary>
  960. /// 继续结算
  961. /// </summary>
  962. RUNSTATUS_CONTINUE_RECKON = 61,
  963. /// <summary>
  964. /// 今日免清算
  965. /// </summary>
  966. RUNSTATUS_UNNEED_CLEAR = 62,
  967. /// <summary>
  968. /// 结束手工休市信号
  969. /// </summary>
  970. RUNSTATUS_END_PAUSE_MANUAL_SIGNAL = 100,
  971. /// <summary>
  972. /// 休市结束信号
  973. /// </summary>
  974. RUNSTATUS_END_PAUSE_SIGNAL = 101
  975. }
  976. /// <summary>
  977. // 结算标识
  978. /// </summary>
  979. public enum eReckonFlag {
  980. /// <summary>
  981. /// 停止结算
  982. /// </summary>
  983. RECKONFLAG_STOP = 0,
  984. /// <summary>
  985. /// 正常
  986. /// </summary>
  987. RECKONFLAG_NORMAL = 1
  988. }
  989. /// <summary>
  990. // 是否结算
  991. /// </summary>
  992. public enum eIsReckoned {
  993. /// <summary>
  994. /// 未结算
  995. /// </summary>
  996. ISRECKONED_NO = 0,
  997. /// <summary>
  998. /// 已结算
  999. /// </summary>
  1000. ISRECKONED_DONE = 1
  1001. }
  1002. /// <summary>
  1003. // 配对状态
  1004. /// </summary>
  1005. public enum eMatchStatus {
  1006. /// <summary>
  1007. /// 配对成功
  1008. /// </summary>
  1009. MATCHSTATUS_MATCHED = 1,
  1010. /// <summary>
  1011. /// 已成交
  1012. /// </summary>
  1013. MATCHSTATUS_DEAL = 2
  1014. }
  1015. /// <summary>
  1016. // 接单标识
  1017. /// </summary>
  1018. public enum eReceiveFlag {
  1019. /// <summary>
  1020. /// 无
  1021. /// </summary>
  1022. RECEIVEFLAG_NONE = 0,
  1023. /// <summary>
  1024. /// 买方
  1025. /// </summary>
  1026. RECEIVEFLAG_BUYER = 1,
  1027. /// <summary>
  1028. /// 卖方
  1029. /// </summary>
  1030. RECEIVEFLAG_SELLER = 2
  1031. }
  1032. /// <summary>
  1033. // 配对类型
  1034. /// </summary>
  1035. public enum eMatchType {
  1036. /// <summary>
  1037. /// 正常委托
  1038. /// </summary>
  1039. MATCHTYPE_NORMAL = 1,
  1040. /// <summary>
  1041. /// 风控斩仓
  1042. /// </summary>
  1043. MATCHTYPE_RISK = 2
  1044. }
  1045. /// <summary>
  1046. // 操作类型
  1047. /// </summary>
  1048. public enum eOperateType {
  1049. /// <summary>
  1050. /// 委托撤单
  1051. /// </summary>
  1052. OPERATETYPE_ORDERCANCEL = 1
  1053. }
  1054. /// <summary>
  1055. // 处理状态
  1056. /// </summary>
  1057. public enum eHandleStatus {
  1058. /// <summary>
  1059. /// 待处理
  1060. /// </summary>
  1061. HANDLESTATUS_PENDING = 1,
  1062. /// <summary>
  1063. /// 处理成功
  1064. /// </summary>
  1065. HANDLESTATUS_SUCCESS = 2,
  1066. /// <summary>
  1067. /// 处理失败
  1068. /// </summary>
  1069. HANDLESTATUS_FAILED = 3,
  1070. /// <summary>
  1071. /// 已拒绝
  1072. /// </summary>
  1073. HANDLESTATUS_REJECTED = 4,
  1074. /// <summary>
  1075. /// 处理中
  1076. /// </summary>
  1077. HANDLESTATUS_PROCING = 5
  1078. }
  1079. /// <summary>
  1080. // 委托来源
  1081. /// </summary>
  1082. public enum eOrderSrc {
  1083. /// <summary>
  1084. /// 客户端
  1085. /// </summary>
  1086. ORDERSRC_CLIENT = 1,
  1087. /// <summary>
  1088. /// 管理端
  1089. /// </summary>
  1090. ORDERSRC_MANAGE = 2,
  1091. /// <summary>
  1092. /// 风控服务
  1093. /// </summary>
  1094. ORDERSRC_RISK = 3,
  1095. /// <summary>
  1096. /// 交割服务
  1097. /// </summary>
  1098. ORDERSRC_DELIVERY = 4,
  1099. /// <summary>
  1100. /// 交易服务
  1101. /// </summary>
  1102. ORDERSRC_TRADE = 5,
  1103. /// <summary>
  1104. /// 交易日结
  1105. /// </summary>
  1106. ORDERSRC_DAYEND = 6,
  1107. /// <summary>
  1108. /// 商品强平
  1109. /// </summary>
  1110. ORDERSRC_EXPIREFORCECLOSE = 7,
  1111. /// <summary>
  1112. /// 管理端商品退市强平
  1113. /// </summary>
  1114. ORDERSRC_MANAGEFORCECLOSE = 8,
  1115. /// <summary>
  1116. /// 交易接口
  1117. /// </summary>
  1118. ORDERSRC_TRADEINTERFACE = 9,
  1119. /// <summary>
  1120. /// 交收服务商被动
  1121. /// </summary>
  1122. ORDERSRC_ENTRUSACCEPT = 10,
  1123. /// <summary>
  1124. /// 预埋触发
  1125. /// </summary>
  1126. ORDERSRC_PREPOSORDER = 11,
  1127. /// <summary>
  1128. /// 自动报价服务
  1129. /// </summary>
  1130. ORDERSRC_AUTOQUOTE = 12,
  1131. /// <summary>
  1132. /// 挂牌服务超期回购
  1133. /// </summary>
  1134. ORDERSRC_SPOTBUYBACK = 13
  1135. }
  1136. /// <summary>
  1137. // 订单操作类型
  1138. /// </summary>
  1139. public enum eOrderOperateType {
  1140. /// <summary>
  1141. /// 正常下单
  1142. /// </summary>
  1143. ORDEROPERATETYPE_NORMAL = 1,
  1144. /// <summary>
  1145. /// 斩仓
  1146. /// </summary>
  1147. ORDEROPERATETYPE_RISK = 2,
  1148. /// <summary>
  1149. /// 转单
  1150. /// </summary>
  1151. ORDEROPERATETYPE_TRANSFER = 3,
  1152. /// <summary>
  1153. /// 结算撤单
  1154. /// </summary>
  1155. ORDEROPERATETYPE_RECKON_CANCEL = 4,
  1156. /// <summary>
  1157. /// 系统卖出(适用于先平后建的卖出)
  1158. /// </summary>
  1159. ORDEROPERATETYPE_SYS_CLOSE = 5,
  1160. /// <summary>
  1161. /// 行情源报价
  1162. /// </summary>
  1163. ORDEROPERATETYPE_QUOTEPRICE = 6,
  1164. /// <summary>
  1165. /// (结算)到期强平
  1166. /// </summary>
  1167. ORDEROPERATETYPE_ONTIME_CLOSE = 7,
  1168. /// <summary>
  1169. /// (结算)协议转让
  1170. /// </summary>
  1171. ORDEROPERATETYPE_DEAL_CLOSE = 8,
  1172. /// <summary>
  1173. /// 系统对冲单
  1174. /// </summary>
  1175. ORDEROPERATETYPE_SYS_HEDGE = 9,
  1176. /// <summary>
  1177. /// (结算)到期无效
  1178. /// </summary>
  1179. ORDEROPERATETYPE_RECKON_INVALID = 10,
  1180. /// <summary>
  1181. /// 交割协议转让
  1182. /// </summary>
  1183. ORDEROPERATETYPE_DELIVERY_TRANSFER = 11,
  1184. /// <summary>
  1185. /// 交割协议平仓
  1186. /// </summary>
  1187. ORDEROPERATETYPE_DELIVERY_CLOSE = 12,
  1188. /// <summary>
  1189. /// 交割成交(所有权)
  1190. /// </summary>
  1191. ORDEROPERATETYPE_DELIVERY_TRADE = 13,
  1192. /// <summary>
  1193. /// 管理端强行平仓
  1194. /// </summary>
  1195. ORDEROPERATETYPE_MANAGEFORCE_CLOSE = 14,
  1196. /// <summary>
  1197. /// 管理端协议转让
  1198. /// </summary>
  1199. ORDEROPERATETYPE_MANAGE_TRANSFER = 15,
  1200. /// <summary>
  1201. /// 管理端强行平仓阶段2
  1202. /// </summary>
  1203. ORDEROPERATETYPE_MANAGEFORCE_CLOSE_LEVEL2 = 16,
  1204. /// <summary>
  1205. /// 违约平仓
  1206. /// </summary>
  1207. ORDEROPERATETYPE_BREACK_CLOSE = 17,
  1208. /// <summary>
  1209. /// 管理端强行撤单
  1210. /// </summary>
  1211. ORDEROPERATETYPE_MANAGEFORCE_CANCEL = 18,
  1212. /// <summary>
  1213. /// 预埋单委托
  1214. /// </summary>
  1215. ORDEROPERATETYPE_PREPOSORDER_ORDER = 19,
  1216. /// <summary>
  1217. /// 预埋单撤单
  1218. /// </summary>
  1219. ORDEROPERATETYPE_PREPOSORDER_CANCEL = 20,
  1220. /// <summary>
  1221. /// 风控撤单
  1222. /// </summary>
  1223. ORDEROPERATETYPE_RISK_CANCEL = 21,
  1224. /// <summary>
  1225. /// (结算)会员到期强平
  1226. /// </summary>
  1227. ORDEROPERATETYPE_ONTIME_MEMBER_CLOSE = 22
  1228. }
  1229. /// <summary>
  1230. // 订单状态
  1231. /// </summary>
  1232. public enum eOrderStatus {
  1233. /// <summary>
  1234. /// 委托请求
  1235. /// </summary>
  1236. ORDERSTATUS_REQUEST = 1,
  1237. /// <summary>
  1238. /// 待冻结
  1239. /// </summary>
  1240. ORDERSTATUS_WAITFREEZE = 2,
  1241. /// <summary>
  1242. /// 委托成功
  1243. /// </summary>
  1244. ORDERSTATUS_SUCCEED = 3,
  1245. /// <summary>
  1246. /// 委托失败
  1247. /// </summary>
  1248. ORDERSTATUS_FAILED = 4,
  1249. /// <summary>
  1250. /// 配对成功
  1251. /// </summary>
  1252. ORDERSTATUS_MATCHED = 5,
  1253. /// <summary>
  1254. /// 已撤
  1255. /// </summary>
  1256. ORDERSTATUS_CANCELED = 6,
  1257. /// <summary>
  1258. /// 部成
  1259. /// </summary>
  1260. ORDERSTATUS_PARTIALDEAL = 7,
  1261. /// <summary>
  1262. /// 已成
  1263. /// </summary>
  1264. ORDERSTATUS_DEALED = 8,
  1265. /// <summary>
  1266. /// 部成部撤
  1267. /// </summary>
  1268. ORDERSTATUS_PARTIALCANCELED = 9,
  1269. /// <summary>
  1270. /// 成交失败
  1271. /// </summary>
  1272. ORDERSTATUS_DEALFAILED = 10,
  1273. /// <summary>
  1274. /// 委托拒绝
  1275. /// </summary>
  1276. ORDERSTATUS_DENIED = 11,
  1277. /// <summary>
  1278. /// 经过摘牌(先摘后挂专用)
  1279. /// </summary>
  1280. ORDERSTATUS_MATCH = 12,
  1281. /// <summary>
  1282. /// 冻结成功(通道交易专用)
  1283. /// </summary>
  1284. ORDERSTATUS_FREEZE_SUCCESS = 13,
  1285. /// <summary>
  1286. /// 通道已撤
  1287. /// </summary>
  1288. ORDERSTATUS_CHANNEL_CANCELED = 14,
  1289. /// <summary>
  1290. /// 通道部成部撤
  1291. /// </summary>
  1292. ORDERSTATUS_CHANNEL_PARTIALCANCELED = 15,
  1293. /// <summary>
  1294. /// 成交失败违约(荷兰式竞拍专用)
  1295. /// </summary>
  1296. ORDERSTATUS_BREACHDEALFAILED = 16
  1297. }
  1298. /// <summary>
  1299. // 手续费收取规则
  1300. /// </summary>
  1301. public enum eChargeRule {
  1302. /// <summary>
  1303. /// 建仓平仓双收
  1304. /// </summary>
  1305. CHARGERULE_BOTH = 1,
  1306. /// <summary>
  1307. /// 建仓不收、平仓收
  1308. /// </summary>
  1309. CHARGERULE_CLOSEONLY = 2,
  1310. /// <summary>
  1311. /// 建仓收、平仓不收
  1312. /// </summary>
  1313. CHARGERULE_OPENONLY = 3,
  1314. /// <summary>
  1315. /// 建仓不收,盈利收,亏损不收
  1316. /// </summary>
  1317. CHARGERULE_PROFITONLY = 4
  1318. }
  1319. /// <summary>
  1320. // 交易规则
  1321. /// </summary>
  1322. public enum eTradeRule {
  1323. /// <summary>
  1324. /// 最大买持仓量
  1325. /// </summary>
  1326. TRADERULE_MAXBUYHOLDERQTY = 101,
  1327. /// <summary>
  1328. /// 最大卖持仓量
  1329. /// </summary>
  1330. TRADERULE_MAXSELLHOLDERQTY = 102,
  1331. /// <summary>
  1332. /// 单笔最小建仓量
  1333. /// </summary>
  1334. TRADERULE_SINGLEMINOPENQTY = 103,
  1335. /// <summary>
  1336. /// 单笔最大建仓量
  1337. /// </summary>
  1338. TRADERULE_SINGLEMAXOPENQTY = 104,
  1339. /// <summary>
  1340. /// 手续费收费规则
  1341. /// </summary>
  1342. TRADERULE_TRADECHARGERULE = 105,
  1343. /// <summary>
  1344. /// 交易T+N
  1345. /// </summary>
  1346. TRADERULE_MINHOLDERDAYS = 106,
  1347. /// <summary>
  1348. /// 上市首日涨停
  1349. /// </summary>
  1350. TRADERULE_FIRSTDAYLIMITUP = 107,
  1351. /// <summary>
  1352. /// 上市首日跌停
  1353. /// </summary>
  1354. TRADERULE_FIRSTDAYLIMITDOWN = 108,
  1355. /// <summary>
  1356. /// 上市首日参考价
  1357. /// </summary>
  1358. TRADERULE_FIRSTDAYPRICE = 109,
  1359. /// <summary>
  1360. /// 涨停
  1361. /// </summary>
  1362. TRADERULE_LIMITUP = 110,
  1363. /// <summary>
  1364. /// 跌停
  1365. /// </summary>
  1366. TRADERULE_LIMITDOWN = 111,
  1367. /// <summary>
  1368. /// 市价最大偏移范围
  1369. /// </summary>
  1370. TRADERULE_MAXOFFSETRANGE = 112,
  1371. /// <summary>
  1372. /// 止损点差
  1373. /// </summary>
  1374. TRADERULE_SLPT = 113,
  1375. /// <summary>
  1376. /// 止盈点差
  1377. /// </summary>
  1378. TRADERULE_SPPT = 114,
  1379. /// <summary>
  1380. /// 单笔最小交割数量
  1381. /// </summary>
  1382. TRADERULE_SINGLEMINDELIVERYQTY = 115,
  1383. /// <summary>
  1384. /// 单笔最大交割数量
  1385. /// </summary>
  1386. TRADERULE_SINGLEMAXDELIVERYQTY = 116,
  1387. /// <summary>
  1388. /// 持仓保证金公式
  1389. /// </summary>
  1390. TRADERULE_MARGINFORMULA = 117
  1391. }
  1392. /// <summary>
  1393. // 是否必填
  1394. /// </summary>
  1395. public enum eIsMandatory {
  1396. /// <summary>
  1397. /// 不必填
  1398. /// </summary>
  1399. ISMANDATORY_NO = 0,
  1400. /// <summary>
  1401. /// 必填
  1402. /// </summary>
  1403. ISMANDATORY_YES = 1
  1404. }
  1405. /// <summary>
  1406. // 是否可个性化
  1407. /// </summary>
  1408. public enum eIsPersonalized {
  1409. /// <summary>
  1410. /// 不可个性化
  1411. /// </summary>
  1412. ISPERSONALIZED_NO = 0,
  1413. /// <summary>
  1414. /// 可个性化
  1415. /// </summary>
  1416. ISPERSONALIZED_YES = 1
  1417. }
  1418. /// <summary>
  1419. // 交易费用
  1420. /// </summary>
  1421. public enum eTradeFee {
  1422. /// <summary>
  1423. /// 建仓(买)手续费
  1424. /// </summary>
  1425. TRADEFEE_OPENCHARGE = 101,
  1426. /// <summary>
  1427. /// 平仓(卖)手续费
  1428. /// </summary>
  1429. TRADEFEE_CLOSECHARGE = 102,
  1430. /// <summary>
  1431. /// 买递延费(仓储费)
  1432. /// </summary>
  1433. TRADEFEE_BUYINTEREST = 103,
  1434. /// <summary>
  1435. /// 卖递延费
  1436. /// </summary>
  1437. TRADEFEE_SELLINTEREST = 104,
  1438. /// <summary>
  1439. /// 买交割手续费
  1440. /// </summary>
  1441. TRADEFEE_BUYDELIVERYCHARGE = 105,
  1442. /// <summary>
  1443. /// 卖交割手续费
  1444. /// </summary>
  1445. TRADEFEE_SELLDELIVERYCHARGE = 106,
  1446. /// <summary>
  1447. /// 调期费
  1448. /// </summary>
  1449. TRADEFEE_SWAPCHARGE = 107,
  1450. /// <summary>
  1451. /// 买过夜费
  1452. /// </summary>
  1453. TRADEFEE_BUYINTEREST2 = 108,
  1454. /// <summary>
  1455. /// 卖过夜费
  1456. /// </summary>
  1457. TRADEFEE_SELLINTEREST2 = 109,
  1458. /// <summary>
  1459. /// 利息
  1460. /// </summary>
  1461. TRADEFEE_INTERESTCHARGE = 110,
  1462. /// <summary>
  1463. /// 买递延费2(仓储费2)
  1464. /// </summary>
  1465. TRADEFEE_BUYDEFERCHARGE = 111,
  1466. /// <summary>
  1467. /// 卖递延费2
  1468. /// </summary>
  1469. TRADEFEE_SELLDEFERCHARGE = 112
  1470. }
  1471. /// <summary>
  1472. // 商品组状态
  1473. /// </summary>
  1474. public enum eGoodsGroupStatus {
  1475. /// <summary>
  1476. /// 正常
  1477. /// </summary>
  1478. GOODSGROUPSTATUS_NORMAL = 1,
  1479. /// <summary>
  1480. /// 注销
  1481. /// </summary>
  1482. GOODSGROUPSTATUS_CANCELLED = 2
  1483. }
  1484. /// <summary>
  1485. // 报价商标识
  1486. /// </summary>
  1487. public enum eHASQUOTER {
  1488. /// <summary>
  1489. /// 无报价商
  1490. /// </summary>
  1491. HASQUOTER_NO = 0,
  1492. /// <summary>
  1493. /// 有报价商
  1494. /// </summary>
  1495. HASQUOTER_YES = 1
  1496. }
  1497. /// <summary>
  1498. // 报价商状态
  1499. /// </summary>
  1500. public enum eQuoterStatus {
  1501. /// <summary>
  1502. /// 正常
  1503. /// </summary>
  1504. QUOTERSTATUS_NORMAL = 1,
  1505. /// <summary>
  1506. /// 注销
  1507. /// </summary>
  1508. QUOTERSTATUS_CANCELLED = 2
  1509. }
  1510. /// <summary>
  1511. // 行情源类型
  1512. /// </summary>
  1513. public enum eQuoteType {
  1514. /// <summary>
  1515. /// 手工报价
  1516. /// </summary>
  1517. QUOTETYPE_MANUAL = 1,
  1518. /// <summary>
  1519. /// 外部行情源
  1520. /// </summary>
  1521. QUOTETYPE_OUTER = 2
  1522. }
  1523. /// <summary>
  1524. // 穿仓类型
  1525. /// </summary>
  1526. public enum eArrType {
  1527. /// <summary>
  1528. /// 强平资金不足欠款
  1529. /// </summary>
  1530. ARRTYPE_CLOSESHORT = 1,
  1531. /// <summary>
  1532. /// 交割手续费不足欠款
  1533. /// </summary>
  1534. ARRTYPE_DELIVERYCHARGESHORT = 2,
  1535. /// <summary>
  1536. /// 入金还款
  1537. /// </summary>
  1538. ARRTYPE_INAMOUNTPAYMENT = 3,
  1539. /// <summary>
  1540. /// 现金买卖还款
  1541. /// </summary>
  1542. ARRTYPE_CASHPAYMENT = 4
  1543. }
  1544. /// <summary>
  1545. // 用户信息类型
  1546. /// </summary>
  1547. public enum eUserInfoType {
  1548. /// <summary>
  1549. /// 个人
  1550. /// </summary>
  1551. USERINFOTYPE_PERSON = 1,
  1552. /// <summary>
  1553. /// 企业
  1554. /// </summary>
  1555. USERINFOTYPE_COMPANY = 2
  1556. }
  1557. /// <summary>
  1558. // 用户状态
  1559. /// </summary>
  1560. public enum eUserStatus {
  1561. /// <summary>
  1562. /// 正常
  1563. /// </summary>
  1564. USERSTATUS_NORMAL = 1,
  1565. /// <summary>
  1566. /// 注销
  1567. /// </summary>
  1568. USERSTATUS_CANCELLED = 2
  1569. }
  1570. /// <summary>
  1571. // 用户类型
  1572. /// </summary>
  1573. public enum eUserType {
  1574. /// <summary>
  1575. /// 交易所
  1576. /// </summary>
  1577. USERTYPE_EXCHANGE = 1,
  1578. /// <summary>
  1579. /// 机构
  1580. /// </summary>
  1581. USERTYPE_AREA = 2,
  1582. /// <summary>
  1583. /// 会员子机构
  1584. /// </summary>
  1585. USERTYPE_SUBAREA = 3,
  1586. /// <summary>
  1587. /// 经纪人
  1588. /// </summary>
  1589. USERTYPE_BROKER = 4,
  1590. /// <summary>
  1591. /// 投资者
  1592. /// </summary>
  1593. USERTYPE_INVESTOR = 5
  1594. }
  1595. /// <summary>
  1596. // 开户方式
  1597. /// </summary>
  1598. public enum eOpenMode {
  1599. /// <summary>
  1600. /// 管理端开户
  1601. /// </summary>
  1602. OPENMODE_MANAGE = 1,
  1603. /// <summary>
  1604. /// 网上开户注册
  1605. /// </summary>
  1606. OPENMODE_WEBSITE = 2,
  1607. /// <summary>
  1608. /// 微信开户
  1609. /// </summary>
  1610. OPENMODE_WECHAT = 3,
  1611. /// <summary>
  1612. /// 网页交易端注册
  1613. /// </summary>
  1614. OPENMODE_TRADEWETSITE = 4,
  1615. /// <summary>
  1616. /// 安卓手机端注册
  1617. /// </summary>
  1618. OPENMODE_ANDROID = 5,
  1619. /// <summary>
  1620. /// 苹果手机端注册
  1621. /// </summary>
  1622. OPENMODE_IOS = 6,
  1623. /// <summary>
  1624. /// PC交易端注册
  1625. /// </summary>
  1626. OPENMODE_TRADEPC = 7
  1627. }
  1628. /// <summary>
  1629. // 企业性质
  1630. /// </summary>
  1631. public enum eBizNature {
  1632. /// <summary>
  1633. /// 国有控股企业
  1634. /// </summary>
  1635. BIZNATURE_NATIONAL = 1,
  1636. /// <summary>
  1637. /// 集体控股企业
  1638. /// </summary>
  1639. BIZNATURE_COLLECTIVE = 2,
  1640. /// <summary>
  1641. /// 私人控股企业
  1642. /// </summary>
  1643. BIZNATURE_PERSONAL = 3,
  1644. /// <summary>
  1645. /// 港澳台商控股企业
  1646. /// </summary>
  1647. BIZNATURE_HMT = 4,
  1648. /// <summary>
  1649. /// 外商控股企业
  1650. /// </summary>
  1651. BIZNATURE_FOREIGN = 5,
  1652. /// <summary>
  1653. /// 其它
  1654. /// </summary>
  1655. BIZNATURE_OTHER = 6
  1656. }
  1657. /// <summary>
  1658. // 性别
  1659. /// </summary>
  1660. public enum eSex {
  1661. /// <summary>
  1662. /// 女
  1663. /// </summary>
  1664. SEX_FEMALE = 0,
  1665. /// <summary>
  1666. /// 男
  1667. /// </summary>
  1668. SEX_MALE = 1
  1669. }
  1670. /// <summary>
  1671. // 账户状态
  1672. /// </summary>
  1673. public enum eAccountStatus {
  1674. /// <summary>
  1675. /// 待激活
  1676. /// </summary>
  1677. ACCOUNTSTATUS_INACTIVE = 1,
  1678. /// <summary>
  1679. /// 待审核
  1680. /// </summary>
  1681. ACCOUNTSTATUS_PENDINGAUDIT = 2,
  1682. /// <summary>
  1683. /// 待复审
  1684. /// </summary>
  1685. ACCOUNTSTATUS_PENDINGREAUDIT = 3,
  1686. /// <summary>
  1687. /// 正常
  1688. /// </summary>
  1689. ACCOUNTSTATUS_NORMAL = 4,
  1690. /// <summary>
  1691. /// 审核拒绝
  1692. /// </summary>
  1693. ACCOUNTSTATUS_REJECT = 5,
  1694. /// <summary>
  1695. /// 已注销
  1696. /// </summary>
  1697. ACCOUNTSTATUS_CANCELLED = 6
  1698. }
  1699. /// <summary>
  1700. // 登录账号类型
  1701. /// </summary>
  1702. public enum eLoginUserType {
  1703. /// <summary>
  1704. /// 投资者
  1705. /// </summary>
  1706. LOGINUSERTYPE_INVESTOR = 1,
  1707. /// <summary>
  1708. /// 机构交易员
  1709. /// </summary>
  1710. LOGINUSERTYPE_TRADER = 2
  1711. }
  1712. /// <summary>
  1713. // 登陆类型
  1714. /// </summary>
  1715. public enum eLoginType {
  1716. /// <summary>
  1717. /// 账号登陆
  1718. /// </summary>
  1719. LOGINTYPE_ACCOUNT = 0,
  1720. /// <summary>
  1721. /// 手机号登陆
  1722. /// </summary>
  1723. LOGINTYPE_MOBILEPHONE = 1,
  1724. /// <summary>
  1725. /// 微信号登陆
  1726. /// </summary>
  1727. LOGINTYPE_WECHAT = 2,
  1728. /// <summary>
  1729. /// 三方认证登陆
  1730. /// </summary>
  1731. LOGINTYPE_AUTH = 3
  1732. }
  1733. /// <summary>
  1734. // 登录账号状态
  1735. /// </summary>
  1736. public enum eLoginStatus {
  1737. /// <summary>
  1738. /// 正常
  1739. /// </summary>
  1740. LOGINSTATUS_NORMAL = 1,
  1741. /// <summary>
  1742. /// 冻结
  1743. /// </summary>
  1744. LOGINSTATUS_FROZEN = 2,
  1745. /// <summary>
  1746. /// 无效
  1747. /// </summary>
  1748. LOGINSTATUS_INVALID = 3
  1749. }
  1750. /// <summary>
  1751. // 签约状态
  1752. /// </summary>
  1753. public enum eSignStatus {
  1754. /// <summary>
  1755. /// 未签约
  1756. /// </summary>
  1757. SIGNSTATUS_UNSIGN = 1,
  1758. /// <summary>
  1759. /// 签约待审核
  1760. /// </summary>
  1761. SIGNSTATUS_SIGNFORAUDIT = 2,
  1762. /// <summary>
  1763. /// 签约中
  1764. /// </summary>
  1765. SIGNSTATUS_SIGNING = 3,
  1766. /// <summary>
  1767. /// 已签约
  1768. /// </summary>
  1769. SIGNSTATUS_SIGNED = 4,
  1770. /// <summary>
  1771. /// 解约待审核
  1772. /// </summary>
  1773. SIGNSTATUS_CANCELFORAUDIT = 5,
  1774. /// <summary>
  1775. /// 解约中
  1776. /// </summary>
  1777. SIGNSTATUS_CANCELLING = 6,
  1778. /// <summary>
  1779. /// 已解约
  1780. /// </summary>
  1781. SIGNSTATUS_CANCELLED = 7,
  1782. /// <summary>
  1783. /// 已解绑
  1784. /// </summary>
  1785. SIGNSTATUS_BINDED = 8,
  1786. /// <summary>
  1787. /// 绑卡中
  1788. /// </summary>
  1789. SIGNSTATUS_BINDING = 9,
  1790. /// <summary>
  1791. /// 审核拒绝
  1792. /// </summary>
  1793. SIGNSTATUS_REJECT = 10,
  1794. /// <summary>
  1795. /// 换签待审核
  1796. /// </summary>
  1797. SIGNSTATUS_SWITCH_SIGN_BANK_FORAUDIT = 11
  1798. }
  1799. /// <summary>
  1800. // 母账户标识
  1801. /// </summary>
  1802. public enum eIsMain {
  1803. /// <summary>
  1804. /// 不是母账户
  1805. /// </summary>
  1806. ISMAIN_NO = 0,
  1807. /// <summary>
  1808. /// 是母账户
  1809. /// </summary>
  1810. ISMAIN_YES = 1
  1811. }
  1812. /// <summary>
  1813. // 资金账号类型
  1814. /// </summary>
  1815. public enum eTAAccountType {
  1816. /// <summary>
  1817. /// 外部账号
  1818. /// </summary>
  1819. TAACCOUNTTYPE_OUTER = 1,
  1820. /// <summary>
  1821. /// 内部账号
  1822. /// </summary>
  1823. TAACCOUNTTYPE_INNER = 2,
  1824. /// <summary>
  1825. /// 内部做市自营账号
  1826. /// </summary>
  1827. TAACCOUNTTYPE_INNER_MARKETMAKER_DEALER = 3,
  1828. /// <summary>
  1829. /// 内部做市接单账号
  1830. /// </summary>
  1831. TAACCOUNTTYPE_INNER_MARKETMAKER_ACCEPT = 4
  1832. }
  1833. /// <summary>
  1834. // 资金调整类型
  1835. /// </summary>
  1836. public enum eAmountAdjustType {
  1837. /// <summary>
  1838. /// 系统
  1839. /// </summary>
  1840. AMOUNTADJUSTTYPE_SYSTEM = 0,
  1841. /// <summary>
  1842. /// 单边账调整
  1843. /// </summary>
  1844. AMOUNTADJUSTTYPE_UNILATERAL = 1,
  1845. /// <summary>
  1846. /// 人工调整
  1847. /// </summary>
  1848. AMOUNTADJUSTTYPE_MANUAL = 2
  1849. }
  1850. /// <summary>
  1851. // 账户业务编号
  1852. /// </summary>
  1853. public enum eAccountBusinessCode {
  1854. /// <summary>
  1855. /// 管理端资金头寸调整
  1856. /// </summary>
  1857. ACCOUNTBIZCODE_MANAGE_ADJUST = 101,
  1858. /// <summary>
  1859. /// 管理端分润划转
  1860. /// </summary>
  1861. ACCOUNTBIZCODE_MANAGE_SHARE_PROFIT = 102,
  1862. /// <summary>
  1863. /// 管理端划转
  1864. /// </summary>
  1865. ACCOUNTBIZCODE_MANAGE_TRANSFER = 103,
  1866. /// <summary>
  1867. /// 管理端主账号划转
  1868. /// </summary>
  1869. ACCOUNTBIZCODE_MANAGE_MAIN_TRANSFER = 104,
  1870. /// <summary>
  1871. /// 银行入金
  1872. /// </summary>
  1873. ACCOUNTBIZCODE_BANK_DEPOSIT = 201,
  1874. /// <summary>
  1875. /// 银行出金冻结
  1876. /// </summary>
  1877. ACCOUNTBIZCODE_BANK_WITHDRAW_FREEZE = 202,
  1878. /// <summary>
  1879. /// 银行出金解冻
  1880. /// </summary>
  1881. ACCOUNTBIZCODE_BANK_WITHDRAW_UNFREEZE = 203,
  1882. /// <summary>
  1883. /// 银行出金
  1884. /// </summary>
  1885. ACCOUNTBIZCODE_BANK_WITHDRAW = 204,
  1886. /// <summary>
  1887. /// 银行单边帐调整
  1888. /// </summary>
  1889. ACCOUNTBIZCODE_BANK_ADJUST = 205,
  1890. /// <summary>
  1891. /// 交易建仓委托
  1892. /// </summary>
  1893. ACCOUNTBIZCODE_TRADE_OPEN_ORDER = 301,
  1894. /// <summary>
  1895. /// 交易建仓撤单
  1896. /// </summary>
  1897. ACCOUNTBIZCODE_TRADE_OPEN_CANCEL = 302,
  1898. /// <summary>
  1899. /// 交易建仓成交
  1900. /// </summary>
  1901. ACCOUNTBIZCODE_TRADE_OPEN_DEAL = 303,
  1902. /// <summary>
  1903. /// 交易平仓委托
  1904. /// </summary>
  1905. ACCOUNTBIZCODE_TRADE_CLOSE_ORDER = 304,
  1906. /// <summary>
  1907. /// 交易平仓撤单
  1908. /// </summary>
  1909. ACCOUNTBIZCODE_TRADE_CLOSE_CANCEL = 305,
  1910. /// <summary>
  1911. /// 交易平仓成交
  1912. /// </summary>
  1913. ACCOUNTBIZCODE_TRADE_CLOSE_DEAL = 306,
  1914. /// <summary>
  1915. /// 交易先平后建委托
  1916. /// </summary>
  1917. ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_ORDER = 307,
  1918. /// <summary>
  1919. /// 交易先平后建撤单
  1920. /// </summary>
  1921. ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_CANCEL = 308,
  1922. /// <summary>
  1923. /// 交易先平后建成交
  1924. /// </summary>
  1925. ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_DEAL = 309,
  1926. /// <summary>
  1927. /// 交易持仓作废
  1928. /// </summary>
  1929. ACCOUNTBIZCODE_TRADE_INVALID = 310,
  1930. /// <summary>
  1931. /// 交易到期解冻
  1932. /// </summary>
  1933. ACCOUNTBIZCODE_TRADE_EXPIRED_UNFREEZE = 311,
  1934. /// <summary>
  1935. /// 交易仓单转头寸
  1936. /// </summary>
  1937. ACCOUNTBIZCODE_TRADE_WRTOPOSITION = 312,
  1938. /// <summary>
  1939. /// 交易头寸转仓单
  1940. /// </summary>
  1941. ACCOUNTBIZCODE_TRADE_POSITIONTOWR = 313,
  1942. /// <summary>
  1943. /// 交易报价冻结
  1944. /// </summary>
  1945. ACCOUNTBIZCODE_TRADEQUOTE_FREEZE = 314,
  1946. /// <summary>
  1947. /// 交易管理端修正建仓
  1948. /// </summary>
  1949. ACCOUNTBIZCODE_TRADE_MANAGE_AMEND_HOLDER_OPEN = 315,
  1950. /// <summary>
  1951. /// 交易管理端修正平仓
  1952. /// </summary>
  1953. ACCOUNTBIZCODE_TRADE_MANAGE_AMEND_HOLDER_CLOSE = 316,
  1954. /// <summary>
  1955. /// 三方入金
  1956. /// </summary>
  1957. ACCOUNTBIZCODE_THIRD_IN_MONEY = 317,
  1958. /// <summary>
  1959. /// 三方出金冻结
  1960. /// </summary>
  1961. ACCOUNTBIZCODE_THIRD_OUT_MONEY_FREEZE = 318,
  1962. /// <summary>
  1963. /// 三方出金解冻
  1964. /// </summary>
  1965. ACCOUNTBIZCODE_THIRD_OUT_MONEY_UNFREEZE = 319,
  1966. /// <summary>
  1967. /// 币币兑换买方委托
  1968. /// </summary>
  1969. ACCOUNTBIZCODE_COINEXCHANGE_BUY_ORDER = 320,
  1970. /// <summary>
  1971. /// 币币兑换卖方委托
  1972. /// </summary>
  1973. ACCOUNTBIZCODE_COINEXCHANGE_SELL_ORDER = 321,
  1974. /// <summary>
  1975. /// 币币兑换买方付款成交
  1976. /// </summary>
  1977. ACCOUNTBIZCODE_COINEXCHANGE_BUY_PAYER_DEAL = 322,
  1978. /// <summary>
  1979. /// 币币兑换买方收款成交
  1980. /// </summary>
  1981. ACCOUNTBIZCODE_COINEXCHANGE_BUY_PAYEE_DEAL = 323,
  1982. /// <summary>
  1983. /// 币币兑换卖方付款成交
  1984. /// </summary>
  1985. ACCOUNTBIZCODE_COINEXCHANGE_SELL_PAYEY_DEAL = 324,
  1986. /// <summary>
  1987. /// 币币兑换卖方收款成交
  1988. /// </summary>
  1989. ACCOUNTBIZCODE_COINEXCHANGE_SELL_PAYEE_DEAL = 325,
  1990. /// <summary>
  1991. /// 币币兑换买方撤单
  1992. /// </summary>
  1993. ACCOUNTBIZCODE_COINEXCHANGE_BUY_CANCEL = 326,
  1994. /// <summary>
  1995. /// 币币兑换卖方撤单
  1996. /// </summary>
  1997. ACCOUNTBIZCODE_COINEXCHANGE_SELL_CANCEL = 327,
  1998. /// <summary>
  1999. /// 币币兑换报价冻结
  2000. /// </summary>
  2001. ACCOUNTBIZCODE_COINEXCHANGE_QUOTE_FREEZE = 328,
  2002. /// <summary>
  2003. /// 三方出金
  2004. /// </summary>
  2005. ACCOUNTBIZCODE_THIRD_OUT_MONEY = 329,
  2006. /// <summary>
  2007. /// 融资合同授信入金
  2008. /// </summary>
  2009. ACCOUNTBIZCODE_CONTRACT_IN_MONEY = 330,
  2010. /// <summary>
  2011. /// 融资合同授信还款
  2012. /// </summary>
  2013. ACCOUNTBIZCODE_CONTRACT_PAYBACK_MONEY = 331,
  2014. /// <summary>
  2015. /// 融资续期合同手续费冻结
  2016. /// </summary>
  2017. ACCOUNTBIZCODE_RENEWALCONTRACT_FREEZE = 332,
  2018. /// <summary>
  2019. /// 融资续期合同手续费解冻
  2020. /// </summary>
  2021. ACCOUNTBIZCODE_RENEWALCONTRACT_UNFREEZE = 333,
  2022. /// <summary>
  2023. /// 融资续期合同手续费解冻扣款
  2024. /// </summary>
  2025. ACCOUNTBIZCODE_RENEWALCONTRACT_DEDUCT = 334,
  2026. /// <summary>
  2027. /// 币交易卖委托
  2028. /// </summary>
  2029. ACCOUNTBIZCODE_COINC2C_SELL_ORDER = 350,
  2030. /// <summary>
  2031. /// 币交易卖成交
  2032. /// </summary>
  2033. ACCOUNTBIZCODE_COINC2C_SELL_DEAL = 351,
  2034. /// <summary>
  2035. /// 币交易卖撤单
  2036. /// </summary>
  2037. ACCOUNTBIZCODE_COINC2C_SELL_CANCEL = 352,
  2038. /// <summary>
  2039. /// 交割平仓委托
  2040. /// </summary>
  2041. ACCOUNTBIZCODE_DELIVERY_CLOSE_ORDER = 401,
  2042. /// <summary>
  2043. /// 交割平仓撤单
  2044. /// </summary>
  2045. ACCOUNTBIZCODE_DELIVERY_CLOSE_CANCEL = 402,
  2046. /// <summary>
  2047. /// 交割平仓成交
  2048. /// </summary>
  2049. ACCOUNTBIZCODE_DELIVERY_CLOSE_DEAL = 403,
  2050. /// <summary>
  2051. /// 交割成交
  2052. /// </summary>
  2053. ACCOUNTBIZCODE_DELIVERY_DEAL = 404,
  2054. /// <summary>
  2055. /// 交割仓单订单查询
  2056. /// </summary>
  2057. ACCOUNTBIZCODE_DELIVERY_WAREHORSE_QUERY = 405,
  2058. /// <summary>
  2059. /// 交割主商品头寸冻结
  2060. /// </summary>
  2061. ACCOUNTBIZCODE_DELIVERY_XPOSITION_FREEZE = 406,
  2062. /// <summary>
  2063. /// 交割主商品头寸解冻
  2064. /// </summary>
  2065. ACCOUNTBIZCODE_DELIVERY_XPOSITION_UNFREEZE = 407,
  2066. /// <summary>
  2067. /// 交割辅商品头寸冻结
  2068. /// </summary>
  2069. ACCOUNTBIZCODE_DELIVERY_PPOSITION_FREEZE = 408,
  2070. /// <summary>
  2071. /// 交割辅商品头寸解冻
  2072. /// </summary>
  2073. ACCOUNTBIZCODE_DELIVERY_PPOSITION_UNFREEZE = 409,
  2074. /// <summary>
  2075. /// 交割手续费
  2076. /// </summary>
  2077. ACCOUNTBIZCODE_DELIVERY_CHARGE = 410,
  2078. /// <summary>
  2079. /// 交割申请仓单订单查询
  2080. /// </summary>
  2081. ACCOUNTBIZCODE_DELIVERY_APPLY_WAREHOUSE_QUERY = 411,
  2082. /// <summary>
  2083. /// 交割申请主商品头寸冻结
  2084. /// </summary>
  2085. ACCOUNTBIZCODE_DELIVERY_APPLY_XPOSITION_FREEZE = 412,
  2086. /// <summary>
  2087. /// 交割申请主商品头寸解冻
  2088. /// </summary>
  2089. ACCOUNTBIZCODE_DELIVERY_APPLY_XPOSITION_UNFREEZE = 413,
  2090. /// <summary>
  2091. /// 交割申请辅商品头寸冻结
  2092. /// </summary>
  2093. ACCOUNTBIZCODE_DELIVERY_APPLY_PPOSITION_FREEZE = 414,
  2094. /// <summary>
  2095. /// 交割申请辅商品头寸解冻
  2096. /// </summary>
  2097. ACCOUNTBIZCODE_DELIVERY_APPLY_PPOSITION_UNFREEZE = 415,
  2098. /// <summary>
  2099. /// 交割申请冻结仓单头寸
  2100. /// </summary>
  2101. ACCOUNTBIZCODE_DELIVERY_APPLY_WRPOSTION_FREEZE = 416,
  2102. /// <summary>
  2103. /// 交割申请解冻仓单头寸
  2104. /// </summary>
  2105. ACCOUNTBIZCODE_DELIVERY_APPLY_WRPOSTION_UNFREEZE = 417,
  2106. /// <summary>
  2107. /// 交割申请冻结货款
  2108. /// </summary>
  2109. ACCOUNTBIZCODE_DELIVERY_APPLY_DELIVERYAMOUNT_FREEZE = 418,
  2110. /// <summary>
  2111. /// 交割申请解冻货款
  2112. /// </summary>
  2113. ACCOUNTBIZCODE_DELIVERY_APPLY_DELIVERYAMOUNT_UNFREEZE = 419,
  2114. /// <summary>
  2115. /// 交割申请付款
  2116. /// </summary>
  2117. ACCOUNTBIZCODE_DELIVERY_APPLY_PAYMENT = 420,
  2118. /// <summary>
  2119. /// 交割申请收款
  2120. /// </summary>
  2121. ACCOUNTBIZCODE_DELIVERY_APPLY_RECEIPT = 421,
  2122. /// <summary>
  2123. /// 交割申报冻结货款
  2124. /// </summary>
  2125. ACCOUNTBIZCODE_DELIVERY_FUND_FREEZE = 422,
  2126. /// <summary>
  2127. /// 交割申报解冻货款
  2128. /// </summary>
  2129. ACCOUNTBIZCODE_DELIVERY_FUND_UNFREEZE = 423,
  2130. /// <summary>
  2131. /// 交割调期费
  2132. /// </summary>
  2133. ACCOUNTBIZCODE_DELIVERY_SWAY_FEE = 424,
  2134. /// <summary>
  2135. /// 冻结货款(无仓单)
  2136. /// </summary>
  2137. ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_DELIVERYAMOUNT_FREEZE = 430,
  2138. /// <summary>
  2139. /// 解冻货款(无仓单)
  2140. /// </summary>
  2141. ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_DELIVERYAMOUNT_UNFREEZE = 431,
  2142. /// <summary>
  2143. /// 冻结主商品头寸(无仓单)
  2144. /// </summary>
  2145. ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_XPOSITION_FREEZE = 432,
  2146. /// <summary>
  2147. /// 解冻主商品头寸(无仓单)
  2148. /// </summary>
  2149. ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_XPOSITION_UNFREEZE = 433,
  2150. /// <summary>
  2151. /// 交割申报冻结货款(无仓单)
  2152. /// </summary>
  2153. ACCOUNTBIZCODE_DELIVERY_NONWR_DELIVERYAMOUNT_FREEZE = 434,
  2154. /// <summary>
  2155. /// 交割申报解冻货款(无仓单)
  2156. /// </summary>
  2157. ACCOUNTBIZCODE_DELIVERY_NONWR_DELIVERYAMOUNT_UNFREEZE = 435,
  2158. /// <summary>
  2159. /// 交割申报冻结主商品头寸(无仓单)
  2160. /// </summary>
  2161. ACCOUNTBIZCODE_DELIVERY_NONWR_XPOSITION_FREEZE = 436,
  2162. /// <summary>
  2163. /// 交割申报解冻主商品头寸(无仓单)
  2164. /// </summary>
  2165. ACCOUNTBIZCODE_DELIVERY_NONWR_XPOSITION_UNFREEZE = 437,
  2166. /// <summary>
  2167. /// 交收补偿费(无仓单)
  2168. /// </summary>
  2169. ACCOUNTBIZCODE_DELIVERY_NONWR_COMPENSATION_FEE = 438,
  2170. /// <summary>
  2171. /// 查询可点选头寸(无仓单)
  2172. /// </summary>
  2173. ACCOUNTBIZCODE_DELIVERY_NONWR_POSITION_QUERY = 439,
  2174. /// <summary>
  2175. /// 交割申请会员仓单订单查询
  2176. /// </summary>
  2177. ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_WAREHOUSE_QUERY = 440,
  2178. /// <summary>
  2179. /// 交割申请会员主商品头寸冻结
  2180. /// </summary>
  2181. ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_XPOSITION_FREEZE = 441,
  2182. /// <summary>
  2183. /// 交割申请会员主商品头寸解冻
  2184. /// </summary>
  2185. ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_XPOSITION_UNFREEZE = 442,
  2186. /// <summary>
  2187. /// 交割申请会员冻结仓单头寸
  2188. /// </summary>
  2189. ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_WRPOSTION_FREEZE = 445,
  2190. /// <summary>
  2191. /// 交割申请会员解冻仓单头寸
  2192. /// </summary>
  2193. ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_WRPOSTION_UNFREEZE = 446,
  2194. /// <summary>
  2195. /// 交割申请会员冻结货款
  2196. /// </summary>
  2197. ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_DELIVERYAMOUNT_FREEZE = 447,
  2198. /// <summary>
  2199. /// 交割申请会员解冻货款
  2200. /// </summary>
  2201. ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_DELIVERYAMOUNT_UNFREEZE = 448,
  2202. /// <summary>
  2203. /// 无仓单交割冻结履约保证金
  2204. /// </summary>
  2205. ACCOUNTBIZCODE_DELIVERY_NONWR_PERFORMANCEMARGIN_FREEZE = 449,
  2206. /// <summary>
  2207. /// 履约卖方发货
  2208. /// </summary>
  2209. ACCOUNTBIZCODE_PERFORMANCE_SELLER_SENDGOODS = 501,
  2210. /// <summary>
  2211. /// 履约买方支付
  2212. /// </summary>
  2213. ACCOUNTBIZCODE_PERFORMANCE_BUYER_PAYMENT = 502,
  2214. /// <summary>
  2215. /// 履约卖方收款
  2216. /// </summary>
  2217. ACCOUNTBIZCODE_PERFORMANCE_SELLER_RECEIVE = 503,
  2218. /// <summary>
  2219. /// 履约买方违约
  2220. /// </summary>
  2221. ACCOUNTBIZCODE_PERFORMANCE_BREACH_BUY = 504,
  2222. /// <summary>
  2223. /// 履约卖方违约
  2224. /// </summary>
  2225. ACCOUNTBIZCODE_PERFORMANCE_BREACH_SELL = 505,
  2226. /// <summary>
  2227. /// 履约冻结仓单头寸
  2228. /// </summary>
  2229. ACCOUNTBIZCODE_PERFORMANCE_WRPOSTION_FREEZE = 506,
  2230. /// <summary>
  2231. /// 履约解冻仓单头寸
  2232. /// </summary>
  2233. ACCOUNTBIZCODE_PERFORMANCE_WRPOSTION_UNFREEZE = 507,
  2234. /// <summary>
  2235. /// 支付流程扣款
  2236. /// </summary>
  2237. ACCOUNTBIZCODE_PERFORMANCE_BUYERPAYMENT_DEDUCT = 508,
  2238. /// <summary>
  2239. /// 收款流程扣款
  2240. /// </summary>
  2241. ACCOUNTBIZCODE_PERFORMANCE_SELLERRECV_DEDUCT = 509,
  2242. /// <summary>
  2243. /// 收款流程收款
  2244. /// </summary>
  2245. ACCOUNTBIZCODE_PERFORMANCE_SELLERRECV_RECV = 510,
  2246. /// <summary>
  2247. /// 计划结束时释放相关金额
  2248. /// </summary>
  2249. ACCOUNTBIZCODE_PERFORMANCE_UNFREEZE_PLAN_END = 511,
  2250. /// <summary>
  2251. /// 卖方释放履约前冻结剩余金额
  2252. /// </summary>
  2253. ACCOUNTBIZCODE_PERFORMANCE_SELLER_UNFREEZE = 512,
  2254. /// <summary>
  2255. /// 仓单注册审核通过的仓单服务处理
  2256. /// </summary>
  2257. ACCOUNTBIZCODE_WR_REGISTER = 601,
  2258. /// <summary>
  2259. /// 仓单转移业务处理
  2260. /// </summary>
  2261. ACCOUNTBIZCODE_WR_MOVE = 602,
  2262. /// <summary>
  2263. /// 仓单生成(仓单拆解)
  2264. /// </summary>
  2265. ACCOUNTBIZCODE_WR_DELIVERY_SPLIT = 603,
  2266. /// <summary>
  2267. /// 仓单转订单申请
  2268. /// </summary>
  2269. ACCOUNTBIZCODE_WR_R2H_APPLY = 604,
  2270. /// <summary>
  2271. /// 仓单转订单审核
  2272. /// </summary>
  2273. ACCOUNTBIZCODE_WR_R2H_VERIFY = 605,
  2274. /// <summary>
  2275. /// 订单转仓单申请
  2276. /// </summary>
  2277. ACCOUNTBIZCODE_WR_H2R_APPLY = 606,
  2278. /// <summary>
  2279. /// 订单转仓单审核
  2280. /// </summary>
  2281. ACCOUNTBIZCODE_WR_H2R_VERIFY = 607,
  2282. /// <summary>
  2283. /// 提货申请
  2284. /// </summary>
  2285. ACCOUNTBIZCODE_WR_LADING_APPLY = 608,
  2286. /// <summary>
  2287. /// 提货审核
  2288. /// </summary>
  2289. ACCOUNTBIZCODE_WR_LADING_VERIFY = 609,
  2290. /// <summary>
  2291. /// 库位状态变更
  2292. /// </summary>
  2293. ACCOUNTBIZCODE_WR_LOCATION_STATUS_UPDATE = 610,
  2294. /// <summary>
  2295. /// 合并库位
  2296. /// </summary>
  2297. ACCOUNTBIZCODE_WR_MERGE_LOCATION = 611,
  2298. /// <summary>
  2299. /// 提货撤消
  2300. /// </summary>
  2301. ACCOUNTBIZCODE_WR_LADING_CANCEL = 612,
  2302. /// <summary>
  2303. /// 退市订单转仓单请求
  2304. /// </summary>
  2305. ACCOUNTBIZCODE_WR_H2R_DELIST = 613,
  2306. /// <summary>
  2307. /// 运费拒绝请求
  2308. /// </summary>
  2309. ACCOUNTBIZCODE_WR_FREIGHT_REJECT = 614,
  2310. /// <summary>
  2311. /// 收货确认
  2312. /// </summary>
  2313. ACCOUNTBIZCODE_WR_RECEIVE_CONFIRM = 615,
  2314. /// <summary>
  2315. /// 运费确认
  2316. /// </summary>
  2317. ACCOUNTBIZCODE_WR_FREIGHT_CONFIRM = 616,
  2318. /// <summary>
  2319. /// 发货业务
  2320. /// </summary>
  2321. ACCOUNTBIZCODE_WR_DELIVERY_DISTRIBUTE = 617,
  2322. /// <summary>
  2323. /// 运费收入
  2324. /// </summary>
  2325. ACCOUNTBIZCODE_WR_FREIGHT_INCOME = 618,
  2326. /// <summary>
  2327. /// 重新发布
  2328. /// </summary>
  2329. ACCOUNTBIZCODE_WR_RETRANSMIT_DISTRIBUTE = 619,
  2330. /// <summary>
  2331. /// 提货计划审核通过
  2332. /// </summary>
  2333. ACCOUNTBIZCODE_WR_TAKE_PLAN = 620,
  2334. /// <summary>
  2335. /// 合同生效
  2336. /// </summary>
  2337. ACCOUNTBIZCODE_WR_CONTRACT_FORCE = 621,
  2338. /// <summary>
  2339. /// 仓单贸易挂牌委托
  2340. /// </summary>
  2341. ACCOUNTBIZCODE_WRTRADE_LISTING_ORDER = 701,
  2342. /// <summary>
  2343. /// 仓单贸易挂牌撤单
  2344. /// </summary>
  2345. ACCOUNTBIZCODE_WRTRADE_LISTING_CANCEL = 702,
  2346. /// <summary>
  2347. /// 仓单贸易摘牌委托
  2348. /// </summary>
  2349. ACCOUNTBIZCODE_WRTRADE_DELISTING_ORDER = 703,
  2350. /// <summary>
  2351. /// 仓单贸易摘牌成交
  2352. /// </summary>
  2353. ACCOUNTBIZCODE_WRTRADE_DELISTING_DEAL = 704,
  2354. /// <summary>
  2355. /// 仓单贸易挂牌成交
  2356. /// </summary>
  2357. ACCOUNTBIZCODE_WRTRADE_LISTING_DEAL = 705,
  2358. /// <summary>
  2359. /// 报价系统冻结仓单头寸
  2360. /// </summary>
  2361. ACCOUNTBIZCODE_SPOTQUOTE_WRPOSTION_FREEZE = 706,
  2362. /// <summary>
  2363. /// 报价系统解冻仓单头寸
  2364. /// </summary>
  2365. ACCOUNTBIZCODE_SPOTQUOTE_WRPOSTION_UNFREEZE = 707,
  2366. /// <summary>
  2367. /// 挂牌系统先撤后挂
  2368. /// </summary>
  2369. ACCOUNTBIZCODE_WRTRADE_CANCELTEHNLISTING = 708,
  2370. /// <summary>
  2371. /// 供应链金融冻结
  2372. /// </summary>
  2373. ACCOUNTBIZCODE_SCF_FREEZE = 801,
  2374. /// <summary>
  2375. /// 供应链金融扣款
  2376. /// </summary>
  2377. ACCOUNTBIZCODE_SCF_DEDUCT = 802,
  2378. /// <summary>
  2379. /// 供应链金融收款
  2380. /// </summary>
  2381. ACCOUNTBIZCODE_SCF_RECEIVE = 803,
  2382. /// <summary>
  2383. /// 供应链金融冻结仓单头寸
  2384. /// </summary>
  2385. ACCOUNTBIZCODE_SCF_POS_FREEZE = 804,
  2386. /// <summary>
  2387. /// 供应链金融解冻仓单头寸
  2388. /// </summary>
  2389. ACCOUNTBIZCODE_SCF_POS_UNFREEZE = 805,
  2390. /// <summary>
  2391. /// 供应链金融解冻扣减头寸
  2392. /// </summary>
  2393. ACCOUNTBIZCODE_SCF_POS_UNFREEZE_DEDUCT = 806,
  2394. /// <summary>
  2395. /// 供应链金融增加头寸
  2396. /// </summary>
  2397. ACCOUNTBIZCODE_SCF_POS_ADD = 807,
  2398. /// <summary>
  2399. /// 供应链金融最大扣款
  2400. /// </summary>
  2401. ACCOUNTBIZCODE_SCF_MAX_DEDUCT = 808,
  2402. /// <summary>
  2403. /// 供应链金融合并仓单
  2404. /// </summary>
  2405. ACCOUNTBIZCODE_SCF_WR_LOCATION_MARGE = 809,
  2406. /// <summary>
  2407. /// 供应链金融转移仓单
  2408. /// </summary>
  2409. ACCOUNTBIZCODE_SCF_WR_LOCATION_MOVE = 810,
  2410. /// <summary>
  2411. /// 供应链金融风控通知
  2412. /// </summary>
  2413. ACCOUNTBIZCODE_SCF_RISK_NTF = 811,
  2414. /// <summary>
  2415. /// 期权交易建仓委托
  2416. /// </summary>
  2417. ACCOUNTBIZCODE_OPTION_OPEN_ORDER = 901,
  2418. /// <summary>
  2419. /// 期权交易建仓撤单
  2420. /// </summary>
  2421. ACCOUNTBIZCODE_OPTION_OPEN_CANCEL = 902,
  2422. /// <summary>
  2423. /// 期权交易建仓成交
  2424. /// </summary>
  2425. ACCOUNTBIZCODE_OPTION_OPEN_DEAL = 903,
  2426. /// <summary>
  2427. /// 期权交易平仓委托
  2428. /// </summary>
  2429. ACCOUNTBIZCODE_OPTION_CLOSE_ORDER = 904,
  2430. /// <summary>
  2431. /// 期权交易平仓撤单
  2432. /// </summary>
  2433. ACCOUNTBIZCODE_OPTION_CLOSE_CANCEL = 905,
  2434. /// <summary>
  2435. /// 期权交易平仓成交
  2436. /// </summary>
  2437. ACCOUNTBIZCODE_OPTION_CLOSE_DEAL = 906,
  2438. /// <summary>
  2439. /// 扩展服务仓单头寸汇总查询
  2440. /// </summary>
  2441. ACCOUNTBIZCODE_MS_WRPOSION_QUERY = 1001,
  2442. /// <summary>
  2443. /// 扩展服务仓单订单头寸冻结
  2444. /// </summary>
  2445. ACCOUNTBIZCODE_MS_WRPOSION_FREEZE = 1002,
  2446. /// <summary>
  2447. /// 扩展服务仓单订单头寸扣减
  2448. /// </summary>
  2449. ACCOUNTBIZCODE_MS_WRPOSION_DEDUCT = 1003,
  2450. /// <summary>
  2451. /// 扩展服务资金扣减请求
  2452. /// </summary>
  2453. ACCOUNTBIZCODE_MS_MONEY_DEDUCT = 1004,
  2454. /// <summary>
  2455. /// 扩展服务资金增加请求
  2456. /// </summary>
  2457. ACCOUNTBIZCODE_MS_MONEY_ADD = 1005,
  2458. /// <summary>
  2459. /// 扩展服务资金冻结请求
  2460. /// </summary>
  2461. ACCOUNTBIZCODE_MS_MONEY_FREEZE = 1006,
  2462. /// <summary>
  2463. /// 扩展服务资金解冻扣减请求
  2464. /// </summary>
  2465. ACCOUNTBIZCODE_MS_MONEY_UNFREEZE_DEDUCT = 1007,
  2466. /// <summary>
  2467. /// 扩展服务仓单订单头寸解冻
  2468. /// </summary>
  2469. ACCOUNTBIZCODE_MS_WRPOSION_UNFREEZE = 1008,
  2470. /// <summary>
  2471. /// 扩展积分头寸查询
  2472. /// </summary>
  2473. ACCOUNTBIZCODE_MS_SCOREPOSION_QUERY = 1009,
  2474. /// <summary>
  2475. /// 扩展交收分润扣款
  2476. /// </summary>
  2477. ACCOUNTBIZCODE_MS_DELIVERY_DIVIDE_MONEY_DEDUCT = 1010,
  2478. /// <summary>
  2479. /// 扩展交收分润增加
  2480. /// </summary>
  2481. ACCOUNTBIZCODE_MS_DELIVERY_DIVIDE_MONEY_ADD = 1011,
  2482. /// <summary>
  2483. /// 扩展交收红包返现扣款
  2484. /// </summary>
  2485. ACCOUNTBIZCODE_MS_DELIVERY_RETURN_MONEY_DEDUCT = 1012,
  2486. /// <summary>
  2487. /// 扩展交收红包返现增加
  2488. /// </summary>
  2489. ACCOUNTBIZCODE_MS_DELIVERY_RETURN_MONEY_ADD = 1013,
  2490. /// <summary>
  2491. /// 扩展交易分润资金扣款
  2492. /// </summary>
  2493. ACCOUNTBIZCODE_MS_TRADE_DIVIDE_MONEY_DEDUCT = 1014,
  2494. /// <summary>
  2495. /// 扩展交易分润资金入款
  2496. /// </summary>
  2497. ACCOUNTBIZCODE_MS_TRADE_DIVIDE_MONEY_ADD = 1015,
  2498. /// <summary>
  2499. /// 扩展交易交收配送费扣款
  2500. /// </summary>
  2501. ACCOUNTBIZCODE_MS_EXPRESSFEE_MONEY_DEDUCT = 1016,
  2502. /// <summary>
  2503. /// 扩展交易交收配送费入款
  2504. /// </summary>
  2505. ACCOUNTBIZCODE_MS_EXPRESSFEE_MONEY_ADD = 1017,
  2506. /// <summary>
  2507. /// 扩展购物分润资金扣款
  2508. /// </summary>
  2509. ACCOUNTBIZCODE_MS_SHOPPING_DIVIDE_MONEY_DEDUCT = 1018,
  2510. /// <summary>
  2511. /// 扩展购物分润资金入款
  2512. /// </summary>
  2513. ACCOUNTBIZCODE_MS_SHOPPING_DIVIDE_MONEY_ADD = 1019,
  2514. /// <summary>
  2515. /// 扩展盈利转积分扣款
  2516. /// </summary>
  2517. ACCOUNTBIZCODE_MS_PROFIT_TOSCORE_MONEY_DEDUCT = 1020,
  2518. /// <summary>
  2519. /// 扩展盈利转积分入款
  2520. /// </summary>
  2521. ACCOUNTBIZCODE_MS_PROFIT_TOSCORE_MONEY_ADD = 1021,
  2522. /// <summary>
  2523. /// 扩展购物分润交易所手续费扣款
  2524. /// </summary>
  2525. ACCOUNTBIZCODE_MS_SHOPPING_DIVIDE_EXCH_DIV_DEDUCT = 1022,
  2526. /// <summary>
  2527. /// 积分服务积分头寸增加
  2528. /// </summary>
  2529. ACCOUNTBIZCODE_SCORE_ADD = 1101,
  2530. /// <summary>
  2531. /// 积分服务积分头寸减少
  2532. /// </summary>
  2533. ACCOUNTBIZCODE_SCORE_DOWN = 1102,
  2534. /// <summary>
  2535. /// 机构决算时积分回购
  2536. /// </summary>
  2537. ACCOUNTBIZCODE_SCORE_RECKON_ADD = 1103,
  2538. /// <summary>
  2539. /// 决算时消灭过期积分
  2540. /// </summary>
  2541. ACCOUNTBIZCODE_SCORE_RECKON_DESTROY = 1104,
  2542. /// <summary>
  2543. /// 积分结算冻结请求
  2544. /// </summary>
  2545. ACCOUNTBIZCODE_SCORE_RECKON_FREEZE = 1105,
  2546. /// <summary>
  2547. /// 积分结算解冻请求
  2548. /// </summary>
  2549. ACCOUNTBIZCODE_SCORE_RECKON_UNFREEZE = 1106,
  2550. /// <summary>
  2551. /// 积分清理积分商增加
  2552. /// </summary>
  2553. ACCOUNTBIZCODE_SCORE_CLEAR_ADD = 1107,
  2554. /// <summary>
  2555. /// 积分清理冻结
  2556. /// </summary>
  2557. ACCOUNTBIZCODE_SCORE_CLEAR_FREEZE = 1108,
  2558. /// <summary>
  2559. /// 积分清理解冻
  2560. /// </summary>
  2561. ACCOUNTBIZCODE_SCORE_CLEAR_UNFREEZE = 1109,
  2562. /// <summary>
  2563. /// 积分撤单解冻
  2564. /// </summary>
  2565. ACCOUNTBIZCODE_SCORE_CANCEL_UNFREEZE = 1110,
  2566. /// <summary>
  2567. /// 积分核销冻结请求
  2568. /// </summary>
  2569. ACCOUNTBIZCODE_SCORE_CLOSEDOWN_FREEZE = 1111,
  2570. /// <summary>
  2571. /// 积分核销解冻请求
  2572. /// </summary>
  2573. ACCOUNTBIZCODE_SCORE_CLOSEDOWN_UNFREEZE = 1112,
  2574. /// <summary>
  2575. /// 会员积分头寸减少
  2576. /// </summary>
  2577. ACCOUNTBIZCODE_SCORE_LESSEN = 1113,
  2578. /// <summary>
  2579. /// 首次登陆送红包积分增加
  2580. /// </summary>
  2581. ACCOUNTBIZCODE_SCORE_FRIST_LOAD_REDPACKET_ADD = 1114,
  2582. /// <summary>
  2583. /// 开户送红包积分增加
  2584. /// </summary>
  2585. ACCOUNTBIZCODE_SCORE_OPENACC_REDPACKET_ADD = 1115,
  2586. /// <summary>
  2587. /// 开户推荐人红包增加
  2588. /// </summary>
  2589. ACCOUNTBIZCODE_SCORE_OPEN_REFEREE_REDPACKET_ADD = 1116,
  2590. /// <summary>
  2591. /// 积分返还
  2592. /// </summary>
  2593. ACCOUNTBIZCODE_SCORE_RESTORE = 1117,
  2594. /// <summary>
  2595. /// 积分资金互转
  2596. /// </summary>
  2597. ACCOUNTBIZCODE_SCORE_MONEYSCOREEXCHANGE = 1118,
  2598. /// <summary>
  2599. /// 积分结算积分减少
  2600. /// </summary>
  2601. ACCOUNTBIZCODE_SCORE_RECKON_DOWN = 1119,
  2602. /// <summary>
  2603. /// 买方竞拍委托
  2604. /// </summary>
  2605. ACCOUNTBIZCODE_BUYAUCTION_ORDER = 1201,
  2606. /// <summary>
  2607. /// 竞拍违约扣款
  2608. /// </summary>
  2609. ACCOUNTBIZCODE_AUCTION_BREACH_DEDUCT = 1202,
  2610. /// <summary>
  2611. /// 竞拍违约收款
  2612. /// </summary>
  2613. ACCOUNTBIZCODE_AUCTION_BREACH_RECV = 1203,
  2614. /// <summary>
  2615. /// 竞拍资金冻结
  2616. /// </summary>
  2617. ACCOUNTBIZCODE_AUCTION_AMOUNT_FREEZE = 1204,
  2618. /// <summary>
  2619. /// 买方竞拍成交
  2620. /// </summary>
  2621. ACCOUNTBIZCODE_BUYAUCTION_TRADE = 1205,
  2622. /// <summary>
  2623. /// 卖方竞拍委托
  2624. /// </summary>
  2625. ACCOUNTBIZCODE_SELLAUCTION_ORDER = 1206,
  2626. /// <summary>
  2627. /// 卖方竞拍成交
  2628. /// </summary>
  2629. ACCOUNTBIZCODE_SELLAUCTION_TRADE = 1207,
  2630. /// <summary>
  2631. /// 买方竞拍撤单
  2632. /// </summary>
  2633. ACCOUNTBIZCODE_BUYAUCTION_CANCEL = 1208,
  2634. /// <summary>
  2635. /// 卖方竞拍撤单
  2636. /// </summary>
  2637. ACCOUNTBIZCODE_SELLAUCTION_CANCEL = 1209,
  2638. /// <summary>
  2639. /// 卖方竞拍申请注销
  2640. /// </summary>
  2641. ACCOUNTBIZCODE_SELLAUCTION_APPLYCANCEL = 1210,
  2642. /// <summary>
  2643. /// 买方参与场次
  2644. /// </summary>
  2645. ACCOUNTBIZCODE_BUYAUCTION_GOGROUP = 1211,
  2646. /// <summary>
  2647. /// 竞拍资金冻结
  2648. /// </summary>
  2649. ACCOUNTBIZCODE_AUCTION_AMOUNT_FREEZEGROUP = 1212,
  2650. /// <summary>
  2651. /// 买方退出场次
  2652. /// </summary>
  2653. ACCOUNTBIZCODE_BUYAUCTION_ENDGROUP = 1213,
  2654. /// <summary>
  2655. /// 竞拍返利扣款
  2656. /// </summary>
  2657. ACCOUNTBIZCODE_AUCTION_REBATE_DEDUCT = 1214,
  2658. /// <summary>
  2659. /// 竞拍返利收款
  2660. /// </summary>
  2661. ACCOUNTBIZCODE_AUCTION_REBATE_RECV = 1215,
  2662. /// <summary>
  2663. /// 竞拍资金解冻
  2664. /// </summary>
  2665. ACCOUNTBIZCODE_AUCTION_AMOUNT_UNFREEZE = 1216,
  2666. /// <summary>
  2667. /// 竞拍审核
  2668. /// </summary>
  2669. ACCOUNTBIZCODE_AUCTION_VERIFY = 1217,
  2670. /// <summary>
  2671. /// 金点拍累计拍得者大奖
  2672. /// </summary>
  2673. ACCOUNTBIZCODE_AUCTION_PRIZE_PDZ_CUMULATIVE = 1218,
  2674. /// <summary>
  2675. /// 金点拍当期拍得者大奖
  2676. /// </summary>
  2677. ACCOUNTBIZCODE_AUCTION_PRIZE_PDZ_CURRENT = 1219,
  2678. /// <summary>
  2679. /// 金点拍直推VIP当日TOPN奖励
  2680. /// </summary>
  2681. ACCOUNTBIZCODE_AUCTION_PRIZE_VIP_TOPN = 1220,
  2682. /// <summary>
  2683. /// 金点拍用户VIP升级
  2684. /// </summary>
  2685. ACCOUNTBIZCODE_AUCTION_USER_VIP_UPGRADE = 1221,
  2686. /// <summary>
  2687. /// 金点拍用户VIP升级奖励
  2688. /// </summary>
  2689. ACCOUNTBIZCODE_AUCTION_USER_VIP_UPGRADE_PRIZE = 1222,
  2690. /// <summary>
  2691. /// 金点拍交易所手续费收入
  2692. /// </summary>
  2693. ACCOUNTBIZCODE_AUCTION_EXCHANE_FEERECV = 1223,
  2694. /// <summary>
  2695. /// 金点拍抽奖
  2696. /// </summary>
  2697. ACCOUNTBIZCODE_AUCTION_PRIZE_LOTTERY = 1224,
  2698. /// <summary>
  2699. /// 预售集采建仓委托
  2700. /// </summary>
  2701. ACCOUNTBIZCODE_PRESALE_OPEN_ORDER = 1301,
  2702. /// <summary>
  2703. /// 预售集采建仓撤单
  2704. /// </summary>
  2705. ACCOUNTBIZCODE_PRESALE_OPEN_CANCEL = 1302,
  2706. /// <summary>
  2707. /// 预售集采建仓成交
  2708. /// </summary>
  2709. ACCOUNTBIZCODE_PRESALE_OPEN_DEAL = 1303,
  2710. /// <summary>
  2711. /// 预售集采平仓委托
  2712. /// </summary>
  2713. ACCOUNTBIZCODE_PRESALE_CLOSE_ORDER = 1304,
  2714. /// <summary>
  2715. /// 预售集采平仓撤单
  2716. /// </summary>
  2717. ACCOUNTBIZCODE_PRESALE_CLOSE_CANCEL = 1305,
  2718. /// <summary>
  2719. /// 预售集采平仓成交
  2720. /// </summary>
  2721. ACCOUNTBIZCODE_PRESALE_CLOSE_DEAL = 1306,
  2722. /// <summary>
  2723. /// 预售集审核
  2724. /// </summary>
  2725. ACCOUNTBIZCODE_PRESALE_VERIFY = 1307,
  2726. /// <summary>
  2727. /// 预售采集撤销
  2728. /// </summary>
  2729. ACCOUNTBIZCODE_PRESALE_CANCEL = 1308,
  2730. /// <summary>
  2731. /// 解冻买方货款
  2732. /// </summary>
  2733. ACCOUNTBIZCODE_LISTINGOPTION_UNFREEZEBUYER = 1309,
  2734. /// <summary>
  2735. /// 冻结卖方货款
  2736. /// </summary>
  2737. ACCOUNTBIZCODE_LISTINGOPTION_FREEZESELLER = 1310,
  2738. /// <summary>
  2739. /// 买方划转
  2740. /// </summary>
  2741. ACCOUNTBIZCODE_LISTINGOPTION_BUYER = 1311,
  2742. /// <summary>
  2743. /// 卖方划转
  2744. /// </summary>
  2745. ACCOUNTBIZCODE_LISTINGOPTION_SELLER = 1312,
  2746. /// <summary>
  2747. /// 融资方划转
  2748. /// </summary>
  2749. ACCOUNTBIZCODE_LISTINGOPTION_MIDDLEIN = 1313,
  2750. /// <summary>
  2751. /// 确认行权平仓
  2752. /// </summary>
  2753. ACCOUNTBIZCODE_LISTINGOPTION_CONFIRMCLOSE = 1314,
  2754. /// <summary>
  2755. /// 确认行权委托
  2756. /// </summary>
  2757. ACCOUNTBIZCODE_LISTINGOPTION_CONFIRMORDER = 1315,
  2758. /// <summary>
  2759. /// 招标采购招标确认
  2760. /// </summary>
  2761. ACCOUNTBIZCODE_TENDER_TENDER_CONFIRM = 1401,
  2762. /// <summary>
  2763. /// 招标采购投标审核通过
  2764. /// </summary>
  2765. ACCOUNTBIZCODE_TENDER_BID_VERIFY = 1402,
  2766. /// <summary>
  2767. /// 招标采购确认中标(解冻投标方的保证金)
  2768. /// </summary>
  2769. ACCOUNTBIZCODE_TENDER_WIN_DEAL = 1403,
  2770. /// <summary>
  2771. /// 招标采购终止招标
  2772. /// </summary>
  2773. ACCOUNTBIZCODE_TENDER_TENDER_STOP = 1404,
  2774. /// <summary>
  2775. /// 招标采购投标终止
  2776. /// </summary>
  2777. ACCOUNTBIZCODE_TENDER_BID_STOP = 1405,
  2778. /// <summary>
  2779. /// 招标采购确认中标(解冻招标方冻结保证金)
  2780. /// </summary>
  2781. ACCOUNTBIZCODE_TENDER_WIN_DEAL_FORTENDER = 1406,
  2782. /// <summary>
  2783. /// 商城支付
  2784. /// </summary>
  2785. ACCOUNTBIZCODE_MALL_PAY = 1501,
  2786. /// <summary>
  2787. /// 商城积分冻结
  2788. /// </summary>
  2789. ACCOUNTBIZCODE_MALL_SCORE_FREEZE = 1502,
  2790. /// <summary>
  2791. /// 商城积分解冻
  2792. /// </summary>
  2793. ACCOUNTBIZCODE_MALL_SCORE_UNFREEZE = 1503,
  2794. /// <summary>
  2795. /// 商城积分解冻扣款
  2796. /// </summary>
  2797. ACCOUNTBIZCODE_MALL_SCORE_REDUCE = 1504,
  2798. /// <summary>
  2799. /// 商城收款
  2800. /// </summary>
  2801. ACCOUNTBIZCODE_MALL_RECEIVE = 1505,
  2802. /// <summary>
  2803. /// 商城退货
  2804. /// </summary>
  2805. ACCOUNTBIZCODE_MALL_REFUND = 1506,
  2806. /// <summary>
  2807. /// 清算账户数据更新
  2808. /// </summary>
  2809. ACCOUNTBIZCODE_SETTLE_ACCOUNT_UPDATE = 1550,
  2810. /// <summary>
  2811. /// 清算用户数据更新
  2812. /// </summary>
  2813. ACCOUNTBIZCODE_SETTLE_USER_UPDATE = 1551,
  2814. /// <summary>
  2815. /// 通知账户持仓头寸日变动
  2816. /// </summary>
  2817. ACCOUNTBIZCODE_RECKON_HOLDERPOSITION_DAYCHANGE = 1601,
  2818. /// <summary>
  2819. /// 账户费用日变动
  2820. /// </summary>
  2821. ACCOUNTBIZCODE_RECKON_TRADEFEE_DAYCHANGE = 1602,
  2822. /// <summary>
  2823. /// 交易所账户日变动
  2824. /// </summary>
  2825. ACCOUNTBIZCODE_RECKON_EXCHACC_DAYCHANGE = 1603,
  2826. /// <summary>
  2827. /// 场外期权建仓委托
  2828. /// </summary>
  2829. ACCOUNTBIZCODE_OUTOPTION_OPEN = 1701,
  2830. /// <summary>
  2831. /// 场外期权行权
  2832. /// </summary>
  2833. ACCOUNTBIZCODE_OUTOPTION_EXERCISE = 1702,
  2834. /// <summary>
  2835. /// 场外期权对冲
  2836. /// </summary>
  2837. ACCOUNTBIZCODE_OUTOPTION_HEDGE = 1703,
  2838. /// <summary>
  2839. /// 场外期权建仓成交
  2840. /// </summary>
  2841. ACCOUNTBIZCODE_OUTOPTION_OPEN_DEAL = 1704,
  2842. /// <summary>
  2843. /// 通道锁仓委托
  2844. /// </summary>
  2845. ACCOUNTBIZCODE_CAHNNEL_LOCK_REQ = 1801,
  2846. /// <summary>
  2847. /// 通道锁仓撤销
  2848. /// </summary>
  2849. ACCOUNTBIZCODE_CAHNNEL_LOCK_CANCEL = 1802,
  2850. /// <summary>
  2851. /// 通道锁仓完成
  2852. /// </summary>
  2853. ACCOUNTBIZCODE_CAHNNEL_LOCK_DEAL = 1803,
  2854. /// <summary>
  2855. /// 通道锁仓审核通过
  2856. /// </summary>
  2857. ACCOUNTBIZCODE_CAHNNEL_LOCK_PASS = 1804,
  2858. /// <summary>
  2859. /// 金点拍外部JD转入
  2860. /// </summary>
  2861. ACCOUNTBIZCODE_JDP_JD_TRANSFER_IN = 1901,
  2862. /// <summary>
  2863. /// 金点拍JD转能量
  2864. /// </summary>
  2865. ACCOUNTBIZCODE_JDP_JD_TRANSFER_MP = 1902,
  2866. /// <summary>
  2867. /// 金点拍PD购买体力
  2868. /// </summary>
  2869. ACCOUNTBIZCODE_JDP_PD_TRANSFER_HP = 1903,
  2870. /// <summary>
  2871. /// 金点拍JD转PD
  2872. /// </summary>
  2873. ACCOUNTBIZCODE_JDP_JD_TRANSFER_PD = 1904,
  2874. /// <summary>
  2875. /// 金点拍PD互转
  2876. /// </summary>
  2877. ACCOUNTBIZCODE_JDP_PD_TRANSFER_PD = 1905,
  2878. /// <summary>
  2879. /// 交易所PD/JD增加
  2880. /// </summary>
  2881. ACCOUNTBIZCODE_JDP_EXCHANGE_RECEIVE = 1906,
  2882. /// <summary>
  2883. /// 金点拍JD或PD处理
  2884. /// </summary>
  2885. ACCOUNTBIZCODE_JDP_JD_PD_DEAL = 1907,
  2886. /// <summary>
  2887. /// 冻结头寸解冻审核通过
  2888. /// </summary>
  2889. ACCOUNTBIZCODE_TRADE_FREEZEPOS_UNFREEZE_AUDIT_PASS = 1950,
  2890. /// <summary>
  2891. /// 冻结头寸商品配售冻结
  2892. /// </summary>
  2893. ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_RATION_FREEZE = 1951,
  2894. /// <summary>
  2895. /// 冻结头寸商品配售成交
  2896. /// </summary>
  2897. ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_RATION_TRADE = 1952,
  2898. /// <summary>
  2899. /// 冻结头寸商品转让冻结
  2900. /// </summary>
  2901. ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_TRANSFER_FREEZE = 1953,
  2902. /// <summary>
  2903. /// 冻结头寸商品转让解冻
  2904. /// </summary>
  2905. ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_TRANSFER_UNFREEZE = 1954,
  2906. /// <summary>
  2907. /// 冻结头寸商品转让成交
  2908. /// </summary>
  2909. ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_TRANSFER_TRADE = 1955,
  2910. /// <summary>
  2911. /// 冻结头寸商品回购冻结
  2912. /// </summary>
  2913. ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_BUYBACK_FREEZE = 1956,
  2914. /// <summary>
  2915. /// 冻结头寸商品回购解冻
  2916. /// </summary>
  2917. ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_BUYBACK_UNFREEZE = 1957,
  2918. /// <summary>
  2919. /// 冻结头寸商品回购成交
  2920. /// </summary>
  2921. ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_BUYBACK_TRADE = 1958,
  2922. /// <summary>
  2923. /// 冻结头寸商品提货
  2924. /// </summary>
  2925. ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_PICKUP = 1959
  2926. }
  2927. /// <summary>
  2928. // 账户服务资金操作子指令类型
  2929. /// </summary>
  2930. public enum eAccountFundCmdOp {
  2931. /// <summary>
  2932. /// 入金
  2933. /// </summary>
  2934. ACCOUNTFUNDCMDOP_DEPOSIT = 101,
  2935. /// <summary>
  2936. /// 入金手续费
  2937. /// </summary>
  2938. ACCOUNTFUNDCMDOP_DEPOSIT_FEE = 102,
  2939. /// <summary>
  2940. /// 出金
  2941. /// </summary>
  2942. ACCOUNTFUNDCMDOP_WITHDRAW = 103,
  2943. /// <summary>
  2944. /// 出金冻结
  2945. /// </summary>
  2946. ACCOUNTFUNDCMDOP_WITHDRAW_FREEZE = 104,
  2947. /// <summary>
  2948. /// 出金解冻
  2949. /// </summary>
  2950. ACCOUNTFUNDCMDOP_WITHDRAW_UNFREEZE = 105,
  2951. /// <summary>
  2952. /// 出金手续费
  2953. /// </summary>
  2954. ACCOUNTFUNDCMDOP_WITHDRAW_FEE = 106,
  2955. /// <summary>
  2956. /// 出金手续费冻结
  2957. /// </summary>
  2958. ACCOUNTFUNDCMDOP_WITHDRAW_FEE_FREEZE = 107,
  2959. /// <summary>
  2960. /// 出金手续费解冻
  2961. /// </summary>
  2962. ACCOUNTFUNDCMDOP_WITHDRAW_FEE_UNFREEZE = 108,
  2963. /// <summary>
  2964. /// 入金手续费收入
  2965. /// </summary>
  2966. ACCOUNTFUNDCMDOP_DEPOSIT_FEE_INCOME = 109,
  2967. /// <summary>
  2968. /// 出金手续费收入
  2969. /// </summary>
  2970. ACCOUNTFUNDCMDOP_WITHDRAW_FEE_INCOME = 110,
  2971. /// <summary>
  2972. /// 三方入金
  2973. /// </summary>
  2974. ACCOUNTFUNDCMDOP_3RD_DEPOSIT = 111,
  2975. /// <summary>
  2976. /// 三方出金
  2977. /// </summary>
  2978. ACCOUNTFUNDCMDOP_3RD_WITHDRAW = 112,
  2979. /// <summary>
  2980. /// 交易冻结
  2981. /// </summary>
  2982. ACCOUNTFUNDCMDOP_TRADE_FREEZE = 201,
  2983. /// <summary>
  2984. /// 交易解冻
  2985. /// </summary>
  2986. ACCOUNTFUNDCMDOP_TRADE_UNFREEZE = 202,
  2987. /// <summary>
  2988. /// 交易占用
  2989. /// </summary>
  2990. ACCOUNTFUNDCMDOP_TRADE_OCCUPY = 203,
  2991. /// <summary>
  2992. /// 交易解占用
  2993. /// </summary>
  2994. ACCOUNTFUNDCMDOP_TRADE_FREE = 204,
  2995. /// <summary>
  2996. /// 交易手续费冻结
  2997. /// </summary>
  2998. ACCOUNTFUNDCMDOP_TRADE_FEE_FREEZE = 205,
  2999. /// <summary>
  3000. /// 交易手续费解冻
  3001. /// </summary>
  3002. ACCOUNTFUNDCMDOP_TRADE_FEE_UNFREEZE = 206,
  3003. /// <summary>
  3004. /// 交易手续费
  3005. /// </summary>
  3006. ACCOUNTFUNDCMDOP_TRADE_FEE = 207,
  3007. /// <summary>
  3008. /// 交易货款
  3009. /// </summary>
  3010. ACCOUNTFUNDCMDOP_TRADE_GOODS_PAYMENT = 208,
  3011. /// <summary>
  3012. /// 交易盈亏
  3013. /// </summary>
  3014. ACCOUNTFUNDCMDOP_TRADE_PROFIT_LOSS = 209,
  3015. /// <summary>
  3016. /// 外部交易冻结
  3017. /// </summary>
  3018. ACCOUNTFUNDCMDOP_EXTRADE_FREEZE = 211,
  3019. /// <summary>
  3020. /// 外部交易解冻
  3021. /// </summary>
  3022. ACCOUNTFUNDCMDOP_EXTRADE_UNFREEZE = 212,
  3023. /// <summary>
  3024. /// 外部交易占用
  3025. /// </summary>
  3026. ACCOUNTFUNDCMDOP_EXTRADE_OCCUPY = 213,
  3027. /// <summary>
  3028. /// 外部交易解占用
  3029. /// </summary>
  3030. ACCOUNTFUNDCMDOP_EXTRADE_FREE = 214,
  3031. /// <summary>
  3032. /// 外部交易手续费冻结
  3033. /// </summary>
  3034. ACCOUNTFUNDCMDOP_EXTRADE_FEE_FREEZE = 215,
  3035. /// <summary>
  3036. /// 外部交易手续费解冻
  3037. /// </summary>
  3038. ACCOUNTFUNDCMDOP_EXTRADE_FEE_UNFREEZE = 216,
  3039. /// <summary>
  3040. /// 外部交易手续费
  3041. /// </summary>
  3042. ACCOUNTFUNDCMDOP_EXTRADE_FEE = 217,
  3043. /// <summary>
  3044. /// 外部交易货款
  3045. /// </summary>
  3046. ACCOUNTFUNDCMDOP_EXTRADE_GOODS_PAYMENT = 218,
  3047. /// <summary>
  3048. /// 外部交易盈亏
  3049. /// </summary>
  3050. ACCOUNTFUNDCMDOP_EXTRADE_PROFIT_LOSS = 219,
  3051. /// <summary>
  3052. /// 锁仓认购手续费冻结
  3053. /// </summary>
  3054. ACCOUNTFUNDCMDOP_CHANNEL_LOCKFEE_FREEZE = 220,
  3055. /// <summary>
  3056. /// 锁仓认购手续费解冻
  3057. /// </summary>
  3058. ACCOUNTFUNDCMDOP_CHANNEL_LOCKFEE_UNFREEZE = 221,
  3059. /// <summary>
  3060. /// 锁仓认购手续费
  3061. /// </summary>
  3062. ACCOUNTFUNDCMDOP_CHANNEL_LOCKFEE = 222,
  3063. /// <summary>
  3064. /// 认购费用冻结
  3065. /// </summary>
  3066. ACCOUNTFUNDCMDOP_CHANNEL_LOCKAMOUNT_FREEZE = 223,
  3067. /// <summary>
  3068. /// 认购费用解冻
  3069. /// </summary>
  3070. ACCOUNTFUNDCMDOP_CHANNEL_LOCKAMOUNT_UNFREEZE = 224,
  3071. /// <summary>
  3072. /// 认购费用
  3073. /// </summary>
  3074. ACCOUNTFUNDCMDOP_CHANNEL_LOCKAMOUNT = 225,
  3075. /// <summary>
  3076. /// 盈利扣减
  3077. /// </summary>
  3078. ACCOUNTFUNDCMDOP_CHANNEL_PROFIT_DEDUCTION = 226,
  3079. /// <summary>
  3080. /// 亏损划转
  3081. /// </summary>
  3082. ACCOUNTFUNDCMDOP_CHANNEL_LOSS_TRANSFER = 227,
  3083. /// <summary>
  3084. /// 交割冻结
  3085. /// </summary>
  3086. ACCOUNTFUNDCMDOP_DELIVERY_FREEZE = 301,
  3087. /// <summary>
  3088. /// 交割解冻
  3089. /// </summary>
  3090. ACCOUNTFUNDCMDOP_DELIVERY_UNFREEZE = 302,
  3091. /// <summary>
  3092. /// 交割手续费
  3093. /// </summary>
  3094. ACCOUNTFUNDCMDOP_DELIVERY_FEE = 303,
  3095. /// <summary>
  3096. /// 交割手续费冻结
  3097. /// </summary>
  3098. ACCOUNTFUNDCMDOP_DELIVERY_FEE_FREEZE = 304,
  3099. /// <summary>
  3100. /// 交割手续费解冻
  3101. /// </summary>
  3102. ACCOUNTFUNDCMDOP_DELIVERY_FEE_UNFREEZE = 305,
  3103. /// <summary>
  3104. /// 交割货款
  3105. /// </summary>
  3106. ACCOUNTFUNDCMDOP_DELIVERY_GOODS_PAYMENT = 306,
  3107. /// <summary>
  3108. /// 交割税款
  3109. /// </summary>
  3110. ACCOUNTFUNDCMDOP_DELIVERY_TAX = 307,
  3111. /// <summary>
  3112. /// 交割调期费
  3113. /// </summary>
  3114. ACCOUNTFUNDCMDOP_DELIVERY_SWAP_FEE = 308,
  3115. /// <summary>
  3116. /// 交收补偿费
  3117. /// </summary>
  3118. ACCOUNTFUNDCMDOP_DELIVERY_COMPENSATION_FEE = 309,
  3119. /// <summary>
  3120. /// 交割最大冻结
  3121. /// </summary>
  3122. ACCOUNTFUNDCMDOP_DELIVERY_MAX_FREEZE = 310,
  3123. /// <summary>
  3124. /// 结算盈亏
  3125. /// </summary>
  3126. ACCOUNTFUNDCMDOP_SETTLE_PROFIT_LOSS = 401,
  3127. /// <summary>
  3128. /// 结算递延费
  3129. /// </summary>
  3130. ACCOUNTFUNDCMDOP_SETTLE_DEFERRED_FEE = 402,
  3131. /// <summary>
  3132. /// 分润收入
  3133. /// </summary>
  3134. ACCOUNTFUNDCMDOP_SHARE_PROFIT = 403,
  3135. /// <summary>
  3136. /// 延期分润
  3137. /// </summary>
  3138. ACCOUNTFUNDCMDOP_STAY_SHARE_PROFIT = 404,
  3139. /// <summary>
  3140. /// 分润确认
  3141. /// </summary>
  3142. ACCOUNTFUNDCMDOP_SHARE_PROFIT_CONFIRM = 405,
  3143. /// <summary>
  3144. /// 结算隔夜费
  3145. /// </summary>
  3146. ACCOUNTFUNDCMDOP_SETTLE_OVERNIGHT_FEE = 406,
  3147. /// <summary>
  3148. /// 利息费用
  3149. /// </summary>
  3150. ACCOUNTFUNDCMDOP_SETTLE_INTERESTCHARGE_FEE = 407,
  3151. /// <summary>
  3152. /// 递延费2
  3153. /// </summary>
  3154. ACCOUNTFUNDCMDOP_SETTLE_DEFERCHARGE = 408,
  3155. /// <summary>
  3156. /// 授信增加
  3157. /// </summary>
  3158. ACCOUNTFUNDCMDOP_CREDIT_INCREASE = 501,
  3159. /// <summary>
  3160. /// 授信减少
  3161. /// </summary>
  3162. ACCOUNTFUNDCMDOP_CREDIT_DECREASE = 502,
  3163. /// <summary>
  3164. /// 转积分
  3165. /// </summary>
  3166. ACCOUNTFUNDCMDOP_PAY_POINTS = 503,
  3167. /// <summary>
  3168. /// 转入
  3169. /// </summary>
  3170. ACCOUNTFUNDCMDOP_TRANSFER_IN = 504,
  3171. /// <summary>
  3172. /// 转出
  3173. /// </summary>
  3174. ACCOUNTFUNDCMDOP_TRANSFER_OUT = 505,
  3175. /// <summary>
  3176. /// 转出冻结
  3177. /// </summary>
  3178. ACCOUNTFUNDCMDOP_TRANSFER_OUT_FREEZE = 506,
  3179. /// <summary>
  3180. /// 转出解冻
  3181. /// </summary>
  3182. ACCOUNTFUNDCMDOP_TRANSFER_OUT_UNFREEZE = 507,
  3183. /// <summary>
  3184. /// 外部入金(优先)
  3185. /// </summary>
  3186. ACCOUNTFUNDCMDOP_EXCREDIT_INCREASE = 508,
  3187. /// <summary>
  3188. /// 外部出金(优先)
  3189. /// </summary>
  3190. ACCOUNTFUNDCMDOP_EXCREDIT_DECREASE = 509,
  3191. /// <summary>
  3192. /// 外部入金(劣后)
  3193. /// </summary>
  3194. ACCOUNTFUNDCMDOP_EXINOUT_INCREASE = 510,
  3195. /// <summary>
  3196. /// 外部出金(劣后)
  3197. /// </summary>
  3198. ACCOUNTFUNDCMDOP_EXINOUT_DECREASE = 511,
  3199. /// <summary>
  3200. /// 外部余额增加
  3201. /// </summary>
  3202. ACCOUNTFUNDCMDOP_EXBALANCE_INCREASE = 512,
  3203. /// <summary>
  3204. /// 外部余额减少
  3205. /// </summary>
  3206. ACCOUNTFUNDCMDOP_EXBALANCE_DECREASE = 513,
  3207. /// <summary>
  3208. /// 授信手续费冻结
  3209. /// </summary>
  3210. ACCOUNTFUNDCMDOP_CREDIT_FEE_FREEZE = 514,
  3211. /// <summary>
  3212. /// 授信手续费解冻
  3213. /// </summary>
  3214. ACCOUNTFUNDCMDOP_CREDIT_FEE_UNFREEZE = 515,
  3215. /// <summary>
  3216. /// 授信手续费
  3217. /// </summary>
  3218. ACCOUNTFUNDCMDOP_CREDIT_FEE = 516,
  3219. /// <summary>
  3220. /// 外部出金(优先,系统)
  3221. /// </summary>
  3222. ACCOUNTFUNDCMDOP_EXCREDIT_DECREASE_EX = 517,
  3223. /// <summary>
  3224. /// 履约金额冻结
  3225. /// </summary>
  3226. ACCOUNTFUNDCMDOP_PERFORMANCE_FREEZE = 601,
  3227. /// <summary>
  3228. /// 履约最大冻结
  3229. /// </summary>
  3230. ACCOUNTFUNDCMDOP_PERFORMANCE_MAX_FREEZE = 602,
  3231. /// <summary>
  3232. /// 履约金额解冻
  3233. /// </summary>
  3234. ACCOUNTFUNDCMDOP_PERFORMANCE_UNFREEZE = 603,
  3235. /// <summary>
  3236. /// 履约扣款
  3237. /// </summary>
  3238. ACCOUNTFUNDCMDOP_PERFORMANCE_DEDUCT = 604,
  3239. /// <summary>
  3240. /// 履约收款
  3241. /// </summary>
  3242. ACCOUNTFUNDCMDOP_PERFORMANCE_RECEIVE = 605,
  3243. /// <summary>
  3244. /// 履约违约手续费
  3245. /// </summary>
  3246. ACCOUNTFUNDCMDOP_PERFORMANCE_DEFAULT_FEE = 606,
  3247. /// <summary>
  3248. /// 履约违约收入
  3249. /// </summary>
  3250. ACCOUNTFUNDCMDOP_PERFORMANCE_DEFAULT_INCOME = 607,
  3251. /// <summary>
  3252. /// 履约最大扣款
  3253. /// </summary>
  3254. ACCOUNTFUNDCMDOP_PERFORMANCE_MAX_DEDUCT = 608,
  3255. /// <summary>
  3256. /// 履约待付款
  3257. /// </summary>
  3258. ACCOUNTFUNDCMDOP_PERFORMANCE_STAY_PAYMENT = 609,
  3259. /// <summary>
  3260. /// 履约运费
  3261. /// </summary>
  3262. ACCOUNTFUNDCMDOP_PERFORMANCE_FREIGHT = 610,
  3263. /// <summary>
  3264. /// 供应链金融冻结
  3265. /// </summary>
  3266. ACCOUNTFUNDCMDOP_SCF_FREEZE = 701,
  3267. /// <summary>
  3268. /// 供应链金融解冻
  3269. /// </summary>
  3270. ACCOUNTFUNDCMDOP_SCF_UNFREEZE = 702,
  3271. /// <summary>
  3272. /// 供应链金融最大冻结
  3273. /// </summary>
  3274. ACCOUNTFUNDCMDOP_SCF_MAX_FREEZE = 703,
  3275. /// <summary>
  3276. /// 供应链金融利息
  3277. /// </summary>
  3278. ACCOUNTFUNDCMDOP_SCF_INTEREST = 704,
  3279. /// <summary>
  3280. /// 供应链金融货款
  3281. /// </summary>
  3282. ACCOUNTFUNDCMDOP_SCF_GOODS_PAYMENT = 705,
  3283. /// <summary>
  3284. /// 供应链金融押金
  3285. /// </summary>
  3286. ACCOUNTFUNDCMDOP_SCF_CASH_DEPOSIT = 706,
  3287. /// <summary>
  3288. /// 供应链金融最大扣款
  3289. /// </summary>
  3290. ACCOUNTFUNDCMDOP_SCF_MAX_DEDUCT = 707,
  3291. /// <summary>
  3292. /// 仓单贸易冻结
  3293. /// </summary>
  3294. ACCOUNTFUNDCMDOP_WRTRADE_FREEZE = 801,
  3295. /// <summary>
  3296. /// 仓单贸易解冻
  3297. /// </summary>
  3298. ACCOUNTFUNDCMDOP_WRTRADE_UNFREEZE = 802,
  3299. /// <summary>
  3300. /// 仓单贸易首付款
  3301. /// </summary>
  3302. ACCOUNTFUNDCMDOP_WRTRADE_DOWNPAYMENT = 803,
  3303. /// <summary>
  3304. /// 仓单贸易最大扣款
  3305. /// </summary>
  3306. ACCOUNTFUNDCMDOP_WRTRADE_MAX_DEDUCT = 804,
  3307. /// <summary>
  3308. /// 仓单贸易货款保证金冻结
  3309. /// </summary>
  3310. ACCOUNTFUNDCMDOP_WRTRADE_PAYMEN_FREEZE = 805,
  3311. /// <summary>
  3312. /// 仓单贸易货款保证金解冻
  3313. /// </summary>
  3314. ACCOUNTFUNDCMDOP_WRTRADE_PAYMEN_UNFREEZE = 806,
  3315. /// <summary>
  3316. /// 仓单贸易手续费冻结
  3317. /// </summary>
  3318. ACCOUNTFUNDCMDOP_WRTRADE_FEE_FREEZE = 807,
  3319. /// <summary>
  3320. /// 仓单贸易手续费解冻
  3321. /// </summary>
  3322. ACCOUNTFUNDCMDOP_WRTRADE_FEE_UNFREEZE = 808,
  3323. /// <summary>
  3324. /// 仓单贸易手续费扣除
  3325. /// </summary>
  3326. ACCOUNTFUNDCMDOP_WRTRADE_FEE = 809,
  3327. /// <summary>
  3328. /// 商城扣款冻结
  3329. /// </summary>
  3330. ACCOUNTFUNDCMDOP_MALL_FREEZE = 901,
  3331. /// <summary>
  3332. /// 商城扣款解冻
  3333. /// </summary>
  3334. ACCOUNTFUNDCMDOP_MALL_UNFREEZE = 902,
  3335. /// <summary>
  3336. /// 商城扣款
  3337. /// </summary>
  3338. ACCOUNTFUNDCMDOP_MALL_DEDUCT = 903,
  3339. /// <summary>
  3340. /// 商城收款
  3341. /// </summary>
  3342. ACCOUNTFUNDCMDOP_MALL_RECEIVE = 904,
  3343. /// <summary>
  3344. /// 商城待付款
  3345. /// </summary>
  3346. ACCOUNTFUNDCMDOP_MALL_STAY_PAYMENT = 905,
  3347. /// <summary>
  3348. /// 期权冻结
  3349. /// </summary>
  3350. ACCOUNTFUNDCMDOP_OPTION_FREEZE = 1001,
  3351. /// <summary>
  3352. /// 期权解冻
  3353. /// </summary>
  3354. ACCOUNTFUNDCMDOP_OPTION_UNFREEZE = 1002,
  3355. /// <summary>
  3356. /// 期权权力金
  3357. /// </summary>
  3358. ACCOUNTFUNDCMDOP_OPTION_PREMIUM = 1003,
  3359. /// <summary>
  3360. /// 期权手续费冻结
  3361. /// </summary>
  3362. ACCOUNTFUNDCMDOP_OPTION_FEE_FREEZE = 1004,
  3363. /// <summary>
  3364. /// 期权手续费解冻
  3365. /// </summary>
  3366. ACCOUNTFUNDCMDOP_OPTION_FEE_UNFREEZE = 1005,
  3367. /// <summary>
  3368. /// 期权手续费
  3369. /// </summary>
  3370. ACCOUNTFUNDCMDOP_OPTION_FEE = 1006,
  3371. /// <summary>
  3372. /// 期权盈亏
  3373. /// </summary>
  3374. ACCOUNTFUNDCMDOP_OPTION_PROFIT_LOSS = 1007,
  3375. /// <summary>
  3376. /// 期权货款
  3377. /// </summary>
  3378. ACCOUNTFUNDCMDOP_OPTION_GOODS_PAYMENT = 1008,
  3379. /// <summary>
  3380. /// 扩展扣款
  3381. /// </summary>
  3382. ACCOUNTFUNDCMDOP_MARKETING_DEDUCT = 1101,
  3383. /// <summary>
  3384. /// 扩展收款
  3385. /// </summary>
  3386. ACCOUNTFUNDCMDOP_MARKETING_RECEIVE = 1102,
  3387. /// <summary>
  3388. /// 扩展扣款冻结
  3389. /// </summary>
  3390. ACCOUNTFUNDCMDOP_MARKETING_FREEZE = 1103,
  3391. /// <summary>
  3392. /// 扩展扣款解冻
  3393. /// </summary>
  3394. ACCOUNTFUNDCMDOP_MARKETING_UNFREEZE = 1104,
  3395. /// <summary>
  3396. /// 竞拍冻结保证金
  3397. /// </summary>
  3398. ACCOUNTFUNDCMDOP_AUCTION_FREEZE = 1201,
  3399. /// <summary>
  3400. /// 竞拍解冻保证金
  3401. /// </summary>
  3402. ACCOUNTFUNDCMDOP_AUCTION_UNFREEZE = 1202,
  3403. /// <summary>
  3404. /// 竞拍扣款
  3405. /// </summary>
  3406. ACCOUNTFUNDCMDOP_AUCTION_DEDUCT = 1203,
  3407. /// <summary>
  3408. /// 竞拍收款
  3409. /// </summary>
  3410. ACCOUNTFUNDCMDOP_AUCTION_RECEIVE = 1204,
  3411. /// <summary>
  3412. /// 竞拍手续费冻结
  3413. /// </summary>
  3414. ACCOUNTFUNDCMDOP_AUCTION_FEE_FREEZE = 1205,
  3415. /// <summary>
  3416. /// 竞拍手续费解冻
  3417. /// </summary>
  3418. ACCOUNTFUNDCMDOP_AUCTION_FEE_UNFREEZE = 1206,
  3419. /// <summary>
  3420. /// 竞拍手续费
  3421. /// </summary>
  3422. ACCOUNTFUNDCMDOP_AUCTION_FEE = 1207,
  3423. /// <summary>
  3424. /// 竞拍货款冻结
  3425. /// </summary>
  3426. ACCOUNTFUNDCMDOP_AUCTION_PAYMENT_FREEZE = 1208,
  3427. /// <summary>
  3428. /// 竞拍货款解冻
  3429. /// </summary>
  3430. ACCOUNTFUNDCMDOP_AUCTION_PAYMENT_UNFREEZE = 1209,
  3431. /// <summary>
  3432. /// 竞拍手续费收入
  3433. /// </summary>
  3434. ACCOUNTFUNDCMDOP_AUCTION_FEE_INCOME = 1210,
  3435. /// <summary>
  3436. /// 预售集采卖方保证金冻结
  3437. /// </summary>
  3438. ACCOUNTFUNDCMDOP_PRESALE_SELLER_FREEZE = 1301,
  3439. /// <summary>
  3440. /// 预售集采卖方保证金解冻
  3441. /// </summary>
  3442. ACCOUNTFUNDCMDOP_PRESALE_SELLER_UNFREEZE = 1302,
  3443. /// <summary>
  3444. /// 预售集采手续费冻结
  3445. /// </summary>
  3446. ACCOUNTFUNDCMDOP_PRESALE_FEE_FREEZE = 1303,
  3447. /// <summary>
  3448. /// 预售集采手续费解冻
  3449. /// </summary>
  3450. ACCOUNTFUNDCMDOP_PRESALE_FEE_UNFREEZE = 1304,
  3451. /// <summary>
  3452. /// 预售集采手续费
  3453. /// </summary>
  3454. ACCOUNTFUNDCMDOP_PRESALE_FEE = 1305,
  3455. /// <summary>
  3456. /// 招标手续费冻结
  3457. /// </summary>
  3458. ACCOUNTFUNDCMDOP_TENDER_FEE_FREEZE = 1401,
  3459. /// <summary>
  3460. /// 招标手续费解冻
  3461. /// </summary>
  3462. ACCOUNTFUNDCMDOP_TENDER_FEE_UNFREEZE = 1402,
  3463. /// <summary>
  3464. /// 招标手续费
  3465. /// </summary>
  3466. ACCOUNTFUNDCMDOP_TENDER_FEE = 1403,
  3467. /// <summary>
  3468. /// 投标保证金冻结
  3469. /// </summary>
  3470. ACCOUNTFUNDCMDOP_TENDER_FREEZE = 1404,
  3471. /// <summary>
  3472. /// 投标保证金解冻
  3473. /// </summary>
  3474. ACCOUNTFUNDCMDOP_TENDER_UNFREEZE = 1405,
  3475. /// <summary>
  3476. /// 招标手续费收入
  3477. /// </summary>
  3478. ACCOUNTFUNDCMDOP_TENDER_FEE_INCOME = 1406,
  3479. /// <summary>
  3480. /// 招标保证金冻结
  3481. /// </summary>
  3482. ACCOUNTFUNDCMDOP_BIDTENDER_FREEZE = 1407,
  3483. /// <summary>
  3484. /// 招标保证金解冻
  3485. /// </summary>
  3486. ACCOUNTFUNDCMDOP_BIDTENDER_UNFREEZE = 1408,
  3487. /// <summary>
  3488. /// 运费冻结
  3489. /// </summary>
  3490. ACCOUNTFUNDCMDOP_WR_FREIGHT_FREEZE = 1501,
  3491. /// <summary>
  3492. /// 运费解冻
  3493. /// </summary>
  3494. ACCOUNTFUNDCMDOP_WR_FREIGHT_UNFREEZE = 1502,
  3495. /// <summary>
  3496. /// 运费
  3497. /// </summary>
  3498. ACCOUNTFUNDCMDOP_WR_FREIGHT = 1503,
  3499. /// <summary>
  3500. /// 运费收入
  3501. /// </summary>
  3502. ACCOUNTFUNDCMDOP_WR_FREIGHT_INCOME = 1504,
  3503. /// <summary>
  3504. /// 币币冻结付款
  3505. /// </summary>
  3506. ACCOUNTFUNDCMDOP_COIN_TRADE_FREEZE = 1601,
  3507. /// <summary>
  3508. /// 币币解冻付款
  3509. /// </summary>
  3510. ACCOUNTFUNDCMDOP_COIN_TRADE_UNFREEZE = 1602,
  3511. /// <summary>
  3512. /// 币币手续费冻结
  3513. /// </summary>
  3514. ACCOUNTFUNDCMDOP_COIN_TRADE_FEE_FREEZE = 1603,
  3515. /// <summary>
  3516. /// 币币手续费解冻
  3517. /// </summary>
  3518. ACCOUNTFUNDCMDOP_COIN_TRADE_FEE_UNFREEZE = 1604,
  3519. /// <summary>
  3520. /// 币币手续费
  3521. /// </summary>
  3522. ACCOUNTFUNDCMDOP_COIN_TRADE_FEE = 1605,
  3523. /// <summary>
  3524. /// 币币货款
  3525. /// </summary>
  3526. ACCOUNTFUNDCMDOP_COIN_TRADE_AMOUNT = 1606
  3527. }
  3528. /// <summary>
  3529. // 账户持仓指令类型
  3530. /// </summary>
  3531. public enum eAccountHolderCmdOp {
  3532. /// <summary>
  3533. /// 验证委托数量
  3534. /// </summary>
  3535. ACCOUNTHOLDERCMDOP_VERIFY_ORDER = 101,
  3536. /// <summary>
  3537. /// 验证头寸数量和金额
  3538. /// </summary>
  3539. ACCOUNTHOLDERCMDOP_VERIFY_POSITION = 102,
  3540. /// <summary>
  3541. /// 验证交易冻结数量
  3542. /// </summary>
  3543. ACCOUNTHOLDERCMDOP_VERIFY_FROZEN = 103,
  3544. /// <summary>
  3545. /// 验证其他冻结数量
  3546. /// </summary>
  3547. ACCOUNTHOLDERCMDOP_VERIFY_OTHERFROZEN = 104,
  3548. /// <summary>
  3549. /// 查询交易头寸数量和金额
  3550. /// </summary>
  3551. ACCOUNTHOLDERCMDOP_QUERY_POSITION = 105,
  3552. /// <summary>
  3553. /// 系统待开市
  3554. /// </summary>
  3555. ACCOUNTHOLDERCMDOP_SYSTEM_PENDING = 106,
  3556. /// <summary>
  3557. /// 系统结算
  3558. /// </summary>
  3559. ACCOUNTHOLDERCMDOP_SYSTEM_RECKON = 107,
  3560. /// <summary>
  3561. /// 交易开仓委托
  3562. /// </summary>
  3563. ACCOUNTHOLDERCMDOP_TRADE_OPEN_ORDER = 201,
  3564. /// <summary>
  3565. /// 交易开仓成交
  3566. /// </summary>
  3567. ACCOUNTHOLDERCMDOP_TRADE_OPEN_DEAL = 202,
  3568. /// <summary>
  3569. /// 交易开仓撤单
  3570. /// </summary>
  3571. ACCOUNTHOLDERCMDOP_TRADE_OPEN_CANCEL = 203,
  3572. /// <summary>
  3573. /// 交易平仓冻结
  3574. /// </summary>
  3575. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_FREEZE = 204,
  3576. /// <summary>
  3577. /// 交易平仓成交
  3578. /// </summary>
  3579. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_DEAL = 205,
  3580. /// <summary>
  3581. /// 交易平仓解冻
  3582. /// </summary>
  3583. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_UNFREEZE = 206,
  3584. /// <summary>
  3585. /// 交易平仓最大冻结
  3586. /// </summary>
  3587. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_MAX_FREEZE = 207,
  3588. /// <summary>
  3589. /// 交易冻结
  3590. /// </summary>
  3591. ACCOUNTHOLDERCMDOP_TRADE_FREEZE = 208,
  3592. /// <summary>
  3593. /// 交易解冻
  3594. /// </summary>
  3595. ACCOUNTHOLDERCMDOP_TRADE_UNFREEZE = 209,
  3596. /// <summary>
  3597. /// 交易仓单转头寸
  3598. /// </summary>
  3599. ACCOUNTHOLDERCMDOP_TRADE_WRTOPOSITION = 210,
  3600. /// <summary>
  3601. /// 交易头寸转仓单冻结
  3602. /// </summary>
  3603. ACCOUNTHOLDERCMDOP_TRADE_POSITIONTOWR_FREEZE = 211,
  3604. /// <summary>
  3605. /// 交易头寸转仓单解冻
  3606. /// </summary>
  3607. ACCOUNTHOLDERCMDOP_TRADE_POSITIONTOWR_UNFREEZE = 212,
  3608. /// <summary>
  3609. /// 交易头寸转仓单
  3610. /// </summary>
  3611. ACCOUNTHOLDERCMDOP_TRADE_POSITIONTOWR = 213,
  3612. /// <summary>
  3613. /// 交易T+N头寸增加(T4)
  3614. /// </summary>
  3615. ACCOUNTHOLDERCMDOP_TRADE_TN_INCREASE = 214,
  3616. /// <summary>
  3617. /// 交易T+N头寸减少(T4)
  3618. /// </summary>
  3619. ACCOUNTHOLDERCMDOP_TRADE_TN_DECREASE = 215,
  3620. /// <summary>
  3621. /// 交易平仓T+N冻结
  3622. /// </summary>
  3623. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_FREEZE = 216,
  3624. /// <summary>
  3625. /// 交易平仓T+N成交
  3626. /// </summary>
  3627. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_DEAL = 217,
  3628. /// <summary>
  3629. /// 交易平仓T+N解冻
  3630. /// </summary>
  3631. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_UNFREEZE = 218,
  3632. /// <summary>
  3633. /// 交易平仓T+N最大冻结
  3634. /// </summary>
  3635. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_MAX_FREEZE = 219,
  3636. /// <summary>
  3637. /// 交易净头寸冻结
  3638. /// </summary>
  3639. ACCOUNTHOLDERCMDOP_TRADE_NET_FREEZE = 220,
  3640. /// <summary>
  3641. /// 交易净头寸交割校验
  3642. /// </summary>
  3643. ACCOUNTHOLDERCMDOP_TRADE_NET_DELIVERY_VERIFY = 221,
  3644. /// <summary>
  3645. /// 交易平今仓冻结
  3646. /// </summary>
  3647. ACCOUNTHOLDERCMDOP_TRADE_CLOSETODAY_FREEZE = 222,
  3648. /// <summary>
  3649. /// 交易平今仓成交
  3650. /// </summary>
  3651. ACCOUNTHOLDERCMDOP_TRADE_CLOSETODAY_DEAL = 223,
  3652. /// <summary>
  3653. /// 交易平今仓解冻
  3654. /// </summary>
  3655. ACCOUNTHOLDERCMDOP_TRADE_CLOSETODAY_UNFREEZE = 224,
  3656. /// <summary>
  3657. /// 交易平昨仓冻结
  3658. /// </summary>
  3659. ACCOUNTHOLDERCMDOP_TRADE_CLOSEYESTERDAY_FREEZE = 225,
  3660. /// <summary>
  3661. /// 交易平昨仓成交
  3662. /// </summary>
  3663. ACCOUNTHOLDERCMDOP_TRADE_CLOSEYESTERDAY_DEAL = 226,
  3664. /// <summary>
  3665. /// 交易平昨仓解冻
  3666. /// </summary>
  3667. ACCOUNTHOLDERCMDOP_TRADE_CLOSEYESTERDAY_UNFREEZE = 227,
  3668. /// <summary>
  3669. /// 交割冻结
  3670. /// </summary>
  3671. ACCOUNTHOLDERCMDOP_DELIVERY_FREEZE = 301,
  3672. /// <summary>
  3673. /// 交割成交
  3674. /// </summary>
  3675. ACCOUNTHOLDERCMDOP_DELIVERY_DEAL = 302,
  3676. /// <summary>
  3677. /// 交割解冻
  3678. /// </summary>
  3679. ACCOUNTHOLDERCMDOP_DELIVERY_UNFREEZE = 303,
  3680. /// <summary>
  3681. /// 交割最大冻结
  3682. /// </summary>
  3683. ACCOUNTHOLDERCMDOP_DELIVERY_MAX_FREEZE = 304,
  3684. /// <summary>
  3685. /// 交割成交扣除
  3686. /// </summary>
  3687. ACCOUNTHOLDERCMDOP_DELIVERY_DEAL_DEDUCT = 305,
  3688. /// <summary>
  3689. /// 锁仓认购冻结
  3690. /// </summary>
  3691. ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_FREEZE = 401,
  3692. /// <summary>
  3693. /// 锁仓认购解冻
  3694. /// </summary>
  3695. ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_UNFREEZE = 402,
  3696. /// <summary>
  3697. /// 锁仓认购赠送
  3698. /// </summary>
  3699. ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_GIFT = 403,
  3700. /// <summary>
  3701. /// 认购成交
  3702. /// </summary>
  3703. ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_BUY = 404
  3704. }
  3705. /// <summary>
  3706. // 账户仓单头寸指令类型
  3707. /// </summary>
  3708. public enum eAccountWRPositionCmdOp {
  3709. /// <summary>
  3710. /// 冻结
  3711. /// </summary>
  3712. ACCOUNTWRPOSITIONCMDOP_FREEZE = 101,
  3713. /// <summary>
  3714. /// 最大冻结
  3715. /// </summary>
  3716. ACCOUNTWRPOSITIONCMDOP_MAX_FREEZE = 102,
  3717. /// <summary>
  3718. /// 解冻
  3719. /// </summary>
  3720. ACCOUNTWRPOSITIONCMDOP_UNFREEZE = 103,
  3721. /// <summary>
  3722. /// 增加
  3723. /// </summary>
  3724. ACCOUNTWRPOSITIONCMDOP_INCREASE = 104,
  3725. /// <summary>
  3726. /// 减少
  3727. /// </summary>
  3728. ACCOUNTWRPOSITIONCMDOP_DECREASE = 105,
  3729. /// <summary>
  3730. /// 仓单订单头寸数量增加
  3731. /// </summary>
  3732. ACCOUNTWRPOSITIONCMDOP_WRTRADE_POS_INCREASE = 106,
  3733. /// <summary>
  3734. /// 仓单订单头寸数量减少
  3735. /// </summary>
  3736. ACCOUNTWRPOSITIONCMDOP_WRTRADE_POS_DECREASE = 107
  3737. }
  3738. /// <summary>
  3739. // 账户仓单订单头寸指令类型
  3740. /// </summary>
  3741. public enum eAccountWRTradePSCmdOp {
  3742. /// <summary>
  3743. /// 冻结
  3744. /// </summary>
  3745. ACCOUNTWRTRADEPSCMDOP_FREEZE = 101,
  3746. /// <summary>
  3747. /// 最大冻结
  3748. /// </summary>
  3749. ACCOUNTWRTRADEPSCMDOP_MAX_FREEZE = 102,
  3750. /// <summary>
  3751. /// 解冻
  3752. /// </summary>
  3753. ACCOUNTWRTRADEPSCMDOP_UNFREEZE = 103,
  3754. /// <summary>
  3755. /// 增加
  3756. /// </summary>
  3757. ACCOUNTWRTRADEPSCMDOP_INCREASE = 104,
  3758. /// <summary>
  3759. /// 减少
  3760. /// </summary>
  3761. ACCOUNTWRTRADEPSCMDOP_DECREASE = 105,
  3762. /// <summary>
  3763. /// 查询可用
  3764. /// </summary>
  3765. ACCOUNTWRTRADEPSCMDOP_QUERY_AVAILABLE = 106,
  3766. /// <summary>
  3767. /// 查询合约商品所有订单头寸
  3768. /// </summary>
  3769. ACCOUNTWRTRADEPSCMDOP_QUERY_GOODSID_ALL = 107
  3770. }
  3771. /// <summary>
  3772. // 账户积分头寸指令类型
  3773. /// </summary>
  3774. public enum eAccountScorePositionCmdOp {
  3775. /// <summary>
  3776. /// 冻结
  3777. /// </summary>
  3778. ACCOUNTSCOREPOSITIONCMDOP_FREEZE = 101,
  3779. /// <summary>
  3780. /// 解冻
  3781. /// </summary>
  3782. ACCOUNTSCOREPOSITIONCMDOP_UNFREEZE = 102,
  3783. /// <summary>
  3784. /// 增加
  3785. /// </summary>
  3786. ACCOUNTSCOREPOSITIONCMDOP_INCREASE = 103,
  3787. /// <summary>
  3788. /// 减少
  3789. /// </summary>
  3790. ACCOUNTSCOREPOSITIONCMDOP_DECREASE = 104,
  3791. /// <summary>
  3792. /// 查询
  3793. /// </summary>
  3794. ACCOUNTSCOREPOSITIONCMDOP_QUERY = 105,
  3795. /// <summary>
  3796. /// 代扣
  3797. /// </summary>
  3798. ACCOUNTSCOREPOSITIONCMDOP_WITHHOLD = 106,
  3799. /// <summary>
  3800. /// 代付
  3801. /// </summary>
  3802. ACCOUNTSCOREPOSITIONCMDOP_PAY = 107,
  3803. /// <summary>
  3804. /// 代收
  3805. /// </summary>
  3806. ACCOUNTSCOREPOSITIONCMDOP_COLLECTION = 108
  3807. }
  3808. /// <summary>
  3809. // 账户期权头寸指令类型
  3810. /// </summary>
  3811. public enum eAccountOptionPositionCmdOp {
  3812. /// <summary>
  3813. /// 建仓
  3814. /// </summary>
  3815. ACCOUNTOPTIONPOSITIONCMDOP_OPEN = 101,
  3816. /// <summary>
  3817. /// 行权
  3818. /// </summary>
  3819. ACCOUNTOPTIONPOSITIONCMDOP_EXERCISE = 102,
  3820. /// <summary>
  3821. /// 对冲
  3822. /// </summary>
  3823. ACCOUNTOPTIONPOSITIONCMDOP_HEDGE = 103
  3824. }
  3825. /// <summary>
  3826. // 账户风控指令类型
  3827. /// </summary>
  3828. public enum eAccountRiskCtrlCmdOp {
  3829. /// <summary>
  3830. /// 激活
  3831. /// </summary>
  3832. ACCOUNTRISKCTRLCMDOP_ACTIVATE = 101,
  3833. /// <summary>
  3834. /// 关闭
  3835. /// </summary>
  3836. ACCOUNTRISKCTRLCMDOP_INACTIVATE = 102
  3837. }
  3838. /// <summary>
  3839. // 账户风控关联类型
  3840. /// </summary>
  3841. public enum eAccountRiskCtrlRelatedType {
  3842. /// <summary>
  3843. /// 合作套保
  3844. /// </summary>
  3845. ACCOUNTRISKCTRLRELATEDTYPE_SCF = 1
  3846. }
  3847. /// <summary>
  3848. // 积分申请状态头
  3849. /// </summary>
  3850. public enum eAppScoreStatus {
  3851. /// <summary>
  3852. /// 待审核
  3853. /// </summary>
  3854. APP_SCORE_STATUS_UNAUDIT = 1,
  3855. /// <summary>
  3856. /// 审核中
  3857. /// </summary>
  3858. APP_SCORE_STATUS_AUDITING = 2,
  3859. /// <summary>
  3860. /// 审核拒绝
  3861. /// </summary>
  3862. APP_SCORE_STATUS_AUDITING_REJECTION = 3,
  3863. /// <summary>
  3864. /// 审核成功
  3865. /// </summary>
  3866. APP_SCORE_STATUS_AUDITING_SUCCESS = 4,
  3867. /// <summary>
  3868. /// 审核失败
  3869. /// </summary>
  3870. APP_SCORE_STATUS_AUDITING_FAIL = 5,
  3871. /// <summary>
  3872. /// 已撤销
  3873. /// </summary>
  3874. APP_SCORE_STATUS_CANCEL = 6
  3875. }
  3876. /// <summary>
  3877. // 积分平仓类型
  3878. /// </summary>
  3879. public enum eCloseScoreStatus {
  3880. /// <summary>
  3881. /// 消费平仓
  3882. /// </summary>
  3883. CLOSE_SCORE_STATUS_COMSUNE = 1,
  3884. /// <summary>
  3885. /// 核销平仓
  3886. /// </summary>
  3887. CLOSE_SCORE_STATUS_CLOSEDOWN = 2,
  3888. /// <summary>
  3889. /// 过期平仓
  3890. /// </summary>
  3891. CLOSE_SCORE_STATUS_EXPIRE = 3,
  3892. /// <summary>
  3893. /// 清理平仓
  3894. /// </summary>
  3895. CLOSE_SCORE_STATUS_CLEAR = 4,
  3896. /// <summary>
  3897. /// 减少平仓
  3898. /// </summary>
  3899. CLOSE_SCORE_STATUS_REDUCE = 5
  3900. }
  3901. /// <summary>
  3902. // 积分消费操作类型
  3903. /// </summary>
  3904. public enum eOperatorType {
  3905. /// <summary>
  3906. /// 商家加积分
  3907. /// </summary>
  3908. OPERATOR_ADD = 1,
  3909. /// <summary>
  3910. /// 用积分消费
  3911. /// </summary>
  3912. OPERATOR_REDUCE = 2
  3913. }
  3914. /// <summary>
  3915. // 积分业务类型
  3916. /// </summary>
  3917. public enum eScoreBussiness {
  3918. /// <summary>
  3919. /// 积分消费
  3920. /// </summary>
  3921. SCORE_BUSINESS_CONSUME = 0,
  3922. /// <summary>
  3923. /// 积分获取
  3924. /// </summary>
  3925. SCORE_BUSINESS_FETCH = 1,
  3926. /// <summary>
  3927. /// 积分核销
  3928. /// </summary>
  3929. SCORE_BUSINESS_CLOSEDOWN = 2,
  3930. /// <summary>
  3931. /// 积分清理
  3932. /// </summary>
  3933. SCORE_BUSINESS_CLEAR = 3,
  3934. /// <summary>
  3935. /// 积分结算
  3936. /// </summary>
  3937. SCORE_BUSINESS_RECKON = 4,
  3938. /// <summary>
  3939. /// 积分减少
  3940. /// </summary>
  3941. SCORE_BUSINESS_REDUCE = 5
  3942. }
  3943. /// <summary>
  3944. // 风控模式
  3945. /// </summary>
  3946. public enum eRiskControlMode {
  3947. /// <summary>
  3948. /// 投资者/机构自营
  3949. /// </summary>
  3950. RISKCONTROLMODE_TRADE = 1,
  3951. /// <summary>
  3952. /// 机构做市
  3953. /// </summary>
  3954. RISKCONTROLMODE_MARKETMAKER = 2
  3955. }
  3956. /// <summary>
  3957. // 风险率计算方式
  3958. /// </summary>
  3959. public enum eRiskRatioCalcMode {
  3960. /// <summary>
  3961. /// 占用/净值
  3962. /// </summary>
  3963. RISKRATIOCALCMODE_OCCUPYWORTH = 1
  3964. }
  3965. /// <summary>
  3966. // 净值斩仓标志
  3967. /// </summary>
  3968. public enum eCutThresholdFlag {
  3969. /// <summary>
  3970. /// 不启用
  3971. /// </summary>
  3972. CUTTHRESHOLDFLAG_NO = 0,
  3973. /// <summary>
  3974. /// 启用(做市会员用)
  3975. /// </summary>
  3976. CUTTHRESHOLDFLAG_YES = 1
  3977. }
  3978. /// <summary>
  3979. // 风险级别
  3980. /// </summary>
  3981. public enum eRiskLevel {
  3982. /// <summary>
  3983. /// 无风险
  3984. /// </summary>
  3985. RISKLEVEL_NORMAL = 0,
  3986. /// <summary>
  3987. /// 警告级别
  3988. /// </summary>
  3989. RISKLEVEL_NOTE = 1,
  3990. /// <summary>
  3991. /// 追加保证金
  3992. /// </summary>
  3993. RISKLEVEL_ADD = 2,
  3994. /// <summary>
  3995. /// 斩仓级别
  3996. /// </summary>
  3997. RISKLEVEL_CUT = 3,
  3998. /// <summary>
  3999. /// 恢复正常
  4000. /// </summary>
  4001. RISKLEVEL_RECOVER = 4,
  4002. /// <summary>
  4003. /// 净值斩仓
  4004. /// </summary>
  4005. RISKLEVEL_NETVALUE_LIQUIDATED = 5
  4006. }
  4007. /// <summary>
  4008. // 交易状态
  4009. /// </summary>
  4010. public enum eTradeStatus {
  4011. /// <summary>
  4012. /// 正常
  4013. /// </summary>
  4014. TRADESTATUS_NORMAL = 1,
  4015. /// <summary>
  4016. /// 受限
  4017. /// </summary>
  4018. TRADESTATUS_LIMITED = 2,
  4019. /// <summary>
  4020. /// 冻结
  4021. /// </summary>
  4022. TRADESTATUS_FROZEN = 3,
  4023. /// <summary>
  4024. /// 人工受限(禁止建仓)
  4025. /// </summary>
  4026. TRADESTATUS_LIMITEDMANUAL = 4,
  4027. /// <summary>
  4028. /// 人工冻结(禁止交易)
  4029. /// </summary>
  4030. TRADESTATUS_FROZENMANUAL = 5
  4031. }
  4032. /// <summary>
  4033. // 合作套保风险等级
  4034. /// </summary>
  4035. public enum eScfRiskLv {
  4036. /// <summary>
  4037. /// 正常
  4038. /// </summary>
  4039. SCF_RISKLV_NORMAL = 0,
  4040. /// <summary>
  4041. /// 预警
  4042. /// </summary>
  4043. SCF_RISKLV_PRE_WARN = 1,
  4044. /// <summary>
  4045. /// 禁开
  4046. /// </summary>
  4047. SCF_RISKLV_WARNING = 2,
  4048. /// <summary>
  4049. /// 止损
  4050. /// </summary>
  4051. SCF_RISKLV_STOPPING = 3,
  4052. /// <summary>
  4053. /// 恢复
  4054. /// </summary>
  4055. SCF_RISKLV_RECOVER = 4
  4056. }
  4057. /// <summary>
  4058. // 合作套保风险状态
  4059. /// </summary>
  4060. public enum eScfRiskStatus {
  4061. /// <summary>
  4062. /// 正常
  4063. /// </summary>
  4064. SCF_RISKSTATUS_NORMAL = 1,
  4065. /// <summary>
  4066. /// 受限
  4067. /// </summary>
  4068. SCF_RISKSTATUS_BELIMITED = 2,
  4069. /// <summary>
  4070. /// 冻结
  4071. /// </summary>
  4072. SCF_RISKSTATUS_FROZEN = 3
  4073. }
  4074. /// <summary>
  4075. // 默认标志
  4076. /// </summary>
  4077. public enum eIsDefault {
  4078. /// <summary>
  4079. /// 非默认
  4080. /// </summary>
  4081. ISDEFAULT_NO = 0,
  4082. /// <summary>
  4083. /// 默认
  4084. /// </summary>
  4085. ISDEFAULT_YES = 1
  4086. }
  4087. /// <summary>
  4088. // 变动类型
  4089. /// </summary>
  4090. public enum eChangeType {
  4091. /// <summary>
  4092. /// 客户入金
  4093. /// </summary>
  4094. CHANGETYPE_INAMOUNT = 1,
  4095. /// <summary>
  4096. /// 客户出金
  4097. /// </summary>
  4098. CHANGETYPE_OUTAMOUNT = 2,
  4099. /// <summary>
  4100. /// 扣客户手续费
  4101. /// </summary>
  4102. CHANGETYPE_CHARGE = 3,
  4103. /// <summary>
  4104. /// 分润
  4105. /// </summary>
  4106. CHANGETYPE_DIVIDE = 4,
  4107. /// <summary>
  4108. /// 分润划拨
  4109. /// </summary>
  4110. CHANGETYPE_DIVIDETRANSFER = 5,
  4111. /// <summary>
  4112. /// 交割扣款
  4113. /// </summary>
  4114. CHANGETYPE_DELIVERYDEDUCT = 6,
  4115. /// <summary>
  4116. /// 交割付款
  4117. /// </summary>
  4118. CHANGETYPE_DELIVERYPAY = 7
  4119. }
  4120. /// <summary>
  4121. // 变动方向
  4122. /// </summary>
  4123. public enum eChangeDirection {
  4124. /// <summary>
  4125. /// 增加
  4126. /// </summary>
  4127. CHANGEDIRECTION_INCREASE = 1,
  4128. /// <summary>
  4129. /// 减少
  4130. /// </summary>
  4131. CHANGEDIRECTION_DECREASE = 2
  4132. }
  4133. /// <summary>
  4134. // 账务类别
  4135. /// </summary>
  4136. public enum eAccType {
  4137. /// <summary>
  4138. /// 资产类
  4139. /// </summary>
  4140. ACCTYPE_ASSET = 1,
  4141. /// <summary>
  4142. /// 负债类
  4143. /// </summary>
  4144. ACCTYPE_DEBT = 2,
  4145. /// <summary>
  4146. /// 权益类
  4147. /// </summary>
  4148. ACCTYPE_EQUITY = 3
  4149. }
  4150. /// <summary>
  4151. // 总科目
  4152. /// </summary>
  4153. public enum eAccSubject {
  4154. /// <summary>
  4155. /// 银行存款
  4156. /// </summary>
  4157. ACCSUBJECT_DEPOSIT = 1,
  4158. /// <summary>
  4159. /// 代理清算资金
  4160. /// </summary>
  4161. ACCSUBJECT_AGENT = 2,
  4162. /// <summary>
  4163. /// 收入
  4164. /// </summary>
  4165. ACCSUBJECT_INCOME = 3
  4166. }
  4167. /// <summary>
  4168. // 明细科目
  4169. /// </summary>
  4170. public enum eDetailSubject {
  4171. /// <summary>
  4172. /// 银行存款
  4173. /// </summary>
  4174. DETAILSUBJECT_DEPOSIT = 1,
  4175. /// <summary>
  4176. /// 代理客户保证金
  4177. /// </summary>
  4178. DETAILSUBJECT_MARGIN = 2,
  4179. /// <summary>
  4180. /// 代收手续费
  4181. /// </summary>
  4182. DETAILSUBJECT_COLLECTCHARGE = 3,
  4183. /// <summary>
  4184. /// 应付合作机构手续费
  4185. /// </summary>
  4186. DETAILSUBJECT_AREACHARGE = 4,
  4187. /// <summary>
  4188. /// 其他代收金额
  4189. /// </summary>
  4190. DETAILSUBJECT_OTHERCOLLECT = 5,
  4191. /// <summary>
  4192. /// 手续费收入
  4193. /// </summary>
  4194. DETAILSUBJECT_CHARGEINCOME = 6
  4195. }
  4196. /// <summary>
  4197. // 是否有效
  4198. /// </summary>
  4199. public enum eIsValid {
  4200. /// <summary>
  4201. /// 无效
  4202. /// </summary>
  4203. ISVALID_NO = 0,
  4204. /// <summary>
  4205. /// 有效
  4206. /// </summary>
  4207. ISVALID_YES = 1
  4208. }
  4209. /// <summary>
  4210. // 机构角色
  4211. /// </summary>
  4212. public enum eRoleType {
  4213. /// <summary>
  4214. /// 交易所
  4215. /// </summary>
  4216. ROLETYPE_EXCHANGE = 1,
  4217. /// <summary>
  4218. /// 运营机构
  4219. /// </summary>
  4220. ROLETYPE_OPERATEAREA = 2,
  4221. /// <summary>
  4222. /// 扩展中心
  4223. /// </summary>
  4224. ROLETYPE_MARKETCENTER = 3,
  4225. /// <summary>
  4226. /// 仓库机构
  4227. /// </summary>
  4228. ROLETYPE_WAREHOUSEAREA = 4,
  4229. /// <summary>
  4230. /// 第三方服务机构
  4231. /// </summary>
  4232. ROLETYPE_THIRDAREA = 5,
  4233. /// <summary>
  4234. /// 自营会员
  4235. /// </summary>
  4236. ROLETYPE_DEALER = 6,
  4237. /// <summary>
  4238. /// 经纪会员
  4239. /// </summary>
  4240. ROLETYPE_BROKER = 7,
  4241. /// <summary>
  4242. /// 做市会员
  4243. /// </summary>
  4244. ROLETYPE_MARKETMAKER = 8,
  4245. /// <summary>
  4246. /// 产业会员
  4247. /// </summary>
  4248. ROLETYPE_INDUSTRY = 9,
  4249. /// <summary>
  4250. /// 金融机构
  4251. /// </summary>
  4252. ROLETYPE_FINANCEAREA = 10,
  4253. /// <summary>
  4254. /// 商城店铺
  4255. /// </summary>
  4256. ROLETYPE_MALLSHOP = 11,
  4257. /// <summary>
  4258. /// 子机构
  4259. /// </summary>
  4260. ROLETYPE_SUBAREA = 12,
  4261. /// <summary>
  4262. /// 报价商
  4263. /// </summary>
  4264. ROLETYPE_QUOTIENT = 13,
  4265. /// <summary>
  4266. /// 积分服务商
  4267. /// </summary>
  4268. ROLETYPE_SCOREPROVIDER = 14,
  4269. /// <summary>
  4270. /// 供货商
  4271. /// </summary>
  4272. ROLETYPE_SUPPLIER = 15,
  4273. /// <summary>
  4274. /// 圈内会员
  4275. /// </summary>
  4276. ROLETYPE_RINGDEAL = 16,
  4277. /// <summary>
  4278. /// 物流机构
  4279. /// </summary>
  4280. ROLETYPE_LOGISTICSAREA = 17,
  4281. /// <summary>
  4282. /// 报价配置机构
  4283. /// </summary>
  4284. ROLETYPE_QUOTECONFIGAREA = 18,
  4285. /// <summary>
  4286. /// 场外期权做市商
  4287. /// </summary>
  4288. ROLETYPE_EXTERNOPTION_MARKETMAKER = 19,
  4289. /// <summary>
  4290. /// 省级代理
  4291. /// </summary>
  4292. ROLETYPE_ONE_AGENT = 20,
  4293. /// <summary>
  4294. /// 市级代理
  4295. /// </summary>
  4296. ROLETYPE_TWO_AGENT = 21,
  4297. /// <summary>
  4298. /// 区级代理
  4299. /// </summary>
  4300. ROLETYPE_THREE_AGENT = 22
  4301. }
  4302. /// <summary>
  4303. // 保证金算法
  4304. /// </summary>
  4305. public enum eMarginAlgorithm {
  4306. /// <summary>
  4307. /// 比率
  4308. /// </summary>
  4309. MARGINALGORITHM_RATIO = 1,
  4310. /// <summary>
  4311. /// 固定
  4312. /// </summary>
  4313. MARGINALGORITHM_FIXED = 2
  4314. }
  4315. /// <summary>
  4316. // 交易参数类型
  4317. /// </summary>
  4318. public enum eRuleType {
  4319. /// <summary>
  4320. /// 保证金类
  4321. /// </summary>
  4322. RULETYPE_MARGIN = 1,
  4323. /// <summary>
  4324. /// 交易规则类
  4325. /// </summary>
  4326. RULETYPE_TRADERULE = 2,
  4327. /// <summary>
  4328. /// 交易费用类
  4329. /// </summary>
  4330. RULETYPE_TRADEFEE = 3
  4331. }
  4332. /// <summary>
  4333. // 分润算法
  4334. /// </summary>
  4335. public enum eDivideType {
  4336. /// <summary>
  4337. /// 比率
  4338. /// </summary>
  4339. DIVIDETYPE_RATIO = 1,
  4340. /// <summary>
  4341. /// 固定
  4342. /// </summary>
  4343. DIVIDETYPE_FIXED = 2,
  4344. /// <summary>
  4345. /// 余下全部
  4346. /// </summary>
  4347. DIVIDETYPE_REMAIN = 3
  4348. }
  4349. /// <summary>
  4350. // 分润状态
  4351. /// </summary>
  4352. public enum eDivideStatus {
  4353. /// <summary>
  4354. /// 未分成
  4355. /// </summary>
  4356. DIVIDESTATUS_PENDING = 1,
  4357. /// <summary>
  4358. /// 已分成
  4359. /// </summary>
  4360. DIVIDESTATUS_FINISHED = 2
  4361. }
  4362. /// <summary>
  4363. // 分润费用类型
  4364. /// </summary>
  4365. public enum eTradeFeeType {
  4366. /// <summary>
  4367. /// 交易手续费
  4368. /// </summary>
  4369. TRADEFEETYPE_TRADECHARGE = 1,
  4370. /// <summary>
  4371. /// 交割手续费
  4372. /// </summary>
  4373. TRADEFEETYPE_DELIVERYCHARGE = 2,
  4374. /// <summary>
  4375. /// 出金手续费
  4376. /// </summary>
  4377. TRADEFEETYPE_OUTAMOUNTCHARGE = 3,
  4378. /// <summary>
  4379. /// 入金手续费
  4380. /// </summary>
  4381. TRADEFEETYPE_INAMOUNTCHARGE = 4,
  4382. /// <summary>
  4383. /// 递延费
  4384. /// </summary>
  4385. TRADEFEETYPE_INTEREST = 5,
  4386. /// <summary>
  4387. /// 递延费2
  4388. /// </summary>
  4389. TRADEFEETYPE_DEFERCHARGE = 6,
  4390. /// <summary>
  4391. /// 开户奖励费
  4392. /// </summary>
  4393. TRADEFEETYPE_OPENACCOUNT = 7,
  4394. /// <summary>
  4395. /// 入金奖励费
  4396. /// </summary>
  4397. TRADEFEETYPE_DEPOSIT = 8,
  4398. /// <summary>
  4399. /// 普通净创收
  4400. /// </summary>
  4401. TRADEFEETYPE_NORMAL = 9,
  4402. /// <summary>
  4403. /// 信用净创收
  4404. /// </summary>
  4405. TRADEFEETYPE_CREDIT = 10,
  4406. /// <summary>
  4407. /// 期权净创收
  4408. /// </summary>
  4409. TRADEFEETYPE_OPTION = 11,
  4410. /// <summary>
  4411. /// 其它
  4412. /// </summary>
  4413. TRADEFEETYPE_OTHER = 99
  4414. }
  4415. /// <summary>
  4416. // 涨跌停标志
  4417. /// </summary>
  4418. public enum eUpDownFlag {
  4419. /// <summary>
  4420. /// 跌停
  4421. /// </summary>
  4422. UPDOWNFLAG_DOWN = -1,
  4423. /// <summary>
  4424. /// 无涨跌停
  4425. /// </summary>
  4426. UPDOWNFLAG_NO = 0,
  4427. /// <summary>
  4428. /// 涨停
  4429. /// </summary>
  4430. UPDOWNFLAG_UP = 1
  4431. }
  4432. /// <summary>
  4433. // 节点状态
  4434. /// </summary>
  4435. public enum eNodeStatus {
  4436. /// <summary>
  4437. /// 未执行
  4438. /// </summary>
  4439. NODESTATUS_PENDING = 1,
  4440. /// <summary>
  4441. /// 进行中
  4442. /// </summary>
  4443. NODESTATUS_INPROCESS = 2,
  4444. /// <summary>
  4445. /// 成功
  4446. /// </summary>
  4447. NODESTATUS_SUCCESS = 3,
  4448. /// <summary>
  4449. /// 失败
  4450. /// </summary>
  4451. NODESTATUS_FAILED = 4
  4452. }
  4453. /// <summary>
  4454. // 节点是否可回退
  4455. /// </summary>
  4456. public enum eCanBack {
  4457. /// <summary>
  4458. /// 不可回退
  4459. /// </summary>
  4460. CANBACK_NO = 0,
  4461. /// <summary>
  4462. /// 可回退
  4463. /// </summary>
  4464. CANBACK_YES = 1
  4465. }
  4466. /// <summary>
  4467. // 交易结算节点ID
  4468. /// </summary>
  4469. public enum eBidReckonNodeID {
  4470. /// <summary>
  4471. /// 预埋单撤单节点ID
  4472. /// </summary>
  4473. BIDRECKNODEID_PERPOST_CANCEL = 1,
  4474. /// <summary>
  4475. /// 委托单撤单节点ID
  4476. /// </summary>
  4477. BIDRECKNODEID_ORDER_CANCEL = 2,
  4478. /// <summary>
  4479. /// 结算价节点ID
  4480. /// </summary>
  4481. BIDRECKNODEID_RECK_PRICE = 3,
  4482. /// <summary>
  4483. /// 定期解冻持仓单节点ID
  4484. /// </summary>
  4485. BIDRECKNODEID_PERIODIC_UNFREEZE_HOLDERDETAIL = 4,
  4486. /// <summary>
  4487. /// 定期强平节点ID
  4488. /// </summary>
  4489. BIDRECKNODEID_PERIODIC_FORCECLOSE = 5,
  4490. /// <summary>
  4491. /// 持仓单备份节点ID
  4492. /// </summary>
  4493. BIDRECKNODEID_HOLDERDETAIL_BACKUP = 6,
  4494. /// <summary>
  4495. /// 单据试算平衡节点
  4496. /// </summary>
  4497. BIDRECKNODEID_ORDER_BALANCE_CALCULATE = 7,
  4498. /// <summary>
  4499. /// 持仓单处理节点
  4500. /// </summary>
  4501. BIDRECKNODEID_HOLDERDETAIL_DEAL = 8,
  4502. /// <summary>
  4503. /// 委托单日照节点
  4504. /// </summary>
  4505. BIDRECKNODEID_ORDER_DAY = 9,
  4506. /// <summary>
  4507. /// 交易分润节点
  4508. /// </summary>
  4509. BIDRECKNODEID_SHARE_PROFIT = 10,
  4510. /// <summary>
  4511. /// 交割调续费节点
  4512. /// </summary>
  4513. BIDRECKNODEID_DELAY_FEE = 11,
  4514. /// <summary>
  4515. /// 补偿费(无仓单)
  4516. /// </summary>
  4517. BIDRECKNODEID_COMPEMSATION_FEE = 12
  4518. }
  4519. /// <summary>
  4520. // 仓单变动类型
  4521. /// </summary>
  4522. public enum eWR_ChangeType {
  4523. /// <summary>
  4524. /// 交割成交
  4525. /// </summary>
  4526. WR_CHANGETYPE_DELIVERY = 1,
  4527. /// <summary>
  4528. /// 仓单转持仓成交
  4529. /// </summary>
  4530. WR_CHANGETYPE_WRTOPOSITION = 2,
  4531. /// <summary>
  4532. /// 持仓转仓单成交
  4533. /// </summary>
  4534. WR_CHANGETYPE_POSITIONTOWR = 3,
  4535. /// <summary>
  4536. /// 其它成交
  4537. /// </summary>
  4538. WR_CHANGETYPE_OTHER = 4
  4539. }
  4540. /// <summary>
  4541. // 仓单类型
  4542. /// </summary>
  4543. public enum eWRType {
  4544. /// <summary>
  4545. /// 注册仓单
  4546. /// </summary>
  4547. WRTYPE_STANDARD = 1,
  4548. /// <summary>
  4549. /// 信用仓单
  4550. /// </summary>
  4551. WRTYPE_CREDIT = 2
  4552. }
  4553. /// <summary>
  4554. // 仓单持有人类型
  4555. /// </summary>
  4556. public enum eWR_HolderType {
  4557. /// <summary>
  4558. /// 会员
  4559. /// </summary>
  4560. WR_HOLDERTYPE_AREA = 1,
  4561. /// <summary>
  4562. /// 投资者
  4563. /// </summary>
  4564. WR_HOLDERTYPE_INVESTOR = 2
  4565. }
  4566. /// <summary>
  4567. // 仓单申请状态
  4568. /// </summary>
  4569. public enum eWR_AuditStatus {
  4570. /// <summary>
  4571. /// 待初审
  4572. /// </summary>
  4573. WR_AUDITSTATUS_PENDINGAUDIT = 1,
  4574. /// <summary>
  4575. /// 待复审
  4576. /// </summary>
  4577. WR_AUDITSTATUS_PENDINGREAUDIT = 2,
  4578. /// <summary>
  4579. /// 审核通过
  4580. /// </summary>
  4581. WR_AUDITSTATUS_PASS = 3,
  4582. /// <summary>
  4583. /// 审核拒绝
  4584. /// </summary>
  4585. WR_AUDITSTATUS_REJECT = 4,
  4586. /// <summary>
  4587. /// 注册成功
  4588. /// </summary>
  4589. WR_AUDITSTATUS_SUCCESS = 5,
  4590. /// <summary>
  4591. /// 注册失败
  4592. /// </summary>
  4593. WR_AUDITSTATUS_FAILED = 6
  4594. }
  4595. /// <summary>
  4596. // 仓单状态
  4597. /// </summary>
  4598. public enum eWR_STATUS {
  4599. /// <summary>
  4600. /// 正常
  4601. /// </summary>
  4602. WR_STATUS_NORMAL = 1,
  4603. /// <summary>
  4604. /// 注销
  4605. /// </summary>
  4606. WR_STATUS_CANCELLED = 2
  4607. }
  4608. /// <summary>
  4609. // 仓单用途类型
  4610. /// </summary>
  4611. public enum eWR_UsedType {
  4612. /// <summary>
  4613. /// 仓单转持仓
  4614. /// </summary>
  4615. WR_USEDTYPE_WRTOPOSITION = 1,
  4616. /// <summary>
  4617. /// 持仓转仓单
  4618. /// </summary>
  4619. WR_USEDTYPE_POSITIONTOWR = 2
  4620. }
  4621. /// <summary>
  4622. // 仓单转用途申请状态
  4623. /// </summary>
  4624. public enum eWR_ReqStatus {
  4625. /// <summary>
  4626. /// 申请中
  4627. /// </summary>
  4628. WR_REQSTATUS_APPLYING = 1,
  4629. /// <summary>
  4630. /// 申请失败
  4631. /// </summary>
  4632. WR_REQSTATUS_FAILED = 2,
  4633. /// <summary>
  4634. /// 待审核
  4635. /// </summary>
  4636. WR_REQSTATUS_PENDING = 3,
  4637. /// <summary>
  4638. /// 审核通过
  4639. /// </summary>
  4640. WR_REQSTATUS_PASS = 4,
  4641. /// <summary>
  4642. /// 审核拒绝
  4643. /// </summary>
  4644. WR_REQSTATUS_REJECT = 5,
  4645. /// <summary>
  4646. /// 取消申请
  4647. /// </summary>
  4648. WR_REQSTATUS_CANCELLED = 6,
  4649. /// <summary>
  4650. /// 转换完成
  4651. /// </summary>
  4652. WR_REQSTATUS_SUCCESS = 7,
  4653. /// <summary>
  4654. /// 转换失败
  4655. /// </summary>
  4656. WR_REQSTATUS_ERROR = 8
  4657. }
  4658. /// <summary>
  4659. // 仓单转用途申请处理标识
  4660. /// </summary>
  4661. public enum eWR_HandleFlag {
  4662. /// <summary>
  4663. /// 待发送
  4664. /// </summary>
  4665. WR_HANDLEFLAG_PENDING = 1,
  4666. /// <summary>
  4667. /// 已发送
  4668. /// </summary>
  4669. WR_HANDLEFLAG_SEND = 2,
  4670. /// <summary>
  4671. /// 处理成功
  4672. /// </summary>
  4673. WR_HANDLEFLAG_SUCCESS = 3,
  4674. /// <summary>
  4675. /// 处理失败
  4676. /// </summary>
  4677. WR_HANDLEFLAG_FAILED = 4
  4678. }
  4679. /// <summary>
  4680. // 仓单成交类型
  4681. /// </summary>
  4682. public enum eWRTradeType {
  4683. /// <summary>
  4684. /// 仓单注册
  4685. /// </summary>
  4686. WR_TRADE_REGISTER = 1,
  4687. /// <summary>
  4688. /// 交割成交
  4689. /// </summary>
  4690. WR_TRADE_DELIVERY = 2,
  4691. /// <summary>
  4692. /// 履约
  4693. /// </summary>
  4694. WR_TRADE_PERFORMANCE = 3,
  4695. /// <summary>
  4696. /// 仓单贸易
  4697. /// </summary>
  4698. WR_TRADE_WRTRADE = 4,
  4699. /// <summary>
  4700. /// 供应链金融
  4701. /// </summary>
  4702. WR_TRADE_SCF = 5,
  4703. /// <summary>
  4704. /// 提货
  4705. /// </summary>
  4706. WR_TRADE_LADING = 6,
  4707. /// <summary>
  4708. /// 竞拍
  4709. /// </summary>
  4710. WR_TRADE_AUCTION = 7
  4711. }
  4712. /// <summary>
  4713. // 仓库类型
  4714. /// </summary>
  4715. public enum eWarehouseType {
  4716. /// <summary>
  4717. /// 厂库
  4718. /// </summary>
  4719. WAREHOUSETYPE_FACTORY = 1,
  4720. /// <summary>
  4721. /// 自有库
  4722. /// </summary>
  4723. WAREHOUSETYPE_OWN = 2,
  4724. /// <summary>
  4725. /// 合作库
  4726. /// </summary>
  4727. WAREHOUSETYPE_COOPERATIVE = 3
  4728. }
  4729. /// <summary>
  4730. // 仓库状态
  4731. /// </summary>
  4732. public enum eWarehouseStatus {
  4733. /// <summary>
  4734. /// 正常
  4735. /// </summary>
  4736. WAREHOUSESTATUS_NORMAL = 1,
  4737. /// <summary>
  4738. /// 注销
  4739. /// </summary>
  4740. WAREHOUSESTATUS_CANCELLED = 2
  4741. }
  4742. /// <summary>
  4743. // 库位状态
  4744. /// </summary>
  4745. public enum eLocationStatus {
  4746. /// <summary>
  4747. /// 无效
  4748. /// </summary>
  4749. LOCATIONSTATUS_INVALID = 0,
  4750. /// <summary>
  4751. /// 正常
  4752. /// </summary>
  4753. LOCATIONSTATUS_NORMAL = 1,
  4754. /// <summary>
  4755. /// 冻结
  4756. /// </summary>
  4757. LOCATIONSTATUS_FREEZE = 2,
  4758. /// <summary>
  4759. /// 已提货
  4760. /// </summary>
  4761. LOCATIONSTATUS_DELIVERED = 3,
  4762. /// <summary>
  4763. /// 履约冻结
  4764. /// </summary>
  4765. LOCATIONSTATUS_FREEZEBYPERFORMANCE = 4,
  4766. /// <summary>
  4767. /// 已卖出
  4768. /// </summary>
  4769. LOCATIONSTATUS_SELLING = 5
  4770. }
  4771. /// <summary>
  4772. // 质押状态
  4773. /// </summary>
  4774. public enum ePledgeStatus {
  4775. /// <summary>
  4776. /// 未质押
  4777. /// </summary>
  4778. PLEDGESTATUS_NO = 1,
  4779. /// <summary>
  4780. /// 已质押
  4781. /// </summary>
  4782. PLEDGESTATUS_YES = 2
  4783. }
  4784. /// <summary>
  4785. // 交割状态
  4786. /// </summary>
  4787. public enum eDeliveryStatus {
  4788. /// <summary>
  4789. /// 待成交
  4790. /// </summary>
  4791. DELIVERYSTATUS_PENDING = 1,
  4792. /// <summary>
  4793. /// 已成交
  4794. /// </summary>
  4795. DELIVERYSTATUS_TRADED = 2,
  4796. /// <summary>
  4797. /// 成交失败
  4798. /// </summary>
  4799. DELIVERYSTATUS_FAILED = 3,
  4800. /// <summary>
  4801. /// 履约完成
  4802. /// </summary>
  4803. DELIVERYSTATUS_PERFORMANCEFINISHED = 4
  4804. }
  4805. /// <summary>
  4806. // 审核标志
  4807. /// </summary>
  4808. public enum eAuditFlag {
  4809. /// <summary>
  4810. /// 不需要
  4811. /// </summary>
  4812. AUDITFLAG_NO = 0,
  4813. /// <summary>
  4814. /// 需要
  4815. /// </summary>
  4816. AUDITFLAG_YES = 1
  4817. }
  4818. /// <summary>
  4819. // 主单标志
  4820. /// </summary>
  4821. public enum eMainOrderFlag {
  4822. /// <summary>
  4823. /// 非主单
  4824. /// </summary>
  4825. MAINORDERFLAG_NO = 0,
  4826. /// <summary>
  4827. /// 主单
  4828. /// </summary>
  4829. MAINORDERFLAG_YES = 1
  4830. }
  4831. /// <summary>
  4832. // 平仓标志
  4833. /// </summary>
  4834. public enum eCloseFlag {
  4835. /// <summary>
  4836. /// 未平仓
  4837. /// </summary>
  4838. CLOSEFLAG_PENDING = 1,
  4839. /// <summary>
  4840. /// 已平仓
  4841. /// </summary>
  4842. CLOSEFLAG_FINISHED = 2,
  4843. /// <summary>
  4844. /// 正在平仓
  4845. /// </summary>
  4846. CLOSEFLAG_PROCESSING = 3,
  4847. /// <summary>
  4848. /// 平仓失败
  4849. /// </summary>
  4850. CLOSEFLAG_FAILED = 4
  4851. }
  4852. /// <summary>
  4853. // 交割申报状态
  4854. /// </summary>
  4855. public enum eDeliveryOrderStatus {
  4856. /// <summary>
  4857. /// 待审核
  4858. /// </summary>
  4859. DELIVERYORDERSTATUS_PENDING = 1,
  4860. /// <summary>
  4861. /// 审核通过
  4862. /// </summary>
  4863. DELIVERYORDERSTATUS_AUDITED = 2,
  4864. /// <summary>
  4865. /// 审核拒绝
  4866. /// </summary>
  4867. DELIVERYORDERSTATUS_REJECTED = 3,
  4868. /// <summary>
  4869. /// 已撤销
  4870. /// </summary>
  4871. DELIVERYORDERSTATUS_CANCELLED = 4,
  4872. /// <summary>
  4873. /// 失败
  4874. /// </summary>
  4875. DELIVERYORDERSTATUS_FAILED = 5
  4876. }
  4877. /// <summary>
  4878. // 交割申报来源
  4879. /// </summary>
  4880. public enum eDeliveryOrderFrom {
  4881. /// <summary>
  4882. /// 客户端
  4883. /// </summary>
  4884. DELIVERYORDERFROM_CLIENT = 1,
  4885. /// <summary>
  4886. /// 管理端
  4887. /// </summary>
  4888. DELIVERYORDERFROM_MANAGEMENT = 2
  4889. }
  4890. /// <summary>
  4891. // 交割商品处理状态
  4892. /// </summary>
  4893. public enum eDeliveryGoodsHandleStatus {
  4894. /// <summary>
  4895. /// 待冻结
  4896. /// </summary>
  4897. DELIVERYGOODSHANDLESTATUS_UNFREEZE = 1,
  4898. /// <summary>
  4899. /// 冻结中
  4900. /// </summary>
  4901. DELIVERYGOODSHANDLESTATUS_FREEZEING = 2,
  4902. /// <summary>
  4903. /// 冻结成功
  4904. /// </summary>
  4905. DELIVERYGOODSHANDLESTATUS_FREEZE_SUCCESS = 3,
  4906. /// <summary>
  4907. /// 冻结失败
  4908. /// </summary>
  4909. DELIVERYGOODSHANDLESTATUS_FREEZE_FAILED = 4
  4910. }
  4911. /// <summary>
  4912. // 交割申报处理状态
  4913. /// </summary>
  4914. public enum eDeliveryOrderHandleStatus {
  4915. /// <summary>
  4916. /// 交割申报验证
  4917. /// </summary>
  4918. DELIVERYORDERHANDLESTATUS_VERIFY = 1,
  4919. /// <summary>
  4920. /// 交割申报验证失败
  4921. /// </summary>
  4922. DELIVERYORDERHANDLESTATUS_VERIFY_FAILED = 2,
  4923. /// <summary>
  4924. /// 冻结仓单
  4925. /// </summary>
  4926. DELIVERYORDERHANDLESTATUS_FREEZEWR = 3,
  4927. /// <summary>
  4928. /// 冻结仓单失败
  4929. /// </summary>
  4930. DELIVERYORDERHANDLESTATUS_FREEZEWR_FAILED = 4,
  4931. /// <summary>
  4932. /// 冻结X商品头寸
  4933. /// </summary>
  4934. DELIVERYORDERHANDLESTATUS_FREEZE_X = 5,
  4935. /// <summary>
  4936. /// 冻结X商品失败
  4937. /// </summary>
  4938. DELIVERYORDERHANDLESTATUS_FREEZE_X_FAILED = 6,
  4939. /// <summary>
  4940. /// 冻结P商品头寸
  4941. /// </summary>
  4942. DELIVERYORDERHANDLESTATUS_FREEZE_P = 7,
  4943. /// <summary>
  4944. /// 冻结P商品头寸失败
  4945. /// </summary>
  4946. DELIVERYORDERHANDLESTATUS_FREEZE_P_FAILED = 8,
  4947. /// <summary>
  4948. /// 解冻P商品头寸
  4949. /// </summary>
  4950. DELIVERYORDERHANDLESTATUS_UNFREEZE_P = 9,
  4951. /// <summary>
  4952. /// 解冻X商品头寸及仓单头寸
  4953. /// </summary>
  4954. DELIVERYORDERHANDLESTATUS_UNFREEZE_XANDWR = 10,
  4955. /// <summary>
  4956. /// 交割申报成功
  4957. /// </summary>
  4958. DELIVERYORDERHANDLESTATUS_SUCCESS = 11,
  4959. /// <summary>
  4960. /// 冻结交收货款
  4961. /// </summary>
  4962. DELIVERYORDERHANDLESTATUS_FREEZE_AMOUNT = 12,
  4963. /// <summary>
  4964. /// 冻结交收货款失败
  4965. /// </summary>
  4966. DELIVERYORDERHANDLESTATUS_FREEZE_AMOUNT_FAILED = 13,
  4967. /// <summary>
  4968. /// 成交失败
  4969. /// </summary>
  4970. DELIVERYORDERHANDLESTATUS_TRADE_FAILD = 14,
  4971. /// <summary>
  4972. /// 部成部撤
  4973. /// </summary>
  4974. DELIVERYORDERHANDLESTATUS_PARTTRADE_CANCELED = 15,
  4975. /// <summary>
  4976. /// 全部成交
  4977. /// </summary>
  4978. DELIVERYORDERHANDLESTATUS_ALLTRADE = 16,
  4979. /// <summary>
  4980. /// 撤销
  4981. /// </summary>
  4982. DELIVERYORDERHANDLESTATUS_CANCELED = 17,
  4983. /// <summary>
  4984. /// 部分成交
  4985. /// </summary>
  4986. DELIVERYORDERHANDLESTATUS_PARTTRADE = 18,
  4987. /// <summary>
  4988. /// 资金不足
  4989. /// </summary>
  4990. DELIVERYORDERHANDLESTATUS_INSUFFICIENT_FUNDS = 19,
  4991. /// <summary>
  4992. /// 无仓单交收待点选
  4993. /// </summary>
  4994. DELIVERYORDERHANDLESTATUS_SELECTABLE = 20,
  4995. /// <summary>
  4996. /// 可点选数量不足
  4997. /// </summary>
  4998. DELIVERYORDERHANDLESTATUS_INSUFFICIENT_POSITION = 21
  4999. }
  5000. /// <summary>
  5001. // 交割单处理状态
  5002. /// </summary>
  5003. public enum eDeliveryDetailHandleStatus {
  5004. /// <summary>
  5005. /// 平仓
  5006. /// </summary>
  5007. DELIVERYDETAILHANDLESTATUS_CLOSE = 1,
  5008. /// <summary>
  5009. /// 平仓失败
  5010. /// </summary>
  5011. DELIVERYDETAILHANDLESTATUS_CLOSE_FAILED = 2,
  5012. /// <summary>
  5013. /// 新建仓单
  5014. /// </summary>
  5015. DELIVERYDETAILHANDLESTATUS_CREATEWR = 3,
  5016. /// <summary>
  5017. /// 新建仓单失败
  5018. /// </summary>
  5019. DELIVERYDETAILHANDLESTATUS_CREATEWR_FAILED = 4,
  5020. /// <summary>
  5021. /// 履约计划生成
  5022. /// </summary>
  5023. DELIVERYDETAILHANDLESTATUS_PERFORMANCE = 5,
  5024. /// <summary>
  5025. /// 履约计划生成失败
  5026. /// </summary>
  5027. DELIVERYDETAILHANDLESTATUS_PERFORMANCE_FAILED = 6,
  5028. /// <summary>
  5029. /// 履约计划生成成功
  5030. /// </summary>
  5031. DELIVERYDETAILHANDLESTATUS_PERFORMANCE_SUCCESS = 7,
  5032. /// <summary>
  5033. /// 交割付款
  5034. /// </summary>
  5035. DELIVERYDETAILHANDLESTATUS_PAYMENT = 8,
  5036. /// <summary>
  5037. /// 交割付款失败
  5038. /// </summary>
  5039. DELIVERYDETAILHANDLESTATUS_PAYMENT_FAILED = 9,
  5040. /// <summary>
  5041. /// 头寸转移失败
  5042. /// </summary>
  5043. DELIVERYDETAILHANDLESTATUS_POSITION_MOVE_FAILED = 10,
  5044. /// <summary>
  5045. /// 仓单转移失败
  5046. /// </summary>
  5047. DELIVERYDETAILHANDLESTATUS_WH_MOVE_FAILED = 11,
  5048. /// <summary>
  5049. /// 交易成功
  5050. /// </summary>
  5051. DELIVERYDETAILHANDLESTATUS_TRADE_SUCCESS = 12,
  5052. /// <summary>
  5053. /// 冻结履约保证金
  5054. /// </summary>
  5055. DELIVERYDETAILHANDLESTATUS_FREEZE_PERFORMANCEMARGIN = 13,
  5056. /// <summary>
  5057. /// 冻结履约保证金失败
  5058. /// </summary>
  5059. DELIVERYDETAILHANDLESTATUS_FREEZE_PERFORMANCEMARGIN_FAILED = 14,
  5060. /// <summary>
  5061. /// 冻结履约保证金成功
  5062. /// </summary>
  5063. DELIVERYDETAILHANDLESTATUS_PERFORMANCEMARGIN_FREEZED = 15
  5064. }
  5065. /// <summary>
  5066. // 手续费收取方式
  5067. /// </summary>
  5068. public enum eBank_ChargeAlgorithm {
  5069. /// <summary>
  5070. /// 比率
  5071. /// </summary>
  5072. BANK_CHARGEALGORITHM_RATIO = 1,
  5073. /// <summary>
  5074. /// 固定
  5075. /// </summary>
  5076. BANK_CHARGEALGORITHM_FIXED = 2
  5077. }
  5078. /// <summary>
  5079. // 手续费收取类型
  5080. /// </summary>
  5081. public enum eBank_ChargeType {
  5082. /// <summary>
  5083. /// 统一
  5084. /// </summary>
  5085. BANK_CHARGETYPE_FLAT = 1,
  5086. /// <summary>
  5087. /// 区间
  5088. /// </summary>
  5089. BANK_CHARGETYPE_RANGE = 2
  5090. }
  5091. /// <summary>
  5092. // 出入金操作类型
  5093. /// </summary>
  5094. public enum eBank_OutOrIn {
  5095. /// <summary>
  5096. /// 出金
  5097. /// </summary>
  5098. BANK_OUTORIN_OUT = 1,
  5099. /// <summary>
  5100. /// 入金
  5101. /// </summary>
  5102. BANK_OUTORIN_IN = 2,
  5103. /// <summary>
  5104. /// 单边帐调整,入金
  5105. /// </summary>
  5106. BANK_OUTORIN_SINGLESIDE_IN = 3,
  5107. /// <summary>
  5108. /// 单边帐调整,出金
  5109. /// </summary>
  5110. BANK_OUTORIN_SINGLESIDE_OUT = 4
  5111. }
  5112. /// <summary>
  5113. // 上传状态
  5114. /// </summary>
  5115. public enum eBank_DealStatus {
  5116. /// <summary>
  5117. /// 待上传
  5118. /// </summary>
  5119. BANK_DEALSTATUS_PENDING = 1,
  5120. /// <summary>
  5121. /// 上传成功
  5122. /// </summary>
  5123. BANK_DEALSTATUS_SUCCESS = 2,
  5124. /// <summary>
  5125. /// 上传失败
  5126. /// </summary>
  5127. BANK_DEALSTATUS_FAILED = 3,
  5128. /// <summary>
  5129. /// 已注销
  5130. /// </summary>
  5131. BANK_DEALSTATUS_CANCEL = 4
  5132. }
  5133. /// <summary>
  5134. // 客户类型
  5135. /// </summary>
  5136. public enum eBank_UserType {
  5137. /// <summary>
  5138. /// 个人
  5139. /// </summary>
  5140. BANK_USERTYPE_PERSON = 1,
  5141. /// <summary>
  5142. /// 机构
  5143. /// </summary>
  5144. BANKUSERTYPE_AREA = 2
  5145. }
  5146. /// <summary>
  5147. // 变动类型
  5148. /// </summary>
  5149. public enum eBank_ChangeType {
  5150. /// <summary>
  5151. /// 增加
  5152. /// </summary>
  5153. BANK_CHANGETYPE_ADD = 1,
  5154. /// <summary>
  5155. /// 修改
  5156. /// </summary>
  5157. BANK_CHANGETYPE_MODIFY = 2,
  5158. /// <summary>
  5159. /// 注销
  5160. /// </summary>
  5161. BANK_CHANGETYPE_CANCELLED = 3
  5162. }
  5163. /// <summary>
  5164. // 性别
  5165. /// </summary>
  5166. public enum eBank_Sex {
  5167. /// <summary>
  5168. /// 未填写
  5169. /// </summary>
  5170. BANK_SEX_NONE = 0,
  5171. /// <summary>
  5172. /// 男
  5173. /// </summary>
  5174. BANK_SEX_MALE = 1,
  5175. /// <summary>
  5176. /// 女
  5177. /// </summary>
  5178. BANK_SEX_FEMALE = 2
  5179. }
  5180. /// <summary>
  5181. // 费用类型
  5182. /// </summary>
  5183. public enum eBank_AmountType {
  5184. /// <summary>
  5185. /// 出金
  5186. /// </summary>
  5187. BANK_AMOUNTTYPE_OUT = 1,
  5188. /// <summary>
  5189. /// 入金
  5190. /// </summary>
  5191. BANK_AMOUNTTYPE_IN = 2
  5192. }
  5193. /// <summary>
  5194. // 对账状态
  5195. /// </summary>
  5196. public enum eBank_CheckStatus {
  5197. /// <summary>
  5198. /// 未对账
  5199. /// </summary>
  5200. BANK_CHECKSTATUS_UNCHECK = 1,
  5201. /// <summary>
  5202. /// 对账成功
  5203. /// </summary>
  5204. BANK_CHECKSTATUS_SUCCESS = 2,
  5205. /// <summary>
  5206. /// 对账失败
  5207. /// </summary>
  5208. BANK_CHECKSTATUS_FAILED = 3,
  5209. /// <summary>
  5210. /// 单边账调整成功
  5211. /// </summary>
  5212. BANK_CHECKSTATUS_ADJUSTSUCCESS = 4
  5213. }
  5214. /// <summary>
  5215. // 差错处理状态
  5216. /// </summary>
  5217. public enum eBank_CheckErrorStatus {
  5218. /// <summary>
  5219. /// 未处理
  5220. /// </summary>
  5221. BANK_CHECKERRORSTATUS_UNHANDLE = 1,
  5222. /// <summary>
  5223. /// 已处理
  5224. /// </summary>
  5225. BANK_CHECKERRORSTATUS_HANDLED = 2
  5226. }
  5227. /// <summary>
  5228. // 业务类型
  5229. /// </summary>
  5230. public enum eBank_BizType {
  5231. /// <summary>
  5232. /// 出金
  5233. /// </summary>
  5234. BANK_BIZTYPE_OUTAMOUNT = 0,
  5235. /// <summary>
  5236. /// 入金
  5237. /// </summary>
  5238. BANK_BIZTYPE_INAMOUNT = 1,
  5239. /// <summary>
  5240. /// 出金申请
  5241. /// </summary>
  5242. BANK_BIZTYPE_OUTAPPLY = 2,
  5243. /// <summary>
  5244. /// 入金申请
  5245. /// </summary>
  5246. BANK_BIZTYPE_INAPPLY = 3,
  5247. /// <summary>
  5248. /// 付款
  5249. /// </summary>
  5250. BANK_BIZTYPE_PAYMENT = 4,
  5251. /// <summary>
  5252. /// 付款确认
  5253. /// </summary>
  5254. BANK_BIZTYPE_PAYMENTCONFIRM = 5
  5255. }
  5256. /// <summary>
  5257. // 发起方类型
  5258. /// </summary>
  5259. public enum eBank_SenderType {
  5260. /// <summary>
  5261. /// 中心
  5262. /// </summary>
  5263. BANK_SENDERTYPE_CENTER = 0,
  5264. /// <summary>
  5265. /// 交易所
  5266. /// </summary>
  5267. BANK_SENDERTYPE_EXCHANGE = 1,
  5268. /// <summary>
  5269. /// 银行
  5270. /// </summary>
  5271. BANK_SENDERTYPE_BANK = 2
  5272. }
  5273. /// <summary>
  5274. // 业务状态
  5275. /// </summary>
  5276. public enum eBank_BizStatus {
  5277. /// <summary>
  5278. /// 成功
  5279. /// </summary>
  5280. BANK_BIZSTATUS_SUCCESS = 0,
  5281. /// <summary>
  5282. /// 失败
  5283. /// </summary>
  5284. BANK_BIZSTATUS_FAILED = 1
  5285. }
  5286. /// <summary>
  5287. // 是否可以
  5288. /// </summary>
  5289. public enum eBank_WhetherOrNot {
  5290. /// <summary>
  5291. /// 不可
  5292. /// </summary>
  5293. WHETHERORNOT_NO = 0,
  5294. /// <summary>
  5295. /// 可以
  5296. /// </summary>
  5297. WHETHERORNOT_YES = 1
  5298. }
  5299. /// <summary>
  5300. // 扩展业务类型
  5301. /// </summary>
  5302. public enum eBank_ExtendBizType {
  5303. /// <summary>
  5304. /// 签约
  5305. /// </summary>
  5306. BANK_EXTENDBIZTYPE_SIGNIN = 1,
  5307. /// <summary>
  5308. /// 入金
  5309. /// </summary>
  5310. BANK_EXTENDBIZTYPE_INAMOUNT = 2,
  5311. /// <summary>
  5312. /// 出金
  5313. /// </summary>
  5314. BANK_EXTENDBIZTYPE_OUTAMOUNT = 3
  5315. }
  5316. /// <summary>
  5317. // 是否必填
  5318. /// </summary>
  5319. public enum eBank_IsMandatory {
  5320. /// <summary>
  5321. /// 不必填
  5322. /// </summary>
  5323. BANK_ISMANDATORY_NO = 0,
  5324. /// <summary>
  5325. /// 必填
  5326. /// </summary>
  5327. BANK_ISMANDATORY_YES = 1
  5328. }
  5329. /// <summary>
  5330. // 签到状态
  5331. /// </summary>
  5332. public enum eBank_SignStatus {
  5333. /// <summary>
  5334. /// 签到
  5335. /// </summary>
  5336. BANK_SIGNSTATUS_SIGNIN = 1,
  5337. /// <summary>
  5338. /// 签退
  5339. /// </summary>
  5340. BANK_SIGNSTATUS_SIGNOUT = 2
  5341. }
  5342. /// <summary>
  5343. // 清算状态
  5344. /// </summary>
  5345. public enum eBank_ClearStatus {
  5346. /// <summary>
  5347. /// 未清算
  5348. /// </summary>
  5349. BANK_CLEARSTATUS_UNCLEAR = 1,
  5350. /// <summary>
  5351. /// 清算成功
  5352. /// </summary>
  5353. BANK_CLEARSTATUS_SUCCESS = 2,
  5354. /// <summary>
  5355. /// 清算失败
  5356. /// </summary>
  5357. BANK_CLEARSTATUS_FAILED = 3
  5358. }
  5359. /// <summary>
  5360. // 清算处理状态
  5361. /// </summary>
  5362. public enum eBank_ClearDealStatus {
  5363. /// <summary>
  5364. /// 待处理
  5365. /// </summary>
  5366. BANK_CLEARDEALSTATUS_PENDING = 1,
  5367. /// <summary>
  5368. /// 处理成功
  5369. /// </summary>
  5370. BANK_CLEARDEALSTATUS_SUCCESS = 2,
  5371. /// <summary>
  5372. /// 处理失败
  5373. /// </summary>
  5374. BANK_CLEARDEALSTATUS_FAILED = 3
  5375. }
  5376. /// <summary>
  5377. // 申请状态
  5378. /// </summary>
  5379. public enum eBank_ApplyStatus {
  5380. /// <summary>
  5381. /// 待审核
  5382. /// </summary>
  5383. BANK_APPLYSTATUS_PENDING = 1,
  5384. /// <summary>
  5385. /// 初审通过
  5386. /// </summary>
  5387. BANK_APPLYSTATUS_PASS = 2,
  5388. /// <summary>
  5389. /// 初审拒绝
  5390. /// </summary>
  5391. BANK_APPLYSTATUS_REJECT = 3,
  5392. /// <summary>
  5393. /// 交易冻结中
  5394. /// </summary>
  5395. BANK_APPLYSTATUS_IN_TRAD_EFREEZE = 4,
  5396. /// <summary>
  5397. /// 交易解冻中
  5398. /// </summary>
  5399. BANK_APPLYSTATUS_IN_TRADE_UNFREEZE = 5,
  5400. /// <summary>
  5401. /// 交易解冻扣款中
  5402. /// </summary>
  5403. BANK_APPLYSTATUS_IN_TRADE_UNFREEZE_DEDUCT = 6,
  5404. /// <summary>
  5405. /// 交易入金中
  5406. /// </summary>
  5407. BANK_APPLYSTATUS_IN_TRADE_IN = 7,
  5408. /// <summary>
  5409. /// 交易冻结/解冻/扣款中(银行发起出金时用)
  5410. /// </summary>
  5411. BANK_APPLYSTATUS_IN_TRADE_FREEZE_UNFREEZE_DEDUCT = 8,
  5412. /// <summary>
  5413. /// 银行出金中
  5414. /// </summary>
  5415. BANK_APPLYSTATUS_IN_BANK_OUT = 9,
  5416. /// <summary>
  5417. /// 银行入金中
  5418. /// </summary>
  5419. BANK_APPLYSTATUS_IN_BANK_IN = 10,
  5420. /// <summary>
  5421. /// 成功
  5422. /// </summary>
  5423. BANK_APPLYSTATUS_SUCCESS = 11,
  5424. /// <summary>
  5425. /// 失败
  5426. /// </summary>
  5427. BANK_APPLYSTATUS_FAILED = 12,
  5428. /// <summary>
  5429. /// 银行端审核中
  5430. /// </summary>
  5431. BANK_APPLYSTATUS_BANK_PENDING = 13,
  5432. /// <summary>
  5433. /// 账户服务入金失败
  5434. /// </summary>
  5435. BANK_APPLYSTATUS_AS_BANKIN = 14,
  5436. /// <summary>
  5437. /// 账户服务解冻失败
  5438. /// </summary>
  5439. BANK_APPLYSTATUS_AS_UNFREEZE = 15,
  5440. /// <summary>
  5441. /// 账户服务解冻扣款失败
  5442. /// </summary>
  5443. BANK_APPLYSTATUS_AS_UNFREEZE_AND_OUT = 16,
  5444. /// <summary>
  5445. /// 账户服务出金失败
  5446. /// </summary>
  5447. BANK_APPLYSTATUS_AS_BANKOUT = 17,
  5448. /// <summary>
  5449. /// 复审通过
  5450. /// </summary>
  5451. BANK_APPLYSTATUS_RECONFIRM_OK = 18,
  5452. /// <summary>
  5453. /// 复审拒绝
  5454. /// </summary>
  5455. BANK_APPLYSTATUS_RECONFIRM_REJECT = 19,
  5456. /// <summary>
  5457. /// 提交审核,账户冻结中
  5458. /// </summary>
  5459. BANK_APPLYSTATUS_FREEZE_BEFOR_CONFIRM = 20,
  5460. /// <summary>
  5461. /// 审核拒绝,账户解冻中
  5462. /// </summary>
  5463. BANK_APPLYSTATUS_UNFEEZE_ON_CONFIRM_REJECT = 21
  5464. }
  5465. /// <summary>
  5466. // 签约状态
  5467. /// </summary>
  5468. public enum eBank_SignContractStatus {
  5469. /// <summary>
  5470. /// 未签约
  5471. /// </summary>
  5472. BANK_SIGNCONTRACTSTATUS_UNSIGN = 1,
  5473. /// <summary>
  5474. /// 签约待审核
  5475. /// </summary>
  5476. BANK_SIGNCONTRACTSTATUS_SIGNFORAUDIT = 2,
  5477. /// <summary>
  5478. /// 签约中
  5479. /// </summary>
  5480. BANK_SIGNCONTRACTSTATUS_SIGNING = 3,
  5481. /// <summary>
  5482. /// 已签约
  5483. /// </summary>
  5484. BANK_SIGNCONTRACTSTATUS_SIGNED = 4,
  5485. /// <summary>
  5486. /// 解约待审核
  5487. /// </summary>
  5488. BANK_SIGNCONTRACTSTATUS_CANCELFORAUDIT = 5,
  5489. /// <summary>
  5490. /// 解约中
  5491. /// </summary>
  5492. BANK_SIGNCONTRACTSTATUS_CANCELLING = 6,
  5493. /// <summary>
  5494. /// 已解约
  5495. /// </summary>
  5496. BANK_SIGNCONTRACTSTATUS_CANCELLED = 7,
  5497. /// <summary>
  5498. /// 已解绑
  5499. /// </summary>
  5500. BANK_SIGNCONTRACTSTATUS_BINDED = 8,
  5501. /// <summary>
  5502. /// 绑卡中
  5503. /// </summary>
  5504. BANK_SIGNCONTRACTSTATUS_BINDING = 9
  5505. }
  5506. /// <summary>
  5507. // 银行账户类型
  5508. /// </summary>
  5509. public enum eBank_BankAccountType {
  5510. /// <summary>
  5511. /// 对私
  5512. /// </summary>
  5513. BANK_BANKACCOUNTTYPE_PRIVATE = 1,
  5514. /// <summary>
  5515. /// 对公
  5516. /// </summary>
  5517. BANK_BANKACCOUNTTYPE_PUBLIC = 2
  5518. }
  5519. /// <summary>
  5520. // 签约类型
  5521. /// </summary>
  5522. public enum eBank_SignType {
  5523. /// <summary>
  5524. /// 签约
  5525. /// </summary>
  5526. BANK_SIGNTYPE_SIGN = 1,
  5527. /// <summary>
  5528. /// 解约
  5529. /// </summary>
  5530. BANK_SIGNTYPE_CANCEL = 2
  5531. }
  5532. /// <summary>
  5533. // 是否强制
  5534. /// </summary>
  5535. public enum eBank_IsForce {
  5536. /// <summary>
  5537. /// 非强制
  5538. /// </summary>
  5539. BANK_ISFORCE_NO = 0,
  5540. /// <summary>
  5541. /// 强制
  5542. /// </summary>
  5543. BANK_ISFORCE_YES = 1
  5544. }
  5545. /// <summary>
  5546. // 签解约处理状态
  5547. /// </summary>
  5548. public enum eBank_SignDealStatus {
  5549. /// <summary>
  5550. /// 待审核
  5551. /// </summary>
  5552. BANK_SIGNDEALSTATUS_FORAUDIT = 1,
  5553. /// <summary>
  5554. /// 待处理
  5555. /// </summary>
  5556. BANK_SIGNDEALSTATUS_FORHANDLE = 2,
  5557. /// <summary>
  5558. /// 处理成功
  5559. /// </summary>
  5560. BANK_SIGNDEALSTATUS_SUCCESS = 3,
  5561. /// <summary>
  5562. /// 处理失败
  5563. /// </summary>
  5564. BANK_SIGNDEALSTATUS_FAILED = 4
  5565. }
  5566. /// <summary>
  5567. // 有效状态
  5568. /// </summary>
  5569. public enum eBank_ValidStatus {
  5570. /// <summary>
  5571. /// 无效
  5572. /// </summary>
  5573. BANK_VALIDSTATUS_INVALID = 0,
  5574. /// <summary>
  5575. /// 有效
  5576. /// </summary>
  5577. BANK_VALIDSTATUS_VALID = 1
  5578. }
  5579. /// <summary>
  5580. // 对账过程状态
  5581. /// </summary>
  5582. public enum eBank_CheckProcessStatus {
  5583. /// <summary>
  5584. /// 初始化状态
  5585. /// </summary>
  5586. BANK_CHECKPROCESSSTATUS_INI = 0,
  5587. /// <summary>
  5588. /// 对账文件分析中
  5589. /// </summary>
  5590. BANK_CHECKPROCESSSTATUS_FILE_ANALYSE = 1,
  5591. /// <summary>
  5592. /// 对账文件解析失败
  5593. /// </summary>
  5594. BANK_CHECKPROCESSSTATUS_FILE_FAILED = 2,
  5595. /// <summary>
  5596. /// 对账文件解析成功
  5597. /// </summary>
  5598. BANK_CHECKPROCESSSTATUS_FILE_SUCCESS = 3,
  5599. /// <summary>
  5600. /// 正在获取交易服务的出入金记录
  5601. /// </summary>
  5602. BANK_CHECKPROCESSSTATUS_TRADE_READING = 4,
  5603. /// <summary>
  5604. /// 获取交易服务的出入金记录失败
  5605. /// </summary>
  5606. BANK_CHECKPROCESSSTATUS_TRADE_FAILED = 5,
  5607. /// <summary>
  5608. /// 获取交易服务的出入金记录成功
  5609. /// </summary>
  5610. BANK_CHECKPROCESSSTATUS_TRADE_SUCCESS = 6,
  5611. /// <summary>
  5612. /// 正在进行对账
  5613. /// </summary>
  5614. BANK_CHECKPROCESSSTATUS_CHECKING = 7,
  5615. /// <summary>
  5616. /// 对账全部成功,没有单边账
  5617. /// </summary>
  5618. BANK_CHECKPROCESSSTATUS_CHECK_SUCCESS = 8,
  5619. /// <summary>
  5620. /// 对账成功,存在单边账
  5621. /// </summary>
  5622. BANK_CHECKPROCESSSTATUS_CHECK_HASERROR = 9,
  5623. /// <summary>
  5624. /// 单边账已经全部处理完毕
  5625. /// </summary>
  5626. BANK_CHECKPROCESSSTATUS_ERROR_FINISHED = 10
  5627. }
  5628. /// <summary>
  5629. // 清算过程状态
  5630. /// </summary>
  5631. public enum eBank_ClearProcessStatus {
  5632. /// <summary>
  5633. /// 初始化
  5634. /// </summary>
  5635. BANK_CLEARPROCESSSTATUS_INI = 0,
  5636. /// <summary>
  5637. /// 合并处理结算数据中
  5638. /// </summary>
  5639. BANK_CLEARPROCESSSTATUS_MERGE_INPROCESS = 1,
  5640. /// <summary>
  5641. /// 合并处理结算数据失败
  5642. /// </summary>
  5643. BANK_CLEARPROCESSSTATUS_MERGE_FAILED = 2,
  5644. /// <summary>
  5645. /// 合并处理结算数据成功
  5646. /// </summary>
  5647. BANK_CLEARPROCESSSTATUS_MERGE_SUCCESS = 3,
  5648. /// <summary>
  5649. /// 校验合并的数据中
  5650. /// </summary>
  5651. BANK_CLEARPROCESSSTATUS_CHECK_INPROCESS = 4,
  5652. /// <summary>
  5653. /// 校验合并数据失败
  5654. /// </summary>
  5655. BANK_CLEARPROCESSSTATUS_CHECK_FAILED = 5,
  5656. /// <summary>
  5657. /// 校验合并数据成功
  5658. /// </summary>
  5659. BANK_CLEARPROCESSSTATUS_CHECK_SUCCESS = 6,
  5660. /// <summary>
  5661. /// 正在生成清算数据
  5662. /// </summary>
  5663. BANK_CLEARPROCESSSTATUS_GEN_INPROCESS = 7,
  5664. /// <summary>
  5665. /// 生成清算数据失败
  5666. /// </summary>
  5667. BANK_CLEARPROCESSSTATUS_GEN_FAILED = 8,
  5668. /// <summary>
  5669. /// 生成清算成功
  5670. /// </summary>
  5671. BANK_CLEARPROCESSSTATUS_GEN_SUCCESS = 9,
  5672. /// <summary>
  5673. /// 正在发送清算数据
  5674. /// </summary>
  5675. BANK_CLEARPROCESSSTATUS_SEND_INPROCESS = 10,
  5676. /// <summary>
  5677. /// 清算数据发送失败
  5678. /// </summary>
  5679. BANK_CLEARPROCESSSTATUS_SEND_FAILED = 11,
  5680. /// <summary>
  5681. /// 清算数据发送成功,等待应答结果
  5682. /// </summary>
  5683. BANK_CLEARPROCESSSTATUS_SEND_WAITRESPONSE = 12,
  5684. /// <summary>
  5685. /// 正在处理结果文件
  5686. /// </summary>
  5687. BANK_CLEARPROCESSSTATUS_RESULT_INPROCESS = 13,
  5688. /// <summary>
  5689. /// 结果文件处理失败
  5690. /// </summary>
  5691. BANK_CLEARPROCESSSTATUS_RESULT_FAILED = 14,
  5692. /// <summary>
  5693. /// 清算全部失败
  5694. /// </summary>
  5695. BANK_CLEARPROCESSSTATUS_CLEAR_FAILED = 15,
  5696. /// <summary>
  5697. /// 清算部分成功
  5698. /// </summary>
  5699. BANK_CLEARPROCESSSTATUS_CLEAR_PARTIALSUCCESS = 16,
  5700. /// <summary>
  5701. /// 清算全部成功
  5702. /// </summary>
  5703. BANK_CLEARPROCESSSTATUS_CLEAR_SUCCESS = 17,
  5704. /// <summary>
  5705. /// 今日免清算
  5706. /// </summary>
  5707. BANK_CLEARPROCESSSTATUS_UNNEED_CLEAR = 18
  5708. }
  5709. /// <summary>
  5710. // 银行业务操作状态
  5711. /// </summary>
  5712. public enum eBank_TaskOperateStatus {
  5713. /// <summary>
  5714. /// 操作成功
  5715. /// </summary>
  5716. BANK_TASKOPERATESTATUS_SUCCESS = 0,
  5717. /// <summary>
  5718. /// 操作失败
  5719. /// </summary>
  5720. BANK_TASKOPERATESTATUS_FAILED = 1
  5721. }
  5722. /// <summary>
  5723. // 银行服务消息来源
  5724. /// </summary>
  5725. public enum eBank_MsgDirect {
  5726. /// <summary>
  5727. /// 交易中心发起
  5728. /// </summary>
  5729. BANK_MSGDIRECT_TRADECENTER = 1,
  5730. /// <summary>
  5731. /// 清算中心发起
  5732. /// </summary>
  5733. BANK_MSGDIRECT_CLEARCENTER = 2,
  5734. /// <summary>
  5735. /// 账户服务发起
  5736. /// </summary>
  5737. BANK_MSGDIRECT_ACCOUNTSERVICE = 3
  5738. }
  5739. /// <summary>
  5740. // 银行服务清算结果文件状态
  5741. /// </summary>
  5742. public enum eBank_ClearResultFileStatus {
  5743. /// <summary>
  5744. /// 未清算
  5745. /// </summary>
  5746. BANK_CLEARRESULTFILESTATUS_INIT = 1,
  5747. /// <summary>
  5748. /// 全部成功
  5749. /// </summary>
  5750. BANK_CLEARRESULTFILESTATUS_SUCCESS = 2,
  5751. /// <summary>
  5752. /// 处理失败
  5753. /// </summary>
  5754. BANK_CLEARRESULTFILESTATUS_FAILED = 3,
  5755. /// <summary>
  5756. /// 部分成功
  5757. /// </summary>
  5758. BANK_CLEARRESULTFILESTATUS_PARTIALSUCCESS = 4
  5759. }
  5760. /// <summary>
  5761. // 单据ID类型
  5762. /// </summary>
  5763. public enum eOrderIDType {
  5764. /// <summary>
  5765. /// 交易预埋单/交易委托单
  5766. /// </summary>
  5767. ORDERIDTYPE_TRADE_ORDERID = 100,
  5768. /// <summary>
  5769. /// 交易成交单/交易持仓单/交易成交配对
  5770. /// </summary>
  5771. ORDERIDTYPE_TRADE_TRADEID = 101,
  5772. /// <summary>
  5773. /// 交易撤单
  5774. /// </summary>
  5775. ORDERIDTYPE_TRADE_CANCELORDERID = 102,
  5776. /// <summary>
  5777. /// 斩仓委托明细
  5778. /// </summary>
  5779. ORDERIDTYPE_TRADE_CUTORDERID = 103,
  5780. /// <summary>
  5781. /// 平仓明细
  5782. /// </summary>
  5783. ORDERIDTYPE_TRADE_CLOSEORDERID = 104,
  5784. /// <summary>
  5785. /// 穿仓记录明细
  5786. /// </summary>
  5787. ORDERIDTYPE_TRADE_OVERLOSSID = 105,
  5788. /// <summary>
  5789. /// 交易日志流水号
  5790. /// </summary>
  5791. ORDERIDTYPE_TRADE_TRADELOGID = 106,
  5792. /// <summary>
  5793. /// 对冲内部委托单
  5794. /// </summary>
  5795. ORDERIDTYPE_TRADE_HEDGEINNERORDERID = 107,
  5796. /// <summary>
  5797. /// 对冲内部成交单
  5798. /// </summary>
  5799. ORDERIDTYPE_TRADE_HEDGEINNERTRADEID = 108,
  5800. /// <summary>
  5801. /// 源记录ID
  5802. /// </summary>
  5803. ORDERIDTYPE_TRADE_SOURCERECORDID = 109,
  5804. /// <summary>
  5805. /// 受托交易成交单/交易持仓单/交易成交配对
  5806. /// </summary>
  5807. ORDERIDTYPE_TRADE_ENTRUST_TRADEID = 110,
  5808. /// <summary>
  5809. /// 对冲内部撤单ID
  5810. /// </summary>
  5811. ORDERIDTYPE_TRADE_HEDGEINNERCANCELID = 111,
  5812. /// <summary>
  5813. /// 对冲内部平仓ID
  5814. /// </summary>
  5815. ORDERIDTYPE_TRADE_HEDGEINNERCLOSEID = 112,
  5816. /// <summary>
  5817. /// 对冲外部委托单ID
  5818. /// </summary>
  5819. ORDERIDTYPE_TRADE_HEDGEOUTORDERID = 113,
  5820. /// <summary>
  5821. /// 对冲外部成交单ID
  5822. /// </summary>
  5823. ORDERIDTYPE_TRADE_HEDGEOUTTRADEID = 114,
  5824. /// <summary>
  5825. /// 对冲外部撤单ID
  5826. /// </summary>
  5827. ORDERIDTYPE_TRADE_HEDGEOUTCANCEL = 115,
  5828. /// <summary>
  5829. /// 对冲外部成交检查ID
  5830. /// </summary>
  5831. ORDERIDTYPE_RECKON_HEDGEOUTCHECKID = 116,
  5832. /// <summary>
  5833. /// 场外期权对冲流水ID
  5834. /// </summary>
  5835. ORDERIDTYPE_OTCOPTION_HEDGELOGID = 117,
  5836. /// <summary>
  5837. /// 锁仓ID
  5838. /// </summary>
  5839. ORDERIDTYPE_TRADE_CHANNELLOCKID = 118,
  5840. /// <summary>
  5841. /// 认购ID
  5842. /// </summary>
  5843. ORDERIDTYPE_TRADE_CHANNELBUYID = 119,
  5844. /// <summary>
  5845. /// 交割申报单
  5846. /// </summary>
  5847. ORDERIDTYPE_TRADE_DELIVERYORDERID = 120,
  5848. /// <summary>
  5849. /// 交割单
  5850. /// </summary>
  5851. ORDERIDTYPE_TRADE_DELIVERYID = 121,
  5852. /// <summary>
  5853. /// 提单ID
  5854. /// </summary>
  5855. ORDERIDTYPE_WR_TAKEORDERID = 122,
  5856. /// <summary>
  5857. /// 配送单ID
  5858. /// </summary>
  5859. ORDERIDTYPE_WR_DISTRIBUTEORDERID = 123,
  5860. /// <summary>
  5861. /// 履约计划
  5862. /// </summary>
  5863. ORDERIDTYPE_TRADE_PERFORMANCEPLANID = 130,
  5864. /// <summary>
  5865. /// 履约计划步骤
  5866. /// </summary>
  5867. ORDERIDTYPE_TRADE_PERFORMANCESTEPID = 131,
  5868. /// <summary>
  5869. /// 履约违约申请ID
  5870. /// </summary>
  5871. ORDERIDTYPE_TRADE_PERFORMANCEBREACHAPPLYID = 132,
  5872. /// <summary>
  5873. /// 履约交易日志流水号
  5874. /// </summary>
  5875. ORDERIDTYPE_PERFORMANCE_TRADELOGID = 133,
  5876. /// <summary>
  5877. /// 实时行情流水
  5878. /// </summary>
  5879. ORDERIDTYPE_TRADE_REALQUOTESERIALID = 140,
  5880. /// <summary>
  5881. /// 账户请求消息流水ID
  5882. /// </summary>
  5883. ORDERIDTYPE_ACCOUNTREQ_FLOWID = 141,
  5884. /// <summary>
  5885. /// 预售集采挂牌ID
  5886. /// </summary>
  5887. ORDERIDTYPE_PRESALE_LISTINGID = 150,
  5888. /// <summary>
  5889. /// 预售集采委托ID
  5890. /// </summary>
  5891. ORDERIDTYPE_PRESALE_ORDERID = 151,
  5892. /// <summary>
  5893. /// 预售集采成交ID
  5894. /// </summary>
  5895. ORDERIDTYPE_PRESALE_TRADEID = 152,
  5896. /// <summary>
  5897. /// 招投标中标ID
  5898. /// </summary>
  5899. ORDERIDTYPE_TENDER_WINID = 160,
  5900. /// <summary>
  5901. /// 持仓头寸变动日照表流水ID
  5902. /// </summary>
  5903. ORDERIDTYPE_RECKONDAY_MOTIFY_POSITION_FLOWID = 171,
  5904. /// <summary>
  5905. /// 仓单头寸变动日照表流水ID
  5906. /// </summary>
  5907. ORDERIDTYPE_RECKONDAY_MOTIFY_WRPOSITION_FLOWID = 172,
  5908. /// <summary>
  5909. /// 订单仓单头寸变动日照表流水ID
  5910. /// </summary>
  5911. ORDERIDTYPE_RECKONDAY_MOTIFY_TWRPOSITION_FLOWID = 173,
  5912. /// <summary>
  5913. /// 积分头寸变动日照表流水ID
  5914. /// </summary>
  5915. ORDERIDTYPE_RECKONDAY_MOTIFY_SCOREPOSITION_FLOWID = 174,
  5916. /// <summary>
  5917. /// 机构分润日统计明细表流水ID
  5918. /// </summary>
  5919. ORDERIDTYPE_DAYSTATIS_AREA_SHAREPROFIT_DETAIL_FLOWID = 175,
  5920. /// <summary>
  5921. /// 资金处理表流水ID
  5922. /// </summary>
  5923. ORDERIDTYPE_MONEY_PROCESS_FLOWID = 176,
  5924. /// <summary>
  5925. /// 仓单
  5926. /// </summary>
  5927. ORDERIDTYPE_WR_WRID = 200,
  5928. /// <summary>
  5929. /// 仓单头寸
  5930. /// </summary>
  5931. ORDERIDTYPE_WR_WRPOSITIONID = 201,
  5932. /// <summary>
  5933. /// 仓单头寸流水
  5934. /// </summary>
  5935. ORDERIDTYPE_WR_WRPOSITIONFLOWID = 202,
  5936. /// <summary>
  5937. /// 仓单流水
  5938. /// </summary>
  5939. ORDERIDTYPE_WR_WRFLOWID = 203,
  5940. /// <summary>
  5941. /// 库位流水
  5942. /// </summary>
  5943. ORDERIDTYPE_WR_LOCATIONFLOWID = 204,
  5944. /// <summary>
  5945. /// 仓单转用途
  5946. /// </summary>
  5947. ORDERIDTYPE_WR_WRREQUESTID = 205,
  5948. /// <summary>
  5949. /// 订单仓单头寸
  5950. /// </summary>
  5951. ORDERIDTYPE_WR_TRADEWRPOSITIONID = 206,
  5952. /// <summary>
  5953. /// 订单仓单头寸流水
  5954. /// </summary>
  5955. ORDERIDTYPE_WR_TRADEWRPOSITIONFLOWID = 207,
  5956. /// <summary>
  5957. /// 提单ID
  5958. /// </summary>
  5959. ORDERIDTYPE_WR_LADINGBILLID = 208,
  5960. /// <summary>
  5961. /// 库位ID
  5962. /// </summary>
  5963. ORDERIDTYPE_WR_LOCATIONID = 209,
  5964. /// <summary>
  5965. /// 积分ID
  5966. /// </summary>
  5967. ORDERIDTYPE_SCOREID = 210,
  5968. /// <summary>
  5969. /// 积分流水
  5970. /// </summary>
  5971. ORDERIDTYPE_SCOREFLOWID = 211,
  5972. /// <summary>
  5973. /// 仓单要素类型ID
  5974. /// </summary>
  5975. ORDERIDTYPE_FACTORTYPEID = 212,
  5976. /// <summary>
  5977. /// 资金流水
  5978. /// </summary>
  5979. ORDERIDTYPE_AMOUNTFLOWID = 220,
  5980. /// <summary>
  5981. /// 头寸流水
  5982. /// </summary>
  5983. ORDERIDTYPE_POSITIONFLOWID = 221,
  5984. /// <summary>
  5985. /// 仓单持仓单ID
  5986. /// </summary>
  5987. ORDERIDTYPE_WR_HOLDDETAILID = 222,
  5988. /// <summary>
  5989. /// 商城成交单
  5990. /// </summary>
  5991. ORDERIDTYPE_MALL_TRADEID = 300,
  5992. /// <summary>
  5993. /// SCF合同ID
  5994. /// </summary>
  5995. ORDERIDTYPE_SUPPLYCHAIN_TRADEID = 310,
  5996. /// <summary>
  5997. /// SCF业务消息日志ID
  5998. /// </summary>
  5999. ORDERIDTYPE_SCF_EXCHTICKET = 311,
  6000. /// <summary>
  6001. /// SCF仓单回购明细ID
  6002. /// </summary>
  6003. ORDERIDTYPE_SCF_WRBUYBACKID = 312,
  6004. /// <summary>
  6005. /// SCF合同计息ID
  6006. /// </summary>
  6007. ORDERIDTYPE_SCF_INTERESTID = 313,
  6008. /// <summary>
  6009. /// 仓单贸易委托单ID
  6010. /// </summary>
  6011. ORDERIDTYPE_WRTRADE_ORDERID = 320,
  6012. /// <summary>
  6013. /// 仓单贸易成交单ID
  6014. /// </summary>
  6015. ORDERIDTYPE_WRTRADE_TRADEID = 321,
  6016. /// <summary>
  6017. /// 仓单贸易撤单ID
  6018. /// </summary>
  6019. ORDERIDTYPE_WRTRADE_CANCELORDERID = 322,
  6020. /// <summary>
  6021. /// 竞拍申请单ID
  6022. /// </summary>
  6023. ORDERIDTYPE_AUCTION_APPLYID = 323,
  6024. /// <summary>
  6025. /// 竞拍委托单ID
  6026. /// </summary>
  6027. ORDERIDTYPE_AUCTION_ORDERID = 324,
  6028. /// <summary>
  6029. /// 竞拍报价流水单ID
  6030. /// </summary>
  6031. ORDERIDTYPE_AUCTION_QUOTEID = 325,
  6032. /// <summary>
  6033. /// 竞拍成交单ID
  6034. /// </summary>
  6035. ORDERIDTYPE_AUCTION_TRADEID = 326,
  6036. /// <summary>
  6037. /// 竞拍金点拍拍得者奖成交单ID
  6038. /// </summary>
  6039. ORDERIDTYPE_AUCTION_JDP_PDZ_TRADEID = 327,
  6040. /// <summary>
  6041. /// 仓单贸易合同ID
  6042. /// </summary>
  6043. ORDERIDTYPE_WRTRADE_TRADECONTRACT = 328,
  6044. /// <summary>
  6045. /// 银行交易流水
  6046. /// </summary>
  6047. ORDERIDTYPE_BANK_EXCHTICKETID = 400,
  6048. /// <summary>
  6049. /// 银行发消息到清算中心ID
  6050. /// </summary>
  6051. ORDERIDTYPE_BANK_SEND_TO_CENTER_ID = 401,
  6052. /// <summary>
  6053. /// 银行发消息到交易系统ID
  6054. /// </summary>
  6055. ORDERIDTYPE_BANK_SEND_TO_INNER_ID = 402,
  6056. /// <summary>
  6057. /// 扩展策略ID
  6058. /// </summary>
  6059. ORDERIDTYPE_MS_MARKETINGSTRATEGYID = 500,
  6060. /// <summary>
  6061. /// 扩展服务账户商品成交流水ID
  6062. /// </summary>
  6063. ORDERIDTYPE_MS_GOODSTRADELOGID = 501,
  6064. /// <summary>
  6065. /// 主动申报的扩展发货单ID
  6066. /// </summary>
  6067. ORDERIDTYPE_MS_ACTIVE_SHIPID = 502,
  6068. /// <summary>
  6069. /// 强制发货的扩展发货单ID
  6070. /// </summary>
  6071. ORDERIDTYPE_MS_PASSIVE_SHIPID = 503,
  6072. /// <summary>
  6073. /// 扩展发货单明细ID
  6074. /// </summary>
  6075. ORDERIDTYPE_MS_DETAIL_SHIPID = 504,
  6076. /// <summary>
  6077. /// 扩展发货单分润明细ID
  6078. /// </summary>
  6079. ORDERIDTYPE_MS_DIVIDE_DETAIL_SHIPID = 505,
  6080. /// <summary>
  6081. /// 扩展流水ID
  6082. /// </summary>
  6083. ORDERIDTYPE_MS_EXCHTICKETID = 506,
  6084. /// <summary>
  6085. /// 扩展券转积分明细ID
  6086. /// </summary>
  6087. ORDERIDTYPE_MS_DETAILID = 508,
  6088. /// <summary>
  6089. /// 扩展分润明细ID
  6090. /// </summary>
  6091. ORDERIDTYPE_MS_INVOICEDIVIDEID = 509,
  6092. /// <summary>
  6093. /// 扩展配送费明细ID
  6094. /// </summary>
  6095. ORDERIDTYPE_MS_EXPRESSFEEDETAILID = 510,
  6096. /// <summary>
  6097. /// 内存数据库SQL日志流水ID
  6098. /// </summary>
  6099. ORDERIDTYPE_MEMDB_SQLLOG_SERIALID = 600,
  6100. /// <summary>
  6101. /// 交易服务日志流水ID
  6102. /// </summary>
  6103. ORDERIDTYPE_TRADE_LOGID = 901,
  6104. /// <summary>
  6105. /// 提货单号ID
  6106. /// </summary>
  6107. ORDERIDTYPE_TRADE_TAKE_ORDERID = 905,
  6108. /// <summary>
  6109. /// 下单接口平台账户ID
  6110. /// </summary>
  6111. ORDERIDTYPE_MHP_ACCOUNTID = 1,
  6112. /// <summary>
  6113. /// 下单接口平台委托单ID
  6114. /// </summary>
  6115. ORDERIDTYPE_MHP_ORDERID = 2,
  6116. /// <summary>
  6117. /// 下单接口平台成交ID
  6118. /// </summary>
  6119. ORDERIDTYPE_MHP_MHPTRADEID = 3,
  6120. /// <summary>
  6121. /// 下单接口平台撤单ID
  6122. /// </summary>
  6123. ORDERIDTYPE_MHP_CANCELTRADEID = 4,
  6124. /// <summary>
  6125. /// 下单接口平台交易日志ID
  6126. /// </summary>
  6127. ORDERIDTYPE_MHP_TRADELOGID = 5
  6128. }
  6129. /// <summary>
  6130. // 商品交易权限类型
  6131. /// </summary>
  6132. public enum eGoodsTradeType {
  6133. /// <summary>
  6134. /// 可建可平
  6135. /// </summary>
  6136. GOODSTRADETYPE_OPENANDCLOSE = 1,
  6137. /// <summary>
  6138. /// 可建不可平
  6139. /// </summary>
  6140. GOODSTRADETYPE_OPENONLY = 2,
  6141. /// <summary>
  6142. /// 不可建可平
  6143. /// </summary>
  6144. GOODSTRADETYPE_CLOSEONLY = 3,
  6145. /// <summary>
  6146. /// 不可建不可平
  6147. /// </summary>
  6148. GOODSTRADETYPE_NONE = 4
  6149. }
  6150. /// <summary>
  6151. // 挂牌点选类型
  6152. /// </summary>
  6153. public enum eListingSelectType {
  6154. /// <summary>
  6155. /// 挂牌
  6156. /// </summary>
  6157. LISTINGSELECTTYPE_LISTING = 1,
  6158. /// <summary>
  6159. /// 摘牌
  6160. /// </summary>
  6161. LISTINGSELECTTYPE_DELISTING = 2,
  6162. /// <summary>
  6163. /// 先摘后挂
  6164. /// </summary>
  6165. LISTINGSELECTTYPE_DELISTINGTHENLISTING = 3
  6166. }
  6167. /// <summary>
  6168. // 摘牌类型
  6169. /// </summary>
  6170. public enum eDelistingType {
  6171. /// <summary>
  6172. /// 价格最优
  6173. /// </summary>
  6174. DELISTINGTYPE_PRICE = 1,
  6175. /// <summary>
  6176. /// 点选成交
  6177. /// </summary>
  6178. DELISTINGTYPE_SELECTED = 2
  6179. }
  6180. /// <summary>
  6181. // 保证金公式
  6182. /// </summary>
  6183. public enum eMarginFormula {
  6184. /// <summary>
  6185. /// 双边收
  6186. /// </summary>
  6187. MARGINFORMULA_BOTH = 1,
  6188. /// <summary>
  6189. /// 净头寸收
  6190. /// </summary>
  6191. MARGINFORMULA_NETPOSITION = 2,
  6192. /// <summary>
  6193. /// 大小边差异收
  6194. /// </summary>
  6195. MARGINFORMULA_DIFF = 3,
  6196. /// <summary>
  6197. /// 大边收
  6198. /// </summary>
  6199. MARGINFORMULA_LARGE = 4,
  6200. /// <summary>
  6201. /// 卖持仓收
  6202. /// </summary>
  6203. MARGINFORMULA_SELL = 5
  6204. }
  6205. /// <summary>
  6206. // 交割价格方式
  6207. /// </summary>
  6208. public enum eDeliveryPriceMode {
  6209. /// <summary>
  6210. /// 商品价
  6211. /// </summary>
  6212. DELIVERYPRICEMODE_GOODS = 1,
  6213. /// <summary>
  6214. /// 固定值
  6215. /// </summary>
  6216. DELIVERYPRICEMODE_FIXEDVALUE = 2
  6217. }
  6218. /// <summary>
  6219. // 结算市场类型
  6220. /// </summary>
  6221. public enum eReckon_MarketType {
  6222. /// <summary>
  6223. /// 交易结算
  6224. /// </summary>
  6225. RECKON_MARKETTYPE_TRADE = 1,
  6226. /// <summary>
  6227. /// 交割结算
  6228. /// </summary>
  6229. RECKON_MARKETTYPE_DELIVERY = 2,
  6230. /// <summary>
  6231. /// 资金结算
  6232. /// </summary>
  6233. RECKON_MARKETTYPE_ACCOUNT = 3
  6234. }
  6235. /// <summary>
  6236. // 履约步骤类型
  6237. /// </summary>
  6238. public enum ePerformance_StepType {
  6239. /// <summary>
  6240. /// 买方支付
  6241. /// </summary>
  6242. PERFORMANCE_STEPTYPE_BUYER_PAYMENT = 1,
  6243. /// <summary>
  6244. /// 卖方收款
  6245. /// </summary>
  6246. PERFORMANCE_STEPTYPE_SELLER_RECEIVE = 2,
  6247. /// <summary>
  6248. /// 买方自提
  6249. /// </summary>
  6250. PERFORMANCE_STEPTYPE_BUYER_PICKUP = 3,
  6251. /// <summary>
  6252. /// 卖方发货
  6253. /// </summary>
  6254. PERFORMANCE_STEPTYPE_SELLER_SENDGOODS = 4,
  6255. /// <summary>
  6256. /// 买方确认货
  6257. /// </summary>
  6258. PERFORMANCE_STEPTYPE_BUYER_CONFIRMGOODS = 5,
  6259. /// <summary>
  6260. /// 卖方发票
  6261. /// </summary>
  6262. PERFORMANCE_STEPTYPE_SELLER_SENDINVOICE = 6,
  6263. /// <summary>
  6264. /// 买方确认票
  6265. /// </summary>
  6266. PERFORMANCE_STEPTYPE_BUYER_CONFIRMINVOICE = 7,
  6267. /// <summary>
  6268. /// 仓单转移
  6269. /// </summary>
  6270. PERFORMANCE_STEPTYPE_WRMOVE = 8,
  6271. /// <summary>
  6272. /// 释放卖方履约前剩余保证金
  6273. /// </summary>
  6274. PERFORMANCE_STEPTYPE_SELLER_UNFREEZE = 9,
  6275. /// <summary>
  6276. /// 溢短
  6277. /// </summary>
  6278. PERFORMANCE_STEPTYPE_OVER_SHORT = 10,
  6279. /// <summary>
  6280. /// 生成合同
  6281. /// </summary>
  6282. PERFORMANCE_STEPTYPE_BUILD_AGREEMENT = 11,
  6283. /// <summary>
  6284. /// 运费
  6285. /// </summary>
  6286. PERFORMANCE_STEPTYPE_BUILD_EXPRESSFEE = 12,
  6287. /// <summary>
  6288. /// 确认付款(买方)
  6289. /// </summary>
  6290. PERFORMANCE_STEPTYPE_COINC2C_CONFIRM_PAYMENT = 90,
  6291. /// <summary>
  6292. /// 确认放行(卖方)
  6293. /// </summary>
  6294. PERFORMANCE_STEPTYPE_COINC2C_CONFIRM_PASS = 91,
  6295. /// <summary>
  6296. /// 买方支付(直接扣款)
  6297. /// </summary>
  6298. PERFORMANCE_STEPTYPE_BUYER_PAYMENT_NOW = 92
  6299. }
  6300. /// <summary>
  6301. // 履约步骤是否可自动确认
  6302. /// </summary>
  6303. public enum ePerformance_CanAuto {
  6304. /// <summary>
  6305. /// 不可自动确认
  6306. /// </summary>
  6307. PERFORMANCE_CANAUTO_NO = 0,
  6308. /// <summary>
  6309. /// 可自动确认
  6310. /// </summary>
  6311. PERFORMANCE_CANAUTO_YES = 1
  6312. }
  6313. /// <summary>
  6314. // 履约支付方式
  6315. /// </summary>
  6316. public enum ePerformance_PaymentType {
  6317. /// <summary>
  6318. /// 冻结
  6319. /// </summary>
  6320. PERFORMANCE_PAYMENTTYPE_FREEZE = 1,
  6321. /// <summary>
  6322. /// 扣款
  6323. /// </summary>
  6324. PERFORMANCE_PAYMENTTYPE_DEDUCT = 2
  6325. }
  6326. /// <summary>
  6327. // 履约步骤是否自动
  6328. /// </summary>
  6329. public enum ePerformance_IsAuto {
  6330. /// <summary>
  6331. /// 不自动
  6332. /// </summary>
  6333. PERFORMANCE_ISAUTO_NO = 0,
  6334. /// <summary>
  6335. /// 自动
  6336. /// </summary>
  6337. PERFORMANCE_ISAUTO_YES = 1
  6338. }
  6339. /// <summary>
  6340. // 是否最后收款步骤
  6341. /// </summary>
  6342. public enum ePerformance_IsLastReceiveStep {
  6343. /// <summary>
  6344. /// 不是
  6345. /// </summary>
  6346. PERFORMANCE_ISLASTRECEIVESTEP_NO = 0,
  6347. /// <summary>
  6348. /// 是
  6349. /// </summary>
  6350. PERFORMANCE_ISLASTRECEIVESTEP_YES = 1
  6351. }
  6352. /// <summary>
  6353. // 履约仓单划转处理状态
  6354. /// </summary>
  6355. public enum ePerformance_WR_HandleStatus {
  6356. /// <summary>
  6357. /// 未划转
  6358. /// </summary>
  6359. PERFORMANCE_WR_HANDLESTATUS_NOT = 1,
  6360. /// <summary>
  6361. /// 已转移
  6362. /// </summary>
  6363. PERFORMANCE_WR_HANDLESTATUS_TRANSFERRED = 2,
  6364. /// <summary>
  6365. /// 已解冻
  6366. /// </summary>
  6367. PERFORMANCE_WR_HANDLESTATUS_UNFREEZED = 3
  6368. }
  6369. /// <summary>
  6370. // 履约计划状态
  6371. /// </summary>
  6372. public enum ePerformanceStatus {
  6373. /// <summary>
  6374. /// 初始化
  6375. /// </summary>
  6376. PERFORMANCESTATUS_INI = 1,
  6377. /// <summary>
  6378. /// 正常
  6379. /// </summary>
  6380. PERFORMANCESTATUS_NORMAL = 2,
  6381. /// <summary>
  6382. /// 处理错误
  6383. /// </summary>
  6384. PERFORMANCESTATUS_ERROR = 3,
  6385. /// <summary>
  6386. /// 违约待确认
  6387. /// </summary>
  6388. PERFORMANCESTATUS_BREACHING = 4,
  6389. /// <summary>
  6390. /// 违约
  6391. /// </summary>
  6392. PERFORMANCESTATUS_BREACHED = 5,
  6393. /// <summary>
  6394. /// 完成
  6395. /// </summary>
  6396. PERFORMANCESTATUS_FINISHED = 6,
  6397. /// <summary>
  6398. /// 违约已完成
  6399. /// </summary>
  6400. PERFORMANCESTATUS_BREACHE_FINISHED = 7,
  6401. /// <summary>
  6402. /// 释放冻结失败
  6403. /// </summary>
  6404. PERFORMANCESTATUS_UNFREEZE_FAIL = 8,
  6405. /// <summary>
  6406. /// 超时待处理
  6407. /// </summary>
  6408. PERFORMANCESTATUS_TIMEOUT_WAIT = 9,
  6409. /// <summary>
  6410. /// 超时关闭
  6411. /// </summary>
  6412. PERFORMANCESTATUS_TIMEOUT_FINISHED = 10
  6413. }
  6414. /// <summary>
  6415. // 履约步骤状态
  6416. /// </summary>
  6417. public enum ePerformance_StepStatus {
  6418. /// <summary>
  6419. /// 待开始
  6420. /// </summary>
  6421. PERFORMANCE_STEPSTATUS_PENDING = 1,
  6422. /// <summary>
  6423. /// 进行中
  6424. /// </summary>
  6425. PERFORMANCE_STEPSTATUS_EXECUTING = 2,
  6426. /// <summary>
  6427. /// 已完成
  6428. /// </summary>
  6429. PERFORMANCE_STEPSTATUS_FINISHED = 3,
  6430. /// <summary>
  6431. /// 延期(进行中)
  6432. /// </summary>
  6433. PERFORMANCE_STEPSTATUS_EXECUTING_DELAY = 4,
  6434. /// <summary>
  6435. /// 失败
  6436. /// </summary>
  6437. PERFORMANCE_STEPSTATUS_FAILED = 5,
  6438. /// <summary>
  6439. /// 自动完成
  6440. /// </summary>
  6441. PERFORMANCE_STEPSTATUS_FINISHED_AUTO = 6,
  6442. /// <summary>
  6443. /// 超时关闭
  6444. /// </summary>
  6445. PERFORMANCE_STEPSTATUS_FINISHED_TIMEOUT = 7
  6446. }
  6447. /// <summary>
  6448. // 履约延期状态
  6449. /// </summary>
  6450. public enum ePerformance_DelayStatus {
  6451. /// <summary>
  6452. /// 待审核
  6453. /// </summary>
  6454. PERFORMANCE_DELAYSTATUS_PENDING = 1,
  6455. /// <summary>
  6456. /// 审核通过
  6457. /// </summary>
  6458. PERFORMANCE_DELAYSTATUS_PASS = 2,
  6459. /// <summary>
  6460. /// 审核拒绝
  6461. /// </summary>
  6462. PERFORMANCE_DELAYSTATUS_REJECT = 3,
  6463. /// <summary>
  6464. /// 已撤销
  6465. /// </summary>
  6466. PERFORMANCE_DELAYSTATUS_CANCELLED = 4,
  6467. /// <summary>
  6468. /// 系统撤销
  6469. /// </summary>
  6470. PERFORMANCE_DELAYSTATUS_CANCELLEDBYSYS = 5
  6471. }
  6472. /// <summary>
  6473. // 违约类型
  6474. /// </summary>
  6475. public enum eBreachType {
  6476. /// <summary>
  6477. /// 买方
  6478. /// </summary>
  6479. BREACHTYPE_BUY = 1,
  6480. /// <summary>
  6481. /// 卖方
  6482. /// </summary>
  6483. BREACHTYPE_SELL = 2
  6484. }
  6485. /// <summary>
  6486. // 违约状态
  6487. /// </summary>
  6488. public enum eBreachStatus {
  6489. /// <summary>
  6490. /// 待审核
  6491. /// </summary>
  6492. BREACHSTATUS_PENDING = 1,
  6493. /// <summary>
  6494. /// 审核通过
  6495. /// </summary>
  6496. BREACHSTATUS_PASS = 2,
  6497. /// <summary>
  6498. /// 审核拒绝
  6499. /// </summary>
  6500. BREACHSTATUS_REJECT = 3,
  6501. /// <summary>
  6502. /// 已完成
  6503. /// </summary>
  6504. BREACHSTATUS_FINISHED = 4
  6505. }
  6506. /// <summary>
  6507. // 履约日志类型
  6508. /// </summary>
  6509. public enum ePerformance_LogType {
  6510. /// <summary>
  6511. /// 执行履约步骤
  6512. /// </summary>
  6513. PERFORMANCE_LOGTYPE_EXECUTING = 1,
  6514. /// <summary>
  6515. /// 完成履约步骤
  6516. /// </summary>
  6517. PERFORMANCE_LOGTYPE_FINISHED = 2,
  6518. /// <summary>
  6519. /// 申请延期
  6520. /// </summary>
  6521. PERFORMANCE_LOGTYPE_DELAYAPPLY = 3,
  6522. /// <summary>
  6523. /// 延期确认
  6524. /// </summary>
  6525. PERFORMANCE_LOGTYPE_DELAYPASS = 4,
  6526. /// <summary>
  6527. /// 延期拒绝
  6528. /// </summary>
  6529. PERFORMANCE_LOGTYPE_DELAYREJECT = 5,
  6530. /// <summary>
  6531. /// 申请违约
  6532. /// </summary>
  6533. PERFORMANCE_LOGTYPE_BREACHAPPLY = 6,
  6534. /// <summary>
  6535. /// 违约确认
  6536. /// </summary>
  6537. PERFORMANCE_LOGTYPE_BREACHPASS = 7,
  6538. /// <summary>
  6539. /// 违约拒绝
  6540. /// </summary>
  6541. PERFORMANCE_LOGTYPE_BREACHREJECT = 8
  6542. }
  6543. /// <summary>
  6544. // 履约步骤启动类型
  6545. /// </summary>
  6546. public enum ePerformance_StepLanchType {
  6547. /// <summary>
  6548. /// 系统自动
  6549. /// </summary>
  6550. PERFORMANCE_STEPLANCHTYPE_SYSTEM = 1,
  6551. /// <summary>
  6552. /// 手动
  6553. /// </summary>
  6554. PERFORMANCE_STEPLANCHTYPE_MANUAL = 2
  6555. }
  6556. /// <summary>
  6557. // 履约步骤执行方
  6558. /// </summary>
  6559. public enum ePerformance_ExecuteSide {
  6560. /// <summary>
  6561. /// 买方
  6562. /// </summary>
  6563. PERFORMANCE_EXECUTESIDE_BUYER = 1,
  6564. /// <summary>
  6565. /// 卖方
  6566. /// </summary>
  6567. PERFORMANCE_EXECUTESIDE_SELLER = 2
  6568. }
  6569. /// <summary>
  6570. // 履约类型
  6571. /// </summary>
  6572. public enum ePerformanceType {
  6573. /// <summary>
  6574. /// 交割
  6575. /// </summary>
  6576. PERFORMANCETYPE_DELIVERY = 1,
  6577. /// <summary>
  6578. /// 仓单贸易
  6579. /// </summary>
  6580. PERFORMANCETYPE_WRTRADE = 2,
  6581. /// <summary>
  6582. /// 预售采集
  6583. /// </summary>
  6584. PERFORMANCETYPE_PRESALE = 3,
  6585. /// <summary>
  6586. /// 竞拍-降价式 (无仓单)
  6587. /// </summary>
  6588. PERFORMANCETYPE_AUCTIONCUT = 4,
  6589. /// <summary>
  6590. /// 挂牌期权 (无仓单)
  6591. /// </summary>
  6592. PERFORMANCETYPE_LISTINGOPTION = 5,
  6593. /// <summary>
  6594. /// 竞拍-降价式
  6595. /// </summary>
  6596. PERFORMANCETYPE_AUCTIONLOWER = 6,
  6597. /// <summary>
  6598. /// 竞拍-竞价式
  6599. /// </summary>
  6600. PERFORMANCETYPE_AUCTIONUPPER = 7,
  6601. /// <summary>
  6602. /// 竞拍-大宗式
  6603. /// </summary>
  6604. PERFORMANCETYPE_AUCTIONBULK = 8,
  6605. /// <summary>
  6606. /// 竞拍-荷兰式
  6607. /// </summary>
  6608. PERFORMANCETYPE_AUCTIODUTCH = 9,
  6609. /// <summary>
  6610. /// 法币C2C
  6611. /// </summary>
  6612. PERFORMANCETYPE_COINC2C = 10,
  6613. /// <summary>
  6614. /// 报价系统
  6615. /// </summary>
  6616. PERFORMANCETYPE_SPOTQUOTE = 11,
  6617. /// <summary>
  6618. /// 挂牌系统
  6619. /// </summary>
  6620. PERFORMANCETYPE_SPOTLISTING = 12
  6621. }
  6622. /// <summary>
  6623. // 用户操作变更类型
  6624. /// </summary>
  6625. public enum eUserOperateType {
  6626. /// <summary>
  6627. /// 新增用户
  6628. /// </summary>
  6629. USER_OPERATE_ADD = 0,
  6630. /// <summary>
  6631. /// 删除用户
  6632. /// </summary>
  6633. USER_OPERATE_DEL = 1,
  6634. /// <summary>
  6635. /// 修改用户
  6636. /// </summary>
  6637. USER_OPERATE_UPDATE = 2,
  6638. /// <summary>
  6639. /// 修改用户个性化
  6640. /// </summary>
  6641. USER_OPERATE_UPDATE_PERSONAL = 3
  6642. }
  6643. /// <summary>
  6644. // 账户操作变更类型
  6645. /// </summary>
  6646. public enum eAccountOperateType {
  6647. /// <summary>
  6648. /// 新增帐号
  6649. /// </summary>
  6650. ACCOUNT_OPERATE_ADD = 0,
  6651. /// <summary>
  6652. /// 删除帐号
  6653. /// </summary>
  6654. ACCOUNT_OPERATE_DEL = 1,
  6655. /// <summary>
  6656. /// 修改帐号
  6657. /// </summary>
  6658. ACCOUNT_OPERATE_UPDATE = 2,
  6659. /// <summary>
  6660. /// 修改帐号个性化
  6661. /// </summary>
  6662. ACCOUNT_OPERATE_UPDATE_PERSONAL = 3,
  6663. /// <summary>
  6664. /// 修改账户权限
  6665. /// </summary>
  6666. ACCOUNT_OPERATE_UPDATE_RIGHT = 4,
  6667. /// <summary>
  6668. /// 删除三方登陆信息
  6669. /// </summary>
  6670. ACCOUNT_OPERATE_DEL_USERAUTHINFO = 5
  6671. }
  6672. /// <summary>
  6673. // 商品操作变更类型
  6674. /// </summary>
  6675. public enum eGoodsOperateType {
  6676. /// <summary>
  6677. /// 新增商品
  6678. /// </summary>
  6679. GOODS_OPERATE_ADD = 0,
  6680. /// <summary>
  6681. /// 删除商品
  6682. /// </summary>
  6683. GOODS_OPERATE_DEL = 1,
  6684. /// <summary>
  6685. /// 修改商品
  6686. /// </summary>
  6687. GOODS_OPERATE_UPDATE = 2
  6688. }
  6689. /// <summary>
  6690. // 消息通知模式
  6691. /// </summary>
  6692. public enum eNotifyMode {
  6693. /// <summary>
  6694. /// 单播
  6695. /// </summary>
  6696. NOTIFY_UNICAST = 0,
  6697. /// <summary>
  6698. /// 组播
  6699. /// </summary>
  6700. NOTIFY_MULTICAST = 1,
  6701. /// <summary>
  6702. /// 广播
  6703. /// </summary>
  6704. NOTIFY_BROADCAST = 2
  6705. }
  6706. /// <summary>
  6707. // 公告消息类型
  6708. /// </summary>
  6709. public enum eBltMsgType {
  6710. /// <summary>
  6711. /// 公告类
  6712. /// </summary>
  6713. BM_TYPE_BULLETIN = 1,
  6714. /// <summary>
  6715. /// 重要通知类
  6716. /// </summary>
  6717. BM_TYPE_NTF = 2
  6718. }
  6719. /// <summary>
  6720. // 风控通知类型
  6721. /// </summary>
  6722. public enum eeRisk_Ntf_Type {
  6723. /// <summary>
  6724. /// 投资者风控通知
  6725. /// </summary>
  6726. RISK_NTF_TYPE_INVESTOR = 0,
  6727. /// <summary>
  6728. /// 会员风控通知
  6729. /// </summary>
  6730. RISK_NTF_TYPE_MEMBER = 1
  6731. }
  6732. /// <summary>
  6733. // 用户令牌状态
  6734. /// </summary>
  6735. public enum eTokenStatus {
  6736. /// <summary>
  6737. /// 令牌有效
  6738. /// </summary>
  6739. TOKEN_STATUS_UNEXPIRED = 1,
  6740. /// <summary>
  6741. /// 令牌过期
  6742. /// </summary>
  6743. TOKEN_STATUS_EXPIRED = 2,
  6744. /// <summary>
  6745. /// 令牌已被更新
  6746. /// </summary>
  6747. TOKEN_STATUS_UPDATED = 3
  6748. }
  6749. /// <summary>
  6750. // 终端类型
  6751. /// </summary>
  6752. public enum eTerminalType {
  6753. /// <summary>
  6754. /// 交易端
  6755. /// </summary>
  6756. TRADECLIENT = 0,
  6757. /// <summary>
  6758. /// 管理端
  6759. /// </summary>
  6760. MANAGECLIENT = 1,
  6761. /// <summary>
  6762. /// 运维端
  6763. /// </summary>
  6764. MAINTAINCLIENT = 2
  6765. }
  6766. /// <summary>
  6767. // 登陆操作类型
  6768. /// </summary>
  6769. public enum eLoginOperatorType {
  6770. /// <summary>
  6771. /// 人工操作
  6772. /// </summary>
  6773. MANUAL_OPER = 1,
  6774. /// <summary>
  6775. /// 系统操作
  6776. /// </summary>
  6777. SYSTEM_OPER = 2
  6778. }
  6779. /// <summary>
  6780. // 数据库中定义的版本类型
  6781. /// </summary>
  6782. public enum eDBVersionType {
  6783. /// <summary>
  6784. /// 产品版本
  6785. /// </summary>
  6786. DBVERSIONTYPE_PRODUCT = 1,
  6787. /// <summary>
  6788. /// 数据库sql版本
  6789. /// </summary>
  6790. DBVERSIONTYPE_DB = 2,
  6791. /// <summary>
  6792. /// 常量版本
  6793. /// </summary>
  6794. DBVERSIONTYPE_CONST = 3,
  6795. /// <summary>
  6796. /// 错误码版本
  6797. /// </summary>
  6798. DBVERSIONTYPE_ERRORCODE = 4
  6799. }
  6800. /// <summary>
  6801. // 资金查询位掩码
  6802. /// </summary>
  6803. public enum eMoneyQueryBitMask {
  6804. /// <summary>
  6805. /// 查询可用保证金
  6806. /// </summary>
  6807. MONEYQUERY_AVAILABLE_MARGIN = 1,
  6808. /// <summary>
  6809. /// 查询可出资金
  6810. /// </summary>
  6811. MONEYQUERY_AVAILABLE_OUTMONEY = 2
  6812. }
  6813. /// <summary>
  6814. // 修改密码类型
  6815. /// </summary>
  6816. public enum eModifyPwdType {
  6817. /// <summary>
  6818. /// 修改登录ID密码
  6819. /// </summary>
  6820. MODIFYPWDTYPE_LOGINID = 1,
  6821. /// <summary>
  6822. /// 修改资金账户ID密码
  6823. /// </summary>
  6824. MODIFYPWDTYPE_ACCOUNTID = 2
  6825. }
  6826. /// <summary>
  6827. // MTP服务
  6828. /// </summary>
  6829. public enum eMTPServer {
  6830. /// <summary>
  6831. /// 接入
  6832. /// </summary>
  6833. SERVER_ACCESS = 1,
  6834. /// <summary>
  6835. /// 前置
  6836. /// </summary>
  6837. SERVER_BUSPROXY = 2,
  6838. /// <summary>
  6839. /// 登录
  6840. /// </summary>
  6841. SERVER_LOGIN = 3,
  6842. /// <summary>
  6843. /// 账户
  6844. /// </summary>
  6845. SERVER_ACCOUNT = 4,
  6846. /// <summary>
  6847. /// 风控
  6848. /// </summary>
  6849. SERVER_RISK = 5,
  6850. /// <summary>
  6851. /// 交易
  6852. /// </summary>
  6853. SERVER_TRADE = 6,
  6854. /// <summary>
  6855. /// 控制
  6856. /// </summary>
  6857. SERVER_CTRL = 7,
  6858. /// <summary>
  6859. /// 交割
  6860. /// </summary>
  6861. SERVER_DELIVERY = 8,
  6862. /// <summary>
  6863. /// 履约
  6864. /// </summary>
  6865. SERVER_PERFORMANCE = 10,
  6866. /// <summary>
  6867. /// 银行
  6868. /// </summary>
  6869. SERVER_BANK = 11,
  6870. /// <summary>
  6871. /// 行情报价
  6872. /// </summary>
  6873. SERVER_QUOTE = 12,
  6874. /// <summary>
  6875. /// 仓单
  6876. /// </summary>
  6877. SERVER_WR = 21,
  6878. /// <summary>
  6879. /// 外部账户
  6880. /// </summary>
  6881. SERVER_EX_ACCOUNT = 22,
  6882. /// <summary>
  6883. /// 对冲平台
  6884. /// </summary>
  6885. SERVER_HEDGE = 23
  6886. }
  6887. /// <summary>
  6888. // 履约结算节点ID
  6889. /// </summary>
  6890. public enum ePerformanceReckonNodeID {
  6891. /// <summary>
  6892. /// 履约服务履约结算节点ID
  6893. /// </summary>
  6894. PERFORMANCERECKNODEID_PERFORMANC = 1,
  6895. /// <summary>
  6896. /// 履约服务违约结算节点ID
  6897. /// </summary>
  6898. PERFORMANCERECKNODEID_CONTRACTED = 2,
  6899. /// <summary>
  6900. /// 履约服务统计结算节点ID
  6901. /// </summary>
  6902. PERFORMANCERECKNODEID_STATISTICS = 3
  6903. }
  6904. /// <summary>
  6905. // 特殊市场ID
  6906. /// </summary>
  6907. public enum eSpeicalMarketID {
  6908. /// <summary>
  6909. /// 系统
  6910. /// </summary>
  6911. SPEICAL_MARKET_SYSTEM = 0,
  6912. /// <summary>
  6913. /// 交割
  6914. /// </summary>
  6915. SPEICAL_MARKET_DELIVERY = 1,
  6916. /// <summary>
  6917. /// 账户
  6918. /// </summary>
  6919. SPEICAL_MARKET_ACCOUNT = 2,
  6920. /// <summary>
  6921. /// 履约
  6922. /// </summary>
  6923. SPEICAL_MARKET_PERFORMANCE = 3,
  6924. /// <summary>
  6925. /// 仓单
  6926. /// </summary>
  6927. SPEICAL_MARKET_WR = 4,
  6928. /// <summary>
  6929. /// 积分
  6930. /// </summary>
  6931. SPEICAL_MARKET_SCORE = 5,
  6932. /// <summary>
  6933. /// 银行
  6934. /// </summary>
  6935. SPEICAL_MARKET_BANK = 6,
  6936. /// <summary>
  6937. /// 供应链金融
  6938. /// </summary>
  6939. SPEICAL_MARKET_SCF = 7,
  6940. /// <summary>
  6941. /// 报表
  6942. /// </summary>
  6943. SPEICAL_MARKET_REPORT = 8,
  6944. /// <summary>
  6945. /// 扩展
  6946. /// </summary>
  6947. SPEICAL_MARKET_MARKETING = 9,
  6948. /// <summary>
  6949. /// 自动报价
  6950. /// </summary>
  6951. SPEICAL_MARKET_AUTOQUOTE = 10,
  6952. /// <summary>
  6953. /// 商城
  6954. /// </summary>
  6955. SPEICAL_MARKET_MALL = 11,
  6956. /// <summary>
  6957. /// 外盘账户
  6958. /// </summary>
  6959. SPEICAL_MARKET_OUTERACCOUNT = 12,
  6960. /// <summary>
  6961. /// 非交易日银行测试服务
  6962. /// </summary>
  6963. SPEICAL_MARKET_UNTRADE_TEST_BANK = 13,
  6964. /// <summary>
  6965. /// 银行服务(清算)
  6966. /// </summary>
  6967. SPEICAL_MARKET_BANK_SETTLE = 14,
  6968. /// <summary>
  6969. /// 结算服务
  6970. /// </summary>
  6971. SPEICAL_MARKET_RECKON = 15,
  6972. /// <summary>
  6973. /// 统计服务
  6974. /// </summary>
  6975. SPEICAL_MARKET_SUM = 16,
  6976. /// <summary>
  6977. /// 行情接入
  6978. /// </summary>
  6979. SPEICAL_MARKET_QUOTE_SOURCE = 100,
  6980. /// <summary>
  6981. /// 行情处理
  6982. /// </summary>
  6983. SPEICAL_MARKET_QUOTE_PRICE = 101,
  6984. /// <summary>
  6985. /// 行情发布
  6986. /// </summary>
  6987. SPEICAL_MARKET_QUOTE_PUBLISH = 102,
  6988. /// <summary>
  6989. /// 积分-尚志金点拍
  6990. /// </summary>
  6991. SPEICAL_MARKET_SCORE_SZ_JDP = 200
  6992. }
  6993. /// <summary>
  6994. // 库位操作类别
  6995. /// </summary>
  6996. public enum eWarehouseSiteKinds {
  6997. /// <summary>
  6998. /// 冻结
  6999. /// </summary>
  7000. WAREHOUSE_FROZEN = 1,
  7001. /// <summary>
  7002. /// 履约冻结
  7003. /// </summary>
  7004. WAREHOUSE_PERFORMANCE_FROZEN = 2,
  7005. /// <summary>
  7006. /// 解冻
  7007. /// </summary>
  7008. WAREHOUSE_UNFROZEN = 3,
  7009. /// <summary>
  7010. /// 履约解冻
  7011. /// </summary>
  7012. WAREHOUSE_PERFORMANCE_UNFROZEN = 4
  7013. }
  7014. /// <summary>
  7015. // 仓单生成头寸类别
  7016. /// </summary>
  7017. public enum eSplitSrcPosType {
  7018. /// <summary>
  7019. /// 订单头寸(交割)
  7020. /// </summary>
  7021. SPLIT_SRC_HOLD_POS = 1,
  7022. /// <summary>
  7023. /// 仓单头寸(仓单贸易)
  7024. /// </summary>
  7025. SPLIT_SRC_RECEIPT_POS = 2,
  7026. /// <summary>
  7027. /// 竞拍头寸(竞拍服务)
  7028. /// </summary>
  7029. SPLIT_SRC_AUCTION_POS = 3
  7030. }
  7031. /// <summary>
  7032. // 供应链金融合同类型
  7033. /// </summary>
  7034. public enum eSCFContractType {
  7035. /// <summary>
  7036. /// 仓单回购
  7037. /// </summary>
  7038. SCF_CONTRACT_TYPE_WRR = 1,
  7039. /// <summary>
  7040. /// 仓单质押
  7041. /// </summary>
  7042. SCF_CONTRACT_TYPE_WRM = 2,
  7043. /// <summary>
  7044. /// 合作套保
  7045. /// </summary>
  7046. SCF_CONTRACT_TYPE_CH = 3,
  7047. /// <summary>
  7048. /// 资金贷款
  7049. /// </summary>
  7050. SCF_CONTRACT_TYPE_LOAN = 4
  7051. }
  7052. /// <summary>
  7053. // 供应链金融流程步骤
  7054. /// </summary>
  7055. public enum eSCFProcessStep {
  7056. /// <summary>
  7057. /// 资金划转
  7058. /// </summary>
  7059. SCF_PROCESS_STEP_FUND_TRANSFER = 1,
  7060. /// <summary>
  7061. /// 支付首笔保证金
  7062. /// </summary>
  7063. SCF_PROCESS_STEP_PAY_FIRST_MARGIN = 2,
  7064. /// <summary>
  7065. /// 合同激活
  7066. /// </summary>
  7067. SCF_PROCESS_STEP_CONTRACT_ACTIVE = 3,
  7068. /// <summary>
  7069. /// 手动结息
  7070. /// </summary>
  7071. SCF_PROCESS_STEP_MANUAL_INTEREST = 4,
  7072. /// <summary>
  7073. /// 仓单回购、购回仓单
  7074. /// </summary>
  7075. SCF_PROCESS_STEP_WRR = 5,
  7076. /// <summary>
  7077. /// 支付欠款
  7078. /// </summary>
  7079. SCF_PROCESS_STEP_PAYMENT_ARREAR = 6,
  7080. /// <summary>
  7081. /// 结算
  7082. /// </summary>
  7083. SCF_PROCESS_STEP_SETTLE = 7,
  7084. /// <summary>
  7085. /// 违约确认
  7086. /// </summary>
  7087. SCF_PROCESS_STEP_BERACH_CONFIRM = 8,
  7088. /// <summary>
  7089. /// 违约处理
  7090. /// </summary>
  7091. SCF_PROCESS_STEP_BERACH_HANDLE = 9,
  7092. /// <summary>
  7093. /// 关闭合同
  7094. /// </summary>
  7095. SCF_PROCESS_STEP_CLOSE_CONTRACT = 10,
  7096. /// <summary>
  7097. /// 合同确认
  7098. /// </summary>
  7099. SCF_PROCESS_STEP_CONTRACT_CONFIRM = 11,
  7100. /// <summary>
  7101. /// 确认放款
  7102. /// </summary>
  7103. SCF_PROCESS_STEP_CONFIRM_LOAN = 12,
  7104. /// <summary>
  7105. /// 增加合作方资金
  7106. /// </summary>
  7107. SCF_PROCESS_STEP_ADD_PARTANER_MONEY = 13,
  7108. /// <summary>
  7109. /// 手动还款
  7110. /// </summary>
  7111. SCF_PROCESS_STEP_MANUAL_REPAY = 14,
  7112. /// <summary>
  7113. /// 合同状态修改
  7114. /// </summary>
  7115. SCF_PROCESS_STEP_CONTRACTSTATUSMODIFY = 15
  7116. }
  7117. /// <summary>
  7118. // 供应链金融业务步骤
  7119. /// </summary>
  7120. public enum eSCFProcessSubStep {
  7121. /// <summary>
  7122. /// 收到业务请求
  7123. /// </summary>
  7124. SCF_SUB_STEP_RECV_REQ = 1,
  7125. /// <summary>
  7126. /// 发送业务成功应答
  7127. /// </summary>
  7128. SCF_SUB_STEP_SEND_SUCCESS_RSP = 2,
  7129. /// <summary>
  7130. /// 发送业务失败应答
  7131. /// </summary>
  7132. SCF_SUB_STEP_SEND_FAILED_RSP = 3,
  7133. /// <summary>
  7134. /// 发给账户服务冻结资金请求
  7135. /// </summary>
  7136. SCF_SUB_STEP_SEND_ACC_FREEZE_FUND_REQ = 4,
  7137. /// <summary>
  7138. /// 收到账户服务冻结成功资金应答
  7139. /// </summary>
  7140. SCF_SUB_STEP_RECV_ACC_FREEZE_FUND_SUCCESS_RSP = 5,
  7141. /// <summary>
  7142. /// 收到账户服务冻结失败资金应答
  7143. /// </summary>
  7144. SCF_SUB_STEP_RECV_ACC_FREEZE_FUND_FAILED_RSP = 6,
  7145. /// <summary>
  7146. /// 发给账户服务解冻资金请求
  7147. /// </summary>
  7148. SCF_SUB_STEP_SEND_ACC_UNFREEZE_FUND_REQ = 7,
  7149. /// <summary>
  7150. /// 收到账户服务解冻资金成功应答
  7151. /// </summary>
  7152. SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_SUCCESS_RSP = 8,
  7153. /// <summary>
  7154. /// 收到账户服务解冻资金失败应答
  7155. /// </summary>
  7156. SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_FAILED_RSP = 9,
  7157. /// <summary>
  7158. /// 发给账户服务解冻扣款请求
  7159. /// </summary>
  7160. SCF_SUB_STEP_SEND_ACC_UNFREEZE_FUND_AND_PAY_REQ = 10,
  7161. /// <summary>
  7162. /// 收到账户服务解冻扣款成功应答
  7163. /// </summary>
  7164. SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_AND_PAY_SUCCESS_RSP = 11,
  7165. /// <summary>
  7166. /// 收到账户服务解冻扣款失败应答
  7167. /// </summary>
  7168. SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_AND_PAY_FAILED_RSP = 12,
  7169. /// <summary>
  7170. /// 发给账户服务入款请求
  7171. /// </summary>
  7172. SCF_SUB_STEP_SEND_ACC_DEPOSIT_FUND_REQ = 13,
  7173. /// <summary>
  7174. /// 收到账户服务入款成功应答
  7175. /// </summary>
  7176. SCF_SUB_STEP_RECV_ACC_DEPOSIT_FUND_SUCCESS_RSP = 14,
  7177. /// <summary>
  7178. /// 收到账户服务入款失败应答
  7179. /// </summary>
  7180. SCF_SUB_STEP_RECV_ACC_DEPOSIT_FUND_FAILED_RSP = 15,
  7181. /// <summary>
  7182. /// 发给账户服务冻结头寸请求
  7183. /// </summary>
  7184. SCF_SUB_STEP_SEND_ACC_FREEZE_POS_REQ = 16,
  7185. /// <summary>
  7186. /// 收到账户服务冻结头寸成功应答
  7187. /// </summary>
  7188. SCF_SUB_STEP_RECV_ACC_FREEZE_POS_SUCCESS_RSP = 17,
  7189. /// <summary>
  7190. /// 收到账户服务冻结头寸失败应答
  7191. /// </summary>
  7192. SCF_SUB_STEP_RECV_ACC_FREEZE_POS_FAILED_RSP = 18,
  7193. /// <summary>
  7194. /// 发给账户服务解冻头寸请求
  7195. /// </summary>
  7196. SCF_SUB_STEP_SEND_ACC_UNFREEZE_POS_REQ = 19,
  7197. /// <summary>
  7198. /// 收到账户服务解冻头寸成功应答
  7199. /// </summary>
  7200. SCF_SUB_STEP_RECV_ACC_UNFREEZE_POS_SUCCESS_RSP = 20,
  7201. /// <summary>
  7202. /// 收到账户服务解冻头寸失败应答
  7203. /// </summary>
  7204. SCF_SUB_STEP_RECV_ACC_UNFREEZE_POS_FAILED_RSP = 21,
  7205. /// <summary>
  7206. /// 发给账户服务解冻扣减头寸请求
  7207. /// </summary>
  7208. SCF_SUB_STEP_SEND_ACC_UNFREEZE_SUB_POS_REQ = 22,
  7209. /// <summary>
  7210. /// 收到账户服务解冻扣减头寸成功应答
  7211. /// </summary>
  7212. SCF_SUB_STEP_RECV_ACC_UNFREEZE_SUB_POS_SUCCESS_RSP = 23,
  7213. /// <summary>
  7214. /// 收到账户服务解冻扣减头寸失败应答
  7215. /// </summary>
  7216. SCF_SUB_STEP_RECV_ACC_UNFREEZE_SUB_POS_FAILED_RSP = 24,
  7217. /// <summary>
  7218. /// 发给账户服务增加头寸请求
  7219. /// </summary>
  7220. SCF_SUB_STEP_SEND_ACC_ADD_POS_REQ = 25,
  7221. /// <summary>
  7222. /// 收到账户服务增加头寸成功应答
  7223. /// </summary>
  7224. SCF_SUB_STEP_RECV_ACC_ADD_POS_SUCCESS_RSP = 26,
  7225. /// <summary>
  7226. /// 收到账户服务增加头寸失败应答
  7227. /// </summary>
  7228. SCF_SUB_STEP_RECV_ACC_ADD_POS_FAILED_RSP = 27,
  7229. /// <summary>
  7230. /// 发给仓单服务库位操作请求
  7231. /// </summary>
  7232. SCF_SUB_STEP_SEND_WR_SITE_REQ = 28,
  7233. /// <summary>
  7234. /// 收到仓单服务库位操作成功应答
  7235. /// </summary>
  7236. SCF_SUB_STEP_RECV_WR_SITE_SUCCESS_RSP = 29,
  7237. /// <summary>
  7238. /// 收到仓单服务库位操作失败应答
  7239. /// </summary>
  7240. SCF_SUB_STEP_RECV_WR_SITE_FAILED_RSP = 30,
  7241. /// <summary>
  7242. /// 发给仓单服务库位合并请求
  7243. /// </summary>
  7244. SCF_SUB_STEP_SEND_WR_MARGE_REQ = 31,
  7245. /// <summary>
  7246. /// 收到仓单服务库位合并成功应答
  7247. /// </summary>
  7248. SCF_SUB_STEP_RECV_WR_MARGE_SUCCESS_RSP = 32,
  7249. /// <summary>
  7250. /// 收到仓单服务库位合并失败应答
  7251. /// </summary>
  7252. SCF_SUB_STEP_RECV_WR_MARGE_FAILED_RSP = 33,
  7253. /// <summary>
  7254. /// 发给仓单服务仓单转移请求
  7255. /// </summary>
  7256. SCF_SUB_STEP_SEND_WR_MOVE_REQ = 34,
  7257. /// <summary>
  7258. /// 收到仓单服务仓单转移成功应答
  7259. /// </summary>
  7260. SCF_SUB_STEP_RECV_WR_MOVE_SUCCESS_RSP = 35,
  7261. /// <summary>
  7262. /// 收到仓单服务仓单转移失败应答
  7263. /// </summary>
  7264. SCF_SUB_STEP_RECV_WR_MOVE_FAILED_RSP = 36,
  7265. /// <summary>
  7266. /// 发给账户服务最大扣款请求
  7267. /// </summary>
  7268. SCF_SUB_STEP_SEND_ACC_MAX_PAY_REQ = 37,
  7269. /// <summary>
  7270. /// 收到账户服务最大扣款成功应答
  7271. /// </summary>
  7272. SCF_SUB_STEP_SEND_ACC_MAX_PAY_RSP = 38,
  7273. /// <summary>
  7274. /// 发送业务成功通知
  7275. /// </summary>
  7276. SCF_SUB_STEP_SEND_SUCCESS_NOTIFY = 39,
  7277. /// <summary>
  7278. /// 发送业务失败通知
  7279. /// </summary>
  7280. SCF_SUB_STEP_SEND_FAILED_NOTIFY = 40,
  7281. /// <summary>
  7282. /// 结算开始
  7283. /// </summary>
  7284. SCF_SUB_STEP_NODESTATUS_BEGIN = 41,
  7285. /// <summary>
  7286. /// 结算成功
  7287. /// </summary>
  7288. SCF_SUB_STEP_NODESTATUS_SUCCESS = 42,
  7289. /// <summary>
  7290. /// 结算失败
  7291. /// </summary>
  7292. SCF_SUB_STEP_NODESTATUS_FAILED = 43,
  7293. /// <summary>
  7294. /// 发送风控操作请求
  7295. /// </summary>
  7296. SCF_SUB_STEP_SEND_RISK_REQ = 44,
  7297. /// <summary>
  7298. /// 单向贷方合同结算加钱
  7299. /// </summary>
  7300. SCF_SUB_STEP_SINGLE_LENDER_SETTLE_ADD = 45,
  7301. /// <summary>
  7302. /// 单向借方合同结算扣减
  7303. /// </summary>
  7304. SCF_SUB_STEP_SINGLE_BORROWER_SETTLE_DEDUCT = 46
  7305. }
  7306. /// <summary>
  7307. // 供应链金融合同状态
  7308. /// </summary>
  7309. public enum eSCFContractStatus {
  7310. /// <summary>
  7311. /// 新建
  7312. /// </summary>
  7313. SCF_CONTRACTSTATUS_NEW = 1,
  7314. /// <summary>
  7315. /// 已确认
  7316. /// </summary>
  7317. SCF_CONTRACTSTATUS_CONFIRMED = 2,
  7318. /// <summary>
  7319. /// 确认拒绝
  7320. /// </summary>
  7321. SCF_CONTRACTSTATUS_CONFIRMED_REJECTION = 3,
  7322. /// <summary>
  7323. /// 已支付保证金
  7324. /// </summary>
  7325. SCF_CONTRACTSTATUS_PAID_DEPOSIT = 4,
  7326. /// <summary>
  7327. /// 已激活
  7328. /// </summary>
  7329. SCF_CONTRACTSTATUS_ALREADY_ACTIVATED = 5,
  7330. /// <summary>
  7331. /// 已违约
  7332. /// </summary>
  7333. SCF_CONTRACTSTATUS_DEFAULTING = 6,
  7334. /// <summary>
  7335. /// 到期结束
  7336. /// </summary>
  7337. SCF_CONTRACTSTATUS_MATURITY_END = 7,
  7338. /// <summary>
  7339. /// 延期结束
  7340. /// </summary>
  7341. SCF_CONTRACTSTATUS_DEFERRED_END = 8,
  7342. /// <summary>
  7343. /// 违约结束
  7344. /// </summary>
  7345. SCF_CONTRACTSTATUS_DEFAULT_END = 9,
  7346. /// <summary>
  7347. /// 已注销
  7348. /// </summary>
  7349. SCF_CONTRACTSTATUS_LOGOUT = 10,
  7350. /// <summary>
  7351. /// 已关闭
  7352. /// </summary>
  7353. SCF_CONTRACTSTATUS_CLOSE = 11
  7354. }
  7355. /// <summary>
  7356. // 供应链金融结算步骤
  7357. /// </summary>
  7358. public enum eSCFSettleStep {
  7359. /// <summary>
  7360. /// 结算开始
  7361. /// </summary>
  7362. SCFSETTLESTEP_START = 1,
  7363. /// <summary>
  7364. /// 计算风险率
  7365. /// </summary>
  7366. SCFSETTLESTEP_CURRISKRATE = 2,
  7367. /// <summary>
  7368. /// 结算进行中
  7369. /// </summary>
  7370. SCFSETTLESTEP_INPROCESS = 3,
  7371. /// <summary>
  7372. /// 结算成功
  7373. /// </summary>
  7374. SCFSETTLESTEP_SUCCESS = 4,
  7375. /// <summary>
  7376. /// 结算失败
  7377. /// </summary>
  7378. SCFSETTLESTEP_FAILED = 5
  7379. }
  7380. /// <summary>
  7381. // 供应链金融是否自动放款
  7382. /// </summary>
  7383. public enum eSCFIsAutoLoan {
  7384. /// <summary>
  7385. /// 手动
  7386. /// </summary>
  7387. SCF_ISAUTOLOAN_MANUAL = 0,
  7388. /// <summary>
  7389. /// 自动
  7390. /// </summary>
  7391. SCF_ISAUTOLOAN_AUTO = 1
  7392. }
  7393. /// <summary>
  7394. // 供应链金融结息方式
  7395. /// </summary>
  7396. public enum eSCFInterestSettleMode {
  7397. /// <summary>
  7398. /// 按日结息
  7399. /// </summary>
  7400. SCF_INTERESTSETTLEMODE_DAY = 1,
  7401. /// <summary>
  7402. /// 按周结息
  7403. /// </summary>
  7404. SCF_INTERESTSETTLEMODE_WEEK = 2,
  7405. /// <summary>
  7406. /// 按月结息
  7407. /// </summary>
  7408. SCF_INTERESTSETTLEMODE_MONTH = 3
  7409. }
  7410. /// <summary>
  7411. // 供应链金融风控模式
  7412. /// </summary>
  7413. public enum eSCFRiskMode {
  7414. /// <summary>
  7415. /// 比率
  7416. /// </summary>
  7417. SCF_SCFRISKMODE_RATIO = 1,
  7418. /// <summary>
  7419. /// 固定
  7420. /// </summary>
  7421. SCF_SCFRISKMODE_FIXED = 2
  7422. }
  7423. /// <summary>
  7424. // 供应链金融结算资金处理类型
  7425. /// </summary>
  7426. public enum eSCFReckonAmountType {
  7427. /// <summary>
  7428. /// A类
  7429. /// </summary>
  7430. SCF_RECKONAMOUNTTYPE_A = 1,
  7431. /// <summary>
  7432. /// B类
  7433. /// </summary>
  7434. SCF_RECKONAMOUNTTYPE_B = 2,
  7435. /// <summary>
  7436. /// C类
  7437. /// </summary>
  7438. SCF_RECKONAMOUNTTYPE_C = 3,
  7439. /// <summary>
  7440. /// D类
  7441. /// </summary>
  7442. SCF_RECKONAMOUNTTYPE_D = 4
  7443. }
  7444. /// <summary>
  7445. // 供应链金融计息标志
  7446. /// </summary>
  7447. public enum eSCFInterestFlag {
  7448. /// <summary>
  7449. /// 停止计息
  7450. /// </summary>
  7451. SCF_INTERESTFLAG_STOP = 0,
  7452. /// <summary>
  7453. /// 启动计息
  7454. /// </summary>
  7455. SCF_INTERESTFLAG_START = 1
  7456. }
  7457. /// <summary>
  7458. // 供应链金融合同关闭方
  7459. /// </summary>
  7460. public enum eSCFContractCloseRole {
  7461. /// <summary>
  7462. /// 贷款方
  7463. /// </summary>
  7464. SCF_CONTRACTCLOSEROLE_LENDER = 1,
  7465. /// <summary>
  7466. /// 借款方
  7467. /// </summary>
  7468. SCF_CONTRACTCLOSEROLE_BORROWER = 2
  7469. }
  7470. /// <summary>
  7471. // 供应链金融合同处理状态
  7472. /// </summary>
  7473. public enum eSCFHandleStatus {
  7474. /// <summary>
  7475. /// 待处理
  7476. /// </summary>
  7477. SCF_HANDLESTATUS_TREATED = 1,
  7478. /// <summary>
  7479. /// 已处理
  7480. /// </summary>
  7481. SCF_HANDLESTATUS_ALREADY_PROCESSED = 2,
  7482. /// <summary>
  7483. /// 处理失败
  7484. /// </summary>
  7485. SCF_HANDLESTATUS_FAILURE = 3
  7486. }
  7487. /// <summary>
  7488. // 供应链金融结息状态
  7489. /// </summary>
  7490. public enum eSCFCloseInterestStatus {
  7491. /// <summary>
  7492. /// 未结
  7493. /// </summary>
  7494. SCF_CLOSEINTERESTSTATUS_NOT = 1,
  7495. /// <summary>
  7496. /// 已结
  7497. /// </summary>
  7498. SCF_CLOSEINTERESTSTATUS_ALREADY = 2
  7499. }
  7500. /// <summary>
  7501. // 供应链金融违约状态
  7502. /// </summary>
  7503. public enum eSCFBreachStatus {
  7504. /// <summary>
  7505. /// 未完成
  7506. /// </summary>
  7507. SCF_BREACHSTATUS_NOT = 1,
  7508. /// <summary>
  7509. /// 已完成
  7510. /// </summary>
  7511. SCF_BREACHSTATUS_ALREADY = 2
  7512. }
  7513. /// <summary>
  7514. // 供应链金融流水类型
  7515. /// </summary>
  7516. public enum eSCFSCFContractLogType {
  7517. /// <summary>
  7518. /// 合同录入
  7519. /// </summary>
  7520. SCF_SCFCONTRACTLOGTYPE_CONTRACTINPUT = 1,
  7521. /// <summary>
  7522. /// 合同确认
  7523. /// </summary>
  7524. SCF_SCFCONTRACTLOGTYPE_CONFIRM = 2,
  7525. /// <summary>
  7526. /// 合同激活
  7527. /// </summary>
  7528. SCF_SCFCONTRACTLOGTYPE_ACTIVE = 3,
  7529. /// <summary>
  7530. /// 仓单回购
  7531. /// </summary>
  7532. SCF_SCFCONTRACTLOGTYPE_REPURCHASE = 4,
  7533. /// <summary>
  7534. /// 手动支付欠款
  7535. /// </summary>
  7536. SCF_SCFCONTRACTLOGTYPE_MANUAL_PAYMENTARREARS = 5,
  7537. /// <summary>
  7538. /// 自动结息
  7539. /// </summary>
  7540. SCF_SCFCONTRACTLOGTYPE_AUTO_INTERESTSETTLE = 6,
  7541. /// <summary>
  7542. /// 自动追缴保证金
  7543. /// </summary>
  7544. SCF_SCFCONTRACTLOGTYPE_AUTO_RECOVERRISKRATE = 7,
  7545. /// <summary>
  7546. /// 自动到期
  7547. /// </summary>
  7548. SCF_SCFCONTRACTLOGTYPE_AUTO_EXPIRE = 8,
  7549. /// <summary>
  7550. /// 违约处理
  7551. /// </summary>
  7552. SCF_SCFCONTRACTLOGTYPE_BREACH = 9,
  7553. /// <summary>
  7554. /// 手动关闭
  7555. /// </summary>
  7556. SCF_SCFCONTRACTLOGTYPE_MANUAL_CLOSE = 10,
  7557. /// <summary>
  7558. /// 手动结算
  7559. /// </summary>
  7560. SCF_SCFCONTRACTLOGTYPE_MANUAL_SETTLE = 11
  7561. }
  7562. /// <summary>
  7563. // 供应链金融合同方向类型
  7564. /// </summary>
  7565. public enum eSCFContractDirection {
  7566. /// <summary>
  7567. /// 1:双向合同
  7568. /// </summary>
  7569. SCF_CONTRACT_DIRECTION_BOTH = 1,
  7570. /// <summary>
  7571. /// 2:单向贷方合同
  7572. /// </summary>
  7573. SCF_CONTRACT_DIRECTION_SINGLE_LENDER = 2,
  7574. /// <summary>
  7575. /// 3:单向借方合同
  7576. /// </summary>
  7577. SCF_CONTRACT_DIRECTION_SINGLE_BORROWER = 3
  7578. }
  7579. /// <summary>
  7580. // 仓单持仓转换类型
  7581. /// </summary>
  7582. public enum eWRHolderTranslateType {
  7583. /// <summary>
  7584. /// 仓单转持仓
  7585. /// </summary>
  7586. WRHOLDER_TRANSLATETYPE_WRTOHOLDER = 1,
  7587. /// <summary>
  7588. /// 持仓转仓单
  7589. /// </summary>
  7590. WRHOLDER_TRANSLATETYPE_HOLDERTOWR = 2
  7591. }
  7592. /// <summary>
  7593. // 仓单持仓转换解冻标志
  7594. /// </summary>
  7595. public enum eWRHolderTranslateUnfreezeFlag {
  7596. /// <summary>
  7597. /// 需解冻
  7598. /// </summary>
  7599. WRHOLDER_TRANSLATE_UNFREEZEFLAG_TRUE = 1,
  7600. /// <summary>
  7601. /// 不解冻
  7602. /// </summary>
  7603. WRHOLDER_TRANSLATE_UNFREEZEFLAG_FALSE = 2
  7604. }
  7605. /// <summary>
  7606. // 库位提取源
  7607. /// </summary>
  7608. public enum ePickupOrigin {
  7609. /// <summary>
  7610. /// 库位ID
  7611. /// </summary>
  7612. PU_ORIGIN_LOCID = 1,
  7613. /// <summary>
  7614. /// 仓单ID
  7615. /// </summary>
  7616. PU_ORIGIN_WRID = 2,
  7617. /// <summary>
  7618. /// 仓单要素完整数据
  7619. /// </summary>
  7620. PU_ORIGIN_FACTOR = 3,
  7621. /// <summary>
  7622. /// 仓单要素ID
  7623. /// </summary>
  7624. PU_ORIGIN_FACTORID = 4
  7625. }
  7626. /// <summary>
  7627. // 数据转移数据库
  7628. /// </summary>
  7629. public enum eLocationMoveOrigin {
  7630. /// <summary>
  7631. /// 仓单ID
  7632. /// </summary>
  7633. LM_ORIGIN_WRID = 1,
  7634. /// <summary>
  7635. /// 仓单要素及数量
  7636. /// </summary>
  7637. LM_ORIGIN_FACTOR_NUM = 2
  7638. }
  7639. /// <summary>
  7640. // 提货状态对应表TakeDeliveryRequest
  7641. /// </summary>
  7642. public enum eLadingStatus {
  7643. /// <summary>
  7644. /// 待审核
  7645. /// </summary>
  7646. LADING_PENDING = 1,
  7647. /// <summary>
  7648. /// 审核通过
  7649. /// </summary>
  7650. LADING_PASS = 2,
  7651. /// <summary>
  7652. /// 审核拒绝
  7653. /// </summary>
  7654. LADING_REFUSE = 3,
  7655. /// <summary>
  7656. /// 已撤消
  7657. /// </summary>
  7658. LADING_CANCEL = 4,
  7659. /// <summary>
  7660. /// 失败
  7661. /// </summary>
  7662. LADING_FAILED = 5,
  7663. /// <summary>
  7664. /// 提货完成
  7665. /// </summary>
  7666. LADING_OK = 6,
  7667. /// <summary>
  7668. /// 待收货
  7669. /// </summary>
  7670. LADING_WAITING_RECEIVE = 7
  7671. }
  7672. /// <summary>
  7673. // 通道交易消息ID
  7674. /// </summary>
  7675. public enum eMessageID {
  7676. /// <summary>
  7677. /// 登录请求
  7678. /// </summary>
  7679. MID_LOGINREQ = 1,
  7680. /// <summary>
  7681. /// 登录响应
  7682. /// </summary>
  7683. MID_LOGINRSP = 2,
  7684. /// <summary>
  7685. /// 登出请求
  7686. /// </summary>
  7687. MID_LOGOUTREQ = 3,
  7688. /// <summary>
  7689. /// 登出响应
  7690. /// </summary>
  7691. MID_LOGOUTRSP = 4,
  7692. /// <summary>
  7693. /// 查询资金信息请求
  7694. /// </summary>
  7695. MID_QUERYACCOUNTMONEYREQ = 10001,
  7696. /// <summary>
  7697. /// 查询资金信息应答
  7698. /// </summary>
  7699. MID_QUERYACCOUNTMONEYRSP = 10002,
  7700. /// <summary>
  7701. /// 查询持仓汇总请求
  7702. /// </summary>
  7703. MID_QUERYPOSITIONREQ = 10003,
  7704. /// <summary>
  7705. /// 查询持仓汇总应答
  7706. /// </summary>
  7707. MID_QUERYPOSITIONRSP = 10004,
  7708. /// <summary>
  7709. /// 查询持仓明细请求
  7710. /// </summary>
  7711. MID_QUERYPOSITIONDETAILREQ = 10005,
  7712. /// <summary>
  7713. /// 查询持仓明细应答
  7714. /// </summary>
  7715. MID_QUERYPOSITIONDETAILRSP = 10006,
  7716. /// <summary>
  7717. /// 查询报单请求
  7718. /// </summary>
  7719. MID_QUERYORDERREQ = 10007,
  7720. /// <summary>
  7721. /// 查询报单应答
  7722. /// </summary>
  7723. MID_QUERYORDERRSP = 10008,
  7724. /// <summary>
  7725. /// 查询成交请求
  7726. /// </summary>
  7727. MID_QUERYTRADEREQ = 10009,
  7728. /// <summary>
  7729. /// 查询成交应答
  7730. /// </summary>
  7731. MID_QUERYTRADERSP = 10010,
  7732. /// <summary>
  7733. /// 查询合约请求
  7734. /// </summary>
  7735. MID_QUERYINSTRUMENTREQ = 10011,
  7736. /// <summary>
  7737. /// 查询合约应答
  7738. /// </summary>
  7739. MID_QUERYINSTRUMENTRSP = 10012,
  7740. /// <summary>
  7741. /// 报单录入请求
  7742. /// </summary>
  7743. MID_INPUTORDERREQ = 20001,
  7744. /// <summary>
  7745. /// 报单录入应答
  7746. /// </summary>
  7747. MID_INPUTORDERRSP = 20002,
  7748. /// <summary>
  7749. /// 报单修改请求
  7750. /// </summary>
  7751. MID_ORDERACTIONREQ = 20003,
  7752. /// <summary>
  7753. /// 报单修改应答
  7754. /// </summary>
  7755. MID_ORDERACTIONRSP = 20004,
  7756. /// <summary>
  7757. /// 报单通知
  7758. /// </summary>
  7759. MID_NOTICEORDER = 30001,
  7760. /// <summary>
  7761. /// 成交通知
  7762. /// </summary>
  7763. MID_NOTICETRADE = 30002,
  7764. /// <summary>
  7765. /// 实时行情订阅请求
  7766. /// </summary>
  7767. MID_QUTATIONSUBSCRIBEREQ = 40001,
  7768. /// <summary>
  7769. /// 实时行情订阅应答
  7770. /// </summary>
  7771. MID_QUTATIONSUBSCRIBERSP = 40002,
  7772. /// <summary>
  7773. /// 实时行情推送
  7774. /// </summary>
  7775. MID_NOTICEQUTATION = 40003
  7776. }
  7777. /// <summary>
  7778. // 交易通道编号
  7779. /// </summary>
  7780. public enum eChannelIDType {
  7781. /// <summary>
  7782. /// 场外交易
  7783. /// </summary>
  7784. CID_OUTSIDE = 0,
  7785. /// <summary>
  7786. /// 综合交易平台
  7787. /// </summary>
  7788. CID_CTP = 1,
  7789. /// <summary>
  7790. /// 安粮期货
  7791. /// </summary>
  7792. CID_ATP = 2,
  7793. /// <summary>
  7794. /// 盈透
  7795. /// </summary>
  7796. CID_IB = 3,
  7797. /// <summary>
  7798. /// 易盛
  7799. /// </summary>
  7800. CID_TAP = 4,
  7801. /// <summary>
  7802. /// 直达
  7803. /// </summary>
  7804. CID_DA = 5,
  7805. /// <summary>
  7806. /// 富途
  7807. /// </summary>
  7808. CID_FUTU = 6,
  7809. /// <summary>
  7810. /// 火币
  7811. /// </summary>
  7812. CID_HUOBI = 7,
  7813. /// <summary>
  7814. /// 艾雅斯
  7815. /// </summary>
  7816. CID_AYERS = 8,
  7817. /// <summary>
  7818. /// 恒生
  7819. /// </summary>
  7820. CID_HS = 9,
  7821. /// <summary>
  7822. /// 持仓修正
  7823. /// </summary>
  7824. CID_MANAGE = 97,
  7825. /// <summary>
  7826. /// 通道交易测试渠道
  7827. /// </summary>
  7828. CID_CHANNEL_TEST = 98,
  7829. /// <summary>
  7830. /// 下单接口平台测试渠道
  7831. /// </summary>
  7832. CID_MHP_TEST = 99
  7833. }
  7834. /// <summary>
  7835. // 持仓多空方向
  7836. /// </summary>
  7837. public enum ePositionDirection {
  7838. /// <summary>
  7839. /// 净
  7840. /// </summary>
  7841. PD_NET = 1,
  7842. /// <summary>
  7843. /// 多头
  7844. /// </summary>
  7845. PD_LONG = 2,
  7846. /// <summary>
  7847. /// 空头
  7848. /// </summary>
  7849. PD_SHORT = 3
  7850. }
  7851. /// <summary>
  7852. // 建平仓标志
  7853. /// </summary>
  7854. public enum eOffsetFlag {
  7855. /// <summary>
  7856. /// 建仓
  7857. /// </summary>
  7858. OF_OPEN = 0,
  7859. /// <summary>
  7860. /// 平仓
  7861. /// </summary>
  7862. OF_CLOSE = 1,
  7863. /// <summary>
  7864. /// 强平
  7865. /// </summary>
  7866. OF_FORCECLOSE = 2,
  7867. /// <summary>
  7868. /// 平今
  7869. /// </summary>
  7870. OF_CLOSETODAY = 3,
  7871. /// <summary>
  7872. /// 平昨
  7873. /// </summary>
  7874. OF_CLOSEYESTERDAY = 4
  7875. }
  7876. /// <summary>
  7877. // 委托价格类型
  7878. /// </summary>
  7879. public enum eOrderPriceType {
  7880. /// <summary>
  7881. /// 限价
  7882. /// </summary>
  7883. OPT_LIMITPRICE = 1,
  7884. /// <summary>
  7885. /// 市价
  7886. /// </summary>
  7887. OPT_MARKETPRICE = 2
  7888. }
  7889. /// <summary>
  7890. // 有效期类型
  7891. /// </summary>
  7892. public enum eTimeConditionType {
  7893. /// <summary>
  7894. /// 立即完成,否则撤销
  7895. /// </summary>
  7896. TC_IOC = 1,
  7897. /// <summary>
  7898. /// 本节有效
  7899. /// </summary>
  7900. TC_GFS = 2,
  7901. /// <summary>
  7902. /// 当日有效
  7903. /// </summary>
  7904. TC_GFD = 3,
  7905. /// <summary>
  7906. /// 指定日期前有效
  7907. /// </summary>
  7908. TC_GTD = 4,
  7909. /// <summary>
  7910. /// 撤销前有效
  7911. /// </summary>
  7912. TC_GTC = 5,
  7913. /// <summary>
  7914. /// 集合竞价有效
  7915. /// </summary>
  7916. TC_GFA = 6
  7917. }
  7918. /// <summary>
  7919. // 报单提交状态
  7920. /// </summary>
  7921. public enum eOrderSubmitStatusType {
  7922. /// <summary>
  7923. /// 已经提交
  7924. /// </summary>
  7925. OSS_INSERTSUBMITTED = 0,
  7926. /// <summary>
  7927. /// 撤单已经提交
  7928. /// </summary>
  7929. OSS_CANCELSUBMITTED = 1,
  7930. /// <summary>
  7931. /// 修改已经提交
  7932. /// </summary>
  7933. OSS_MODIFYSUBMITTED = 2,
  7934. /// <summary>
  7935. /// 已经接受
  7936. /// </summary>
  7937. OSS_ACCEPTED = 3,
  7938. /// <summary>
  7939. /// 报单已经被拒绝
  7940. /// </summary>
  7941. OSS_INSERTREJECTED = 4,
  7942. /// <summary>
  7943. /// 撤单已经被拒绝
  7944. /// </summary>
  7945. OSS_CANCELREJECTED = 5,
  7946. /// <summary>
  7947. /// 改单已经被拒绝
  7948. /// </summary>
  7949. OSS_MODIFYREJECTED = 6
  7950. }
  7951. /// <summary>
  7952. // 报单状态类型
  7953. /// </summary>
  7954. public enum eOrderStatusType {
  7955. /// <summary>
  7956. /// 全部成交
  7957. /// </summary>
  7958. OST_ALLTRADED = 0,
  7959. /// <summary>
  7960. /// 部分成交还在队列中
  7961. /// </summary>
  7962. OST_PARTTRADEDQUEUEING = 1,
  7963. /// <summary>
  7964. /// 部分成交不在队列中
  7965. /// </summary>
  7966. OST_PARTTRADEDNOTQUEUEING = 2,
  7967. /// <summary>
  7968. /// 未成交还在队列中
  7969. /// </summary>
  7970. OST_NOTRADEQUEUEING = 3,
  7971. /// <summary>
  7972. /// 未成交不在队列中
  7973. /// </summary>
  7974. OST_NOTRADENOTQUEUEING = 4,
  7975. /// <summary>
  7976. /// 撤单
  7977. /// </summary>
  7978. OST_CANCELED = 5,
  7979. /// <summary>
  7980. /// 未知
  7981. /// </summary>
  7982. OST_UNKNOWN = 6,
  7983. /// <summary>
  7984. /// 尚未触发
  7985. /// </summary>
  7986. OST_NOTTOUCHED = 7,
  7987. /// <summary>
  7988. /// 已触发
  7989. /// </summary>
  7990. OST_TOUCHED = 8,
  7991. /// <summary>
  7992. /// 已撤单报单被拒绝
  7993. /// </summary>
  7994. OST_INSERTREJECTED = 9
  7995. }
  7996. /// <summary>
  7997. // 报单状态类型
  7998. /// </summary>
  7999. public enum eMhpOrderStatusType {
  8000. /// <summary>
  8001. /// 接口平台拒绝
  8002. /// </summary>
  8003. MOST_MHPREJECTED = 1,
  8004. /// <summary>
  8005. /// 接口平台已接收(未报送至对应渠道)
  8006. /// </summary>
  8007. MOST_MHPRECEIVED = 2,
  8008. /// <summary>
  8009. /// 待确认(已报送至对应渠道)
  8010. /// </summary>
  8011. MOST_TOBECONFIRMED = 3,
  8012. /// <summary>
  8013. /// 渠道前置拒绝
  8014. /// </summary>
  8015. MOST_CHANNELFRONTREJECTED = 4,
  8016. /// <summary>
  8017. /// 渠道核心拒绝
  8018. /// </summary>
  8019. MOST_CHANNELCOREREJECTED = 5,
  8020. /// <summary>
  8021. /// 未成交(对应渠道已经返回结果)
  8022. /// </summary>
  8023. MOST_NOTRADEQUEUEING = 6,
  8024. /// <summary>
  8025. /// 已撤
  8026. /// </summary>
  8027. MOST_CANCELED = 7,
  8028. /// <summary>
  8029. /// 部分成交还在队列(部成)
  8030. /// </summary>
  8031. MOST_PARTTRADEDQUEUEING = 8,
  8032. /// <summary>
  8033. /// 部分成交不在队列(部撤)
  8034. /// </summary>
  8035. MOST_PARTTRADEDNOTQUEUEING = 9,
  8036. /// <summary>
  8037. /// 全部成交
  8038. /// </summary>
  8039. MOST_ALLTRADED = 10
  8040. }
  8041. /// <summary>
  8042. // 价格源类型
  8043. /// </summary>
  8044. public enum ePriceSourceType {
  8045. /// <summary>
  8046. /// 前成交价
  8047. /// </summary>
  8048. PSRC_LASTPRICE = 0,
  8049. /// <summary>
  8050. /// 买委托价
  8051. /// </summary>
  8052. PSRC_BUY = 1,
  8053. /// <summary>
  8054. /// 卖委托价
  8055. /// </summary>
  8056. PSRC_SELL = 2
  8057. }
  8058. /// <summary>
  8059. // 投机套保标志
  8060. /// </summary>
  8061. public enum eHedgeFlagType {
  8062. /// <summary>
  8063. /// 无
  8064. /// </summary>
  8065. HF_INVALID = 0,
  8066. /// <summary>
  8067. /// 投机
  8068. /// </summary>
  8069. HF_SPECULATION = 1,
  8070. /// <summary>
  8071. /// 套保
  8072. /// </summary>
  8073. HF_HEDGE = 2,
  8074. /// <summary>
  8075. /// 套利
  8076. /// </summary>
  8077. HF_ARBITRAGE = 3
  8078. }
  8079. /// <summary>
  8080. // 持仓日期类型
  8081. /// </summary>
  8082. public enum ePositionDateType {
  8083. /// <summary>
  8084. /// 今日持仓
  8085. /// </summary>
  8086. PSD_TODAY = 1,
  8087. /// <summary>
  8088. /// 历史持仓
  8089. /// </summary>
  8090. PSD_HISTORY = 2
  8091. }
  8092. /// <summary>
  8093. // 撤单的操作类型
  8094. /// </summary>
  8095. public enum eWROrderCancelOpType {
  8096. /// <summary>
  8097. /// 委托撤单
  8098. /// </summary>
  8099. WRORDERCANCELOPTYPE_ORDER = 1
  8100. }
  8101. /// <summary>
  8102. // 仓单贸易类型
  8103. /// </summary>
  8104. public enum eWRTradeOrderType {
  8105. /// <summary>
  8106. /// 挂牌
  8107. /// </summary>
  8108. WRTRADEORDERTYPE_LISTING = 1,
  8109. /// <summary>
  8110. /// 摘牌
  8111. /// </summary>
  8112. WRTRADEORDERTYPE_DELISTING = 2
  8113. }
  8114. /// <summary>
  8115. // 仓单贸易价格方式
  8116. /// </summary>
  8117. public enum eWRTradePriceType {
  8118. /// <summary>
  8119. /// 固定价
  8120. /// </summary>
  8121. WRTRADEPRICETYPE_FIXED_PRICE = 1,
  8122. /// <summary>
  8123. /// 浮动价
  8124. /// </summary>
  8125. WRTRADEPRICETYPE_FLOAT_PRICE = 2
  8126. }
  8127. /// <summary>
  8128. // 仓单贸易委托状态
  8129. /// </summary>
  8130. public enum eWRTradeOrderStatus {
  8131. /// <summary>
  8132. /// 委托请求
  8133. /// </summary>
  8134. WRTRADEORDERSTATUS_REQUEST = 1,
  8135. /// <summary>
  8136. /// 待冻结
  8137. /// </summary>
  8138. WRTRADEORDERSTATUS_WAITFREEZE = 2,
  8139. /// <summary>
  8140. /// 委托成功
  8141. /// </summary>
  8142. WRTRADEORDERSTATUS_SUCCEED = 3,
  8143. /// <summary>
  8144. /// 委托失败
  8145. /// </summary>
  8146. WRTRADEORDERSTATUS_FAILED = 4,
  8147. /// <summary>
  8148. /// 配对成功
  8149. /// </summary>
  8150. WRTRADEORDERSTATUS_MATCHED = 5,
  8151. /// <summary>
  8152. /// 已撤
  8153. /// </summary>
  8154. WRTRADEORDERSTATUS_CANCELED = 6,
  8155. /// <summary>
  8156. /// 已成
  8157. /// </summary>
  8158. WRTRADEORDERSTATUS_DEALED = 7,
  8159. /// <summary>
  8160. /// 成交失败
  8161. /// </summary>
  8162. WRTRADEORDERSTATUS_DEALFAILED = 8,
  8163. /// <summary>
  8164. /// 委托拒绝
  8165. /// </summary>
  8166. WRTRADEORDERSTATUS_DENIED = 9,
  8167. /// <summary>
  8168. /// 挂牌部分成交
  8169. /// </summary>
  8170. WRTRADEORDERSTATUS_LISTING_PARTTRADE = 10,
  8171. /// <summary>
  8172. /// 仓单生成失败
  8173. /// </summary>
  8174. WRTRADEORDERSTATUS_WR_FAILED = 11,
  8175. /// <summary>
  8176. /// 首付扣款失败
  8177. /// </summary>
  8178. WRTRADEORDERSTATUS_FIRSTPAYMENT_DEDUCT_FAILED = 12,
  8179. /// <summary>
  8180. /// 履约失败
  8181. /// </summary>
  8182. WRTRADEORDERSTATUS_PERFORMANCE_FAILED = 13,
  8183. /// <summary>
  8184. /// 撤单解冻贷款失败
  8185. /// </summary>
  8186. WRTRADEORDERSTATUS_CANCELE_UNFREZZE_FAILED = 14,
  8187. /// <summary>
  8188. /// 部成部撤
  8189. /// </summary>
  8190. WRTRADEORDERSTATUS_PARTIALCANCELED = 15
  8191. }
  8192. /// <summary>
  8193. // 消息账户记录类型
  8194. /// </summary>
  8195. public enum eRecordType {
  8196. /// <summary>
  8197. /// 资金
  8198. /// </summary>
  8199. MSG_ACCOUNT_REC_TYPE_AMOUNT = 1,
  8200. /// <summary>
  8201. /// 头寸
  8202. /// </summary>
  8203. MSG_ACCOUNT_REC_TYPE_POSTION = 2
  8204. }
  8205. /// <summary>
  8206. // 履约步骤控制状态
  8207. /// </summary>
  8208. public enum ePerformance_StepHandleStatus {
  8209. /// <summary>
  8210. /// 开始
  8211. /// </summary>
  8212. PERFORMANCE_STEPHANDLESTATUS_BEGIN = 1,
  8213. /// <summary>
  8214. /// 结束
  8215. /// </summary>
  8216. PERFORMANCE_STEPHANDLESTATUS_FINISHED = 2,
  8217. /// <summary>
  8218. /// 冻结请求
  8219. /// </summary>
  8220. PERFORMANCE_STEPHANDLESTATUS_FREEZE_REQ = 3,
  8221. /// <summary>
  8222. /// 冻结返回成功
  8223. /// </summary>
  8224. PERFORMANCE_STEPHANDLESTATUS_FREEZE_RSP_SUC = 4,
  8225. /// <summary>
  8226. /// 冻结返回失败
  8227. /// </summary>
  8228. PERFORMANCE_STEPHANDLESTATUS_FREEZE_RSP_FAIL = 5,
  8229. /// <summary>
  8230. /// 扣款请求
  8231. /// </summary>
  8232. PERFORMANCE_STEPHANDLESTATUS_DEDUCT_REQ = 6,
  8233. /// <summary>
  8234. /// 扣款返回成功
  8235. /// </summary>
  8236. PERFORMANCE_STEPHANDLESTATUS_DEDUCT_RSP_SUC = 7,
  8237. /// <summary>
  8238. /// 扣款返回失败
  8239. /// </summary>
  8240. PERFORMANCE_STEPHANDLESTATUS_DEDUCT_RSP_FAIL = 8,
  8241. /// <summary>
  8242. /// 仓单转移请求
  8243. /// </summary>
  8244. PERFORMANCE_STEPHANDLESTATUS_RECEIPTTRANSFER_REQ = 9,
  8245. /// <summary>
  8246. /// 仓单转移返回成功
  8247. /// </summary>
  8248. PERFORMANCE_STEPHANDLESTATUS_RECEIPTTRANSFER_RSP_SUC = 10,
  8249. /// <summary>
  8250. /// 仓单转移返回失败
  8251. /// </summary>
  8252. PERFORMANCE_STEPHANDLESTATUS_RECEIPTTRANSFER_RSP_FAIL = 11,
  8253. /// <summary>
  8254. /// 加钱请求
  8255. /// </summary>
  8256. PERFORMANCE_STEPHANDLESTATUS_ADDMONEY_REQ = 12,
  8257. /// <summary>
  8258. /// 加钱返回成功
  8259. /// </summary>
  8260. PERFORMANCE_STEPHANDLESTATUS_ADDMONEY_RSP_SUC = 13,
  8261. /// <summary>
  8262. /// 加钱返回失败
  8263. /// </summary>
  8264. PERFORMANCE_STEPHANDLESTATUS_ADDMONEY_RSP_FAIL = 14,
  8265. /// <summary>
  8266. /// 解冻仓单头寸请求
  8267. /// </summary>
  8268. PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WRPOSTION_REQ = 15,
  8269. /// <summary>
  8270. /// 解冻仓单头寸返回成功
  8271. /// </summary>
  8272. PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WRPOSTION_RSP_SUC = 16,
  8273. /// <summary>
  8274. /// 解冻仓单头寸返回失败
  8275. /// </summary>
  8276. PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WRPOSTION_RSP_FAIL = 17,
  8277. /// <summary>
  8278. /// 解冻库位请求
  8279. /// </summary>
  8280. PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WAREHOUSE_REQ = 18,
  8281. /// <summary>
  8282. /// 解冻库位返回成功
  8283. /// </summary>
  8284. PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WAREHOUSE_RSP_SUC = 19,
  8285. /// <summary>
  8286. /// 解冻库位返回失败
  8287. /// </summary>
  8288. PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WAREHOUSE_RSP_FAIL = 20,
  8289. /// <summary>
  8290. /// 卖方剩余金额解冻请求
  8291. /// </summary>
  8292. PERFORMANCE_STEPHANDLESTATUS_SELLER_UNFREZZE_REQ = 21,
  8293. /// <summary>
  8294. /// 卖方剩余金额解冻成功
  8295. /// </summary>
  8296. PERFORMANCE_STEPHANDLESTATUS_SELLER_UNFREZZE_RSP_SUC = 22,
  8297. /// <summary>
  8298. /// 卖方剩余金额解冻失败
  8299. /// </summary>
  8300. PERFORMANCE_STEPHANDLESTATUS_SELLER_UNFREZZE_RSP_FAIL = 23
  8301. }
  8302. /// <summary>
  8303. // 外盘委托状态
  8304. /// </summary>
  8305. public enum eChannelOutOrderStatus {
  8306. /// <summary>
  8307. /// 接收成功
  8308. /// </summary>
  8309. OUTERSTATUS_RECVMSG = 1,
  8310. /// <summary>
  8311. /// 发送成功
  8312. /// </summary>
  8313. OUTERSTATUS_SENDSUCC = 2,
  8314. /// <summary>
  8315. /// 委托成功
  8316. /// </summary>
  8317. OUTERSTATUS_ORDERSUCC = 3,
  8318. /// <summary>
  8319. /// 委托失败
  8320. /// </summary>
  8321. OUTERSTATUS_ORDERFAIL = 4,
  8322. /// <summary>
  8323. /// 全部成交
  8324. /// </summary>
  8325. OUTERSTATUS_ALLTRADE = 5,
  8326. /// <summary>
  8327. /// 部成部撤
  8328. /// </summary>
  8329. OUTERSTATUS_TRADECANCEL = 6,
  8330. /// <summary>
  8331. /// 全部撤单
  8332. /// </summary>
  8333. OUTERSTATUS_ALLCANCEL = 7
  8334. }
  8335. /// <summary>
  8336. // 违约处理状态
  8337. /// </summary>
  8338. public enum eBreachHandleStatus {
  8339. /// <summary>
  8340. /// 待处理
  8341. /// </summary>
  8342. BREACH_HANDLESTATUS_TREATED = 1,
  8343. /// <summary>
  8344. /// 已处理
  8345. /// </summary>
  8346. BREACH_HANDLESTATUS_PROCESSED = 2,
  8347. /// <summary>
  8348. /// 已完成
  8349. /// </summary>
  8350. BREACH_HANDLESTATUS_FINISHED = 3
  8351. }
  8352. /// <summary>
  8353. // 对冲平仓方式
  8354. /// </summary>
  8355. public enum eHedgeCloseFlagType {
  8356. /// <summary>
  8357. /// 平仓
  8358. /// </summary>
  8359. HEDGECLOSEFLAGTYPE_CLOSE = 0,
  8360. /// <summary>
  8361. /// 平今
  8362. /// </summary>
  8363. HEDGECLOSEFLAGTYPE_CLOSETODAY = 1,
  8364. /// <summary>
  8365. /// 平昨
  8366. /// </summary>
  8367. HEDGECLOSEFLAGTYPE_CLOSEHISTORY = 2
  8368. }
  8369. /// <summary>
  8370. // 头寸初始化
  8371. /// </summary>
  8372. public enum ePsInit {
  8373. /// <summary>
  8374. /// 头寸未初始化
  8375. /// </summary>
  8376. PSINIT_NOINIT = 0,
  8377. /// <summary>
  8378. /// 头寸已初始化
  8379. /// </summary>
  8380. PSINIT_INIT = 1
  8381. }
  8382. /// <summary>
  8383. // 期权类型
  8384. /// </summary>
  8385. public enum eOptionType {
  8386. /// <summary>
  8387. /// 认购
  8388. /// </summary>
  8389. OPTIONTYPE_CALL = 1,
  8390. /// <summary>
  8391. /// 认沽
  8392. /// </summary>
  8393. OPTIONTYPE_PUT = 2
  8394. }
  8395. /// <summary>
  8396. // 行权日类型
  8397. /// </summary>
  8398. public enum eExpireType {
  8399. /// <summary>
  8400. /// 滚动行权
  8401. /// </summary>
  8402. EXPIRETYPE_CYCLE = 1,
  8403. /// <summary>
  8404. /// 固定日期行权
  8405. /// </summary>
  8406. EXPIRETYPE_DATE = 2
  8407. }
  8408. /// <summary>
  8409. // 期权接单状态
  8410. /// </summary>
  8411. public enum eOptionAcceptStatus {
  8412. /// <summary>
  8413. /// 无效
  8414. /// </summary>
  8415. OPTIONACCEPTSTATUS_INVALID = 0,
  8416. /// <summary>
  8417. /// 有效
  8418. /// </summary>
  8419. OPTIONACCEPTSTATUS_AVAILABE = 1
  8420. }
  8421. /// <summary>
  8422. // 期权行情类型
  8423. /// </summary>
  8424. public enum eOptionQuoteType {
  8425. /// <summary>
  8426. /// 行权价报价
  8427. /// </summary>
  8428. OPTIONQUOTETYPE_STRIKEPRICE = 1,
  8429. /// <summary>
  8430. /// 权利金报价
  8431. /// </summary>
  8432. OPTIONQUOTETYPE_PREMIUM = 2,
  8433. /// <summary>
  8434. /// 行权价权利金报价
  8435. /// </summary>
  8436. OPTIONQUOTETYPE_ALL = 3,
  8437. /// <summary>
  8438. /// 空报价
  8439. /// </summary>
  8440. OPTIONQUOTETYPE_NONE = 4
  8441. }
  8442. /// <summary>
  8443. // 扩展策略是否有效
  8444. /// </summary>
  8445. public enum eMS_IsValid {
  8446. /// <summary>
  8447. /// 无效
  8448. /// </summary>
  8449. MS_ISVALID_NO = 0,
  8450. /// <summary>
  8451. /// 有效
  8452. /// </summary>
  8453. MS_ISVALID_YES = 1
  8454. }
  8455. /// <summary>
  8456. // 提货方式
  8457. /// </summary>
  8458. public enum eMS_TakeMode {
  8459. /// <summary>
  8460. /// 无
  8461. /// </summary>
  8462. MS_TAKEMODE_NONE = 1,
  8463. /// <summary>
  8464. /// 自提
  8465. /// </summary>
  8466. MS_TAKEMODE_PICK_UP = 2,
  8467. /// <summary>
  8468. /// 配送
  8469. /// </summary>
  8470. MS_TAKEMODE_DISPATCH = 3
  8471. }
  8472. /// <summary>
  8473. // 扩展策略数据来源
  8474. /// </summary>
  8475. public enum eMS_DataSrc {
  8476. /// <summary>
  8477. /// 无
  8478. /// </summary>
  8479. MS_DATASRC_NONE = 1,
  8480. /// <summary>
  8481. /// 交易成交通知
  8482. /// </summary>
  8483. MS_DATASRC_TRADENTF = 2,
  8484. /// <summary>
  8485. /// 订单仓单互转成交通知
  8486. /// </summary>
  8487. MS_DATASRC_ORDERWRTRANSFERNTF = 3,
  8488. /// <summary>
  8489. /// 结算信号通知
  8490. /// </summary>
  8491. MS_DATASRC_RECKONSIGNALNTF = 4,
  8492. /// <summary>
  8493. /// 开户成功通知
  8494. /// </summary>
  8495. MS_DATASRC_OPENACCOUNT = 5,
  8496. /// <summary>
  8497. /// 首次登录通知
  8498. /// </summary>
  8499. MS_DATASRC_FIRSTLOGIN = 6,
  8500. /// <summary>
  8501. /// 交割成交通知
  8502. /// </summary>
  8503. MS_DATASRC_DELIVERYDEALEDNTF = 7,
  8504. /// <summary>
  8505. /// 交收成交通知(交收服务)
  8506. /// </summary>
  8507. MS_DATASRC_DELIVERYDEALNTF = 8,
  8508. /// <summary>
  8509. /// 商城收款成功通知
  8510. /// </summary>
  8511. MS_DATASRC_MAILRECEIVENTF = 9
  8512. }
  8513. /// <summary>
  8514. // 扩展策略临时停用状态
  8515. /// </summary>
  8516. public enum eMS_IsStop {
  8517. /// <summary>
  8518. /// 未停止
  8519. /// </summary>
  8520. MS_ISSTOP_NO = 0,
  8521. /// <summary>
  8522. /// 已停止
  8523. /// </summary>
  8524. MS_ISSTOP_YES = 1
  8525. }
  8526. /// <summary>
  8527. // 扩展策略类型
  8528. /// </summary>
  8529. public enum eMS_Type {
  8530. /// <summary>
  8531. /// 累计盈亏策略
  8532. /// </summary>
  8533. MS_COUNTPL = 1,
  8534. /// <summary>
  8535. /// 转版策略
  8536. /// </summary>
  8537. MS_TRANSFERPLATE = 2,
  8538. /// <summary>
  8539. /// 定期汇总策略
  8540. /// </summary>
  8541. MS_REGULARCOUNT = 3,
  8542. /// <summary>
  8543. /// 发货策略
  8544. /// </summary>
  8545. MS_SHIPGOODS = 4,
  8546. /// <summary>
  8547. /// 发货结算策略
  8548. /// </summary>
  8549. MS_SHIPGOODSRECKON = 5,
  8550. /// <summary>
  8551. /// 订单行权策略
  8552. /// </summary>
  8553. MS_ORDERRIGHT = 6,
  8554. /// <summary>
  8555. /// 券转积分策略
  8556. /// </summary>
  8557. MS_SCOUPON2SCORE = 7,
  8558. /// <summary>
  8559. /// 提货申请策略
  8560. /// </summary>
  8561. MS_LADINGORDER = 8,
  8562. /// <summary>
  8563. /// 发票申请策略
  8564. /// </summary>
  8565. MS_INVOICEAPP = 9,
  8566. /// <summary>
  8567. /// 累计盈亏策略(新)
  8568. /// </summary>
  8569. MS_COUNTPL_ZY = 10,
  8570. /// <summary>
  8571. /// 定期汇总策略(新)
  8572. /// </summary>
  8573. MS_REGULARCOUNT_ZY = 11,
  8574. /// <summary>
  8575. /// 发货策略(新)
  8576. /// </summary>
  8577. MS_SHIPGOODS_ZY = 12,
  8578. /// <summary>
  8579. /// 订单行权策略(新)
  8580. /// </summary>
  8581. MS_ORDERRIGHT_ZY = 13,
  8582. /// <summary>
  8583. /// 提货申请策略(新)
  8584. /// </summary>
  8585. MS_LADINGORDER_ZY = 14,
  8586. /// <summary>
  8587. /// 剩余券处理
  8588. /// </summary>
  8589. MS_SCOUPONHANDLE = 15,
  8590. /// <summary>
  8591. /// 报表数据策略
  8592. /// </summary>
  8593. MS_REPORT_ZY = 16,
  8594. /// <summary>
  8595. /// 开户送红包策略(尚志)
  8596. /// </summary>
  8597. MS_OPENACCOUNT_GIFT_SZ = 17,
  8598. /// <summary>
  8599. /// 首次登录红包策略(尚志)
  8600. /// </summary>
  8601. MS_FIRSTLOGIN_GIFT_SZ = 18,
  8602. /// <summary>
  8603. /// 交易分润策略(尚志)
  8604. /// </summary>
  8605. MS_TRADEDIVIDE_SZ = 19,
  8606. /// <summary>
  8607. /// 交割分润策略(尚志)
  8608. /// </summary>
  8609. MS_DELIVERYDIVIDE_SZ = 20,
  8610. /// <summary>
  8611. /// 交收配送费策略(尚志)
  8612. /// </summary>
  8613. MS_EXPRESSFEE_SZ = 21,
  8614. /// <summary>
  8615. /// 报表数据策略(尚志)
  8616. /// </summary>
  8617. MS_REPORT_SZ = 22,
  8618. /// <summary>
  8619. /// 成交短信通知策略(临沂国际)
  8620. /// </summary>
  8621. MS_DEALMESSAGENTF_LXGJ = 23,
  8622. /// <summary>
  8623. /// 购物分润策略(尚志)
  8624. /// </summary>
  8625. MS_SHOPPINGDIVIDE_SZ = 24,
  8626. /// <summary>
  8627. /// 投资者亏损转积分(通用)
  8628. /// </summary>
  8629. MS_INVESTOR_PL_TO_SCORE = 25,
  8630. /// <summary>
  8631. /// 投资者盈利转积分(通用/烟台)
  8632. /// </summary>
  8633. MS_INVESTOR_PROFIT_TO_SCORE = 26,
  8634. /// <summary>
  8635. /// 投资者成交量转积分(尚志)
  8636. /// </summary>
  8637. MS_INVESTOR_VOLUME_TO_SCORE_SZ = 27,
  8638. /// <summary>
  8639. /// 净头寸对冲策略(中远)
  8640. /// </summary>
  8641. MS_NETPOSITION_HEDGE_ZY = 28,
  8642. /// <summary>
  8643. /// 投资者建仓限制策略(辽东湾)
  8644. /// </summary>
  8645. MS_INVESTOR_OPENLIMIT_LDW = 29,
  8646. /// <summary>
  8647. /// 投资者交易手续费转积分策略(辽东湾)
  8648. /// </summary>
  8649. MS_INVESTOR_CHARGE_TO_SCORE_LDW = 30,
  8650. /// <summary>
  8651. /// 竞拍商城送积分策略(海南)
  8652. /// </summary>
  8653. MS_PERFOPLANPROCNTF_TO_SCORE = 31,
  8654. /// <summary>
  8655. /// 场外期权交易限制策略(辽东湾)
  8656. /// </summary>
  8657. MS_OUTSIDETRADELIMIT = 32,
  8658. /// <summary>
  8659. /// 数据同步策略(百色矿业)
  8660. /// </summary>
  8661. MS_SYNCHRONIZE_DATA_BSKY = 33
  8662. }
  8663. /// <summary>
  8664. // 非标履约计划模板ID
  8665. /// </summary>
  8666. public enum eSpecialPerformancePlanTemplateID {
  8667. /// <summary>
  8668. /// 仓单转移履约计划
  8669. /// </summary>
  8670. SPPTID_WRTRANSFER = -1,
  8671. /// <summary>
  8672. /// 法币交易C2C履约计划
  8673. /// </summary>
  8674. SPPTID_COINC2C = -2
  8675. }
  8676. /// <summary>
  8677. // 期权交易结算节点ID
  8678. /// </summary>
  8679. public enum eOptionReckonNodeID {
  8680. /// <summary>
  8681. /// 结算价节点ID
  8682. /// </summary>
  8683. OPTIONRECKNODEID_RECK_PRICE = 1,
  8684. /// <summary>
  8685. /// 行权节点ID
  8686. /// </summary>
  8687. OPTIONRECKNODEID_EXPIRE = 2,
  8688. /// <summary>
  8689. /// 持仓单备份节点ID
  8690. /// </summary>
  8691. OPTIONRECKNODEID_HOLDERDETAIL_BACKUP = 3,
  8692. /// <summary>
  8693. /// 单据试算平衡节点ID
  8694. /// </summary>
  8695. OPTIONRECKNODEID_ORDER_BALANCE_CALCULATE = 4,
  8696. /// <summary>
  8697. /// 持仓单处理节点
  8698. /// </summary>
  8699. OPTIONRECKNODEID_HOLDERDETAIL_DEAL = 5,
  8700. /// <summary>
  8701. /// 交易分润节点
  8702. /// </summary>
  8703. OPTIONRECKNODEID_SHARE_PROFIT = 6
  8704. }
  8705. /// <summary>
  8706. // 履约模式
  8707. /// </summary>
  8708. public enum ePerformanceMode {
  8709. /// <summary>
  8710. /// 立即执行
  8711. /// </summary>
  8712. PERFORMANCEMODE_IMMEDIATE = 1,
  8713. /// <summary>
  8714. /// 选择模板
  8715. /// </summary>
  8716. PERFORMANCEMODE_CHOOSE_TEMPLDATE = 2
  8717. }
  8718. /// <summary>
  8719. // 交割模式
  8720. /// </summary>
  8721. public enum eDeliveryMode {
  8722. /// <summary>
  8723. /// 点选式
  8724. /// </summary>
  8725. DELIVERYMODE_PICK = 1,
  8726. /// <summary>
  8727. /// 申报式
  8728. /// </summary>
  8729. DELIVERYMODE_APPLY = 2,
  8730. /// <summary>
  8731. /// 无仓单申报式
  8732. /// </summary>
  8733. DELIVERYMODE_NONWR = 3
  8734. }
  8735. /// <summary>
  8736. // 发货单处理状态
  8737. /// </summary>
  8738. public enum eInvoiceOrderHandleStatus {
  8739. /// <summary>
  8740. /// 未处理
  8741. /// </summary>
  8742. SHIPHANDLESTATUS_NO = 1,
  8743. /// <summary>
  8744. /// 处理中
  8745. /// </summary>
  8746. SHIPHANDLESTATUS_DOING = 2,
  8747. /// <summary>
  8748. /// 处理成功
  8749. /// </summary>
  8750. SHIPHANDLESTATUS_SUCCESS = 3,
  8751. /// <summary>
  8752. /// 处理失败
  8753. /// </summary>
  8754. SHIPHANDLESTATUS_FAILED = 4,
  8755. /// <summary>
  8756. /// 行权审核处理中
  8757. /// </summary>
  8758. SHIPHANDLESTATUS_AUDIT_DOING = 5
  8759. }
  8760. /// <summary>
  8761. // 扩展流水表业务步骤
  8762. /// </summary>
  8763. public enum eMS_BusinessStep {
  8764. /// <summary>
  8765. /// 收到业务请求
  8766. /// </summary>
  8767. MS_BUSINESSSTEP_RECV_REQ = 1,
  8768. /// <summary>
  8769. /// 发给账户服务查询订单仓单头寸请求
  8770. /// </summary>
  8771. MS_BUSINESSSTEP_SEND_ACC_QUERY_HOLD_REQ = 2,
  8772. /// <summary>
  8773. /// 收到账户服务查询订单仓单头寸应答成功
  8774. /// </summary>
  8775. MS_BUSINESSSTEP_RECV_ACC_QUERY_HOLD_SUCCESS_RSP = 3,
  8776. /// <summary>
  8777. /// 收到账户服务查询订单仓单头寸应答失败
  8778. /// </summary>
  8779. MS_BUSINESSSTEP_RECV_ACC_QUERY_HOLD_FAILED_RSP = 4,
  8780. /// <summary>
  8781. /// 发给账户服务冻结仓单头寸请求
  8782. /// </summary>
  8783. MS_BUSINESSSTEP_SEND_ACC_FREEZE_WRHOLD_REQ = 5,
  8784. /// <summary>
  8785. /// 收到账户服务冻结仓单头寸应答成功
  8786. /// </summary>
  8787. MS_BUSINESSSTEP_RECV_ACC_FREEZE_WRHOLD_SUCCESS_RSP = 6,
  8788. /// <summary>
  8789. /// 收到账户服务冻结仓单头寸应答失败
  8790. /// </summary>
  8791. MS_BUSINESSSTEP_RECV_ACC_FREEZE_WRHOLD_FAILED_RSP = 7,
  8792. /// <summary>
  8793. /// 发给账户服务解冻扣减仓单头寸请求
  8794. /// </summary>
  8795. MS_BUSINESSSTEP_SEND_ACC_DEDUCT_WRHOLD_REQ = 8,
  8796. /// <summary>
  8797. /// 收到账户服务解冻扣减仓单头寸应答成功
  8798. /// </summary>
  8799. MS_BUSINESSSTEP_RECV_ACC_DEDUCT_WRHOLD_SUCCESS_RSP = 9,
  8800. /// <summary>
  8801. /// 收到账户服务解冻扣减仓单头寸应答失败
  8802. /// </summary>
  8803. MS_BUSINESSSTEP_RECV_ACC_DEDUCT_WRHOLD_FAILED_RSP = 10,
  8804. /// <summary>
  8805. /// 发给账户服务扣款请求
  8806. /// </summary>
  8807. MS_BUSINESSSTEP_SEND_ACC_DEDUCT_MONEY_REQ = 11,
  8808. /// <summary>
  8809. /// 收到账户服务扣款应答成功
  8810. /// </summary>
  8811. MS_BUSINESSSTEP_RECV_ACC_DEDUCT_MONEY_SUCCESS_RSP = 12,
  8812. /// <summary>
  8813. /// 收到账户服务扣款应答失败
  8814. /// </summary>
  8815. MS_BUSINESSSTEP_RECV_ACC_DEDUCT_MONEY_FAILED_RSP = 13,
  8816. /// <summary>
  8817. /// 发给账户服务入款请求
  8818. /// </summary>
  8819. MS_BUSINESSSTEP_SEND_ACC_ADD_MONEY_REQ = 14,
  8820. /// <summary>
  8821. /// 收到账户服务入款应答成功
  8822. /// </summary>
  8823. MS_BUSINESSSTEP_RECV_ACC_ADD_MONEY_SUCCESS_RSP = 15,
  8824. /// <summary>
  8825. /// 收到账户服务入款应答失败
  8826. /// </summary>
  8827. MS_BUSINESSSTEP_RECV_ACC_ADD_MONEY_FAILED_RSP = 16,
  8828. /// <summary>
  8829. /// 发送业务操作成功应答
  8830. /// </summary>
  8831. MS_BUSINESSSTEP_SEND_SUCCESS_RSP = 17,
  8832. /// <summary>
  8833. /// 发送业务操作失败应答
  8834. /// </summary>
  8835. MS_BUSINESSSTEP_SEND_FAILED_RSP = 18,
  8836. /// <summary>
  8837. /// 发给账户服务冻结资金请求
  8838. /// </summary>
  8839. MS_BUSINESSSTEP_SEND_ACC_FREEZE_MONEY_REQ = 19,
  8840. /// <summary>
  8841. /// 收到账户服务冻结资金成功应答
  8842. /// </summary>
  8843. MS_BUSINESSSTEP_RECV_ACC_FREEZE_MONEY_SUCCESS_RSP = 20,
  8844. /// <summary>
  8845. /// 收到账户服务冻结资金失败应答
  8846. /// </summary>
  8847. MS_BUSINESSSTEP_RECV_ACC_FREEZE_MONEY_FAILED_RSP = 21,
  8848. /// <summary>
  8849. /// 发给账户服务解冻扣减资金请求
  8850. /// </summary>
  8851. MS_BUSINESSSTEP_SEND_ACC_UNFREEZE_DEDUCT_MONEY_REQ = 22,
  8852. /// <summary>
  8853. /// 收到账户服务解冻扣减资金成功应答
  8854. /// </summary>
  8855. MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_DEDUCT_MONEY_SUCCESS_RSP = 23,
  8856. /// <summary>
  8857. /// 收到账户服务解冻扣减资金失败应答
  8858. /// </summary>
  8859. MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_DEDUCT_MONEY_FAILED_RSP = 24,
  8860. /// <summary>
  8861. /// 发给账户服务解冻仓单头寸请求
  8862. /// </summary>
  8863. MS_BUSINESSSTEP_SEND_ACC_UNFREEZE_WRHOLD_REQ = 25,
  8864. /// <summary>
  8865. /// 收到账户服务解冻仓单头寸应答成功
  8866. /// </summary>
  8867. MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_WRHOLD_SUCCESS_RSP = 26,
  8868. /// <summary>
  8869. /// 收到账户服务解冻仓单头寸应答失败
  8870. /// </summary>
  8871. MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_WRHOLD_FAILED_RSP = 27,
  8872. /// <summary>
  8873. /// 发给积分服务券转积分请求
  8874. /// </summary>
  8875. MS_BUSINESSSTEP_SEND_SCORE_TRANSFER_REQ = 28,
  8876. /// <summary>
  8877. /// 收到积分服务券转积分应答成功
  8878. /// </summary>
  8879. MS_BUSINESSSTEP_RECV_SCORE_TRANSFER_SUCCESS_RSP = 29,
  8880. /// <summary>
  8881. /// 收到积分服务券转积分应答失败
  8882. /// </summary>
  8883. MS_BUSINESSSTEP_RECV_SCORE_TRANSFER_FAILED_RSP = 30,
  8884. /// <summary>
  8885. /// 发给账户服务查询积分头寸请求
  8886. /// </summary>
  8887. MS_BUSINESSSTEP_SEND_ACC_QUERY_SCORE_QTY_REQ = 31,
  8888. /// <summary>
  8889. /// 收到账户服务查询积分头寸应答成功
  8890. /// </summary>
  8891. MS_BUSINESSSTEP_RECV_ACC_QUERY_SCORE_QTY_SUCCESS_RSP = 32,
  8892. /// <summary>
  8893. /// 收到账户服务查询积分头寸应答失败
  8894. /// </summary>
  8895. MS_BUSINESSSTEP_RECV_ACC_QUERY_SCORE_QTY_FAILED_RSP = 33,
  8896. /// <summary>
  8897. /// 发给账户服务二次扣款请求
  8898. /// </summary>
  8899. MS_BUSINESSSTEP_SEND_ACC_SECOND_DEDUCT_MONEY_REQ = 34,
  8900. /// <summary>
  8901. /// 收到账户服务二次扣款应答成功
  8902. /// </summary>
  8903. MS_BUSINESSSTEP_RECV_ACC_SECOND_DEDUCT_MONEY_SUCCESS_RSP = 35,
  8904. /// <summary>
  8905. /// 收到账户服务二次扣款应答失败
  8906. /// </summary>
  8907. MS_BUSINESSSTEP_RECV_ACC_SECOND_DEDUCT_MONEY_FAILED_RSP = 36,
  8908. /// <summary>
  8909. /// 发给账户二次服务入款请求
  8910. /// </summary>
  8911. MS_BUSINESSSTEP_SEND_ACC_SECOND_ADD_MONEY_REQ = 37,
  8912. /// <summary>
  8913. /// 收到账户服务二次入款应答成功
  8914. /// </summary>
  8915. MS_BUSINESSSTEP_RECV_ACC_SECOND_ADD_MONEY_SUCCESS_RSP = 38,
  8916. /// <summary>
  8917. /// 收到账户服务二次入款应答失败
  8918. /// </summary>
  8919. MS_BUSINESSSTEP_RECV_ACC_SECOND_ADD_MONEY_FAILED_RSP = 39,
  8920. /// <summary>
  8921. /// 发给积分服务积分减少请求
  8922. /// </summary>
  8923. MS_BUSINESSSTEP_SEND_SCORE_REDUCESCORE_REQ = 40,
  8924. /// <summary>
  8925. /// 收到积分服务券转积分减少成功
  8926. /// </summary>
  8927. MS_BUSINESSSTEP_SEND_SCORE_REDUCESCORE_SUCCESS_RSP = 41,
  8928. /// <summary>
  8929. /// 收到积分服务券转积分减少失败
  8930. /// </summary>
  8931. MS_BUSINESSSTEP_SEND_SCORE_REDUCESCORE_FAILED_RSP = 42,
  8932. /// <summary>
  8933. /// 发给积分服务增加积分请求
  8934. /// </summary>
  8935. MS_BUSINESSSTEP_SEND_SCORE_ADD_REQ = 43,
  8936. /// <summary>
  8937. /// 收到积分服务增加积分成功
  8938. /// </summary>
  8939. MS_BUSINESSSTEP_RECV_SCORE_SUCCESS_RSP = 44,
  8940. /// <summary>
  8941. /// 收到积分服务增加积分失败
  8942. /// </summary>
  8943. MS_BUSINESSSTEP_RECV_SCORE_FAILED_RSP = 45
  8944. }
  8945. /// <summary>
  8946. // 扩展提货模式
  8947. /// </summary>
  8948. public enum eMS_PickupMode {
  8949. /// <summary>
  8950. /// 券提货
  8951. /// </summary>
  8952. MS_PICKUP_MODE_SCORE = 1,
  8953. /// <summary>
  8954. /// 亏损提货
  8955. /// </summary>
  8956. MS_PICKUP_MODE_DEFICIT = 2,
  8957. /// <summary>
  8958. /// 行权提货
  8959. /// </summary>
  8960. MS_PICKUP_MODE_EXPIRE = 3
  8961. }
  8962. /// <summary>
  8963. // 扩展尚志资金类型
  8964. /// </summary>
  8965. public enum eMS_SZ_AmountType {
  8966. /// <summary>
  8967. /// 货款分润(非投资者)
  8968. /// </summary>
  8969. MS_SZ_AMOUNTTYPE_AMOUNT = 1,
  8970. /// <summary>
  8971. /// 交收返现(投资者)
  8972. /// </summary>
  8973. MS_SZ_AMOUNTTYPE_DELIVERY_RETURN = 2,
  8974. /// <summary>
  8975. /// 商城分润
  8976. /// </summary>
  8977. MS_SZ_AMOUNTTYPE_MALLDIVIDE = 3,
  8978. /// <summary>
  8979. /// 交易所分润
  8980. /// </summary>
  8981. MS_SZ_AMOUNTTYPE_EXCHDIVIDE = 4
  8982. }
  8983. /// <summary>
  8984. // 扩展发票类型
  8985. /// </summary>
  8986. public enum eMS_ReceiptType {
  8987. /// <summary>
  8988. /// 个人
  8989. /// </summary>
  8990. MS_RECEIPTTYPE_PERSONAL = 1,
  8991. /// <summary>
  8992. /// 企业
  8993. /// </summary>
  8994. MS_RECEIPTTYPE_COMPANY = 2
  8995. }
  8996. /// <summary>
  8997. // 扩展发货状态
  8998. /// </summary>
  8999. public enum eMS_ShipperStatus {
  9000. /// <summary>
  9001. /// 待审核
  9002. /// </summary>
  9003. MS_SHIPPERSTATUS_PENDING = 1,
  9004. /// <summary>
  9005. /// 未发货
  9006. /// </summary>
  9007. MS_SHIPPERSTATUS_UNSHIPPED = 2,
  9008. /// <summary>
  9009. /// 已发货
  9010. /// </summary>
  9011. MS_SHIPPERSTATUS_ALREADY = 3,
  9012. /// <summary>
  9013. /// 已收货
  9014. /// </summary>
  9015. MS_SHIPPERSTATUS_TAKE = 4,
  9016. /// <summary>
  9017. /// 申请失败
  9018. /// </summary>
  9019. MS_SHIPPERSTATUS_FAIL = 5,
  9020. /// <summary>
  9021. /// 待发货处理中
  9022. /// </summary>
  9023. MS_SHIPPERSTATUS_WAITTING_SHIP = 6,
  9024. /// <summary>
  9025. /// 审核拒绝
  9026. /// </summary>
  9027. MS_SHIPPERSTATUS_REJECT = 7
  9028. }
  9029. /// <summary>
  9030. // 扩展申请类型
  9031. /// </summary>
  9032. public enum eMS_ApplyType {
  9033. /// <summary>
  9034. /// 强制配货
  9035. /// </summary>
  9036. MS_APPLYTYPE_FORCE = 1,
  9037. /// <summary>
  9038. /// 自主申请
  9039. /// </summary>
  9040. MS_APPLYTYPE_ACTIVE = 2
  9041. }
  9042. /// <summary>
  9043. // 扩展分润角色类型
  9044. /// </summary>
  9045. public enum eMS_DivideTargetType {
  9046. /// <summary>
  9047. /// 经销商
  9048. /// </summary>
  9049. MS_DIVIDETARGETTYPE_BROKER = 1,
  9050. /// <summary>
  9051. /// 大区经销商
  9052. /// </summary>
  9053. MS_DIVIDETARGETTYPE_MC = 2,
  9054. /// <summary>
  9055. /// 特许经销商
  9056. /// </summary>
  9057. MS_DIVIDETARGETTYPE_SPEC = 3,
  9058. /// <summary>
  9059. /// 积分服务商
  9060. /// </summary>
  9061. MS_DIVIDETARGETTYPE_SCORE = 4
  9062. }
  9063. /// <summary>
  9064. // 扩展结算步骤
  9065. /// </summary>
  9066. public enum eMS_RockenStep {
  9067. /// <summary>
  9068. /// 定期汇总结算
  9069. /// </summary>
  9070. MS_ROCKENSTEP_REGULARSUM = 1,
  9071. /// <summary>
  9072. /// 发货结算
  9073. /// </summary>
  9074. MS_ROCKENSTEP_SENDGOODS = 2,
  9075. /// <summary>
  9076. /// 剩余券转积分结算
  9077. /// </summary>
  9078. MS_ROCKENSTEP_TICKETTOSCORE = 3
  9079. }
  9080. /// <summary>
  9081. // 扩展券变更类型
  9082. /// </summary>
  9083. public enum eMS_ChangeType {
  9084. /// <summary>
  9085. /// 结算增加
  9086. /// </summary>
  9087. MS_CHANGETYPE_ROCKONADD = 1,
  9088. /// <summary>
  9089. /// 提货减少
  9090. /// </summary>
  9091. MS_CHANGETYPE_DILIVERSUB = 2,
  9092. /// <summary>
  9093. /// 盈亏减少
  9094. /// </summary>
  9095. MS_CHANGETYPE_PLSUB = 3
  9096. }
  9097. /// <summary>
  9098. // 数据库操作类型
  9099. /// </summary>
  9100. public enum eDBOperateType {
  9101. /// <summary>
  9102. /// 查询
  9103. /// </summary>
  9104. DBOPERATETYPE_SELECT = 1,
  9105. /// <summary>
  9106. /// 插入
  9107. /// </summary>
  9108. DBOPERATETYPE_INSERT = 2,
  9109. /// <summary>
  9110. /// 删除
  9111. /// </summary>
  9112. DBOPERATETYPE_DELETE = 3,
  9113. /// <summary>
  9114. /// 更新
  9115. /// </summary>
  9116. DBOPERATETYPE_UPDATE = 4,
  9117. /// <summary>
  9118. /// I
  9119. /// </summary>
  9120. DBOPERATETYPE_EXECUTESQL = 5
  9121. }
  9122. /// <summary>
  9123. // 是否预行权
  9124. /// </summary>
  9125. public enum eIsPreExercise {
  9126. /// <summary>
  9127. /// 否
  9128. /// </summary>
  9129. ISPREEXERCISE_NO = 0,
  9130. /// <summary>
  9131. /// 是
  9132. /// </summary>
  9133. ISPREEXERCISE_YES = 1
  9134. }
  9135. /// <summary>
  9136. // 是否确认行权
  9137. /// </summary>
  9138. public enum eIsConfirmExercise {
  9139. /// <summary>
  9140. /// 否
  9141. /// </summary>
  9142. ISCONFIRMEXERCISE_NO = 0,
  9143. /// <summary>
  9144. /// 是
  9145. /// </summary>
  9146. ISCONFIRMEXERCISE_YES = 1
  9147. }
  9148. /// <summary>
  9149. // 发票状态
  9150. /// </summary>
  9151. public enum eMS_ReceiptStatus {
  9152. /// <summary>
  9153. /// 未申请开票
  9154. /// </summary>
  9155. MS_RECEIPT_STATUS_UNKNOW = 1,
  9156. /// <summary>
  9157. /// 已申请开票
  9158. /// </summary>
  9159. MS_RECEIPT_STATUS_APPLY = 2,
  9160. /// <summary>
  9161. /// 发票已发
  9162. /// </summary>
  9163. MS_RECEIPT_STATUS_CONFIRM = 3
  9164. }
  9165. /// <summary>
  9166. // 是否转积分
  9167. /// </summary>
  9168. public enum eMS_IsTransfer {
  9169. /// <summary>
  9170. /// 不转积分
  9171. /// </summary>
  9172. MS_ISTRANSFER_NO = 0,
  9173. /// <summary>
  9174. /// 转积分
  9175. /// </summary>
  9176. MS_ISTRANSFER_YES = 1
  9177. }
  9178. /// <summary>
  9179. // 转换类型
  9180. /// </summary>
  9181. public enum eMS_TransferType {
  9182. /// <summary>
  9183. /// 结算券转积分
  9184. /// </summary>
  9185. MS_TRANSFERTYPE_SETTLE2SCORE = 1,
  9186. /// <summary>
  9187. /// 剩余券处理
  9188. /// </summary>
  9189. MS_TRANSFERTYPE_COUPON2SCORE = 2
  9190. }
  9191. /// <summary>
  9192. // 积分业务状态
  9193. /// </summary>
  9194. public enum eScoreStatus {
  9195. /// <summary>
  9196. /// 处理中
  9197. /// </summary>
  9198. SCORESTATUS_TRANSACT = 0,
  9199. /// <summary>
  9200. /// 已成功
  9201. /// </summary>
  9202. SCORESTATUS_SUCCESS = 1,
  9203. /// <summary>
  9204. /// 已失败
  9205. /// </summary>
  9206. SCORESTATUS_FAIL = 2
  9207. }
  9208. /// <summary>
  9209. // 竞拍结算节点ID
  9210. /// </summary>
  9211. public enum eAuctionReckonNodeID {
  9212. /// <summary>
  9213. /// 竞拍撤销委托单节点ID
  9214. /// </summary>
  9215. AUCTIONRECKONNODEID_ORDERCANCELNODE = 1,
  9216. /// <summary>
  9217. /// 竞拍日照统计节点ID
  9218. /// </summary>
  9219. AUCTIONRECKONNODEID_DAYAUCTIONCOUNTNODE = 2,
  9220. /// <summary>
  9221. /// 竞拍竞拍分润节点
  9222. /// </summary>
  9223. AUCTIONRECKONNODEID_SHARE_PROFIT = 3
  9224. }
  9225. /// <summary>
  9226. // 竞拍状态
  9227. /// </summary>
  9228. public enum eAcutionStatus {
  9229. /// <summary>
  9230. /// 待生效
  9231. /// </summary>
  9232. ACUTIONSTATUS_PENDING = 0,
  9233. /// <summary>
  9234. /// 竞拍中
  9235. /// </summary>
  9236. ACUTIONSTATUS_BIDING = 1,
  9237. /// <summary>
  9238. /// 未开始
  9239. /// </summary>
  9240. ACUTIONSTATUS_NOTBEGIN = 2,
  9241. /// <summary>
  9242. /// 竞拍结束(成交)
  9243. /// </summary>
  9244. ACUTIONSTATUS_FINISHED_TRADE = 3,
  9245. /// <summary>
  9246. /// 竞拍结束(流拍)
  9247. /// </summary>
  9248. ACUTIONSTATUS_FINISHED_UNSOLD = 4,
  9249. /// <summary>
  9250. /// 竞拍结束(履约)
  9251. /// </summary>
  9252. ACUTIONSTATUS_FINISHED_PERFORMANCEHANDING = 5,
  9253. /// <summary>
  9254. /// 竞拍结束(部分成交)
  9255. /// </summary>
  9256. ACUTIONSTATUS_FINISHED_PART_TRADE = 6,
  9257. /// <summary>
  9258. /// 已注销
  9259. /// </summary>
  9260. ACUTIONSTATUS_CANCEL = 7,
  9261. /// <summary>
  9262. /// 新增拍品
  9263. /// </summary>
  9264. ACUTIONSTATUS_ADDGOODS = 8,
  9265. /// <summary>
  9266. /// 人工流拍
  9267. /// </summary>
  9268. ACUTIONSTATUS_NOBEAT = 9
  9269. }
  9270. /// <summary>
  9271. // 竞拍成交状态
  9272. /// </summary>
  9273. public enum eAcutionTradeStatus {
  9274. /// <summary>
  9275. /// 违约待处理
  9276. /// </summary>
  9277. ACUTIONTRADESTATUS_BREACH_PENDING = 1,
  9278. /// <summary>
  9279. /// 违约处理中
  9280. /// </summary>
  9281. ACUTIONTRADESTATUS_BREACH_HANDING = 2,
  9282. /// <summary>
  9283. /// 完成
  9284. /// </summary>
  9285. ACUTIONTRADESTATUS_FINISHED = 3,
  9286. /// <summary>
  9287. /// 违约完成
  9288. /// </summary>
  9289. ACUTIONTRADESTATUS_BREACH_FINISHED = 4,
  9290. /// <summary>
  9291. /// 履约中
  9292. /// </summary>
  9293. ACUTIONTRADESTATUS_PERFORMANCE_HANDING = 5,
  9294. /// <summary>
  9295. /// 履约完成
  9296. /// </summary>
  9297. ACUTIONTRADESTATUS_PERFORMANCE = 6,
  9298. /// <summary>
  9299. /// 流拍
  9300. /// </summary>
  9301. ACUTIONTRADESTATUS_FAIL = 7,
  9302. /// <summary>
  9303. /// 出价失败
  9304. /// </summary>
  9305. ACUTIONTRADESTATUS_GIVEPRICEFAIL = 8
  9306. }
  9307. /// <summary>
  9308. // 红包赠送类型
  9309. /// </summary>
  9310. public enum eGiveType {
  9311. /// <summary>
  9312. /// 开户送
  9313. /// </summary>
  9314. OPEN_SCORE_GIVE = 1,
  9315. /// <summary>
  9316. /// 首次登陆送
  9317. /// </summary>
  9318. FIRST_LOGIN_GIVE = 2
  9319. }
  9320. /// <summary>
  9321. // SZ关联单类型
  9322. /// </summary>
  9323. public enum eZS_RelatedType {
  9324. /// <summary>
  9325. /// 交易分润
  9326. /// </summary>
  9327. ZS_RELATEDTYPE_TRADEDIVIDE = 1,
  9328. /// <summary>
  9329. /// 交收分润
  9330. /// </summary>
  9331. ZS_RELATEDTYPE_DELIVERYDIVIDE = 2,
  9332. /// <summary>
  9333. /// 购物分润
  9334. /// </summary>
  9335. ZS_RELATEDTYPE_SHOPPINGDIVIDE = 3
  9336. }
  9337. /// <summary>
  9338. // SZ分润角色类型
  9339. /// </summary>
  9340. public enum eZS_DivideTargetType {
  9341. /// <summary>
  9342. /// 供货商
  9343. /// </summary>
  9344. ZS_DIVIDETARGETTYPE_SUP = 1,
  9345. /// <summary>
  9346. /// 交易所
  9347. /// </summary>
  9348. ZS_DIVIDETARGETTYPE_EXCH = 2,
  9349. /// <summary>
  9350. /// 总经销商
  9351. /// </summary>
  9352. ZS_DIVIDETARGETTYPE_DIS = 3,
  9353. /// <summary>
  9354. /// 经销商
  9355. /// </summary>
  9356. ZS_DIVIDETARGETTYPE_BROKER = 4,
  9357. /// <summary>
  9358. /// 投资者
  9359. /// </summary>
  9360. ZS_DIVIDETARGETTYPE_INVESTOR = 5
  9361. }
  9362. /// <summary>
  9363. // SZ处理状态
  9364. /// </summary>
  9365. public enum eZS_HandleStatus {
  9366. /// <summary>
  9367. /// 未处理
  9368. /// </summary>
  9369. ZS_HANDLESTATUS_NO = 1,
  9370. /// <summary>
  9371. /// 处理中
  9372. /// </summary>
  9373. ZS_HANDLESTATUS_HAND = 2,
  9374. /// <summary>
  9375. /// 处理成功
  9376. /// </summary>
  9377. ZS_HANDLESTATUS_SUCCESS = 3,
  9378. /// <summary>
  9379. /// 处理失败
  9380. /// </summary>
  9381. ZS_HANDLESTATUS_FAILED = 4,
  9382. /// <summary>
  9383. /// 投资者成功推荐人失败
  9384. /// </summary>
  9385. ZS_HANDLESTATUS_IS_RF = 5,
  9386. /// <summary>
  9387. /// 投资者失败推荐人成功
  9388. /// </summary>
  9389. ZS_HANDLESTATUS_IF_RS = 6,
  9390. /// <summary>
  9391. /// 投资者成功推荐人处理中
  9392. /// </summary>
  9393. ZS_HANDLESTATUS_IS_RI = 7,
  9394. /// <summary>
  9395. /// 投资者失败推荐人处理中
  9396. /// </summary>
  9397. ZS_HANDLESTATUS_IF_RI = 8,
  9398. /// <summary>
  9399. /// 投资者处理中推荐人成功
  9400. /// </summary>
  9401. ZS_HANDLESTATUS_II_RS = 9,
  9402. /// <summary>
  9403. /// 投资者处理中推荐人失败
  9404. /// </summary>
  9405. ZS_HANDLESTATUS_II_RF = 10
  9406. }
  9407. /// <summary>
  9408. // 角色优先类型
  9409. /// </summary>
  9410. public enum eRolePriorityType {
  9411. /// <summary>
  9412. /// 无
  9413. /// </summary>
  9414. ROLEPRIORITYTYPE_NONE = 1,
  9415. /// <summary>
  9416. /// 报价商优先
  9417. /// </summary>
  9418. ROLEPRIORITYTYPE_QUOTER_FIRST = 2,
  9419. /// <summary>
  9420. /// 非报价商优先
  9421. /// </summary>
  9422. ROLEPRIORITYTYPE_NOQUOTER_FIRST = 3
  9423. }
  9424. /// <summary>
  9425. // 记录成交源标志
  9426. /// </summary>
  9427. public enum eIsRecordSource {
  9428. /// <summary>
  9429. /// 不记录
  9430. /// </summary>
  9431. RECORDSOURCE_NO = 0,
  9432. /// <summary>
  9433. /// 记录(所有权)
  9434. /// </summary>
  9435. RECORDSOURCE_YES = 1
  9436. }
  9437. /// <summary>
  9438. // 已登陆标志
  9439. /// </summary>
  9440. public enum eHasLogined {
  9441. /// <summary>
  9442. /// 未登陆
  9443. /// </summary>
  9444. HASLOGINED_NO = 0,
  9445. /// <summary>
  9446. /// 已登录
  9447. /// </summary>
  9448. HASLOGINED_YES = 1
  9449. }
  9450. /// <summary>
  9451. // 已修改密码标志
  9452. /// </summary>
  9453. public enum eHasUpdatedPwd {
  9454. /// <summary>
  9455. /// 未修改
  9456. /// </summary>
  9457. HASUPDATEDPWD_NO = 0,
  9458. /// <summary>
  9459. /// 已修改
  9460. /// </summary>
  9461. HASUPDATEDPWD_YES = 1
  9462. }
  9463. /// <summary>
  9464. // 发货/券转积分分润明细关联单类型
  9465. /// </summary>
  9466. public enum eZYDivideRelatedType {
  9467. /// <summary>
  9468. /// 发货明细
  9469. /// </summary>
  9470. ZYDIVIDERELATEDTYPE_SHIP = 1,
  9471. /// <summary>
  9472. /// 券转积分明细
  9473. /// </summary>
  9474. ZYDIVIDERELATEDTYPE_T2S = 2
  9475. }
  9476. /// <summary>
  9477. // 预售处理状态
  9478. /// </summary>
  9479. public enum ePreSaleStatus {
  9480. /// <summary>
  9481. /// 初始状态
  9482. /// </summary>
  9483. PRESALESTATUS_INIT = 0,
  9484. /// <summary>
  9485. /// 预售中
  9486. /// </summary>
  9487. PRESALESTATUS_ING = 1,
  9488. /// <summary>
  9489. /// 未开始
  9490. /// </summary>
  9491. PRESALESTATUS_NOT_BEGIN = 2,
  9492. /// <summary>
  9493. /// 预售成功
  9494. /// </summary>
  9495. PRESALESTATUS_SUCCESS = 3,
  9496. /// <summary>
  9497. /// 预售失败
  9498. /// </summary>
  9499. PRESALESTATUS_FAILED = 4,
  9500. /// <summary>
  9501. /// 处理失败
  9502. /// </summary>
  9503. PRESALESTATUS_PROC_FAILED = 5,
  9504. /// <summary>
  9505. /// 已注销
  9506. /// </summary>
  9507. PRESALESTATUS_CANCEL = 6,
  9508. /// <summary>
  9509. /// 已过期
  9510. /// </summary>
  9511. PRESALESTATUS_OVERDUE = 7
  9512. }
  9513. /// <summary>
  9514. // 预售集采交易结算节点ID
  9515. /// </summary>
  9516. public enum ePreSaleReckonNodeID {
  9517. /// <summary>
  9518. /// 委托单处理节点
  9519. /// </summary>
  9520. PRESALERECKNODEID_ORDER_DETAIL = 1,
  9521. /// <summary>
  9522. /// 单据试算平衡节点
  9523. /// </summary>
  9524. PRESALERECKNODEID_ORDER_BALANCE_CALCULATE = 2,
  9525. /// <summary>
  9526. /// 预售过期撤销
  9527. /// </summary>
  9528. PRESALERECKNODEID_EXPIRE_CANCEL = 3,
  9529. /// <summary>
  9530. /// 履约交易申请节点
  9531. /// </summary>
  9532. PRESALERECKNODEID_PERFORMANCETRADE_APPLY = 4,
  9533. /// <summary>
  9534. /// 日照表节点
  9535. /// </summary>
  9536. PRESALERECKNODEID_DAY_LISTING = 5,
  9537. /// <summary>
  9538. /// 手续费分成节点
  9539. /// </summary>
  9540. PRESALERECKNODEID_SHARE_PROFIT = 6
  9541. }
  9542. /// <summary>
  9543. // 预售集采委托状态
  9544. /// </summary>
  9545. public enum ePreSaleOrderStatus {
  9546. /// <summary>
  9547. /// 委托中
  9548. /// </summary>
  9549. PRESALE_ORDERSTATUS_ING = 1,
  9550. /// <summary>
  9551. /// 委托成功
  9552. /// </summary>
  9553. PRESALE_ORDERSTATUS_SUCCESS = 2,
  9554. /// <summary>
  9555. /// 委托失败
  9556. /// </summary>
  9557. PRESALE_ORDERSTATUS_FAILED = 3,
  9558. /// <summary>
  9559. /// 已撤销
  9560. /// </summary>
  9561. PRESALE_ORDERSTATUS_CANCEL = 4,
  9562. /// <summary>
  9563. /// 已成交
  9564. /// </summary>
  9565. PRESALE_ORDERSTATUS_TRADE = 5,
  9566. /// <summary>
  9567. /// 部成部撤
  9568. /// </summary>
  9569. PRESALE_ORDERSTATUS_TRADE_CANCEL = 6
  9570. }
  9571. /// <summary>
  9572. // 券/盈亏流水关联类型
  9573. /// </summary>
  9574. public enum eScoreLogRelatedType {
  9575. /// <summary>
  9576. /// 盈亏
  9577. /// </summary>
  9578. SCORELOGRELATEDTYPE_PL = 1,
  9579. /// <summary>
  9580. /// 兑换券
  9581. /// </summary>
  9582. SCORELOGRELATEDTYPE_SCOUPON = 2
  9583. }
  9584. /// <summary>
  9585. // 报价商品涨跌停限制
  9586. /// </summary>
  9587. public enum eQuoteLimitMove {
  9588. /// <summary>
  9589. /// 无效
  9590. /// </summary>
  9591. QUOTE_LIMITMOVE_INVALID = 0,
  9592. /// <summary>
  9593. /// 有效
  9594. /// </summary>
  9595. QUOTE_LIMITMOVE_VALID = 1
  9596. }
  9597. /// <summary>
  9598. // 挂牌点选行情价格合并
  9599. /// </summary>
  9600. public enum eListingSelect {
  9601. /// <summary>
  9602. /// 不合并
  9603. /// </summary>
  9604. LISTING_SELECT_NOMERGE = 0,
  9605. /// <summary>
  9606. /// 合并
  9607. /// </summary>
  9608. LISTING_SELECT_MERGE = 1
  9609. }
  9610. /// <summary>
  9611. // 预售集采成交单履约状态
  9612. /// </summary>
  9613. public enum ePreSaleTradeDetailStatus {
  9614. /// <summary>
  9615. /// 未履约
  9616. /// </summary>
  9617. PRESALE_TRADEDETAILSTATUS_WAIT = 1,
  9618. /// <summary>
  9619. /// 履约中
  9620. /// </summary>
  9621. PRESALE_TRADEDETAILSTATUS_ING = 2,
  9622. /// <summary>
  9623. /// 履约完成
  9624. /// </summary>
  9625. PRESALE_TRADEDETAILSTATUS_SUCCESS = 3
  9626. }
  9627. /// <summary>
  9628. // 履约计划是否确认溢短
  9629. /// </summary>
  9630. public enum ePerformancePlanHasOverShort {
  9631. /// <summary>
  9632. /// 没有
  9633. /// </summary>
  9634. NO_CONFIRM = 0,
  9635. /// <summary>
  9636. /// 买方确认
  9637. /// </summary>
  9638. BUYER_CONFIRM = 1,
  9639. /// <summary>
  9640. /// 卖方确认
  9641. /// </summary>
  9642. SELLER_CONFIRM = 2
  9643. }
  9644. /// <summary>
  9645. // 履约计划是否有仓单
  9646. /// </summary>
  9647. public enum ePerformancePlanHasWR {
  9648. /// <summary>
  9649. /// 没有仓单
  9650. /// </summary>
  9651. NO_WR = 0,
  9652. /// <summary>
  9653. /// 有仓单
  9654. /// </summary>
  9655. HAS_WR = 1
  9656. }
  9657. /// <summary>
  9658. // 三方认证类型
  9659. /// </summary>
  9660. public enum eAuthType {
  9661. /// <summary>
  9662. /// 微信
  9663. /// </summary>
  9664. AUTHTYPE_WECHAT = 1,
  9665. /// <summary>
  9666. /// 支付宝
  9667. /// </summary>
  9668. AUTHTYPE_ALIPAY = 2
  9669. }
  9670. /// <summary>
  9671. // 报价激活状态
  9672. /// </summary>
  9673. public enum eQuoteActiveStatus {
  9674. /// <summary>
  9675. /// 待冻结卖量
  9676. /// </summary>
  9677. NEED_FREEZE_SELLQTY = 0,
  9678. /// <summary>
  9679. /// 激活
  9680. /// </summary>
  9681. ACTIVED = 1,
  9682. /// <summary>
  9683. /// 待冻结资金
  9684. /// </summary>
  9685. NEED_FREEZE_BUYAMOUT = 2,
  9686. /// <summary>
  9687. /// 待冻结卖量和资金
  9688. /// </summary>
  9689. NEED_FREEZE_SELLQTY_BUYAMOUT = 3,
  9690. /// <summary>
  9691. /// 删除报价解冻卖量
  9692. /// </summary>
  9693. DEL_UNFREEZE_SELLQTY = 4,
  9694. /// <summary>
  9695. /// 删除报价解冻资金
  9696. /// </summary>
  9697. DEL_UNFREEZE_BUYAMOUT = 5,
  9698. /// <summary>
  9699. /// 删除报价卖量和资金
  9700. /// </summary>
  9701. DEL_UNFREEZE_SELLQTY_BUYAMOUT = 6,
  9702. /// <summary>
  9703. /// 结算后解冻资金(不删除报价)
  9704. /// </summary>
  9705. RECK_UNFREEZE_BUYAMOUT = 7,
  9706. /// <summary>
  9707. /// 重新冻结
  9708. /// </summary>
  9709. RECK_RENEW_FREEZE = 8
  9710. }
  9711. /// <summary>
  9712. // 商品退市处理状态
  9713. /// </summary>
  9714. public enum eGoodsDelistHandleStatus {
  9715. /// <summary>
  9716. /// 退市处理中
  9717. /// </summary>
  9718. GOODS_DELIST_HANDLE_ING = 1,
  9719. /// <summary>
  9720. /// 处理成功
  9721. /// </summary>
  9722. GOODS_DELIST_HANDLE_SUCCESS = 2,
  9723. /// <summary>
  9724. /// 处理失败
  9725. /// </summary>
  9726. GOODS_DELIST_HANDLE_FAILED = 3
  9727. }
  9728. /// <summary>
  9729. // 协议转让处理状态
  9730. /// </summary>
  9731. public enum eProtoTransferHandleStatus {
  9732. /// <summary>
  9733. /// 未处理
  9734. /// </summary>
  9735. PROTO_TRANSFER_HANDLESTATUS_NOT_BEGIN = 1,
  9736. /// <summary>
  9737. /// 转出方处理完成
  9738. /// </summary>
  9739. PROTO_TRANSFER_HANDLESTATUS_OUT = 2,
  9740. /// <summary>
  9741. /// 转入方处理完成
  9742. /// </summary>
  9743. PROTO_TRANSFER_HANDLESTATUS_IN = 3,
  9744. /// <summary>
  9745. /// 处理成功
  9746. /// </summary>
  9747. PROTO_TRANSFER_HANDLESTATUS_SUCCESS = 4
  9748. }
  9749. /// <summary>
  9750. // 竞拍类别
  9751. /// </summary>
  9752. public enum eAuctionTradeType {
  9753. /// <summary>
  9754. /// 正常委托成交
  9755. /// </summary>
  9756. AUCTIONTRADE_TYPE_MATCH = 1,
  9757. /// <summary>
  9758. /// 流拍成交
  9759. /// </summary>
  9760. AUCTIONTRADE_TYPE_UNSOLD = 2,
  9761. /// <summary>
  9762. /// 违约成交
  9763. /// </summary>
  9764. AUCTIONTRADE_TYPE_BREACH = 3
  9765. }
  9766. /// <summary>
  9767. // 定期强平方式
  9768. /// </summary>
  9769. public enum ePeriodicCloseMode {
  9770. /// <summary>
  9771. /// 无
  9772. /// </summary>
  9773. PERIODIC_CLOSEMODE_NULL = 1,
  9774. /// <summary>
  9775. /// 每日
  9776. /// </summary>
  9777. PERIODIC_CLOSEMODE_DAY = 2,
  9778. /// <summary>
  9779. /// 每周
  9780. /// </summary>
  9781. PERIODIC_CLOSEMODE_WEEK = 3,
  9782. /// <summary>
  9783. /// 每月
  9784. /// </summary>
  9785. PERIODIC_CLOSEMODE_MONTH = 4
  9786. }
  9787. /// <summary>
  9788. // 令牌校验类型
  9789. /// </summary>
  9790. public enum eTokenCheckType {
  9791. /// <summary>
  9792. /// 令牌校验
  9793. /// </summary>
  9794. TOKENCHECKTYPE_TOKON_CHECK = 1,
  9795. /// <summary>
  9796. /// 登陆校验
  9797. /// </summary>
  9798. TOKENCHECKTYPE_LOGIN_CHECK = 2
  9799. }
  9800. /// <summary>
  9801. // 扩展业务处理状态
  9802. /// </summary>
  9803. public enum eMarketingBizDealStatus {
  9804. /// <summary>
  9805. /// 未定义
  9806. /// </summary>
  9807. MARKETINGBIZDEALSTATUS_UNKOMN = 0,
  9808. /// <summary>
  9809. /// 成功
  9810. /// </summary>
  9811. MARKETINGBIZDEALSTATUS_SUCCESS = 1,
  9812. /// <summary>
  9813. /// 失败
  9814. /// </summary>
  9815. MARKETINGBIZDEALSTATUS_FAILED = 2
  9816. }
  9817. /// <summary>
  9818. // 自动报价状态
  9819. /// </summary>
  9820. public enum eAutoQuoteStatus {
  9821. /// <summary>
  9822. /// 未开始
  9823. /// </summary>
  9824. AUTOQUOTESTATUS_NOTBEGIN = 1,
  9825. /// <summary>
  9826. /// 已报价
  9827. /// </summary>
  9828. AUTOQUOTESTATUS_QUOTED = 2,
  9829. /// <summary>
  9830. /// 报价失败
  9831. /// </summary>
  9832. AUTOQUOTESTATUS_QUOTE_FAILED = 3,
  9833. /// <summary>
  9834. /// 报价完成
  9835. /// </summary>
  9836. AUTOQUOTESTATUS_QUOTE_FINISHED = 4,
  9837. /// <summary>
  9838. /// 撤销中
  9839. /// </summary>
  9840. AUTOQUOTESTATUS_QUOTE_CANCELE = 5,
  9841. /// <summary>
  9842. /// 部成部撤
  9843. /// </summary>
  9844. AUTOQUOTESTATUS_QUOTE_PARTIALCANCELED = 6,
  9845. /// <summary>
  9846. /// 撤销
  9847. /// </summary>
  9848. AUTOQUOTESTATUS_QUOTE_CANCELED = 7,
  9849. /// <summary>
  9850. /// 已到期
  9851. /// </summary>
  9852. AUTOQUOTESTATUS_QUOTE_EXPIRE = 8,
  9853. /// <summary>
  9854. /// 报价中
  9855. /// </summary>
  9856. AUTOQUOTESTATUS_QUOTING = 9
  9857. }
  9858. /// <summary>
  9859. // 报价来源
  9860. /// </summary>
  9861. public enum eQuoteSource {
  9862. /// <summary>
  9863. /// 外部行情
  9864. /// </summary>
  9865. QUOTESOURCE_OUT_QUOTE = 0,
  9866. /// <summary>
  9867. /// 管理端手动报价
  9868. /// </summary>
  9869. QUOTESOURCE_MANAGE_QUOTE = 1,
  9870. /// <summary>
  9871. /// 自动报价服务报价
  9872. /// </summary>
  9873. QUOTESOURCE_AUTO_QUOTE = 2,
  9874. /// <summary>
  9875. /// 外部接口报价
  9876. /// </summary>
  9877. QUOTESOURCE_OUT_INTERFACE_QUOTE = 3
  9878. }
  9879. /// <summary>
  9880. // 商品退市账户类型
  9881. /// </summary>
  9882. public enum eGoodsDelistAccountType {
  9883. /// <summary>
  9884. /// 非做市会员
  9885. /// </summary>
  9886. GOODSDELIST_ACCOUNTTYPE_NON_MARKETMAKER = 1,
  9887. /// <summary>
  9888. /// 做市会员
  9889. /// </summary>
  9890. GOODSDELIST_ACCOUNTTYPE_MARKETMAKER = 2
  9891. }
  9892. /// <summary>
  9893. // 期权下单限制
  9894. /// </summary>
  9895. public enum eOptionBuild {
  9896. /// <summary>
  9897. /// 不限制
  9898. /// </summary>
  9899. OPTION_BUILD_NOT_LIMITED = 0,
  9900. /// <summary>
  9901. /// 限制
  9902. /// </summary>
  9903. OPTION_BUILD_LIMITED = 1
  9904. }
  9905. /// <summary>
  9906. // 赔付上限方式
  9907. /// </summary>
  9908. public enum ePayMode {
  9909. /// <summary>
  9910. /// 不限制
  9911. /// </summary>
  9912. PAYMODE_NOT_LIMITED = 1,
  9913. /// <summary>
  9914. /// 权利金倍数
  9915. /// </summary>
  9916. PAYMODE_PREMIUM_TIMES = 2
  9917. }
  9918. /// <summary>
  9919. // 权利金报价方式-挂牌期权
  9920. /// </summary>
  9921. public enum ePremiumQuoteMode {
  9922. /// <summary>
  9923. /// 自动
  9924. /// </summary>
  9925. PREMIUMQUOTEMODE_AUTO = 1,
  9926. /// <summary>
  9927. /// 手动
  9928. /// </summary>
  9929. PREMIUMQUOTEMODE_MANUAL = 2
  9930. }
  9931. /// <summary>
  9932. // 商品期权类型
  9933. /// </summary>
  9934. public enum eGoodsOptionType {
  9935. /// <summary>
  9936. /// 认购
  9937. /// </summary>
  9938. GOODSOPTIONTYPE_CALL = 1,
  9939. /// <summary>
  9940. /// 认沽
  9941. /// </summary>
  9942. GOODSOPTIONTYPE_PUT = 2,
  9943. /// <summary>
  9944. /// 认购认沽
  9945. /// </summary>
  9946. GOODSOPTIONTYPE_CALL_PUT = 3
  9947. }
  9948. /// <summary>
  9949. // 可现货行权类型
  9950. /// </summary>
  9951. public enum eCanGoodsExerciseType {
  9952. /// <summary>
  9953. /// 认购
  9954. /// </summary>
  9955. CANGOODSEXERCISETYPE_CALL = 1,
  9956. /// <summary>
  9957. /// 认沽
  9958. /// </summary>
  9959. CANGOODSEXERCISETYPE_PUT = 2,
  9960. /// <summary>
  9961. /// 认购认沽
  9962. /// </summary>
  9963. CANGOODSEXERCISETYPE_CALL_PUT = 3
  9964. }
  9965. /// <summary>
  9966. // 权利金自动方式-挂牌期权
  9967. /// </summary>
  9968. public enum ePremiumAutoMode {
  9969. /// <summary>
  9970. /// 比率
  9971. /// </summary>
  9972. PREMIUMAUTOMODE_RATIO = 1,
  9973. /// <summary>
  9974. /// 固定
  9975. /// </summary>
  9976. PREMIUMAUTOMODE_FIXED = 2
  9977. }
  9978. /// <summary>
  9979. // 挂牌期权节点
  9980. /// </summary>
  9981. public enum eListingOptionNode {
  9982. /// <summary>
  9983. /// 委托撤单节点
  9984. /// </summary>
  9985. LISTINGOPTIONNODE_ORDER_CANCEL = 1,
  9986. /// <summary>
  9987. /// 结算价节点ID
  9988. /// </summary>
  9989. LISTINGOPTIONNODE_PRICE = 2,
  9990. /// <summary>
  9991. /// 确认行权明细生成节点
  9992. /// </summary>
  9993. LISTINGOPTIONNODE_CONFIRMEXERCISEDETAIL = 3,
  9994. /// <summary>
  9995. /// 冻结卖方货款节点
  9996. /// </summary>
  9997. LISTINGOPTIONNODE_FREESELLERPAYMENT = 4,
  9998. /// <summary>
  9999. /// 解冻买方货款节点
  10000. /// </summary>
  10001. LISTINGOPTIONNODE_UNFREEBUYERPAYMENT = 5,
  10002. /// <summary>
  10003. /// 确认行权平仓节点
  10004. /// </summary>
  10005. LISTINGOPTIONNODE_CONFIRMEXERCISECLOSE = 6,
  10006. /// <summary>
  10007. /// 资金划转节点
  10008. /// </summary>
  10009. LISTINGOPTIONNODE_CAPITALTRANSFER = 7,
  10010. /// <summary>
  10011. /// 违约处理节点
  10012. /// </summary>
  10013. LISTINGOPTIONNODE_BREACHHANDLE = 8,
  10014. /// <summary>
  10015. /// 履约节点
  10016. /// </summary>
  10017. LISTINGOPTIONNODE_PERFORMANCETRADE_APPLY = 9,
  10018. /// <summary>
  10019. /// 行权节点ID
  10020. /// </summary>
  10021. LISTINGOPTIONNODE_EXPIRE = 10,
  10022. /// <summary>
  10023. /// 持仓单备份节点ID
  10024. /// </summary>
  10025. LISTINGOPTIONNODE_HOLDERDETAIL_BACKUP = 11,
  10026. /// <summary>
  10027. /// 单据试算平衡节点ID
  10028. /// </summary>
  10029. LISTINGOPTIONNODE_ORDER_BALANCE_CALCULATE = 12,
  10030. /// <summary>
  10031. /// 持仓单处理节点
  10032. /// </summary>
  10033. LISTINGOPTIONNODE_HOLDERDETAIL_DEAL = 13,
  10034. /// <summary>
  10035. /// 交易分润节点
  10036. /// </summary>
  10037. LISTINGOPTIONNODE_SHARE_PROFIT = 14
  10038. }
  10039. /// <summary>
  10040. // 期权行权明细表-处理状态
  10041. /// </summary>
  10042. public enum eExerciseDetailStatus {
  10043. /// <summary>
  10044. /// 冻结卖方货款节点
  10045. /// </summary>
  10046. EXERCISEDETAIL_FREESELLERPAYMENT = 1,
  10047. /// <summary>
  10048. /// 解冻买方货款节点
  10049. /// </summary>
  10050. EXERCISEDETAIL_UNFREEBUYERPAYMENT = 2,
  10051. /// <summary>
  10052. /// 确认行权平仓
  10053. /// </summary>
  10054. EXERCISEDETAIL_CONFIRMEXERCISECLOSE = 3,
  10055. /// <summary>
  10056. /// 资金划转
  10057. /// </summary>
  10058. EXERCISEDETAIL_CAPITALTRANSFER = 4,
  10059. /// <summary>
  10060. /// 违约处理
  10061. /// </summary>
  10062. EXERCISEDETAIL_BREACHHANDLE = 5,
  10063. /// <summary>
  10064. /// 确认行权成功
  10065. /// </summary>
  10066. EXERCISEDETAIL_CONFIRMEXERCISESUCCESS = 6,
  10067. /// <summary>
  10068. /// 确认行权失败
  10069. /// </summary>
  10070. EXERCISEDETAIL_CONFIRMEXERCISEFAIL = 7,
  10071. /// <summary>
  10072. /// 违约行权
  10073. /// </summary>
  10074. EXERCISEDETAIL_BREACHEXERCISE = 8
  10075. }
  10076. /// <summary>
  10077. // 期权行权明细表-履约状态
  10078. /// </summary>
  10079. public enum eExercisePerformanceStatus {
  10080. /// <summary>
  10081. /// 未履约
  10082. /// </summary>
  10083. EXERCISEDETAIL_PERFORMANCE_WAIT = 1,
  10084. /// <summary>
  10085. /// 履约中
  10086. /// </summary>
  10087. EXERCISEDETAIL_PERFORMANCE_ING = 2,
  10088. /// <summary>
  10089. /// 履约完成
  10090. /// </summary>
  10091. EXERCISEDETAIL_PERFORMANCE_FINISH = 3
  10092. }
  10093. /// <summary>
  10094. // 期权成交对手方式
  10095. /// </summary>
  10096. public enum eTradeMatchMode {
  10097. /// <summary>
  10098. /// 经纪会员自接
  10099. /// </summary>
  10100. TRADEMATCHMODE_MEMBER = 1,
  10101. /// <summary>
  10102. /// 按对手关系
  10103. /// </summary>
  10104. TRADEMATCHMODE_RELATION = 2
  10105. }
  10106. /// <summary>
  10107. // 期权商品是否限制可售数量
  10108. /// </summary>
  10109. public enum eOptionQtyLimit {
  10110. /// <summary>
  10111. /// 不限制
  10112. /// </summary>
  10113. OPTIONQTYLIMIT_NOT_LIMITED = 0,
  10114. /// <summary>
  10115. /// 限制
  10116. /// </summary>
  10117. OPTIONQTYLIMIT_LIMITED = 1
  10118. }
  10119. /// <summary>
  10120. // 扩展成交类型
  10121. /// </summary>
  10122. public enum eMSTradeType {
  10123. /// <summary>
  10124. /// 买建仓
  10125. /// </summary>
  10126. MSTRADETYPE_BUY_OPEN = 1,
  10127. /// <summary>
  10128. /// 卖建仓
  10129. /// </summary>
  10130. MSTRADETYPE_SELL_OPEN = 2,
  10131. /// <summary>
  10132. /// 卖平仓
  10133. /// </summary>
  10134. MSTRADETYPE_SELL_CLOSE = 3,
  10135. /// <summary>
  10136. /// 买平仓
  10137. /// </summary>
  10138. MSTRADETYPE_BUY_CLOSE = 4
  10139. }
  10140. /// <summary>
  10141. // 是否存在买卖价
  10142. /// </summary>
  10143. public enum eIsExsitBidAskPrice {
  10144. /// <summary>
  10145. /// 不存在买卖价
  10146. /// </summary>
  10147. ISEXSITBIDASKPRICE_NO = 0,
  10148. /// <summary>
  10149. /// 存在买卖价
  10150. /// </summary>
  10151. ISEXSITBIDASKPRICE_YES = 1
  10152. }
  10153. /// <summary>
  10154. // 单据成交处理标志
  10155. /// </summary>
  10156. public enum eOrderTradeFlag {
  10157. /// <summary>
  10158. /// 初始化
  10159. /// </summary>
  10160. ORDERTRADEFLAG_INIT = 0,
  10161. /// <summary>
  10162. /// 成交处理
  10163. /// </summary>
  10164. ORDERTRADEFLAG_TRADEPROC = 1,
  10165. /// <summary>
  10166. /// 已成交
  10167. /// </summary>
  10168. ORDERTRADEFLAG_DEALED = 2
  10169. }
  10170. /// <summary>
  10171. // 是否预平仓
  10172. /// </summary>
  10173. public enum eIsPreCLose {
  10174. /// <summary>
  10175. /// 非预平仓
  10176. /// </summary>
  10177. ISPRECLOSE_NO = 0,
  10178. /// <summary>
  10179. /// 预平仓
  10180. /// </summary>
  10181. ISPRECLOSE_YES = 1
  10182. }
  10183. /// <summary>
  10184. // 今日是否平仓
  10185. /// </summary>
  10186. public enum eIsCloseToday {
  10187. /// <summary>
  10188. /// 今日能平仓
  10189. /// </summary>
  10190. ISCLOSETODAY_YES = 0,
  10191. /// <summary>
  10192. /// 今日不能平仓
  10193. /// </summary>
  10194. ISCLOSETODAY_NO = 1
  10195. }
  10196. /// <summary>
  10197. // 客户端类型是否允许登陆
  10198. /// </summary>
  10199. public enum eClientTypeLogin {
  10200. /// <summary>
  10201. /// 不允许
  10202. /// </summary>
  10203. CLIENTTYPELOGIN_NO = 0,
  10204. /// <summary>
  10205. /// 允许
  10206. /// </summary>
  10207. CLIENTTYPELOGIN_YES = 1
  10208. }
  10209. /// <summary>
  10210. // 挂牌期权盘中结算节点
  10211. /// </summary>
  10212. public enum eListingOptionTradeNode {
  10213. /// <summary>
  10214. /// 委托撤单节点
  10215. /// </summary>
  10216. LISTINGOPTIONTRADENODE_ORDER_CANCEL = 0,
  10217. /// <summary>
  10218. /// 结算价节点ID
  10219. /// </summary>
  10220. LISTINGOPTIONTRADENODE_PRICE = 1,
  10221. /// <summary>
  10222. /// 确认行权明细生成节点
  10223. /// </summary>
  10224. LISTINGOPTIONTRADENODE_CONFIRMEXERCISEDETAIL = 2,
  10225. /// <summary>
  10226. /// 冻结卖方货款节点
  10227. /// </summary>
  10228. LISTINGOPTIONTRADENODE_FREESELLERPAYMENT = 3,
  10229. /// <summary>
  10230. /// 解冻买方货款节点
  10231. /// </summary>
  10232. LISTINGOPTIONTRADENODE_UNFREEBUYERPAYMENT = 4,
  10233. /// <summary>
  10234. /// 确认行权平仓节点
  10235. /// </summary>
  10236. LISTINGOPTIONTRADENODE_CONFIRMEXERCISECLOSE = 5,
  10237. /// <summary>
  10238. /// 资金划转节点
  10239. /// </summary>
  10240. LISTINGOPTIONTRADENODE_CAPITALTRANSFER = 6,
  10241. /// <summary>
  10242. /// 违约处理节点
  10243. /// </summary>
  10244. LISTINGOPTIONTRADENODE_BREACHHANDLE = 7,
  10245. /// <summary>
  10246. /// 履约节点
  10247. /// </summary>
  10248. LISTINGOPTIONTRADENODE_PERFORMANCETRADE_APPLY = 8,
  10249. /// <summary>
  10250. /// 行权节点ID
  10251. /// </summary>
  10252. LISTINGOPTIONTRADENODE_EXPIRE = 9,
  10253. /// <summary>
  10254. /// 节点数量
  10255. /// </summary>
  10256. LISTINGOPTIONTRADENODE_NUM = 10
  10257. }
  10258. /// <summary>
  10259. // 是否允许多时段盘中行权
  10260. /// </summary>
  10261. public enum eCanMultiStageType {
  10262. /// <summary>
  10263. /// 不允许
  10264. /// </summary>
  10265. CANMULTISTAGE_NO = 0,
  10266. /// <summary>
  10267. /// 允许
  10268. /// </summary>
  10269. CANMULTISTAGE_YES = 1
  10270. }
  10271. /// <summary>
  10272. // 确认行权是否允许接收行情
  10273. /// </summary>
  10274. public enum eCanAcceptQuoteType {
  10275. /// <summary>
  10276. /// 不接收
  10277. /// </summary>
  10278. CANACCEPTQUOTE_NO = 0,
  10279. /// <summary>
  10280. /// 接收
  10281. /// </summary>
  10282. CANACCEPTQUOTE_YES = 1
  10283. }
  10284. /// <summary>
  10285. // 是否限制买量
  10286. /// </summary>
  10287. public enum eIsBuyLimited {
  10288. /// <summary>
  10289. /// 不限制
  10290. /// </summary>
  10291. ISBUYLIMITED_NO = 0,
  10292. /// <summary>
  10293. /// 限制
  10294. /// </summary>
  10295. ISBUYLIMITED_YES = 1
  10296. }
  10297. /// <summary>
  10298. // 履约资金类型
  10299. /// </summary>
  10300. public enum ePerformanceAmountType {
  10301. /// <summary>
  10302. /// 贷款
  10303. /// </summary>
  10304. AMOUNTTYPE_LOAN = 1,
  10305. /// <summary>
  10306. /// 违约处理
  10307. /// </summary>
  10308. AMOUNTTYPE_CONTRACTED = 2
  10309. }
  10310. /// <summary>
  10311. // 招标类型
  10312. /// </summary>
  10313. public enum eTenderType {
  10314. /// <summary>
  10315. /// 公开招标
  10316. /// </summary>
  10317. TENDERTYPE_OPENLY = 1,
  10318. /// <summary>
  10319. /// 制定招标
  10320. /// </summary>
  10321. TENDERTYPE_DESIGNATED = 2
  10322. }
  10323. /// <summary>
  10324. // 评分类型
  10325. /// </summary>
  10326. public enum eGradeType {
  10327. /// <summary>
  10328. /// 现场评分
  10329. /// </summary>
  10330. GRADETYPE_SITE = 1,
  10331. /// <summary>
  10332. /// 在线评分
  10333. /// </summary>
  10334. GRADETYPE_ONLINE = 2
  10335. }
  10336. /// <summary>
  10337. // 招标状态
  10338. /// </summary>
  10339. public enum eTenderStatus {
  10340. /// <summary>
  10341. /// 待确认
  10342. /// </summary>
  10343. TENDERSTATUS_WAIT_CONFIRM = 1,
  10344. /// <summary>
  10345. /// 招标中
  10346. /// </summary>
  10347. TENDERSTATUS_TENDERING = 10,
  10348. /// <summary>
  10349. /// 已开标
  10350. /// </summary>
  10351. TENDERSTATUS_OPENED = 20,
  10352. /// <summary>
  10353. /// 已评分
  10354. /// </summary>
  10355. TENDERSTATUS_GRADED = 30,
  10356. /// <summary>
  10357. /// 已确定
  10358. /// </summary>
  10359. TENDERSTATUS_CONFIRMED = 40,
  10360. /// <summary>
  10361. /// 公示中
  10362. /// </summary>
  10363. TENDERSTATUS_PUBLICATION = 50,
  10364. /// <summary>
  10365. /// 招标结束
  10366. /// </summary>
  10367. TENDERSTATUS_FINISH = 60,
  10368. /// <summary>
  10369. /// 确认拒绝
  10370. /// </summary>
  10371. TENDERSTATUS_CONFIRM_REJECT = 61,
  10372. /// <summary>
  10373. /// 流标
  10374. /// </summary>
  10375. TENDERSTATUS_ABORTIVE = 62,
  10376. /// <summary>
  10377. /// 已终止
  10378. /// </summary>
  10379. TENDERSTATUS_STOP = 63
  10380. }
  10381. /// <summary>
  10382. // 投标状态
  10383. /// </summary>
  10384. public enum eBidStatus {
  10385. /// <summary>
  10386. /// 已投标
  10387. /// </summary>
  10388. BIDSTATUS_TENDERED = 1,
  10389. /// <summary>
  10390. /// 已开标
  10391. /// </summary>
  10392. BIDSTATUS_OPENED = 10,
  10393. /// <summary>
  10394. /// 已评分
  10395. /// </summary>
  10396. BIDSTATUS_GRADED = 20,
  10397. /// <summary>
  10398. /// 未中标
  10399. /// </summary>
  10400. BIDSTATUS_LOSE = 30,
  10401. /// <summary>
  10402. /// 已中标
  10403. /// </summary>
  10404. BIDSTATUS_WIN = 31,
  10405. /// <summary>
  10406. /// 已终止
  10407. /// </summary>
  10408. BIDSTATUS_STOP = 32
  10409. }
  10410. /// <summary>
  10411. // 中标状态
  10412. /// </summary>
  10413. public enum eWinStatus {
  10414. /// <summary>
  10415. /// 待审核
  10416. /// </summary>
  10417. WINSTATUS_WAIT_AUDIT = 1,
  10418. /// <summary>
  10419. /// 公示中
  10420. /// </summary>
  10421. WINSTATUS_PUBLICATION = 20,
  10422. /// <summary>
  10423. /// 审核拒绝
  10424. /// </summary>
  10425. WINSTATUS_AUDIT_REJECT = 30,
  10426. /// <summary>
  10427. /// 已作废
  10428. /// </summary>
  10429. WINSTATUS_DISABLED = 31,
  10430. /// <summary>
  10431. /// 已中标
  10432. /// </summary>
  10433. WINSTATUS_WIN = 32,
  10434. /// <summary>
  10435. /// 已终止
  10436. /// </summary>
  10437. WINSTATUS_STOP = 33
  10438. }
  10439. /// <summary>
  10440. // 公示标志
  10441. /// </summary>
  10442. public enum eIsPublicity {
  10443. /// <summary>
  10444. /// 不公示
  10445. /// </summary>
  10446. ISPUBLICITY_NOT = 0,
  10447. /// <summary>
  10448. /// 公示
  10449. /// </summary>
  10450. ISPUBLICITY_YES = 1
  10451. }
  10452. /// <summary>
  10453. // 招投标审核状态
  10454. /// </summary>
  10455. public enum eTender_AuditStatus {
  10456. /// <summary>
  10457. /// 审核通过
  10458. /// </summary>
  10459. TENDER_AUDITSTATUS_PASS = 1,
  10460. /// <summary>
  10461. /// 审核拒绝
  10462. /// </summary>
  10463. TENDER_AUDITSTATUS_REJECT = 2
  10464. }
  10465. /// <summary>
  10466. // 招投标确认状态
  10467. /// </summary>
  10468. public enum eTender_ConfirmStatus {
  10469. /// <summary>
  10470. /// 确认通过
  10471. /// </summary>
  10472. TENDER_CONFIRMSTATUS_PASS = 1,
  10473. /// <summary>
  10474. /// 确认拒绝
  10475. /// </summary>
  10476. TENDER_CONFIRMSTATUS_REJECT = 2
  10477. }
  10478. /// <summary>
  10479. // 报价类型
  10480. /// </summary>
  10481. public enum eQuotePriceType {
  10482. /// <summary>
  10483. /// 不报价
  10484. /// </summary>
  10485. QUOTEPRICETYPE_NOT_QUOTEPRICE = 1,
  10486. /// <summary>
  10487. /// 手工报价
  10488. /// </summary>
  10489. QUOTEPRICETYPE_QUOTEPRICE = 2
  10490. }
  10491. /// <summary>
  10492. // 报量类型
  10493. /// </summary>
  10494. public enum eQuoteQtyType {
  10495. /// <summary>
  10496. /// 随机量
  10497. /// </summary>
  10498. QUOTEQTYTYPE_RAND_QTY = 1,
  10499. /// <summary>
  10500. /// 手工报量
  10501. /// </summary>
  10502. QUOTEQTYTYPE_MANUAL_QTY = 2,
  10503. /// <summary>
  10504. /// 沿用量
  10505. /// </summary>
  10506. QUOTEQTYTYPE_USE_OLDQTY = 3
  10507. }
  10508. /// <summary>
  10509. // 招标采购结算节点
  10510. /// </summary>
  10511. public enum eTenderReckonNode {
  10512. /// <summary>
  10513. /// 处理招标开标节点
  10514. /// </summary>
  10515. TENDERRECK_NODE_DEAL_TENDER_OPEN = 1,
  10516. /// <summary>
  10517. /// 处理招标公示节点
  10518. /// </summary>
  10519. TENDERRECK_NODE_DEAL_TENDER_PUBLICATION = 2,
  10520. /// <summary>
  10521. /// 试算平衡节点
  10522. /// </summary>
  10523. TENDERRECK_NODE_TENDER_CALCULATE = 3,
  10524. /// <summary>
  10525. /// 招投标分润节点
  10526. /// </summary>
  10527. TENDERRECK_NODE_SHAREPROFIT = 4
  10528. }
  10529. /// <summary>
  10530. // 报价操作类型
  10531. /// </summary>
  10532. public enum eQuoteOpType {
  10533. /// <summary>
  10534. /// 报价
  10535. /// </summary>
  10536. QUOTEOPTYPE_QUOTE = 1,
  10537. /// <summary>
  10538. /// 撤销报价
  10539. /// </summary>
  10540. QUOTEOPTYPE_CANCEL_QUOTE = 2
  10541. }
  10542. /// <summary>
  10543. // 报价是否撤销
  10544. /// </summary>
  10545. public enum eQuoteCancel {
  10546. /// <summary>
  10547. /// 未撤销
  10548. /// </summary>
  10549. QUOTECANCEL_NOT_CANCEL = 0,
  10550. /// <summary>
  10551. /// 已撤销
  10552. /// </summary>
  10553. QUOTECANCEL_CANCELED = 1
  10554. }
  10555. /// <summary>
  10556. // 报价冻结状态
  10557. /// </summary>
  10558. public enum eQuoteFreezeStatus {
  10559. /// <summary>
  10560. /// 无冻结
  10561. /// </summary>
  10562. QUOTEFREEZESTATUS_NO_FREEZE = 1,
  10563. /// <summary>
  10564. /// 已冻结
  10565. /// </summary>
  10566. QUOTEFREEZESTATUS_FREEZED = 2,
  10567. /// <summary>
  10568. /// 已解冻
  10569. /// </summary>
  10570. QUOTEFREEZESTATUS_UNFREEZED = 3,
  10571. /// <summary>
  10572. /// 冻结中
  10573. /// </summary>
  10574. QUOTEFREEZESTATUS_FREEZING = 4
  10575. }
  10576. /// <summary>
  10577. // 报价请求冻结类型
  10578. /// </summary>
  10579. public enum eQuoteFreezeReqType {
  10580. /// <summary>
  10581. /// 报价冻结
  10582. /// </summary>
  10583. QUOTEFREEZEREQTYPE_QUOTE = 1,
  10584. /// <summary>
  10585. /// 撤销报价解冻
  10586. /// </summary>
  10587. QUOTEQUOTEFREEZESTATUS_CANCEL = 2,
  10588. /// <summary>
  10589. /// 删除无效报价解冻
  10590. /// </summary>
  10591. QUOTEQUOTEFREEZESTATUS_DEL_INVALID_QUOTE = 3,
  10592. /// <summary>
  10593. /// 结算解冻
  10594. /// </summary>
  10595. QUOTEQUOTEFREEZESTATUS_RECK_UNFREEZE = 4,
  10596. /// <summary>
  10597. /// 开市重新冻结
  10598. /// </summary>
  10599. QUOTEQUOTEFREEZESTATUS_MARKET_OPEN_REFREEZE = 5
  10600. }
  10601. /// <summary>
  10602. // 对冲内盘委托状态
  10603. /// </summary>
  10604. public enum eChannelInnerOrderStatus {
  10605. /// <summary>
  10606. /// 委托请求
  10607. /// </summary>
  10608. INNERSTATUS_ORDERREQ = 1,
  10609. /// <summary>
  10610. /// 冻结成功
  10611. /// </summary>
  10612. INNERSTATUS_FREEZESUCC = 2,
  10613. /// <summary>
  10614. /// 委托失败
  10615. /// </summary>
  10616. INNERSTATUS_ORDERFAIL = 3,
  10617. /// <summary>
  10618. /// 委托部成部失败
  10619. /// </summary>
  10620. INNERSTATUS_PARTIAL_TRADE_FAIL = 4,
  10621. /// <summary>
  10622. /// 委托成功
  10623. /// </summary>
  10624. INNERSTATUS_ORDERSUCC = 5,
  10625. /// <summary>
  10626. /// 全部撤销
  10627. /// </summary>
  10628. INNERSTATUS_ALLCANCEL = 6,
  10629. /// <summary>
  10630. /// 部成部撤
  10631. /// </summary>
  10632. INNERSTATUS_PARTIAL_TRADE_CANCELED = 7,
  10633. /// <summary>
  10634. /// 部成部撤部失败
  10635. /// </summary>
  10636. INNERSTATUS_PARTIAL_TRADE_CANCELED_FAIL = 8,
  10637. /// <summary>
  10638. /// 全部成交
  10639. /// </summary>
  10640. INNERSTATUS_ALLTRADE = 9
  10641. }
  10642. /// <summary>
  10643. // 交易规则级别
  10644. /// </summary>
  10645. public enum eTradeRuleLevel {
  10646. /// <summary>
  10647. /// 全部
  10648. /// </summary>
  10649. TRADERULELEVEL_ALL = 1,
  10650. /// <summary>
  10651. /// 交易所级
  10652. /// </summary>
  10653. TRADERULELEVEL_EXCHANGE = 2,
  10654. /// <summary>
  10655. /// 品种级(商品组级)
  10656. /// </summary>
  10657. TRADERULELEVEL_GODOSGRUOP = 3,
  10658. /// <summary>
  10659. /// 合约级别(商品级)
  10660. /// </summary>
  10661. TRADERULELEVEL_GOODS = 4
  10662. }
  10663. /// <summary>
  10664. // 交易规则模板标识
  10665. /// </summary>
  10666. public enum eTradeRuleTmpID {
  10667. /// <summary>
  10668. /// 交易品种限制
  10669. /// </summary>
  10670. TRADERULETMPID_GOODS_LIMIT = 1001,
  10671. /// <summary>
  10672. /// 单笔最大下单量
  10673. /// </summary>
  10674. TRADERULETMPID_MAX_ORDERQTY = 1002,
  10675. /// <summary>
  10676. /// 最大持仓量
  10677. /// </summary>
  10678. TRADERULETMPID_MAX_HOLDERQTY = 1003,
  10679. /// <summary>
  10680. /// 只允许交易主力合约
  10681. /// </summary>
  10682. TRADERULETMPID_MAIN_CONTRACT = 1004,
  10683. /// <summary>
  10684. /// 风险率禁止交易
  10685. /// </summary>
  10686. TRADERULETMPID_TRADE_RISK_LIMIT = 1005,
  10687. /// <summary>
  10688. /// 涨跌停价禁止开仓
  10689. /// </summary>
  10690. TRADERULETMPID_LIMIT_PRICE_NOOPEN = 1006,
  10691. /// <summary>
  10692. /// 日内允许撤单上限
  10693. /// </summary>
  10694. TRADERULETMPID_TODAY_CANCEL_LIMIT = 1007,
  10695. /// <summary>
  10696. /// 日内涨跌停价允许撤单上限
  10697. /// </summary>
  10698. TRADERULETMPID_TODAY_PRICE_CANCEL_LIMIT = 1008,
  10699. /// <summary>
  10700. /// 日内大单允许撤单上限
  10701. /// </summary>
  10702. TRADERULETMPID_TODAY_BIG_CANCEL_LIMIT = 1009,
  10703. /// <summary>
  10704. /// 日内允许开仓上限
  10705. /// </summary>
  10706. TRADERULETMPID_TODAY_MAX_OPEN = 1010,
  10707. /// <summary>
  10708. /// 日内允许开仓次数限制
  10709. /// </summary>
  10710. TRADERULETMPID_TODAY_MAX_COUNT = 1011,
  10711. /// <summary>
  10712. /// 风险率通知/强平
  10713. /// </summary>
  10714. TRADERULETMPID_RISKRATE_NOTIFY_FORCECLOSE = 2001,
  10715. /// <summary>
  10716. /// 安全度通知/强平
  10717. /// </summary>
  10718. TRADERULETMPID_SAFERATE_NOTIFY_FORCECLOSE = 2002,
  10719. /// <summary>
  10720. /// 品种定时通知/强平
  10721. /// </summary>
  10722. TRADERULETMPID_GOODS_TIMEING_NOTIFY_FORCECLOSE = 2003,
  10723. /// <summary>
  10724. /// 保证金定时强平
  10725. /// </summary>
  10726. TRADERULETMPID_MARGIN_TIMEING_FORCECLOSE = 2004,
  10727. /// <summary>
  10728. /// 风险率定时强平
  10729. /// </summary>
  10730. TRADERULETMPID_RISKRATE_TIMEING_FORCECLOSE = 2005,
  10731. /// <summary>
  10732. /// 涨跌停价强平
  10733. /// </summary>
  10734. TRADERULETMPID_LIMIT_PRICE_FORCECLOSE = 2006,
  10735. /// <summary>
  10736. /// 合约到期通知
  10737. /// </summary>
  10738. TRADERULETMPID_GOODS_EXPRIED_NOTIFY = 2007,
  10739. /// <summary>
  10740. /// 合约到期禁止交易
  10741. /// </summary>
  10742. TRADERULETMPID_GOODS_EXPRIED_NOOPEN = 2008,
  10743. /// <summary>
  10744. /// 合约到期强平
  10745. /// </summary>
  10746. TRADERULETMPID_GOODS_EXPRIED_FORCECLOSE = 2009,
  10747. /// <summary>
  10748. /// 安全度禁止交易
  10749. /// </summary>
  10750. TRADERULETMPID_TRADE_SAFETY_LIMIT = 2010
  10751. }
  10752. /// <summary>
  10753. // 交易规则建平仓限制标志
  10754. /// </summary>
  10755. public enum eTradeRuleOpenCloseFlag {
  10756. /// <summary>
  10757. /// 不禁止
  10758. /// </summary>
  10759. TRADERULE_OPENCLOSE_FLAG_NOLIMIT = 0,
  10760. /// <summary>
  10761. /// 禁止
  10762. /// </summary>
  10763. TRADERULE_OPENCLOSE_FLAG_LIMIT = 1
  10764. }
  10765. /// <summary>
  10766. // 外盘撤单处理状态
  10767. /// </summary>
  10768. public enum eChannelOutCancelStatus {
  10769. /// <summary>
  10770. /// 接收报文
  10771. /// </summary>
  10772. OUTCANCELSTATUS_RECVMSG = 1,
  10773. /// <summary>
  10774. /// 发送报文成功
  10775. /// </summary>
  10776. OUTCANCELSTATUS_SENDSUCC = 2,
  10777. /// <summary>
  10778. /// 撤单成功
  10779. /// </summary>
  10780. OUTCANCELSTATUS_CANCELSUCC = 3,
  10781. /// <summary>
  10782. /// 撤单失败
  10783. /// </summary>
  10784. OUTCANCELSTATUS_CANCELFAIL = 4
  10785. }
  10786. /// <summary>
  10787. // 账户风控禁止交易状态
  10788. /// </summary>
  10789. public enum eAccountRiskTradeStatus {
  10790. /// <summary>
  10791. /// 禁开
  10792. /// </summary>
  10793. ACCOUNTRISKTRADESTATUS_LIMIT_OPEN = 1,
  10794. /// <summary>
  10795. /// 禁开禁平
  10796. /// </summary>
  10797. ACCOUNTRISKTRADESTATUS_LIMIT_OPEN_AND_CLOSE = 2,
  10798. /// <summary>
  10799. /// 禁平
  10800. /// </summary>
  10801. ACCOUNTRISKTRADESTATUS_LIMIT_CLOSE = 3
  10802. }
  10803. /// <summary>
  10804. // 通道下单类型
  10805. /// </summary>
  10806. public enum eChannelBuildType
  10807. {
  10808. /// <summary>
  10809. /// --
  10810. /// </summary>
  10811. Domain_No = -1,
  10812. /// <summary>
  10813. /// 建仓
  10814. /// </summary>
  10815. CHANNELBUILDTYPE_OPEN = 1,
  10816. /// <summary>
  10817. /// 平仓
  10818. /// </summary>
  10819. CHANNELBUILDTYPE_CLOSE = 2,
  10820. /// <summary>
  10821. /// 自动开平
  10822. /// </summary>
  10823. EntrustOrderFrame_Auto_Open_Close = 3
  10824. }
  10825. /// <summary>
  10826. // 操作类型
  10827. /// </summary>
  10828. public enum eChannelOperateType {
  10829. /// <summary>
  10830. /// 正常下单
  10831. /// </summary>
  10832. CHANNELOPERATETYPE_ORDER = 1,
  10833. /// <summary>
  10834. /// 斩仓
  10835. /// </summary>
  10836. CHANNELOPERATETYPE_RISK = 2,
  10837. /// <summary>
  10838. /// 交易下单
  10839. /// </summary>
  10840. CHANNELOPERATETYPE_TRADE = 3,
  10841. /// <summary>
  10842. /// 人工核单
  10843. /// </summary>
  10844. CHANNELOPERATETYPE_OUTSIDE_MANUAL = 4,
  10845. /// <summary>
  10846. /// 止盈止损
  10847. /// </summary>
  10848. CHANNELOPERATETYPE_SPSL = 5,
  10849. /// <summary>
  10850. /// API跟单委托
  10851. /// </summary>
  10852. CHANNELOPERATETYPE_API = 6,
  10853. /// <summary>
  10854. /// 托管下单
  10855. /// </summary>
  10856. CHANNELOPERATETYPE_TRUSTEE = 7
  10857. }
  10858. /// <summary>
  10859. // 委托来源
  10860. /// </summary>
  10861. public enum eChannelOrderSrc {
  10862. /// <summary>
  10863. /// 客户端
  10864. /// </summary>
  10865. CHANNELORDERSRC_CLIENT = 1,
  10866. /// <summary>
  10867. /// 风控服务
  10868. /// </summary>
  10869. CHANNELORDERSRC_RISK = 2,
  10870. /// <summary>
  10871. /// 管理端
  10872. /// </summary>
  10873. CHANNELORDERSRC_MANAGE = 3,
  10874. /// <summary>
  10875. /// 对冲平台
  10876. /// </summary>
  10877. CHANNELORDERSRC_MHP = 4,
  10878. /// <summary>
  10879. /// 交易服务
  10880. /// </summary>
  10881. CHANNELORDERSRC_TRADE = 5,
  10882. /// <summary>
  10883. /// 跟单服务
  10884. /// </summary>
  10885. CHANNELORDERSRC_PROGRAMMATIC = 6
  10886. }
  10887. /// <summary>
  10888. // 强平价格方式
  10889. /// </summary>
  10890. public enum eClosePriceMode {
  10891. /// <summary>
  10892. /// 市价
  10893. /// </summary>
  10894. CLOSEPRICEMODE_MARKET = 1,
  10895. /// <summary>
  10896. /// 最新价
  10897. /// </summary>
  10898. CLOSEPRICEMODE_LAST = 2,
  10899. /// <summary>
  10900. /// 涨跌停价
  10901. /// </summary>
  10902. CLOSEPRICEMODE_LIMIT = 3
  10903. }
  10904. /// <summary>
  10905. // 交易配置操作类型
  10906. /// </summary>
  10907. public enum eTradeConfigOperateType {
  10908. /// <summary>
  10909. /// 增加
  10910. /// </summary>
  10911. TRADECONFIGOPERATETYPE_ADD = 1,
  10912. /// <summary>
  10913. /// 删除
  10914. /// </summary>
  10915. TRADECONFIGOPERATETYPE_DEL = 2,
  10916. /// <summary>
  10917. /// 修改
  10918. /// </summary>
  10919. TRADECONFIGOPERATETYPE_UPDATE = 3
  10920. }
  10921. /// <summary>
  10922. // 交易规则修改类型
  10923. /// </summary>
  10924. public enum eTradeRuleChangeType {
  10925. /// <summary>
  10926. /// 风控规则
  10927. /// </summary>
  10928. TRADERULECHANGETYPE_RULE = 1,
  10929. /// <summary>
  10930. /// 风控规则组
  10931. /// </summary>
  10932. TRADERULECHANGETYPE_RULEGROUP = 2
  10933. }
  10934. /// <summary>
  10935. // 交易模板类型
  10936. /// </summary>
  10937. public enum eTradeTemplateType {
  10938. /// <summary>
  10939. /// 保证金模板
  10940. /// </summary>
  10941. TRADETEMPLATETYPE_MARGIN = 1,
  10942. /// <summary>
  10943. /// 费用模板
  10944. /// </summary>
  10945. TRADETEMPLATETYPE_FEE = 2,
  10946. /// <summary>
  10947. /// 汇率模板
  10948. /// </summary>
  10949. TRADETEMPLATETYPE_RATE = 3
  10950. }
  10951. /// <summary>
  10952. // 撤单状态
  10953. /// </summary>
  10954. public enum eCancelStatus {
  10955. /// <summary>
  10956. /// 接收报文
  10957. /// </summary>
  10958. CANCELSTATUS_RECVMSG = 1,
  10959. /// <summary>
  10960. /// 发送报文成功
  10961. /// </summary>
  10962. CANCELSTATUS_SENDSUCC = 2,
  10963. /// <summary>
  10964. /// 撤单成功
  10965. /// </summary>
  10966. CANCELSTATUS_CANCELSUCC = 3,
  10967. /// <summary>
  10968. /// 撤单失败
  10969. /// </summary>
  10970. CANCELSTATUS_CANCELFAIL = 4
  10971. }
  10972. /// <summary>
  10973. // 通道交易市场待开市日志表状态
  10974. /// </summary>
  10975. public enum eHedgeMarketOpenLogStatus {
  10976. /// <summary>
  10977. /// 待开市
  10978. /// </summary>
  10979. MARKETOPENSTATUS_PENDING = 1,
  10980. /// <summary>
  10981. /// 开市
  10982. /// </summary>
  10983. MARKETOPENSTATUS_OPEN = 2,
  10984. /// <summary>
  10985. /// 手工休市
  10986. /// </summary>
  10987. MARKETOPENSTATUS_PAUSE_MANUAL = 4,
  10988. /// <summary>
  10989. /// 闭市
  10990. /// </summary>
  10991. MARKETOPENSTATUS_CLOSE = 5,
  10992. /// <summary>
  10993. /// 日终处理开始
  10994. /// </summary>
  10995. MARKETOPENSTATUS_DAYEND_PROCESSING = 10,
  10996. /// <summary>
  10997. /// 日终处理成功
  10998. /// </summary>
  10999. MARKETOPENSTATUS_DAYEND_SUCCESS = 11,
  11000. /// <summary>
  11001. /// 日终处理失败
  11002. /// </summary>
  11003. MARKETOPENSTATUS_DAYEND_FAILED = 12
  11004. }
  11005. /// <summary>
  11006. // 内部撤单处理状态
  11007. /// </summary>
  11008. public enum eChannelInnerHandleStatus {
  11009. /// <summary>
  11010. /// 待处理
  11011. /// </summary>
  11012. INNERHANDLESTATUS_WAIT = 1,
  11013. /// <summary>
  11014. /// 处理成功
  11015. /// </summary>
  11016. INNERHANDLESTATUS_SUCCESS = 2,
  11017. /// <summary>
  11018. /// 处理失败
  11019. /// </summary>
  11020. INNERHANDLESTATUS_FAIL = 3
  11021. }
  11022. /// <summary>
  11023. // 通道交易结算节点ID
  11024. /// </summary>
  11025. public enum eChannelReckonNodeID {
  11026. /// <summary>
  11027. /// 结算价节点ID
  11028. /// </summary>
  11029. CHANNELRECKNODEID_RECK_PRICE = 1,
  11030. /// <summary>
  11031. /// 母账号单据校验节点
  11032. /// </summary>
  11033. CHANNELRECKNODEID_PARENTACCOUNT_CHECK = 2,
  11034. /// <summary>
  11035. /// 委托单撤单处理节点
  11036. /// </summary>
  11037. CHANNELRECKNODEID_ORDER_CANCEL = 3,
  11038. /// <summary>
  11039. /// 持仓单处理节点
  11040. /// </summary>
  11041. CHANNELRECKNODEID_HEDGE_INNERHOLDERDETAIL_DEAL = 4,
  11042. /// <summary>
  11043. /// 交易分润节点
  11044. /// </summary>
  11045. CHANNELRECKNODEID_SHARE_PROFIT = 5,
  11046. /// <summary>
  11047. /// 断开下单平台链路
  11048. /// </summary>
  11049. CHANNELRECKNODEID_CLOSE_CHANNEL = 6,
  11050. /// <summary>
  11051. /// 锁仓认购到期节点
  11052. /// </summary>
  11053. CHANNELRECKNODEID_LOCKORDER_EXPIRED = 7,
  11054. /// <summary>
  11055. /// 场外委托单撤单处理节点
  11056. /// </summary>
  11057. CHANNELRECKNODEID_CANCEL_ORDER = 8,
  11058. /// <summary>
  11059. /// 止盈止损到期处理节点
  11060. /// </summary>
  11061. CHANNELRECKNODEID_SPSL_EXPIRED = 9
  11062. }
  11063. /// <summary>
  11064. // 对冲服务业务类型
  11065. /// </summary>
  11066. public enum eMhpBussniessType {
  11067. /// <summary>
  11068. /// 无业务
  11069. /// </summary>
  11070. BT_NULL = 0,
  11071. /// <summary>
  11072. /// 委托单
  11073. /// </summary>
  11074. BT_ORDER = 1,
  11075. /// <summary>
  11076. /// 撤单
  11077. /// </summary>
  11078. BT_CANCELORDER = 2,
  11079. /// <summary>
  11080. /// 成交单
  11081. /// </summary>
  11082. BT_TRADE = 3,
  11083. /// <summary>
  11084. /// 资金
  11085. /// </summary>
  11086. BT_AMOUNT = 4,
  11087. /// <summary>
  11088. /// 头寸
  11089. /// </summary>
  11090. BT_POSTION = 5,
  11091. /// <summary>
  11092. /// 开市查询动作:保证金查询
  11093. /// </summary>
  11094. BT_QRYACCMARGIN = 6,
  11095. /// <summary>
  11096. /// 开市查询动作:交易所币种转换汇率查询
  11097. /// </summary>
  11098. BT_QRYCURRENCYEXCHRATE = 7,
  11099. /// <summary>
  11100. /// 开市查询动作:查询外部手续费
  11101. /// </summary>
  11102. BT_QRYACCFEERENT = 8
  11103. }
  11104. /// <summary>
  11105. // 风控触发操作类型
  11106. /// </summary>
  11107. public enum eTriggerOperate {
  11108. /// <summary>
  11109. /// 禁止开仓
  11110. /// </summary>
  11111. TRIGGER_LIMITOPEN = 1,
  11112. /// <summary>
  11113. /// 禁止平仓
  11114. /// </summary>
  11115. TRIGGER_LIMITCLOSE = 2,
  11116. /// <summary>
  11117. /// 撤销委托
  11118. /// </summary>
  11119. TRIGGER_CANCELORDER = 3,
  11120. /// <summary>
  11121. /// 风控通知
  11122. /// </summary>
  11123. TRIGGER_NOTIFY = 4,
  11124. /// <summary>
  11125. /// 风控强平
  11126. /// </summary>
  11127. TRIGGER_FORCECLOSE = 5,
  11128. /// <summary>
  11129. /// 禁止撤单
  11130. /// </summary>
  11131. TRIGGER_LIMITCANCEL = 6
  11132. }
  11133. /// <summary>
  11134. // 是否关联内部委托单
  11135. /// </summary>
  11136. public enum eHasInnerOrderFlag {
  11137. /// <summary>
  11138. /// 无
  11139. /// </summary>
  11140. HASINNERORDER_NO = 0,
  11141. /// <summary>
  11142. /// 有
  11143. /// </summary>
  11144. HASINNERORDER_YES = 1
  11145. }
  11146. /// <summary>
  11147. // 是否已发送
  11148. /// </summary>
  11149. public enum eIsSend {
  11150. /// <summary>
  11151. /// 发送成功
  11152. /// </summary>
  11153. ISSEND_SENDSUCC = 1,
  11154. /// <summary>
  11155. /// 未发送
  11156. /// </summary>
  11157. ISSEND_NO = 2,
  11158. /// <summary>
  11159. /// 发送失败
  11160. /// </summary>
  11161. ISSEND_SENDFAIL = 3
  11162. }
  11163. /// <summary>
  11164. // 成交单检查状态
  11165. /// </summary>
  11166. public enum eHedgeTradeCheckStatus {
  11167. /// <summary>
  11168. /// 交易缺失
  11169. /// </summary>
  11170. HEDGETRADECHECK_TRADEMISS = 1,
  11171. /// <summary>
  11172. /// 数据不一致
  11173. /// </summary>
  11174. HEDGETRADECHECK_DATAMISS = 2,
  11175. /// <summary>
  11176. /// 平台缺失
  11177. /// </summary>
  11178. HEDGETRADECHECK_MHPPLATMISS = 3
  11179. }
  11180. /// <summary>
  11181. // 对冲外部成交检查表处理状态
  11182. /// </summary>
  11183. public enum eReckonHedgeOutCheckHandleStatus {
  11184. /// <summary>
  11185. /// 未处理
  11186. /// </summary>
  11187. RECKONHEDGEOUTCHECK_UNHANDLE = 1,
  11188. /// <summary>
  11189. /// 处理失败
  11190. /// </summary>
  11191. RECKONHEDGEOUTCHECK_HANDLEFAIL = 2,
  11192. /// <summary>
  11193. /// 处理成功
  11194. /// </summary>
  11195. RECKONHEDGEOUTCHECK_HANDLESUCC = 3,
  11196. /// <summary>
  11197. /// 正确数据不需要调整
  11198. /// </summary>
  11199. RECKONHEDGEOUTCHECK_SUCCDATA = 4
  11200. }
  11201. /// <summary>
  11202. // 预埋单触发类型
  11203. /// </summary>
  11204. public enum ePrePosTriggerType {
  11205. /// <summary>
  11206. /// 最新成交价
  11207. /// </summary>
  11208. PREPOS_TRIGGERTYPE_LAST = 1,
  11209. /// <summary>
  11210. /// 买一价
  11211. /// </summary>
  11212. PREPOS_TRIGGERTYPE_BID = 2,
  11213. /// <summary>
  11214. /// 卖一价
  11215. /// </summary>
  11216. PREPOS_TRIGGERTYPE_ASK = 3
  11217. }
  11218. /// <summary>
  11219. // 节分成点类型
  11220. /// </summary>
  11221. public enum eDivideNodeType {
  11222. /// <summary>
  11223. /// 会员组
  11224. /// </summary>
  11225. DIVIDENODETYPE_MEMBERGROUP = 1,
  11226. /// <summary>
  11227. /// 机构
  11228. /// </summary>
  11229. DIVIDENODETYPE_AREA = 2
  11230. }
  11231. /// <summary>
  11232. // 渠道交易Mhp处理状态
  11233. /// </summary>
  11234. public enum eMhpHandleStatus {
  11235. /// <summary>
  11236. /// 登陆Mhp成功
  11237. /// </summary>
  11238. MHPHANDLESTATUS_LOGININSUCC = 1,
  11239. /// <summary>
  11240. /// 登陆Mhp失败
  11241. /// </summary>
  11242. MHPHANDLESTATUS_LOGININFAIL = 2,
  11243. /// <summary>
  11244. /// 登出Mhp
  11245. /// </summary>
  11246. MHPHANDLESTATUS_LOGINOUT = 3
  11247. }
  11248. /// <summary>
  11249. // 系统分润模式
  11250. /// </summary>
  11251. public enum eSystemShareProfitMode {
  11252. /// <summary>
  11253. /// 固定模式
  11254. /// </summary>
  11255. SYSTEM_SHAREPROFITMODE_FIXED = 1,
  11256. /// <summary>
  11257. /// 树形模式
  11258. /// </summary>
  11259. SYSTEM_SHAREPROFITMODE_TREEFROM = 2
  11260. }
  11261. /// <summary>
  11262. // 交易授信标志
  11263. /// </summary>
  11264. public enum eTradeCreditFlag {
  11265. /// <summary>
  11266. /// 不授信
  11267. /// </summary>
  11268. TRADE_CREDITFLAG_NO = 0,
  11269. /// <summary>
  11270. /// 授信
  11271. /// </summary>
  11272. TRADE_CREDITFLAG_YES = 1
  11273. }
  11274. /// <summary>
  11275. // 成交类型
  11276. /// </summary>
  11277. public enum eChannelTradeType {
  11278. /// <summary>
  11279. /// 正常委托成交
  11280. /// </summary>
  11281. CHANNELTRADETYPE_NORMAL_ORDER = 1,
  11282. /// <summary>
  11283. /// 风控斩仓成交
  11284. /// </summary>
  11285. CHANNELTRADETYPE_CUT_RISK_ORDER = 2,
  11286. /// <summary>
  11287. /// 修正持仓成交
  11288. /// </summary>
  11289. CHANNELTRADETYPE_AMENDHOLDER_ORDER = 3,
  11290. /// <summary>
  11291. /// 管理端斩仓成交
  11292. /// </summary>
  11293. CHANNELTRADETYPE_CUT_MANAGE_ORDER = 4,
  11294. /// <summary>
  11295. /// 锁仓赠送成交
  11296. /// </summary>
  11297. CHANNELTRADETYPE_LOCK_ORDER = 5,
  11298. /// <summary>
  11299. /// 认购赠送成交
  11300. /// </summary>
  11301. CHANNELTRADETYPE_BUY_ORDER = 6,
  11302. /// <summary>
  11303. /// 场外手动成交
  11304. /// </summary>
  11305. CHANNELTRADETYPE_OUTSIDE_MANUAL = 7,
  11306. /// <summary>
  11307. /// API跟单成交
  11308. /// </summary>
  11309. CHANNELTRADETYPE_API = 8
  11310. }
  11311. /// <summary>
  11312. // 交割协议平仓价格类型
  11313. /// </summary>
  11314. public enum eDeliveryPriceType {
  11315. /// <summary>
  11316. /// 交割平仓建仓价
  11317. /// </summary>
  11318. DELIVERY_CLOSE_OPENPRICE = 0,
  11319. /// <summary>
  11320. /// 交割平仓指定价
  11321. /// </summary>
  11322. DELIVERY_CLOSE_SPECIFYRICE = 1
  11323. }
  11324. /// <summary>
  11325. // 分成费用类型
  11326. /// </summary>
  11327. public enum eDivideFeeType {
  11328. /// <summary>
  11329. /// 1:交易手续费(101,102, 201, 202)(会员部分)
  11330. /// </summary>
  11331. DIVIDEFEETYPE_MEMBER_TRADECHARGE = 1,
  11332. /// <summary>
  11333. /// 2:交易手续费(301,302)(交易所部分)
  11334. /// </summary>
  11335. DIVIDEFEETYPE_EXCHANGE_TRADECHARGE = 2,
  11336. /// <summary>
  11337. /// 3:过夜费(110-过夜费(利息))(交易所投资者部分)
  11338. /// </summary>
  11339. DIVIDEFEETYPE_EXCHANGE_INTERESTCHARGE = 3,
  11340. /// <summary>
  11341. /// 3:过夜费(110-过夜费(利息))(交易所会员部分)
  11342. /// </summary>
  11343. DIVIDEFEETYPE_EXCHANGE_MEMBER_INTERESTCHARGE = 4,
  11344. /// <summary>
  11345. /// 交易手续费-会员交易所部分(301,302)
  11346. /// </summary>
  11347. DIVIDEFEETYPE_EXCHANGE_MEMBER_TRADECHARGE = 5,
  11348. /// <summary>
  11349. /// 交割手续费-投资者会员部分 (205,206)
  11350. /// </summary>
  11351. DIVIDEFEETYPE_INVESTOR_MEMBER_DELIVERYCHARGE = 6,
  11352. /// <summary>
  11353. /// 交割手续费-投资者交易所部分(305,306)
  11354. /// </summary>
  11355. DIVIDEFEETYPE_INVESTOR_EXCHANGE_DELIVERYCHARGE = 7,
  11356. /// <summary>
  11357. /// 交割手续费-会员交易所部分(305,306)
  11358. /// </summary>
  11359. DIVIDEFEETYPE_EXCHANGE_MEMBER_DELIVERYCHARGE = 8,
  11360. /// <summary>
  11361. /// 递延费2-投资者会员部分 (211,212)
  11362. /// </summary>
  11363. DIVIDEFEETYPE_INVESTOR_MEMBER_DEFERCHARGE = 9,
  11364. /// <summary>
  11365. /// 递延费2-投资者交易所部分(311,312)
  11366. /// </summary>
  11367. DIVIDEFEETYPE_INVESTOR_EXCHANGE_DEFERCHARGE = 10,
  11368. /// <summary>
  11369. /// 递延费2-会员交易所部分(311,312)
  11370. /// </summary>
  11371. DIVIDEFEETYPE_EXCHANGE_MEMBER_DEFERCHARGE = 11,
  11372. /// <summary>
  11373. /// 开户奖励费
  11374. /// </summary>
  11375. DIVIDEFEETYPE_OPENACCOUNT = 12,
  11376. /// <summary>
  11377. /// 入金奖励费
  11378. /// </summary>
  11379. DIVIDEFEETYPE_DEPOSIT = 13,
  11380. /// <summary>
  11381. /// 普通净创收
  11382. /// </summary>
  11383. DIVIDEFEETYPE_NORMAL = 14,
  11384. /// <summary>
  11385. /// 信用净创收
  11386. /// </summary>
  11387. DIVIDEFEETYPE_CREDIT = 15,
  11388. /// <summary>
  11389. /// 期权净创收
  11390. /// </summary>
  11391. DIVIDEFEETYPE_OPTION = 16
  11392. }
  11393. /// <summary>
  11394. // 交割价格规则
  11395. /// </summary>
  11396. public enum eDeliveryPriceRule {
  11397. /// <summary>
  11398. /// 行情价
  11399. /// </summary>
  11400. DELIVERYPRICERULE_QUOTEPRICE = 1,
  11401. /// <summary>
  11402. /// 建仓价
  11403. /// </summary>
  11404. DELIVERYPRICERULE_OPENPRICE = 2
  11405. }
  11406. /// <summary>
  11407. // 配送状态对应表TakeDeliveryDistributeInfo
  11408. /// </summary>
  11409. public enum eDistributeStatus {
  11410. /// <summary>
  11411. /// 待审核
  11412. /// </summary>
  11413. DISTRIBUTESTATUS_PENDING = 0,
  11414. /// <summary>
  11415. /// 待输入
  11416. /// </summary>
  11417. DISTRIBUTESTATUS_INPUTING = 1,
  11418. /// <summary>
  11419. /// 待确认
  11420. /// </summary>
  11421. DISTRIBUTESTATUS_ACKING = 2,
  11422. /// <summary>
  11423. /// 确认拒绝
  11424. /// </summary>
  11425. DISTRIBUTESTATUS_REFUSE = 3,
  11426. /// <summary>
  11427. /// 已确认
  11428. /// </summary>
  11429. DISTRIBUTESTATUS_ACKED = 4,
  11430. /// <summary>
  11431. /// 已发布
  11432. /// </summary>
  11433. DISTRIBUTESTATUS_PUBLISHED = 5,
  11434. /// <summary>
  11435. /// 已支付
  11436. /// </summary>
  11437. DISTRIBUTESTATUS_PAYED = 6,
  11438. /// <summary>
  11439. /// 已撤销
  11440. /// </summary>
  11441. DISTRIBUTESTATUS_CANCLE = 7,
  11442. /// <summary>
  11443. /// 发布失败
  11444. /// </summary>
  11445. DISTRIBUTESTATUS_PUBLISHED_FAIL = 8
  11446. }
  11447. /// <summary>
  11448. // 费用交易类型
  11449. /// </summary>
  11450. public enum eFeeTradeType {
  11451. /// <summary>
  11452. /// 投资者自营
  11453. /// </summary>
  11454. FEETRADETYPE_INVESTOR = 1,
  11455. /// <summary>
  11456. /// 做市
  11457. /// </summary>
  11458. FEETRADETYPE_MARKETMAKE = 2
  11459. }
  11460. /// <summary>
  11461. // 内部交易费用
  11462. /// </summary>
  11463. public enum eTradeFeeEx {
  11464. /// <summary>
  11465. /// 会员建仓(买)手续费
  11466. /// </summary>
  11467. TRADEFEEEX_MEMBEROPENCHARGE = 201,
  11468. /// <summary>
  11469. /// 会员平仓(卖)手续费
  11470. /// </summary>
  11471. TRADEFEEEX_MEMBERCLOSECHARGE = 202,
  11472. /// <summary>
  11473. /// 会员买交割手续费
  11474. /// </summary>
  11475. TRADEFEEEX_MEMBERBUYDELIVERYCHARGE = 205,
  11476. /// <summary>
  11477. /// 会员卖交割手续费
  11478. /// </summary>
  11479. TRADEFEEEX_MEMBERSELLDELIVERYCHARGE = 206,
  11480. /// <summary>
  11481. /// 会员买递延费2
  11482. /// </summary>
  11483. TRADEFEEEX_MEMBERBUYDEFERCHARGE = 211,
  11484. /// <summary>
  11485. /// 会员卖递延费2
  11486. /// </summary>
  11487. TRADEFEEEX_MEMBERSELLDEFERCHARGE = 212,
  11488. /// <summary>
  11489. /// 交易所建仓(买)手续费
  11490. /// </summary>
  11491. TRADEFEEEX_EXCHOPENCHARGE = 301,
  11492. /// <summary>
  11493. /// 交易所平仓(卖)手续费
  11494. /// </summary>
  11495. TRADEFEEEX_EXCHCLOSECHARGE = 302,
  11496. /// <summary>
  11497. /// 交易所买交割手续费
  11498. /// </summary>
  11499. TRADEFEEEX_EXCHBUYDELIVERYCHARGE = 305,
  11500. /// <summary>
  11501. /// 交易所卖交割手续费
  11502. /// </summary>
  11503. TRADEFEEEX_EXCHSELLDELIVERYCHARGE = 306,
  11504. /// <summary>
  11505. /// 交易所买递延费2
  11506. /// </summary>
  11507. TRADEFEEEX_EXCHBUYDEFERCHARGE = 311,
  11508. /// <summary>
  11509. /// 交易所卖递延费2
  11510. /// </summary>
  11511. TRADEFEEEX_EXCHSELLDEFERCHARGE = 312
  11512. }
  11513. /// <summary>
  11514. // 数据库价格金额整数保存标志
  11515. /// </summary>
  11516. public enum eDbIntegerSave {
  11517. /// <summary>
  11518. /// 否-数据库存小数
  11519. /// </summary>
  11520. DB_INTEGER_SAVE_NO = 0,
  11521. /// <summary>
  11522. /// 是-数据库存整数
  11523. /// </summary>
  11524. DB_INTEGER_SAVE_YES = 1
  11525. }
  11526. /// <summary>
  11527. // 是否议价标志
  11528. /// </summary>
  11529. public enum eWRTradeCanBarGain {
  11530. /// <summary>
  11531. /// 挂牌不可议价;摘牌非议价
  11532. /// </summary>
  11533. CANBARGAIN_NO = 0,
  11534. /// <summary>
  11535. /// 挂牌可议价;摘牌是议价
  11536. /// </summary>
  11537. CANBARGAIN_YES = 1
  11538. }
  11539. /// <summary>
  11540. // 仓单贸易议价申请状态
  11541. /// </summary>
  11542. public enum eWRTradeBargainApplyStatus {
  11543. /// <summary>
  11544. /// 待确认
  11545. /// </summary>
  11546. BARGAINAPPLYSTATUS_PENDING = 1,
  11547. /// <summary>
  11548. /// 已确认
  11549. /// </summary>
  11550. BARGAINAPPLYSTATUS_CONFIRMED = 2,
  11551. /// <summary>
  11552. /// 已拒绝
  11553. /// </summary>
  11554. BARGAINAPPLYSTATUS_REJECTED = 3,
  11555. /// <summary>
  11556. /// 已撤销
  11557. /// </summary>
  11558. BARGAINAPPLYSTATUS_CANCEL = 4,
  11559. /// <summary>
  11560. /// 系统撤销
  11561. /// </summary>
  11562. BARGAINAPPLYSTATUS_SYSCANCEL = 5,
  11563. /// <summary>
  11564. /// 处理失败
  11565. /// </summary>
  11566. BARGAINAPPLYSTATUS_FAILED = 6
  11567. }
  11568. /// <summary>
  11569. // 账户服务操作子指令类型
  11570. /// </summary>
  11571. public enum eAccountCmdOp {
  11572. /// <summary>
  11573. /// 资金冻结
  11574. /// </summary>
  11575. ACCOUNTCMDOP_TA_FREEZE = 2000,
  11576. /// <summary>
  11577. /// 资金最大冻结
  11578. /// </summary>
  11579. ACCOUNTCMDOP_TA_MAX_FREEZE = 2001,
  11580. /// <summary>
  11581. /// 资金解冻
  11582. /// </summary>
  11583. ACCOUNTCMDOP_TA_UNFREEZE = 2002,
  11584. /// <summary>
  11585. /// 资金增加
  11586. /// </summary>
  11587. ACCOUNTCMDOP_TA_INCREASE = 2003,
  11588. /// <summary>
  11589. /// 资金减少
  11590. /// </summary>
  11591. ACCOUNTCMDOP_TA_DECREASE = 2004,
  11592. /// <summary>
  11593. /// 资金最大减少
  11594. /// </summary>
  11595. ACCOUNTCMDOP_TA_MAX_DECREASE = 2005,
  11596. /// <summary>
  11597. /// 头寸冻结
  11598. /// </summary>
  11599. ACCOUNTCMDOP_TRADE_POS_FREEZE = 2100,
  11600. /// <summary>
  11601. /// 头寸最大冻结
  11602. /// </summary>
  11603. ACCOUNTCMDOP_POS_MAX_FREEZE = 2101,
  11604. /// <summary>
  11605. /// 头寸解冻
  11606. /// </summary>
  11607. ACCOUNTCMDOP_POS_UNFREEZE = 2102,
  11608. /// <summary>
  11609. /// 头寸增加
  11610. /// </summary>
  11611. ACCOUNTCMDOP_POS_INCREASE = 2103,
  11612. /// <summary>
  11613. /// 头寸减少
  11614. /// </summary>
  11615. ACCOUNTCMDOP_POS_DECREASE = 2104,
  11616. /// <summary>
  11617. /// 头寸最大减少
  11618. /// </summary>
  11619. ACCOUNTCMDOP_POS_MAX_DECREASE = 2105,
  11620. /// <summary>
  11621. /// 头寸持仓金额增加
  11622. /// </summary>
  11623. ACCOUNTCMDOP_POS_AMOUNT_INCREASE = 2106,
  11624. /// <summary>
  11625. /// 头寸持仓金额减少
  11626. /// </summary>
  11627. ACCOUNTCMDOP_POS_AMOUNT_DECREASE = 2107,
  11628. /// <summary>
  11629. /// T+N头寸冻结
  11630. /// </summary>
  11631. ACCOUNTCMDOP_POS_TN_FREEZE = 2108,
  11632. /// <summary>
  11633. /// T+N头寸最大冻结
  11634. /// </summary>
  11635. ACCOUNTCMDOP_POS_TN_MAX_FREEZE = 2109,
  11636. /// <summary>
  11637. /// T+N头寸解冻
  11638. /// </summary>
  11639. ACCOUNTCMDOP_POS_TN_UNFREEZE = 2110,
  11640. /// <summary>
  11641. /// T+N头寸增加(T4)
  11642. /// </summary>
  11643. ACCOUNTCMDOP_POS_TN_INCREASE = 2111,
  11644. /// <summary>
  11645. /// T+N头寸减少(T4)
  11646. /// </summary>
  11647. ACCOUNTCMDOP_POS_TN_DECREASE = 2112,
  11648. /// <summary>
  11649. /// T+N头寸成交
  11650. /// </summary>
  11651. ACCOUNTCMDOP_POS_TN_DEAL = 2113,
  11652. /// <summary>
  11653. /// 仓单头寸冻结
  11654. /// </summary>
  11655. ACCOUNTCMDOP_WRPOS_FREEZE = 2200,
  11656. /// <summary>
  11657. /// 仓单头寸最大冻结
  11658. /// </summary>
  11659. ACCOUNTCMDOP_WRPOS_MAX_FREEZE = 2201,
  11660. /// <summary>
  11661. /// 仓单头寸解冻
  11662. /// </summary>
  11663. ACCOUNTCMDOP_WRPOS_UNFREEZE = 2202,
  11664. /// <summary>
  11665. /// 仓单头寸增加
  11666. /// </summary>
  11667. ACCOUNTCMDOP_WRPOS_INCREASE = 2203,
  11668. /// <summary>
  11669. /// 仓单头寸减少
  11670. /// </summary>
  11671. ACCOUNTCMDOP_WRPOS_DECREASE = 2204,
  11672. /// <summary>
  11673. /// 仓单头寸最大减少
  11674. /// </summary>
  11675. ACCOUNTCMDOP_WRPOS_MAX_DECREASE = 2205,
  11676. /// <summary>
  11677. /// 订单仓单头寸总数量增加--仓单转订单时同时发出
  11678. /// </summary>
  11679. ACCOUNTCMDOP_WRPOS_TRWRPOS_INCREASE = 2206,
  11680. /// <summary>
  11681. /// 订单仓单头寸总数量减少--订单转仓单时同时发出
  11682. /// </summary>
  11683. ACCOUNTCMDOP_WRPOS_TRWRPOS_DECREASE = 2207,
  11684. /// <summary>
  11685. /// 订单仓单头寸冻结
  11686. /// </summary>
  11687. ACCOUNTCMDOP_TRWRPOS_FREEZE = 2300,
  11688. /// <summary>
  11689. /// 订单仓单头寸最大冻结
  11690. /// </summary>
  11691. ACCOUNTCMDOP_TRWRPOS_MAX_FREEZE = 2301,
  11692. /// <summary>
  11693. /// 订单仓单头寸解冻
  11694. /// </summary>
  11695. ACCOUNTCMDOP_TRWRPOS_UNFREEZE = 2302,
  11696. /// <summary>
  11697. /// 订单仓单头寸增加
  11698. /// </summary>
  11699. ACCOUNTCMDOP_TRWRPOS_INCREASE = 2303,
  11700. /// <summary>
  11701. /// 订单仓单头寸减少
  11702. /// </summary>
  11703. ACCOUNTCMDOP_TRWRPOS_DECREASE = 2304,
  11704. /// <summary>
  11705. /// 订单仓单头寸最大减少
  11706. /// </summary>
  11707. ACCOUNTCMDOP_TRWRPOS_MAX_DECREASE = 2305,
  11708. /// <summary>
  11709. /// 积分冻结
  11710. /// </summary>
  11711. ACCOUNTCMDOP_SCORE_FREEZE = 2400,
  11712. /// <summary>
  11713. /// 积分最大冻结
  11714. /// </summary>
  11715. ACCOUNTCMDOP_SCORE_MAX_FREEZE = 2401,
  11716. /// <summary>
  11717. /// 积分解冻
  11718. /// </summary>
  11719. ACCOUNTCMDOP_SCORE_UNFREEZE = 2402,
  11720. /// <summary>
  11721. /// 积分增加
  11722. /// </summary>
  11723. ACCOUNTCMDOP_SCORE_INCREASE = 2403,
  11724. /// <summary>
  11725. /// 积分减少
  11726. /// </summary>
  11727. ACCOUNTCMDOP_SCORE_DECREASE = 2404,
  11728. /// <summary>
  11729. /// 积分最大减少
  11730. /// </summary>
  11731. ACCOUNTCMDOP_SCORE_MAX_DECREASE = 2405,
  11732. /// <summary>
  11733. /// 积分代扣(积分服务商)
  11734. /// </summary>
  11735. ACCOUNTCMDOP_SCORE_WITHHOLD = 2406,
  11736. /// <summary>
  11737. /// 期权建仓
  11738. /// </summary>
  11739. ACCOUNTCMDOP_OPTION_OPEN = 2500,
  11740. /// <summary>
  11741. /// 期权行权
  11742. /// </summary>
  11743. ACCOUNTCMDOP_OPTION_EXERCISE = 2501,
  11744. /// <summary>
  11745. /// 期权对冲
  11746. /// </summary>
  11747. ACCOUNTCMDOP_OPTION_HEDGE = 2502,
  11748. /// <summary>
  11749. /// 机构手续费科目 -- 2201科目
  11750. /// </summary>
  11751. ACCOUNTCMDOP_SUBJECT_AREAFEE = 9000,
  11752. /// <summary>
  11753. /// 履约扣款科目 -- 2202科目
  11754. /// </summary>
  11755. ACCOUNTCMDOP_SUBJECT_PERDEDUCT = 9001,
  11756. /// <summary>
  11757. /// 商城扣款科目 -- 2203科目
  11758. /// </summary>
  11759. ACCOUNTCMDOP_SUBJECT_MALLDEDUCT = 9002,
  11760. /// <summary>
  11761. /// 其它金额科目增加 -- 2299科目
  11762. /// </summary>
  11763. ACCOUNTCMDOP_SUBJECT_OTHERAMOUNT = 9003,
  11764. /// <summary>
  11765. /// 交易所手续费科目增加 -- 3301科目
  11766. /// </summary>
  11767. ACCOUNTCMDOP_SUBJECT_EXCHANGFEE = 9004,
  11768. /// <summary>
  11769. /// 汇率换算科目增加 -- 3302科目
  11770. /// </summary>
  11771. ACCOUNTCMDOP_SUBJECT_RATE = 9005,
  11772. /// <summary>
  11773. /// 交易所违约收入科目增加 -- 3303科目
  11774. /// </summary>
  11775. ACCOUNTCMDOP_SUBJECT_EXBREACHINCOME = 9006,
  11776. /// <summary>
  11777. /// 商城代扣(积分)科目增加 -- 4201科目
  11778. /// </summary>
  11779. ACCOUNTCMDOP_SUBJECT_MALLWITHHOLD = 9007,
  11780. /// <summary>
  11781. /// 交易授信科目增加 -- 4202科目
  11782. /// </summary>
  11783. ACCOUNTCMDOP_SUBJECT_TRADECREDIT = 9008
  11784. }
  11785. /// <summary>
  11786. // 市场运行变更类型
  11787. /// </summary>
  11788. public enum eMarketRunChangeType {
  11789. /// <summary>
  11790. /// 市场运行状态变更
  11791. /// </summary>
  11792. MARKETRUN_CHANGETYPE_STATUS = 1,
  11793. /// <summary>
  11794. /// 市场运行阶段变更
  11795. /// </summary>
  11796. MARKETRUN_CHANGETYPE_STEP = 2,
  11797. /// <summary>
  11798. /// 市场运行未变更
  11799. /// </summary>
  11800. MARKETRUN_CHANGETYPE_NONE = 3
  11801. }
  11802. /// <summary>
  11803. // 操作资金类型
  11804. /// </summary>
  11805. public enum eOpAmountType {
  11806. /// <summary>
  11807. /// 占用保证金
  11808. /// </summary>
  11809. OPAMOUNTTYPE_OCCUPY = 1,
  11810. /// <summary>
  11811. /// 其他冻结保证金
  11812. /// </summary>
  11813. OPAMOUNTTYPE_OTHER_FREEZE = 2,
  11814. /// <summary>
  11815. /// 手续费
  11816. /// </summary>
  11817. OPAMOUNTTYPE_FEE = 3,
  11818. /// <summary>
  11819. /// 授信金额
  11820. /// </summary>
  11821. OPAMOUNTTYPE_CREDIT = 4,
  11822. /// <summary>
  11823. /// 其它授信金额
  11824. /// </summary>
  11825. OPAMOUNTTYPE_OTHER_CREDIT = 5,
  11826. /// <summary>
  11827. /// 出金冻结
  11828. /// </summary>
  11829. OPAMOUNTTYPE_WITHDRAW_FREEZE = 6,
  11830. /// <summary>
  11831. /// 平仓盈亏
  11832. /// </summary>
  11833. OPAMOUNTTYPE_PROFIT_LOSS = 7,
  11834. /// <summary>
  11835. /// 划转金额
  11836. /// </summary>
  11837. OPAMOUNTTYPE_TRANSFER_AMOUNT = 8,
  11838. /// <summary>
  11839. /// 其他收入支出
  11840. /// </summary>
  11841. OPAMOUNTTYPE_OTHERINCOME_OR_OTHERPAY = 9,
  11842. /// <summary>
  11843. /// 出入金
  11844. /// </summary>
  11845. OPAMOUNTTYPE_DEPOSIT_OR_WITHDRAW = 10,
  11846. /// <summary>
  11847. /// 三方出入金
  11848. /// </summary>
  11849. OPAMOUNTTYPE_THIRD_DEPOSIT_OR_WITHDRAW = 11,
  11850. /// <summary>
  11851. /// 冻结保证金
  11852. /// </summary>
  11853. OPAMOUNTTYPE_FREEZE = 12,
  11854. /// <summary>
  11855. /// 递延费
  11856. /// </summary>
  11857. OPAMOUNTTYPE_DEFERRED_FEE = 13,
  11858. /// <summary>
  11859. /// 持仓过夜费
  11860. /// </summary>
  11861. OPAMOUNTTYPE_INTEREST_FEE = 14,
  11862. /// <summary>
  11863. /// 调期费
  11864. /// </summary>
  11865. OPAMOUNTTYPE_SWAP_FEE = 15,
  11866. /// <summary>
  11867. /// 利息
  11868. /// </summary>
  11869. OPAMOUNTTYPE_INTERESTCHARGE_FEE = 16,
  11870. /// <summary>
  11871. /// 结算盈亏
  11872. /// </summary>
  11873. OPAMOUNTTYPE_SETTLE_PROFIT_LOSS = 17,
  11874. /// <summary>
  11875. /// 交易所费用科目
  11876. /// </summary>
  11877. OPAMOUNTTYPE_EXCHANGE_SUBJECT = 20
  11878. }
  11879. /// <summary>
  11880. // 操作头寸类型
  11881. /// </summary>
  11882. public enum eOpPositionType {
  11883. /// <summary>
  11884. /// 头寸
  11885. /// </summary>
  11886. OPPOSITIONTYPE_POS = 1,
  11887. /// <summary>
  11888. /// 持仓金额
  11889. /// </summary>
  11890. OPPOSITIONTYPE_HOLDAMOUNT = 2,
  11891. /// <summary>
  11892. /// 其他头寸
  11893. /// </summary>
  11894. OPPOSITIONTYPE_OTHER_POS = 3,
  11895. /// <summary>
  11896. /// 净头寸
  11897. /// </summary>
  11898. OPPOSITIONTYPE_NET_POS = 4,
  11899. /// <summary>
  11900. /// 委托
  11901. /// </summary>
  11902. OPPOSITIONTYPE_ORDER_POS = 5
  11903. }
  11904. /// <summary>
  11905. // 管理端个性化通知类型
  11906. /// </summary>
  11907. public enum eAccountConfigChangeNtfType {
  11908. /// <summary>
  11909. /// 风控变更
  11910. /// </summary>
  11911. ACCOUNTCONFIGCHANGENTFTYPE_RISK = 1,
  11912. /// <summary>
  11913. /// 投资者分组变更
  11914. /// </summary>
  11915. ACCOUNTCONFIGCHANGENTFTYPE_USERGROUP = 2,
  11916. /// <summary>
  11917. /// 投资者分组个性化变更
  11918. /// </summary>
  11919. ACCOUNTCONFIGCHANGENTFTYPE_USERGROUP_IND = 3,
  11920. /// <summary>
  11921. /// 账户个性化变更
  11922. /// </summary>
  11923. ACCOUNTCONFIGCHANGENTFTYPE_ACCOUNT_IND = 4
  11924. }
  11925. /// <summary>
  11926. // 检查类型
  11927. /// </summary>
  11928. public enum eChecked {
  11929. /// <summary>
  11930. /// 未核对
  11931. /// </summary>
  11932. CHECKED_NO = 0,
  11933. /// <summary>
  11934. /// 已核对
  11935. /// </summary>
  11936. CHECKED_YES = 1
  11937. }
  11938. /// <summary>
  11939. // 发送状态
  11940. /// </summary>
  11941. public enum eSendStatus {
  11942. /// <summary>
  11943. /// 待发送
  11944. /// </summary>
  11945. SENDSATUS_WAIT = 1,
  11946. /// <summary>
  11947. /// 发送成功
  11948. /// </summary>
  11949. SENDSATUS_SEND = 2
  11950. }
  11951. /// <summary>
  11952. // 商品报价类型
  11953. /// </summary>
  11954. public enum eGoodsQuoteType {
  11955. /// <summary>
  11956. /// 直接报价
  11957. /// </summary>
  11958. GOODSQUOTETYPE_DIRECT = 1,
  11959. /// <summary>
  11960. /// 间接报价
  11961. /// </summary>
  11962. GOODSQUOTETYPE_INDIRECT = 2
  11963. }
  11964. /// <summary>
  11965. // 竞拍场次保证金表参与状态
  11966. /// </summary>
  11967. public enum eJoinStatusType {
  11968. /// <summary>
  11969. /// 不可参与
  11970. /// </summary>
  11971. JOINSTATUSTYPE_YES = 0,
  11972. /// <summary>
  11973. /// 可参与
  11974. /// </summary>
  11975. JOINSTATUSTYPE_NO = 1
  11976. }
  11977. /// <summary>
  11978. // 竞拍场次状态
  11979. /// </summary>
  11980. public enum eAcutionGroupStatus {
  11981. /// <summary>
  11982. /// 未开始
  11983. /// </summary>
  11984. ACUTIONGROUPSTATUS_NOTBEGIN = 1,
  11985. /// <summary>
  11986. /// 已开始
  11987. /// </summary>
  11988. ACUTIONGROUPSTATUS_BIDING = 2,
  11989. /// <summary>
  11990. /// 已结束
  11991. /// </summary>
  11992. ACUTIONGROUPSTATUS_OVER = 3
  11993. }
  11994. /// <summary>
  11995. // 系统结算操作类型
  11996. /// </summary>
  11997. public enum eSystemRekconOperateType {
  11998. /// <summary>
  11999. /// 市场结算结果更新
  12000. /// </summary>
  12001. SYSTEMRECKON_OPERATETYPE_MARKET_RRECKON_RESULT_UPDATED = 1,
  12002. /// <summary>
  12003. /// 银行清算开始
  12004. /// </summary>
  12005. SYSTEMRECKON_OPERATETYPE_BANK_SETTLE_BEGIN = 2
  12006. }
  12007. /// <summary>
  12008. // 市场结算结果更新类型
  12009. /// </summary>
  12010. public enum eMarketReckonResultType {
  12011. /// <summary>
  12012. /// 市场结算成功
  12013. /// </summary>
  12014. MATKET_RECKON_RESULT_TYPE_SUCCESS = 1,
  12015. /// <summary>
  12016. /// 控制服务删除市场结算记录
  12017. /// </summary>
  12018. MATKET_RECKON_RESULT_TYPE_DELETE_RECORD = 2,
  12019. /// <summary>
  12020. /// 管理端手动发起结算
  12021. /// </summary>
  12022. MATKET_RECKON_RESULT_TYPE_MANUAL = 3
  12023. }
  12024. /// <summary>
  12025. // 市场结算标志
  12026. /// </summary>
  12027. public enum eMarketReckonFlag {
  12028. /// <summary>
  12029. /// 未开始
  12030. /// </summary>
  12031. MATKET_RECKON_FLAG_INIT = 1,
  12032. /// <summary>
  12033. /// 结算成功
  12034. /// </summary>
  12035. MATKET_RECKON_FLAG_SUCCESS = 2,
  12036. /// <summary>
  12037. /// 结算失败
  12038. /// </summary>
  12039. MATKET_RECKON_FLAG_FAILED = 3
  12040. }
  12041. /// <summary>
  12042. // 现货类权限类型
  12043. /// </summary>
  12044. public enum eSpotRightType {
  12045. /// <summary>
  12046. /// 可挂可摘
  12047. /// </summary>
  12048. SPOT_RIGHT_TYPE_ALL = 1,
  12049. /// <summary>
  12050. /// 可挂
  12051. /// </summary>
  12052. SPOT_RIGHT_TYPE_SELL = 2,
  12053. /// <summary>
  12054. /// 可摘
  12055. /// </summary>
  12056. SPOT_RIGHT_TYPE_BUY = 3
  12057. }
  12058. /// <summary>
  12059. // 履约计划是否确认溢短
  12060. /// </summary>
  12061. public enum ePerformancePlanExpressFeeConfirmed {
  12062. /// <summary>
  12063. /// 没有
  12064. /// </summary>
  12065. NO_EXPRESSFEECONFIRM = 0,
  12066. /// <summary>
  12067. /// 买方确认
  12068. /// </summary>
  12069. BUYER_EXPRESSFEECONFIRM = 1,
  12070. /// <summary>
  12071. /// 卖方确认
  12072. /// </summary>
  12073. SELLER_EXPRESSFEECONFIRM = 2
  12074. }
  12075. /// <summary>
  12076. // 分润方式
  12077. /// </summary>
  12078. public enum eDivideMode {
  12079. /// <summary>
  12080. /// 统一分
  12081. /// </summary>
  12082. DIVIDEMODE_UNIFIED = 1,
  12083. /// <summary>
  12084. /// 逐级分
  12085. /// </summary>
  12086. DIVIDEMODE_CASCADE = 2
  12087. }
  12088. /// <summary>
  12089. // 渠道账号状态
  12090. /// </summary>
  12091. public enum eChannelAccountStatus {
  12092. /// <summary>
  12093. /// 可买入可卖出
  12094. /// </summary>
  12095. CHANNELACCOUNT_OPEN_CLOSE = 1,
  12096. /// <summary>
  12097. /// 可卖出不可买入
  12098. /// </summary>
  12099. CHANNELACCOUNT_CLOSE = 2
  12100. }
  12101. /// <summary>
  12102. // 付款状态
  12103. /// </summary>
  12104. public enum ePayStatus {
  12105. /// <summary>
  12106. /// 待审核
  12107. /// </summary>
  12108. PAYSTATUS_PENDING = 1,
  12109. /// <summary>
  12110. /// 待付款
  12111. /// </summary>
  12112. PAYSTATUS_STAY_PAYMENT = 2,
  12113. /// <summary>
  12114. /// 已付款
  12115. /// </summary>
  12116. PAYSTATUS_PAID = 3,
  12117. /// <summary>
  12118. /// 待复审
  12119. /// </summary>
  12120. PAYSTATUS_PENDING_REAUDIT = 4
  12121. }
  12122. /// <summary>
  12123. // 交易所账户变更明细状态
  12124. /// </summary>
  12125. public enum eExchAccChangeDetailStatus {
  12126. /// <summary>
  12127. /// 初始化
  12128. /// </summary>
  12129. EXCHACC_CHANGESTATUS_INIT = 1,
  12130. /// <summary>
  12131. /// 已生成
  12132. /// </summary>
  12133. EXCHACC_CHANGESTATUS_GENERATED = 2,
  12134. /// <summary>
  12135. /// 已发送
  12136. /// </summary>
  12137. EXCHACC_CHANGESTATUS_SENDED = 3,
  12138. /// <summary>
  12139. /// 未响应
  12140. /// </summary>
  12141. EXCHACC_CHANGESTATUS_NOANSWER = 4,
  12142. /// <summary>
  12143. /// 已成功
  12144. /// </summary>
  12145. EXCHACC_CHANGESTATUS_SUCCESS = 5
  12146. }
  12147. /// <summary>
  12148. // 交割商品类型
  12149. /// </summary>
  12150. public enum eDeliveryGoodsType {
  12151. /// <summary>
  12152. /// 整装
  12153. /// </summary>
  12154. DELIVERYGOODS_ASSEMBLY = 1,
  12155. /// <summary>
  12156. /// 散装
  12157. /// </summary>
  12158. DELIVERYGOODS_BULK = 2
  12159. }
  12160. /// <summary>
  12161. // 提货计划状态
  12162. /// </summary>
  12163. public enum eTakePlanStatus {
  12164. /// <summary>
  12165. /// 待审核
  12166. /// </summary>
  12167. TAKE_PLAN_STATUS_INACTIVE = 1,
  12168. /// <summary>
  12169. /// 审核中
  12170. /// </summary>
  12171. TAKE_PLAN_STATUS_AUDITING = 2,
  12172. /// <summary>
  12173. /// 审核拒绝
  12174. /// </summary>
  12175. TAKE_PLAN_STATUS_REJECTED = 3,
  12176. /// <summary>
  12177. /// 提货完成
  12178. /// </summary>
  12179. TAKE_PLAN_STATUS_FINISH = 4,
  12180. /// <summary>
  12181. /// 部分提货
  12182. /// </summary>
  12183. TAKE_PLAN_STATUS_PART_TAKE = 5,
  12184. /// <summary>
  12185. /// 审核通过
  12186. /// </summary>
  12187. TAKE_PLAN_STATUS_PASS = 6,
  12188. /// <summary>
  12189. /// 已撤销
  12190. /// </summary>
  12191. TAKE_PLAN_STATUS_CANCELLED = 7,
  12192. /// <summary>
  12193. /// 审核失败
  12194. /// </summary>
  12195. TAKE_PLAN_STATUS_FAILED = 8
  12196. }
  12197. /// <summary>
  12198. // 仓单贸易合同状态
  12199. /// </summary>
  12200. public enum eWRTradeContractStatus {
  12201. /// <summary>
  12202. /// 未提货
  12203. /// </summary>
  12204. WR_TRADE_CONTRACT_NOT_TAKE = 1,
  12205. /// <summary>
  12206. /// 已提货
  12207. /// </summary>
  12208. WR_TRADE_CONTRACT_TAKE = 2,
  12209. /// <summary>
  12210. /// 已结束
  12211. /// </summary>
  12212. WR_TRADE_CONTRACT_END = 3,
  12213. /// <summary>
  12214. /// 履约中
  12215. /// </summary>
  12216. WR_TRADE_CONTRACT_PERFORMANCE_HANDING = 4,
  12217. /// <summary>
  12218. /// 履约完成
  12219. /// </summary>
  12220. WR_TRADE_CONTRACT_PERFORMANCE_END = 5
  12221. }
  12222. /// <summary>
  12223. // 成交方式
  12224. /// </summary>
  12225. public enum eDealMode {
  12226. /// <summary>
  12227. /// 净头寸
  12228. /// </summary>
  12229. DEALMODE_NETPOS = 1,
  12230. /// <summary>
  12231. /// 开平
  12232. /// </summary>
  12233. DEALMODE_OPENCLOSE = 2,
  12234. /// <summary>
  12235. /// 平今
  12236. /// </summary>
  12237. DEALMODE_CLOSETODAY = 3
  12238. }
  12239. /// <summary>
  12240. // 场外期权交易结算节点ID
  12241. /// </summary>
  12242. public enum eOTCOptionReckonNodeID {
  12243. /// <summary>
  12244. /// 结算价节点
  12245. /// </summary>
  12246. OTCOPTIONRECKNODEID_RECK_PRICE = 1,
  12247. /// <summary>
  12248. /// 持仓单同步节点
  12249. /// </summary>
  12250. OTCOPTIONRECKNODEID_SYNCHOLDER = 2,
  12251. /// <summary>
  12252. /// 委托同步节点
  12253. /// </summary>
  12254. OTCOPTIONRECKNODEID_SYNCORDER = 3,
  12255. /// <summary>
  12256. /// 行权同步节点
  12257. /// </summary>
  12258. OTCOPTIONRECKNODEID_SYNCEXERCISE = 4,
  12259. /// <summary>
  12260. /// 撤单节点
  12261. /// </summary>
  12262. OTCOPTIONRECKNODEID_CANCEL = 5,
  12263. /// <summary>
  12264. /// 单据试算平衡节点ID
  12265. /// </summary>
  12266. OTCOPTIONRECKNODEID_ORDER_BALANCE_CALCULATE = 6,
  12267. /// <summary>
  12268. /// 交易分润节点
  12269. /// </summary>
  12270. OTCOPTIONRECKNODEID_SHARE_PROFIT = 7
  12271. }
  12272. /// <summary>
  12273. // 合同状态
  12274. /// </summary>
  12275. public enum eContractStatus {
  12276. /// <summary>
  12277. /// 未生效
  12278. /// </summary>
  12279. WR_CONTRACT_STATUS_NOT = 0,
  12280. /// <summary>
  12281. /// 已生效
  12282. /// </summary>
  12283. WR_CONTRACT_STATUS_FORCE = 1,
  12284. /// <summary>
  12285. /// 生效中
  12286. /// </summary>
  12287. WR_CONTRACT_STATUS_ING = 2,
  12288. /// <summary>
  12289. /// 生效失败
  12290. /// </summary>
  12291. WR_CONTRACT_STATUS_FAILED = 3
  12292. }
  12293. /// <summary>
  12294. // 合同类型
  12295. /// </summary>
  12296. public enum eContractType {
  12297. /// <summary>
  12298. /// 采购合同
  12299. /// </summary>
  12300. WR_CONTRACT_TYPE_BUY = 1,
  12301. /// <summary>
  12302. /// 销售合同
  12303. /// </summary>
  12304. WR_CONTRACT_TYPE_SELL = 2
  12305. }
  12306. /// <summary>
  12307. // 敞口风险级别
  12308. /// </summary>
  12309. public enum eExposureRiskLevel {
  12310. /// <summary>
  12311. /// 正常
  12312. /// </summary>
  12313. EXPOSURE_RISK_LEVEL_NORMAL = 0,
  12314. /// <summary>
  12315. /// 不正常
  12316. /// </summary>
  12317. EXPOSURE_RISK_LEVEL_ABNORMAL = 1
  12318. }
  12319. /// <summary>
  12320. // 统计结算节点
  12321. /// </summary>
  12322. public enum eErmsReckonNode {
  12323. /// <summary>
  12324. /// 仓单市值计算节点
  12325. /// </summary>
  12326. ERMSRECKONNODE_WRPOSITION = 1,
  12327. /// <summary>
  12328. /// 账户统计节点
  12329. /// </summary>
  12330. ERMSRECKONNODE_TAACCOUNT = 2,
  12331. /// <summary>
  12332. /// 生成报表节点
  12333. /// </summary>
  12334. ERMSRECKONNODE_GEN_REPORT = 3
  12335. }
  12336. /// <summary>
  12337. // 场外期权行权类型
  12338. /// </summary>
  12339. public enum eOTCOptionExerciseType {
  12340. /// <summary>
  12341. /// 欧式期权
  12342. /// </summary>
  12343. OTCOPTION_EXERCISETYPE_EU = 1,
  12344. /// <summary>
  12345. /// 美式期权型
  12346. /// </summary>
  12347. OTCOPTION_EXERCISETYPE_AU = 2
  12348. }
  12349. /// <summary>
  12350. // 清算结果
  12351. /// </summary>
  12352. public enum eSettleResult {
  12353. /// <summary>
  12354. /// 清算开始
  12355. /// </summary>
  12356. SETTLERESULT_BEGIN = 1,
  12357. /// <summary>
  12358. /// 清算部分成功
  12359. /// </summary>
  12360. SETTLERESULT_PARTIALSUCCESS = 2,
  12361. /// <summary>
  12362. /// 清算全部成功
  12363. /// </summary>
  12364. SETTLERESULT_SUCCESS = 3
  12365. }
  12366. /// <summary>
  12367. // 通道母账号状态
  12368. /// </summary>
  12369. public enum eHedgeAccountType {
  12370. /// <summary>
  12371. /// 下单母账号
  12372. /// </summary>
  12373. HEDGEACCOUNTTYPE_NORMAL = 1,
  12374. /// <summary>
  12375. /// 跟单母账号
  12376. /// </summary>
  12377. HEDGEACCOUNTTYPE_PROGRAMMATIC = 2
  12378. }
  12379. /// <summary>
  12380. // 交货模式
  12381. /// </summary>
  12382. public enum ePerformanceWay {
  12383. /// <summary>
  12384. /// 履约计划
  12385. /// </summary>
  12386. PERFORMANCEWAY_PALN_PERFORMANCE = 1,
  12387. /// <summary>
  12388. /// 分步履约
  12389. /// </summary>
  12390. PERFORMANCEWAY_STEP_PERFORMANCE = 2,
  12391. /// <summary>
  12392. /// 分步提货
  12393. /// </summary>
  12394. PERFORMANCEWAY_STEP_TAKE = 3
  12395. }
  12396. /// <summary>
  12397. // 合同执行方式
  12398. /// </summary>
  12399. public enum eContractExecuteMode {
  12400. /// <summary>
  12401. /// 顺序执行
  12402. /// </summary>
  12403. EXECUTEMODE_ORDER = 1,
  12404. /// <summary>
  12405. /// 交叉执行
  12406. /// </summary>
  12407. EXECUTEMODE_CROSS = 2
  12408. }
  12409. /// <summary>
  12410. // 执行方
  12411. /// </summary>
  12412. public enum eContractExecuteSide {
  12413. /// <summary>
  12414. /// 买方
  12415. /// </summary>
  12416. EXECUTESIDE_BUY = 1,
  12417. /// <summary>
  12418. /// 卖方
  12419. /// </summary>
  12420. EXECUTESIDE_SELL = 2
  12421. }
  12422. /// <summary>
  12423. // 清算账户请求消息发送状态
  12424. /// </summary>
  12425. public enum eSettltAccountReqSendStatus {
  12426. /// <summary>
  12427. /// 待发送
  12428. /// </summary>
  12429. SETTLE_ACCOUNT_REQ_SEND_STATUS_WAIT_SEND = 1,
  12430. /// <summary>
  12431. /// 发送成功
  12432. /// </summary>
  12433. SETTLE_ACCOUNT_REQ_SEND_STATUS_SEND_SUCCESS = 2,
  12434. /// <summary>
  12435. /// 返回失败
  12436. /// </summary>
  12437. SETTLE_ACCOUNT_REQ_SEND_STATUS_RESPONSE_FAILED = 3,
  12438. /// <summary>
  12439. /// 返回成功
  12440. /// </summary>
  12441. SETTLE_ACCOUNT_REQ_SEND_STATUS_RESPONSE_SUCCESS = 4
  12442. }
  12443. /// <summary>
  12444. // 摘牌限制类型
  12445. /// </summary>
  12446. public enum eDelistLimitType {
  12447. /// <summary>
  12448. /// 摘牌数量
  12449. /// </summary>
  12450. DELIST_LIMIT_TYPE_QTY = 1,
  12451. /// <summary>
  12452. /// 摘牌金额
  12453. /// </summary>
  12454. DELIST_LIMIT_TYPE_AMOUNT = 2
  12455. }
  12456. /// <summary>
  12457. // 支付方式
  12458. /// </summary>
  12459. public enum ePayModel {
  12460. /// <summary>
  12461. /// 银行卡
  12462. /// </summary>
  12463. PAY_MODEL_BANKCARD = 1,
  12464. /// <summary>
  12465. /// 微信
  12466. /// </summary>
  12467. PAY_MODEL_WECHAT = 2,
  12468. /// <summary>
  12469. /// 支付宝
  12470. /// </summary>
  12471. PAY_MODEL_ALIPAY = 3,
  12472. /// <summary>
  12473. /// PayPal
  12474. /// </summary>
  12475. PAY_MODEL_PAYPAL = 4
  12476. }
  12477. /// <summary>
  12478. // 通用履约状态
  12479. /// </summary>
  12480. public enum eCommonPerformanceStatus {
  12481. /// <summary>
  12482. /// 无履约
  12483. /// </summary>
  12484. PERFORMANCE_STATUS_NONE = 0,
  12485. /// <summary>
  12486. /// 未履约
  12487. /// </summary>
  12488. PERFORMANCE_STATUS_FAILURE = 1,
  12489. /// <summary>
  12490. /// 履约中
  12491. /// </summary>
  12492. PERFORMANCE_STATUS_IN_PERFORMANCE = 2,
  12493. /// <summary>
  12494. /// 履约完成
  12495. /// </summary>
  12496. PERFORMANCE_STATUS_FINISH = 3,
  12497. /// <summary>
  12498. /// 超时关闭
  12499. /// </summary>
  12500. PERFORMANCE_STATUS_TIMEOUT_CLOSE = 4
  12501. }
  12502. /// <summary>
  12503. // 银行账户调整类型
  12504. /// </summary>
  12505. public enum eBankAccAdjutType {
  12506. /// <summary>
  12507. /// 母账户加钱
  12508. /// </summary>
  12509. BANK_ACCADJUTTYPE_MV_MAIN_DEP = 1,
  12510. /// <summary>
  12511. /// 母账户减钱
  12512. /// </summary>
  12513. BANK_ACCADJUTTYPE_MV_MAIN_WDR = 2,
  12514. /// <summary>
  12515. /// 子账户加钱
  12516. /// </summary>
  12517. BANK_ACCADJUTTYPE_MV_CHILD_DEP = 3,
  12518. /// <summary>
  12519. /// 子账户减钱
  12520. /// </summary>
  12521. BANK_ACCADJUTTYPE_MV_CHILD_WDR = 4,
  12522. /// <summary>
  12523. /// 资金调整——出金
  12524. /// </summary>
  12525. BANK_ACCADJUTTYPE_ADJ_WDR = 5,
  12526. /// <summary>
  12527. /// 资金调整——入金
  12528. /// </summary>
  12529. BANK_ACCADJUTTYPE_ADJ_DEP = 6,
  12530. /// <summary>
  12531. /// 资金调整——结算盈亏
  12532. /// </summary>
  12533. BANK_ACCADJUTTYPE_ADJ_PL_RECKON = 7,
  12534. /// <summary>
  12535. /// 资金调整——交易盈亏
  12536. /// </summary>
  12537. BANK_ACCADJUTTYPE_ADJ_PL_TRADE = 8,
  12538. /// <summary>
  12539. /// 资金调整——第三方入金
  12540. /// </summary>
  12541. BANK_ACCADJUTTYPE_ADJ_3TH_DEP = 9,
  12542. /// <summary>
  12543. /// 资金调整——第三方出金
  12544. /// </summary>
  12545. BANK_ACCADJUTTYPE_ADJ_3TH_WDR = 10,
  12546. /// <summary>
  12547. /// 资金调整——期权盈亏
  12548. /// </summary>
  12549. BANK_ACCADJUTTYPE_ADJ_PROFIT_LOSS = 11
  12550. }
  12551. /// <summary>
  12552. // 默认账号类型
  12553. /// </summary>
  12554. public enum eDefaultAccountType {
  12555. /// <summary>
  12556. /// 默认结算账号
  12557. /// </summary>
  12558. DEFAULT_ACCOUNT_TYPE_RECKON = 1,
  12559. /// <summary>
  12560. /// 默认接单账号
  12561. /// </summary>
  12562. DEFAULT_ACCOUNT_TYPE_MARKET = 2
  12563. }
  12564. /// <summary>
  12565. // 活动类型
  12566. /// </summary>
  12567. public enum eImpActiveType {
  12568. /// <summary>
  12569. /// 锁仓业务
  12570. /// </summary>
  12571. IMP_ACTIVE_TYPE_LOCK = 1,
  12572. /// <summary>
  12573. /// 认购业务
  12574. /// </summary>
  12575. IMP_ACTIVE_TYPE_BUY = 2
  12576. }
  12577. /// <summary>
  12578. // 锁仓期限类型
  12579. /// </summary>
  12580. public enum eImpLockedPeriodType {
  12581. /// <summary>
  12582. /// 12个月
  12583. /// </summary>
  12584. IMP_LOCKEDPERIOD_ONE = 1,
  12585. /// <summary>
  12586. /// 24个月
  12587. /// </summary>
  12588. IMP_LOCKEDPERIOD_TWO = 2,
  12589. /// <summary>
  12590. /// 36个月
  12591. /// </summary>
  12592. IMP_LOCKEDPERIOD_THREE = 3,
  12593. /// <summary>
  12594. /// 48个月
  12595. /// </summary>
  12596. IMP_LOCKEDPERIOD_FOUR = 4,
  12597. /// <summary>
  12598. /// 60个月
  12599. /// </summary>
  12600. IMP_LOCKEDPERIOD_FIVE = 5
  12601. }
  12602. /// <summary>
  12603. // 固定类型
  12604. /// </summary>
  12605. public enum eImpFixedType {
  12606. /// <summary>
  12607. /// 固定费用收取
  12608. /// </summary>
  12609. IMP_FIXEDTYPE_FEE = 1,
  12610. /// <summary>
  12611. /// 固定量赠送
  12612. /// </summary>
  12613. IMP_FIXEDTYPE_GIFT = 2
  12614. }
  12615. /// <summary>
  12616. // 子账号类型
  12617. /// </summary>
  12618. public enum eImpAccountType {
  12619. /// <summary>
  12620. /// 参与子账号
  12621. /// </summary>
  12622. IMP_ACCOUNTTYPE_APPLY = 1,
  12623. /// <summary>
  12624. /// 划转子账号
  12625. /// </summary>
  12626. IMP_ACCOUNTTYPE_TRANSFER = 2
  12627. }
  12628. /// <summary>
  12629. // 申请状态
  12630. /// </summary>
  12631. public enum eImpOrderStatus {
  12632. /// <summary>
  12633. /// 申请中
  12634. /// </summary>
  12635. IMP_STATUS_REQUEST = 1,
  12636. /// <summary>
  12637. /// 申请失败
  12638. /// </summary>
  12639. IMP_STATUS_FAILED = 2,
  12640. /// <summary>
  12641. /// 待审核
  12642. /// </summary>
  12643. IMP_STATUS_AUDITING = 3,
  12644. /// <summary>
  12645. /// 申请成功
  12646. /// </summary>
  12647. IMP_STATUS_SUCCESS = 4,
  12648. /// <summary>
  12649. /// 审核拒绝
  12650. /// </summary>
  12651. IMP_STATUS_REJECTED = 5,
  12652. /// <summary>
  12653. /// 已撤销
  12654. /// </summary>
  12655. IMP_STATUS_CANCELED = 6,
  12656. /// <summary>
  12657. /// 已解锁
  12658. /// </summary>
  12659. IMP_STATUS_UNLOCKED = 7,
  12660. /// <summary>
  12661. /// 已到期
  12662. /// </summary>
  12663. IMP_STATUS_EXPIRED = 8
  12664. }
  12665. /// <summary>
  12666. // 划转状态
  12667. /// </summary>
  12668. public enum eImpTransferStatus {
  12669. /// <summary>
  12670. /// 未划转
  12671. /// </summary>
  12672. IMP_TRANSFER_NORMAL = 0,
  12673. /// <summary>
  12674. /// 划转成功
  12675. /// </summary>
  12676. IMP_TRANSFER_SUCCESS = 1,
  12677. /// <summary>
  12678. /// 划转失败
  12679. /// </summary>
  12680. IMP_TRANSFER_FAILED = 2
  12681. }
  12682. /// <summary>
  12683. // 品种状态
  12684. /// </summary>
  12685. public enum eDGStatus {
  12686. /// <summary>
  12687. /// 报价上架
  12688. /// </summary>
  12689. WR_QUOTE_UPPER = 1,
  12690. /// <summary>
  12691. /// 报价下架
  12692. /// </summary>
  12693. WR_QUOTE_LOWER = 2,
  12694. /// <summary>
  12695. /// 报价成交
  12696. /// </summary>
  12697. WR_QUOTE_TRADE = 3,
  12698. /// <summary>
  12699. /// 挂牌销售
  12700. /// </summary>
  12701. WR_LISTING_SALE = 4,
  12702. /// <summary>
  12703. /// 挂牌成交
  12704. /// </summary>
  12705. WR_LISTING_TRADE = 5,
  12706. /// <summary>
  12707. /// 竞拍销售
  12708. /// </summary>
  12709. WR_AUCTION_SALE = 6,
  12710. /// <summary>
  12711. /// 竞拍成交
  12712. /// </summary>
  12713. WR_AUCTION_TRADE = 7,
  12714. /// <summary>
  12715. /// 竞拍流拍
  12716. /// </summary>
  12717. WR_AUCTION_PASS = 8,
  12718. /// <summary>
  12719. /// 已提货
  12720. /// </summary>
  12721. WR_DELIVERED = 9
  12722. }
  12723. /// <summary>
  12724. // 锁仓审核状态
  12725. /// </summary>
  12726. public enum eImpAuditStatus {
  12727. /// <summary>
  12728. /// 审核通过
  12729. /// </summary>
  12730. IMP_AUDITSTATUS_PASS = 1,
  12731. /// <summary>
  12732. /// 审核拒绝
  12733. /// </summary>
  12734. IMP_AUDITSTATUS_REJECT = 2
  12735. }
  12736. /// <summary>
  12737. // 报价状态
  12738. /// </summary>
  12739. public enum eQuoteStatus {
  12740. /// <summary>
  12741. /// 待上市
  12742. /// </summary>
  12743. WR_AUTO_QUOTE_PRE_LISTED = 1,
  12744. /// <summary>
  12745. /// 上市
  12746. /// </summary>
  12747. WR_AUTO_QUOTE_LISTED = 2,
  12748. /// <summary>
  12749. /// 下架
  12750. /// </summary>
  12751. WR_AUTO_QUOTE_LOWER = 3,
  12752. /// <summary>
  12753. /// 修改
  12754. /// </summary>
  12755. WR_AUTO_QUOTE_MODIFY = 4,
  12756. /// <summary>
  12757. /// 成交
  12758. /// </summary>
  12759. WR_AUTO_QUOTE_TRADE = 5,
  12760. /// <summary>
  12761. /// 超期
  12762. /// </summary>
  12763. WR_AUTO_QUOTE_TIMEOUT = 6,
  12764. /// <summary>
  12765. /// 修改退市
  12766. /// </summary>
  12767. WR_AUTO_QUOTE_DELISTED = 7
  12768. }
  12769. /// <summary>
  12770. // 锁仓认购操作类型
  12771. /// </summary>
  12772. public enum eChannelLockOperateType {
  12773. /// <summary>
  12774. /// 增加
  12775. /// </summary>
  12776. CHANNELLOCKOPERATETYPE_ADD = 1,
  12777. /// <summary>
  12778. /// 删除
  12779. /// </summary>
  12780. CHANNELLOCKOPERATETYPE_DEL = 2,
  12781. /// <summary>
  12782. /// 修改
  12783. /// </summary>
  12784. CHANNELLOCKOPERATETYPE_UPDATE = 3
  12785. }
  12786. /// <summary>
  12787. // 扩展角色类型
  12788. /// </summary>
  12789. public enum eMS_RoleType {
  12790. /// <summary>
  12791. /// 特许经销商(中远)
  12792. /// </summary>
  12793. MS_ROLETYPE_SPEC = 1,
  12794. /// <summary>
  12795. /// 金融服务商(中江)
  12796. /// </summary>
  12797. MS_ROLETYPE_FINANCEAREA = 2,
  12798. /// <summary>
  12799. /// 核心企业(百色)
  12800. /// </summary>
  12801. MS_ROLETYPE_CORE = 3,
  12802. /// <summary>
  12803. /// 基金公司
  12804. /// </summary>
  12805. MS_ROLETYPE_FC = 4,
  12806. /// <summary>
  12807. /// 回购商
  12808. /// </summary>
  12809. MS_ROLETYPE_BUYBACK = 5
  12810. }
  12811. /// <summary>
  12812. // 挂牌状态
  12813. /// </summary>
  12814. public enum eDGEX_ListingStatus {
  12815. /// <summary>
  12816. /// 上市
  12817. /// </summary>
  12818. DGEXTENSION_LISTINGSTUTAS_SALE = 1,
  12819. /// <summary>
  12820. /// 成交
  12821. /// </summary>
  12822. DGEXTENSION_LISTINGSTUTAS_TRADE = 2,
  12823. /// <summary>
  12824. /// 超期
  12825. /// </summary>
  12826. DGEXTENSION_LISTINGSTUTAS_TIMEOUT = 3
  12827. }
  12828. /// <summary>
  12829. // 现货商城申请类型
  12830. /// </summary>
  12831. public enum eWHZG2_ApplyType {
  12832. /// <summary>
  12833. /// 商品上架
  12834. /// </summary>
  12835. APPLYTYPE_GOODSSALE = 1,
  12836. /// <summary>
  12837. /// 价格修改
  12838. /// </summary>
  12839. APPLYTYPE_MODIFYPRICE = 2,
  12840. /// <summary>
  12841. /// 数量增加
  12842. /// </summary>
  12843. APPLYTYPE_QTY_ADD = 3,
  12844. /// <summary>
  12845. /// 重新上架
  12846. /// </summary>
  12847. APPLYTYPE_REGOODSSALE = 4
  12848. }
  12849. /// <summary>
  12850. // 金点拍抽奖中奖标志
  12851. /// </summary>
  12852. public enum eJDP_LotteryIsWinner {
  12853. /// <summary>
  12854. /// 未中奖
  12855. /// </summary>
  12856. JDP_LOTTERY_ISWINNER_NO = 0,
  12857. /// <summary>
  12858. /// 中奖
  12859. /// </summary>
  12860. JDP_LOTTERY_ISWINNER_YES = 1
  12861. }
  12862. /// <summary>
  12863. // 金点拍奖金类型
  12864. /// </summary>
  12865. public enum eJDP_PrizeAmountType {
  12866. /// <summary>
  12867. /// 累计拍得者大奖金额
  12868. /// </summary>
  12869. JDP_PRIZE_AMOUNT_TYPE_PDZ_CUMULITIVE = 1,
  12870. /// <summary>
  12871. /// 本期拍得者大奖金额
  12872. /// </summary>
  12873. JDP_PRIZE_AMOUNT_TYPE_PDZ_CURRENT = 2,
  12874. /// <summary>
  12875. /// 直推VIP每日TOPN奖金额
  12876. /// </summary>
  12877. JDP_PRIZE_AMOUNT_TYPE_VIPTOPN = 3
  12878. }
  12879. /// <summary>
  12880. // 金点拍是否参与拍得者大奖标志
  12881. /// </summary>
  12882. public enum eJDP_PdzCanJoin {
  12883. /// <summary>
  12884. /// 否
  12885. /// </summary>
  12886. JDP_PDZ_CANJOIN_NO = 0,
  12887. /// <summary>
  12888. /// 是
  12889. /// </summary>
  12890. JDP_PDZ_CANJOIN_YES = 1
  12891. }
  12892. /// <summary>
  12893. // 金点拍商品配置类型
  12894. /// </summary>
  12895. public enum eJDP_ConfigType {
  12896. /// <summary>
  12897. /// JD购买能量比
  12898. /// </summary>
  12899. JDP_GOODSCONFIG_CONFIGTYPE_JDTOMP = 1,
  12900. /// <summary>
  12901. /// PD购买体力比
  12902. /// </summary>
  12903. JDP_GOODSCONFIG_CONFIGTYPE_PDTOHP = 2,
  12904. /// <summary>
  12905. /// 出价奖励与能量比
  12906. /// </summary>
  12907. JDP_GOODSCONFIG_CONFIGTYPE_QUOTETOMP = 3,
  12908. /// <summary>
  12909. /// 业务奖励与体力比
  12910. /// </summary>
  12911. JDP_GOODSCONFIG_CONFIGTYPE_BUSINESSTOHP = 4,
  12912. /// <summary>
  12913. /// 成交奖励配置
  12914. /// </summary>
  12915. JDP_GOODSCONFIG_CONFIGTYPE_TRADE_TO_JD = 5,
  12916. /// <summary>
  12917. /// PD额度比
  12918. /// </summary>
  12919. JDP_GOODSCONFIG_CONFIGTYPE_TRADE_TO_PDQUOTA = 6
  12920. }
  12921. /// <summary>
  12922. // 金点拍转换类型
  12923. /// </summary>
  12924. public enum eJDP_ConvertType {
  12925. /// <summary>
  12926. /// 金点赞(外部)转JD
  12927. /// </summary>
  12928. JDP_CONVERTTYPE_EXTENALJD_TRANSFERIN = 1,
  12929. /// <summary>
  12930. /// JD转PD
  12931. /// </summary>
  12932. JDP_CONVERTTYPE_JD_TRANSFER_PD = 2,
  12933. /// <summary>
  12934. /// PD互转
  12935. /// </summary>
  12936. JDP_CONVERTTYPE_PD_TRANSFER_PD = 3,
  12937. /// <summary>
  12938. /// 交易转PD
  12939. /// </summary>
  12940. JDP_CONVERTTYPE_TRADE_TRANSFER_PD = 4,
  12941. /// <summary>
  12942. /// PD转交易
  12943. /// </summary>
  12944. JDP_CONVERTTYPE_PD_TRANSFER_TRADE = 5,
  12945. /// <summary>
  12946. /// 批量导入PD
  12947. /// </summary>
  12948. JDP_CONVERTTYPE_MULTI_TRANSFERIN_PD = 6,
  12949. /// <summary>
  12950. /// JD购买PD
  12951. /// </summary>
  12952. JDP_CONVERTTYPE_JD_BUY_PD = 7,
  12953. /// <summary>
  12954. /// JD购买能量
  12955. /// </summary>
  12956. JDP_CONVERTTYPE_JD_TRANSFER_MP = 8,
  12957. /// <summary>
  12958. /// PD购买体力值
  12959. /// </summary>
  12960. JDP_CONVERTTYPE_PD_TRANSFER_HP = 9
  12961. }
  12962. /// <summary>
  12963. // 金点拍抽奖奖品类型
  12964. /// </summary>
  12965. public enum eJDP_LotteryPrizeType {
  12966. /// <summary>
  12967. /// 实物
  12968. /// </summary>
  12969. JDP_LOTTERY_PRIZE_TYPE_IN_KIND = 1,
  12970. /// <summary>
  12971. /// JD
  12972. /// </summary>
  12973. JDP_LOTTERY_PRIZE_TYPE_JD = 2,
  12974. /// <summary>
  12975. /// PD
  12976. /// </summary>
  12977. JDP_LOTTERY_PRIZE_TYPE_PD = 3
  12978. }
  12979. /// <summary>
  12980. // 金点拍用户级别
  12981. /// </summary>
  12982. public enum eJDP_UserRank {
  12983. /// <summary>
  12984. /// 普通会员
  12985. /// </summary>
  12986. JDP_USER_RANK_NURMAL = 1,
  12987. /// <summary>
  12988. /// VIP会员
  12989. /// </summary>
  12990. JDP_USER_RANK_VIP = 2
  12991. }
  12992. /// <summary>
  12993. // 金点拍日志处理状态
  12994. /// </summary>
  12995. public enum eJDP_LogHandleStatus {
  12996. /// <summary>
  12997. /// 初始化
  12998. /// </summary>
  12999. JDP_LOG_HANDLE_STATUS_INIT = 0,
  13000. /// <summary>
  13001. /// 成功
  13002. /// </summary>
  13003. JDP_LOG_HANDLE_STATUS_SUCCESS = 1,
  13004. /// <summary>
  13005. /// 失败
  13006. /// </summary>
  13007. JDP_LOG_HANDLE_STATUS_FAILD = 2,
  13008. /// <summary>
  13009. /// 处理中
  13010. /// </summary>
  13011. JDP_LOG_HANDLE_STATUS_PROCESSING = 3,
  13012. /// <summary>
  13013. /// 冻结处理中
  13014. /// </summary>
  13015. JDP_LOG_HANDLE_STATUS_FREEZE_PROCESSING = 4,
  13016. /// <summary>
  13017. /// 成交处理中
  13018. /// </summary>
  13019. JDP_LOG_HANDLE_STATUS_TRADE_PROCESSING = 5
  13020. }
  13021. /// <summary>
  13022. // 行情排序规则
  13023. /// </summary>
  13024. public enum eQUOTE_SORTRULE {
  13025. /// <summary>
  13026. /// 涨跌幅排序
  13027. /// </summary>
  13028. QUOTE_SORTRULE_PCTCHANGE = 1,
  13029. /// <summary>
  13030. /// 总交易额排序
  13031. /// </summary>
  13032. QUOTE_SORTRULE_MONEY = 2,
  13033. /// <summary>
  13034. /// 总成交量排序
  13035. /// </summary>
  13036. QUOTE_SORTRULE_TOTALVOLUME = 3
  13037. }
  13038. /// <summary>
  13039. // 金点拍交易头寸变更类型
  13040. /// </summary>
  13041. public enum eJDP_TradePositionChangeType {
  13042. /// <summary>
  13043. /// JD/PD冻结
  13044. /// </summary>
  13045. JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FREEZE = 1,
  13046. /// <summary>
  13047. /// JD/PD解冻
  13048. /// </summary>
  13049. JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_UNFREEZE = 2,
  13050. /// <summary>
  13051. /// JD/PD扣除
  13052. /// </summary>
  13053. JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_DECREASE = 3,
  13054. /// <summary>
  13055. /// JD/PD增加
  13056. /// </summary>
  13057. JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_INCREASE = 4,
  13058. /// <summary>
  13059. /// JD/PD手续费冻结
  13060. /// </summary>
  13061. JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FEE_FREEZE = 5,
  13062. /// <summary>
  13063. /// JD/PD手续费解冻
  13064. /// </summary>
  13065. JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FEE_UNFREEZE = 6,
  13066. /// <summary>
  13067. /// JD/PD手续费扣除
  13068. /// </summary>
  13069. JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FEE_DECREASE = 7,
  13070. /// <summary>
  13071. /// 交易所手续费收入
  13072. /// </summary>
  13073. JDP_TRADE_POSITION_CHANGE_TYPE_EXCHANGE_FEE = 8
  13074. }
  13075. /// <summary>
  13076. // 交易冻结头寸变更类型
  13077. /// </summary>
  13078. public enum eFreezePos_FreezePositionLogChangeType {
  13079. /// <summary>
  13080. /// 供货商增加冻结头寸
  13081. /// </summary>
  13082. FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_VENTOR_ADD = 1,
  13083. /// <summary>
  13084. /// 供货商解冻头寸审核通过
  13085. /// </summary>
  13086. FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_VENTOR_AUDIT_PASS = 2,
  13087. /// <summary>
  13088. /// 商品配售
  13089. /// </summary>
  13090. FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_RATION = 3,
  13091. /// <summary>
  13092. /// 商品转让
  13093. /// </summary>
  13094. FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_TRANSFER = 4,
  13095. /// <summary>
  13096. /// 商品回购
  13097. /// </summary>
  13098. FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_BUYBACK = 5
  13099. }
  13100. /// <summary>
  13101. // 交易冻结头寸标志
  13102. /// </summary>
  13103. public enum eFreezePos_IsFreeze {
  13104. /// <summary>
  13105. /// 冻结
  13106. /// </summary>
  13107. FREEZEPOS_ISFREEZE_YES = 1,
  13108. /// <summary>
  13109. /// 不冻结
  13110. /// </summary>
  13111. FREEZEPOS_ISFREEZE_NO = 2
  13112. }
  13113. /// <summary>
  13114. // 交易冻结头寸转让类型
  13115. /// </summary>
  13116. public enum eFreezePos_TransferType {
  13117. /// <summary>
  13118. /// 配售
  13119. /// </summary>
  13120. FREEZEPOS_TRANSFER_TYPE_RATION = 1,
  13121. /// <summary>
  13122. /// 转让
  13123. /// </summary>
  13124. FREEZEPOS_TRANSFER_TYPE_TRANSFER = 2,
  13125. /// <summary>
  13126. /// 回购
  13127. /// </summary>
  13128. FREEZEPOS_TRANSFER_TYPE_BUYBACK = 3
  13129. }
  13130. /// <summary>
  13131. // 交易冻结头寸头寸类型
  13132. /// </summary>
  13133. public enum eFreezePos_PositionType {
  13134. /// <summary>
  13135. /// 交易头寸
  13136. /// </summary>
  13137. FREEZEPOS_POSITION_TYPE_TRADE = 1,
  13138. /// <summary>
  13139. /// 冻结头寸
  13140. /// </summary>
  13141. FREEZEPOS_POSITION_TYPE_FREEZE = 2
  13142. }
  13143. /// <summary>
  13144. // 交易冻结头寸冻结类型
  13145. /// </summary>
  13146. public enum eFreezePos_FreezeType {
  13147. /// <summary>
  13148. /// 配售冻结
  13149. /// </summary>
  13150. FREEZEPOS_FREEZE_TYPE_RATION = 1,
  13151. /// <summary>
  13152. /// 转入冻结
  13153. /// </summary>
  13154. FREEZEPOS_FREEZE_TYPE_IN = 2
  13155. }
  13156. /// <summary>
  13157. // 交易冻结头寸冻结配置类型
  13158. /// </summary>
  13159. public enum eFreezePos_FreezeConfigType {
  13160. /// <summary>
  13161. /// 配售冻结(周期)
  13162. /// </summary>
  13163. FREEZEPOS_FREEZE_CONFIG_TYPE_RATION = 1,
  13164. /// <summary>
  13165. /// 转入冻结(成交量)
  13166. /// </summary>
  13167. FREEZEPOS_FREEZE_CONFIG_TYPE_IN_TRADE_QTY = 2,
  13168. /// <summary>
  13169. /// 转入冻结(成交额)
  13170. /// </summary>
  13171. FREEZEPOS_FREEZE_CONFIG_TYPE_IN_TRADE_AMOUNT = 3
  13172. }
  13173. /// <summary>
  13174. // 止盈止损操作类型
  13175. /// </summary>
  13176. public enum eSPSL_OperateType {
  13177. /// <summary>
  13178. /// 止盈
  13179. /// </summary>
  13180. SPSL_OPERATETYPE_SP = 1,
  13181. /// <summary>
  13182. /// 止损
  13183. /// </summary>
  13184. SPSL_OPERATETYPE_SL = 2,
  13185. /// <summary>
  13186. /// 撤单
  13187. /// </summary>
  13188. SPSL_OPERATETYPE_CANCEL = 3,
  13189. /// <summary>
  13190. /// 止盈止损
  13191. /// </summary>
  13192. SPSL_OPERATETYPE_ALL = 4
  13193. }
  13194. /// <summary>
  13195. // 止盈止损价格类型
  13196. /// </summary>
  13197. public enum eSPSL_PriceType {
  13198. /// <summary>
  13199. /// 最新价
  13200. /// </summary>
  13201. SPSL_PRICETYPE_LAST = 1,
  13202. /// <summary>
  13203. /// 对手价
  13204. /// </summary>
  13205. SPSL_PRICETYPE_OPP = 2,
  13206. /// <summary>
  13207. /// 市价
  13208. /// </summary>
  13209. SPSL_PRICETYPE_MARKET = 3
  13210. }
  13211. /// <summary>
  13212. // 止盈止损触发类型
  13213. /// </summary>
  13214. public enum eSPSL_TriggerType {
  13215. /// <summary>
  13216. /// 触发价
  13217. /// </summary>
  13218. SPSL_TRIGGERTYPE_FIXED = 1,
  13219. /// <summary>
  13220. /// 追踪价差
  13221. /// </summary>
  13222. SPSL_TRIGGERTYPE_DYNAMIC = 2
  13223. }
  13224. /// <summary>
  13225. // 止盈止损状态
  13226. /// </summary>
  13227. public enum eSPSL_Status {
  13228. /// <summary>
  13229. /// 待触发
  13230. /// </summary>
  13231. SPSL_STATUS_PENDING = 1,
  13232. /// <summary>
  13233. /// 已触发
  13234. /// </summary>
  13235. SPSL_STATUS_SUCC = 2,
  13236. /// <summary>
  13237. /// 已撤销
  13238. /// </summary>
  13239. SPSL_STATUS_CANCELED = 3,
  13240. /// <summary>
  13241. /// 已失效
  13242. /// </summary>
  13243. SPSL_STATUS_INVALID = 4
  13244. }
  13245. /// <summary>
  13246. // 商品提货单状态
  13247. /// </summary>
  13248. public enum eGoodsTakeOrderStatus {
  13249. /// <summary>
  13250. /// 未发货
  13251. /// </summary>
  13252. GOODS_TAKEORDER_STATUS_UNSHIPPED = 1,
  13253. /// <summary>
  13254. /// 已发货
  13255. /// </summary>
  13256. GOODS_TAKEORDER_STATUS_ALREADY = 2,
  13257. /// <summary>
  13258. /// 已收货
  13259. /// </summary>
  13260. GOODS_TAKEORDER_STATUS_TAKE = 3
  13261. }
  13262. /// <summary>
  13263. // 风险率计算方式
  13264. /// </summary>
  13265. public enum eRiskRateMode {
  13266. /// <summary>
  13267. /// 占用/净值
  13268. /// </summary>
  13269. OCCUPYWORTH = 0,
  13270. /// <summary>
  13271. /// 净值/占用
  13272. /// </summary>
  13273. WORTHOCCUPY = 1
  13274. }
  13275. /// <summary>
  13276. // 用户分组变更类型
  13277. /// </summary>
  13278. public enum eUserGroupChangeType {
  13279. /// <summary>
  13280. /// 增加
  13281. /// </summary>
  13282. USERGROUP_CHANGETYPE_ADD = 1,
  13283. /// <summary>
  13284. /// 修改
  13285. /// </summary>
  13286. USERGROUP_CHANGETYPE_MODIFY = 2,
  13287. /// <summary>
  13288. /// 删除
  13289. /// </summary>
  13290. USERGROUP_CHANGETYPE_DEL = 3
  13291. }
  13292. /// <summary>
  13293. // 用户分组变更范围
  13294. /// </summary>
  13295. public enum eUserGroupNtfType {
  13296. /// <summary>
  13297. /// 分组信息变更
  13298. /// </summary>
  13299. USERGROUP_NTFTYPE_INFO = 1,
  13300. /// <summary>
  13301. /// 分组明细变更
  13302. /// </summary>
  13303. USERGROUP_NTFTYPE_DETAIL = 2
  13304. }
  13305. /// <summary>
  13306. // 订单路由方向
  13307. /// </summary>
  13308. public enum eRoutingDirection {
  13309. /// <summary>
  13310. /// 正向
  13311. /// </summary>
  13312. ROUTING_DIRECTION_FORWARD = 0,
  13313. /// <summary>
  13314. /// 反向
  13315. /// </summary>
  13316. ROUTING_DIRECTION_REVERSE = 1
  13317. }