tas_const.cs 164 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251
  1. using Muchinfo.MTPClient.Data.Helper;
  2. #region MTP1.0
  3. /// <summary>
  4. // 系统开市方式
  5. /// </summary>
  6. public enum eSysMarketOpenMethod {
  7. /// <summary>
  8. /// 自动
  9. /// </summary>
  10. OPENMETHOD_AUTO = 0,
  11. /// <summary>
  12. /// 手动
  13. /// </summary>
  14. OPENMETHOD_MANUAL = 1
  15. }
  16. /// <summary>
  17. // 资金模式
  18. /// </summary>
  19. public enum eMoneyMode {
  20. /// <summary>
  21. /// 保证金
  22. /// </summary>
  23. MONEYMODE_MARGIN = 1,
  24. /// <summary>
  25. /// 全款划扣
  26. /// </summary>
  27. MONEYMODE_PAY = 2
  28. }
  29. /// <summary>
  30. // 商品组层级类型
  31. /// </summary>
  32. public enum eGoodsGroupLevelType {
  33. /// <summary>
  34. /// 所有商品
  35. /// </summary>
  36. GOODSGROUPLEVEL_ALLGOODS = 1,
  37. /// <summary>
  38. /// 交易所
  39. /// </summary>
  40. GOODSGROUPLEVEL_EXCHGOODSGROUP = 2,
  41. /// <summary>
  42. /// 市场商品组
  43. /// </summary>
  44. GOODSGROUPLEVEL_GOODSGROUP = 3
  45. }
  46. /// <summary>
  47. // 运行操作
  48. /// </summary>
  49. public enum eRunOperate {
  50. /// <summary>
  51. /// 无操作
  52. /// </summary>
  53. RUNOPERATE_NONE = 0,
  54. /// <summary>
  55. /// 暂停
  56. /// </summary>
  57. RUNOPERATE_PAUSE = 1,
  58. /// <summary>
  59. /// 恢复
  60. /// </summary>
  61. RUNOPERATE_RESTORE = 2
  62. }
  63. /// <summary>
  64. // 费用计算方式
  65. /// </summary>
  66. public enum eFeeCalcMethod {
  67. /// <summary>
  68. /// 成交金额比例
  69. /// </summary>
  70. PERCENTOFTURNOVER = 0,
  71. /// <summary>
  72. /// 每手固定单位
  73. /// </summary>
  74. PERLOTSIZE = 1
  75. }
  76. /// <summary>
  77. // 市场结算模式
  78. /// </summary>
  79. public enum eMarketSettleMode {
  80. /// <summary>
  81. /// 有负债
  82. /// </summary>
  83. SETTLEALLOWDEBT = 0,
  84. /// <summary>
  85. /// 无负债
  86. /// </summary>
  87. SETTLECLEAR = 1
  88. }
  89. /// <summary>
  90. // 结算价算法
  91. /// </summary>
  92. public enum eReckonPriceCalcMethod {
  93. /// <summary>
  94. /// 倒数多少笔成交价加权平均
  95. /// </summary>
  96. RECKONPRICECALCMETHOD_LASTAVG = 0,
  97. /// <summary>
  98. /// 倒数多少秒成交价平均
  99. /// </summary>
  100. RECKONPRICECALCMETHOD_LASTTIMEAVG = 1,
  101. /// <summary>
  102. /// 全部成交价加权平均
  103. /// </summary>
  104. RECKONPRICECALCMETHOD_ALLAVG = 2,
  105. /// <summary>
  106. /// 倒数多少秒成交价加权平均
  107. /// </summary>
  108. RECKONPRICECALCMETHOD_LASTMILLISAVG = 3
  109. }
  110. /// <summary>
  111. // 发售成交类型
  112. /// </summary>
  113. public enum eDealType {
  114. /// <summary>
  115. /// 指定买方成交
  116. /// </summary>
  117. APPOINT_BUYERDEAL = 0,
  118. /// <summary>
  119. /// 公开发售成交
  120. /// </summary>
  121. PUBLICISSUEDEAL = 1,
  122. /// <summary>
  123. /// 承销会员指定成交
  124. /// </summary>
  125. APPOINT_CONSIGNMENTDEAL = 2,
  126. /// <summary>
  127. /// 申购配售成交
  128. /// </summary>
  129. SUBSCRIPT_PLACEMENT_DEAL = 3,
  130. /// <summary>
  131. /// 持仓配售成交
  132. /// </summary>
  133. HOLD_PLACEMENT_DEAL = 4,
  134. /// <summary>
  135. /// 交易金额配售成交
  136. /// </summary>
  137. TRADEAMOUNT_PLACEMENT_DEAL = 5,
  138. /// <summary>
  139. /// 定向配售成交
  140. /// </summary>
  141. DIRECT_PLACEMENT_DEAL = 6
  142. }
  143. /// <summary>
  144. // 发售配售类型
  145. /// </summary>
  146. public enum ePlacementType {
  147. /// <summary>
  148. /// 持仓配售
  149. /// </summary>
  150. PLACEMENTTYPE_HOLD = 1,
  151. /// <summary>
  152. /// 申购量配售
  153. /// </summary>
  154. PLACEMENTTYPE_SUB = 2,
  155. /// <summary>
  156. /// 申购资金-持仓配售
  157. /// </summary>
  158. PLACEMENTTYPE_SUB_HOLD = 3,
  159. /// <summary>
  160. /// 交易金额配售
  161. /// </summary>
  162. PLACEMENTTYPE_TRADEAMOUNT = 4,
  163. /// <summary>
  164. /// 定向配售
  165. /// </summary>
  166. PLACEMENTTYPE_DIRECT = 5,
  167. /// <summary>
  168. /// 华凝版持仓配售
  169. /// </summary>
  170. PLACEMENTTYPE_HOLD_HUANING = 10
  171. }
  172. /// <summary>
  173. // 发售模式
  174. /// </summary>
  175. public enum eIssueMode {
  176. /// <summary>
  177. /// 现货发售
  178. /// </summary>
  179. ISSUE_MODE_SPOT = 1,
  180. /// <summary>
  181. /// 仓单发售
  182. /// </summary>
  183. ISSUE_MODE_WAREHOUSERECEIPT = 2,
  184. /// <summary>
  185. /// 仓单自动转竞价
  186. /// </summary>
  187. ISSUE_MODE_WAREHOUSERECEIPT2BIDMATCH = 3
  188. }
  189. /// <summary>
  190. // 发售撤单限制类型
  191. /// </summary>
  192. public enum eIssueCancelLimitsType {
  193. /// <summary>
  194. /// 无限制
  195. /// </summary>
  196. ISSUE_CANCEL_LIMITS_NONE = 1,
  197. /// <summary>
  198. /// 仅能撤当天的申购单
  199. /// </summary>
  200. ISSUE_CANCEL_LIMITS_TODAY = 2,
  201. /// <summary>
  202. /// 不能撤单
  203. /// </summary>
  204. ISSUE_CANCEL_LIMITS_NEVER = 3
  205. }
  206. /// <summary>
  207. // 发售系统配置参数
  208. /// </summary>
  209. public enum eIssueSysConfigParam {
  210. /// <summary>
  211. /// 发售最大有效申购单数
  212. /// </summary>
  213. ISSUE_SYSCONFIG_MAX_VALID_SUBORDERS = 9001,
  214. /// <summary>
  215. /// 发售撤单限制类型
  216. /// </summary>
  217. ISSUE_SYSCONFIG_CANCEL_LIMITS_TYPE = 9002
  218. }
  219. /// <summary>
  220. // 商品平仓期限
  221. /// </summary>
  222. public enum eGoodsCloseType {
  223. /// <summary>
  224. /// 永续经营
  225. /// </summary>
  226. GOODSCLOSETYPE_NONE = 0,
  227. /// <summary>
  228. /// 定期商品
  229. /// </summary>
  230. GOODSCLOSETYPE_BYCYCLE = 1
  231. }
  232. /// <summary>
  233. // 证件类型
  234. /// </summary>
  235. public enum eCardType {
  236. /// <summary>
  237. /// 身份证
  238. /// </summary>
  239. IDCARD = 0,
  240. /// <summary>
  241. /// 港澳通行证
  242. /// </summary>
  243. HMPASSPORT = 1,
  244. /// <summary>
  245. /// 组织机构代码证
  246. /// </summary>
  247. ORGANIZATION = 2,
  248. /// <summary>
  249. /// 驾驶证
  250. /// </summary>
  251. DRIVERLICENCE = 3,
  252. /// <summary>
  253. /// 营业执照
  254. /// </summary>
  255. BUSINESSLICENSE = 4,
  256. /// <summary>
  257. /// 军官证
  258. /// </summary>
  259. OFFICERCERTIFICATE = 5,
  260. /// <summary>
  261. /// 解放军文职干部证
  262. /// </summary>
  263. ARMYCIVILIANCADRES = 6,
  264. /// <summary>
  265. /// 警官证
  266. /// </summary>
  267. POLICEID = 7,
  268. /// <summary>
  269. /// 解放军士兵证
  270. /// </summary>
  271. ARMYSOLDIERSCERTIFICATE = 8,
  272. /// <summary>
  273. /// 户口簿
  274. /// </summary>
  275. RESIDENCEBOOKLET = 9,
  276. /// <summary>
  277. /// 临时身份证
  278. /// </summary>
  279. TEMPORARYIDCARD = 10,
  280. /// <summary>
  281. /// (外国)护照
  282. /// </summary>
  283. FOREIGNPASSPORT = 11,
  284. /// <summary>
  285. /// (中国)护照
  286. /// </summary>
  287. CHINESEPASSPORT = 12,
  288. /// <summary>
  289. /// 武警文职干部证
  290. /// </summary>
  291. ARMEDPOLICECIVILIANCADRES = 13,
  292. /// <summary>
  293. /// 武警士兵证
  294. /// </summary>
  295. ARMEDPOLICECERTIFICATE = 14,
  296. /// <summary>
  297. /// 海外客户编号
  298. /// </summary>
  299. OVERSEASCUSTOMERNUMBER = 15,
  300. /// <summary>
  301. /// 学员证
  302. /// </summary>
  303. STUDENTCARD = 16,
  304. /// <summary>
  305. /// 退休证
  306. /// </summary>
  307. RETIREMENTCERTIFICATE = 17,
  308. /// <summary>
  309. /// 对公营业执照号码
  310. /// </summary>
  311. BUSINESSLICENSETOPUBLIC = 18,
  312. /// <summary>
  313. /// 台湾通行证
  314. /// </summary>
  315. TAIWANGPASSPORT = 19,
  316. /// <summary>
  317. /// 统一社会信用代码
  318. /// </summary>
  319. UNIFIEDSOCIALCREDITCODE = 21,
  320. /// <summary>
  321. /// 个人其他类证件
  322. /// </summary>
  323. OTHER_PERSON = 20,
  324. /// <summary>
  325. /// 非个人其他类证件
  326. /// </summary>
  327. OTHER_ORG = 22
  328. }
  329. /// <summary>
  330. // 开户方式
  331. /// </summary>
  332. public enum eAccountOpenMode {
  333. /// <summary>
  334. /// 管理端开户
  335. /// </summary>
  336. ACCOUNTOPENMODE_FROMMANAGECLIENT = 0,
  337. /// <summary>
  338. /// PC交易端注册
  339. /// </summary>
  340. ACCOUNTOPENMODE_FROMPCTRADECLIENT = 2,
  341. /// <summary>
  342. /// 安卓手机端注册
  343. /// </summary>
  344. ACCOUNTOPENMODE_FROMANDRIODAPP = 3,
  345. /// <summary>
  346. /// 网页交易端注册
  347. /// </summary>
  348. ACCOUNTOPENMODE_FROMWEBAPP = 4,
  349. /// <summary>
  350. /// 微信开户
  351. /// </summary>
  352. ACCOUNTOPENMODE_FROMWECHAT = 5,
  353. /// <summary>
  354. /// 苹果手机端注册
  355. /// </summary>
  356. ACCOUNTOPENMODE_FROMIOSAPP = 6,
  357. /// <summary>
  358. /// 网上开户注册(会员官网)
  359. /// </summary>
  360. ACCOUNTOPENMODE_FROMWEBSITE = 7
  361. }
  362. /// <summary>
  363. // 客户性别
  364. /// </summary>
  365. public enum eCustomerSex {
  366. /// <summary>
  367. /// 男
  368. /// </summary>
  369. CUSTOMERSEX_MALE = 0,
  370. /// <summary>
  371. /// 女
  372. /// </summary>
  373. CUSTOMERSEX_FEMALE = 1
  374. }
  375. /// <summary>
  376. // 机构层级类型
  377. /// </summary>
  378. public enum eAreaLevelType {
  379. /// <summary>
  380. /// 三方服务机构(独立机构,不在集团树上)
  381. /// </summary>
  382. AREALEVEL_THIRDPARTY = 0,
  383. /// <summary>
  384. /// 集团
  385. /// </summary>
  386. AREALEVEL_EXCHANGEGROUP = 1,
  387. /// <summary>
  388. /// 交易所
  389. /// </summary>
  390. AREALEVEL_EXCHANGE = 2,
  391. /// <summary>
  392. /// 运营中心
  393. /// </summary>
  394. AREALEVEL_OPERATION = 3,
  395. /// <summary>
  396. /// 会员
  397. /// </summary>
  398. AREALEVEL_MEMBER = 4,
  399. /// <summary>
  400. /// 会员机构
  401. /// </summary>
  402. AREALEVEL_MEMBERAREA = 5,
  403. /// <summary>
  404. /// 会员2层机构
  405. /// </summary>
  406. AREALEVEL_MEMBERLEVEL2AREA = 6,
  407. /// <summary>
  408. /// 会员3层机构
  409. /// </summary>
  410. AREALEVEL_MEMBERLEVEL3AREA = 7,
  411. /// <summary>
  412. /// 会员4层机构
  413. /// </summary>
  414. AREALEVEL_MEMBERLEVEL4AREA = 8
  415. }
  416. /// <summary>
  417. // 机构状态
  418. /// </summary>
  419. public enum eAreaStatus {
  420. /// <summary>
  421. /// 待激活
  422. /// </summary>
  423. AREASTATUS_INACTIVE = 0,
  424. /// <summary>
  425. /// 正常
  426. /// </summary>
  427. AREASTATUS_NORMAL = 1,
  428. /// <summary>
  429. /// 已注销
  430. /// </summary>
  431. AREASTATUS_CLOSED = 2
  432. }
  433. /// <summary>
  434. // 机构角色
  435. /// </summary>
  436. public enum eAreaRole {
  437. /// <summary>
  438. /// 经纪商
  439. /// </summary>
  440. AREAROLE_BROKERMEMBER = 1,
  441. /// <summary>
  442. /// 交易会员
  443. /// </summary>
  444. AREAROLE_MAKEMEMBER = 2,
  445. /// <summary>
  446. /// 结算会员
  447. /// </summary>
  448. AREAROLE_TOPMAKEMEMBER = 4,
  449. /// <summary>
  450. /// 仓库会员
  451. /// </summary>
  452. AREAROLE_STOREMEMBER = 8,
  453. /// <summary>
  454. /// 供货商
  455. /// </summary>
  456. AREAROLE_INDUSTRYMEMBER = 16,
  457. /// <summary>
  458. /// 金融会员
  459. /// </summary>
  460. AREAROLE_CAPITALMEMBER = 32
  461. }
  462. /// <summary>
  463. // 账户类型
  464. /// </summary>
  465. public enum eAccountType {
  466. /// <summary>
  467. /// 投资者账户
  468. /// </summary>
  469. ACCOUNTTYPE_INVESTOR = 0,
  470. /// <summary>
  471. /// 交易员账户
  472. /// </summary>
  473. ACCOUNTTYPE_TRADER = 1,
  474. /// <summary>
  475. /// 经纪商账户
  476. /// </summary>
  477. ACCOUNTTYPE_BROKER = 2,
  478. /// <summary>
  479. /// 机构账户
  480. /// </summary>
  481. ACCOUNTTYPE_AREA = 3,
  482. /// <summary>
  483. /// 三方机构账户
  484. /// </summary>
  485. ACCOUNTTYPE_THIRDPARTY = 4,
  486. /// <summary>
  487. /// 会员账户
  488. /// </summary>
  489. ACCOUNTTYPE_MEMBER = 5,
  490. /// <summary>
  491. /// 运营中心账户
  492. /// </summary>
  493. ACCOUNTTYPE_OPERATION = 6,
  494. /// <summary>
  495. /// 交易所账户
  496. /// </summary>
  497. ACCOUNTTYPE_EXCHANGE = 7,
  498. /// <summary>
  499. /// 集团账户
  500. /// </summary>
  501. ACCOUNTTYPE_EXCHANGEGROUP = 8,
  502. /// <summary>
  503. /// 管理员
  504. /// </summary>
  505. ACCOUNTTYPE_MANAGER = 9
  506. }
  507. /// <summary>
  508. // 对手关系类型
  509. /// </summary>
  510. public enum eMMRelationType {
  511. /// <summary>
  512. /// 投资者对手关系
  513. /// </summary>
  514. MMRELATION_INVESTOR = 0,
  515. /// <summary>
  516. /// 自营对手关系
  517. /// </summary>
  518. MMRELATION_MEMBERTRADER = 1
  519. }
  520. /// <summary>
  521. // 费用分配关系类型
  522. /// </summary>
  523. public enum eFeeDivideMatchType {
  524. /// <summary>
  525. /// 投资者费用分配
  526. /// </summary>
  527. FEEDIVIDEMATCHTYPE_INVESTOR = 0,
  528. /// <summary>
  529. /// 交易员费用分配
  530. /// </summary>
  531. FEEDIVIDEMATCHTYPE_MEMBERTRADER = 1
  532. }
  533. /// <summary>
  534. // 费用分配算法
  535. /// </summary>
  536. public enum eFeeDivideCalcMethod {
  537. /// <summary>
  538. /// 费用百分比
  539. /// </summary>
  540. FEEDIVIDECALCMETHOD_FEEPERCENT = 2,
  541. /// <summary>
  542. /// 余下全部
  543. /// </summary>
  544. FEEDIVIDECALCMETHOD_REMAINDER = 8
  545. }
  546. /// <summary>
  547. // 费用类别
  548. /// </summary>
  549. public enum eTradeFeeKind {
  550. /// <summary>
  551. /// 交易手续费
  552. /// </summary>
  553. TRADEFEEKIND_TRADEORDERFEE = 1,
  554. /// <summary>
  555. /// 交割手续费
  556. /// </summary>
  557. TRADEFEEKIND_DELIVERYFEE = 2,
  558. /// <summary>
  559. /// 递延费
  560. /// </summary>
  561. TRADEFEEKIND_INTEREST = 4,
  562. /// <summary>
  563. /// 冻结款
  564. /// </summary>
  565. TRADEFEEKIND_FREEZE = 8,
  566. /// <summary>
  567. /// 占用款
  568. /// </summary>
  569. TRADEFEEKIND_USED = 16,
  570. /// <summary>
  571. /// 点差
  572. /// </summary>
  573. TRADEFEEKIND_POINT = 32,
  574. /// <summary>
  575. /// 挂牌费
  576. /// </summary>
  577. TRADEFEEKIND_STOREINFEE = 64,
  578. /// <summary>
  579. /// 申购手续费
  580. /// </summary>
  581. TRADEFEEKIND_SUBSCRIPTFEE = 128,
  582. /// <summary>
  583. /// 发行手续费
  584. /// </summary>
  585. TRADEFEEKIND_PUBLISHFEE = 256,
  586. /// <summary>
  587. /// 平仓盈利转换积分
  588. /// </summary>
  589. TRADEFEEKIND_DEALEARNTURNINTEGRAL = 512
  590. }
  591. /// <summary>
  592. // 币种
  593. /// </summary>
  594. public enum eCurrency {
  595. /// <summary>
  596. /// 人民币
  597. /// </summary>
  598. RMB = 0,
  599. /// <summary>
  600. /// 美元
  601. /// </summary>
  602. USD = 1,
  603. /// <summary>
  604. /// 欧元
  605. /// </summary>
  606. EUR = 2,
  607. /// <summary>
  608. /// 日元
  609. /// </summary>
  610. JPA = 3,
  611. /// <summary>
  612. /// 港币
  613. /// </summary>
  614. HKD = 4,
  615. /// <summary>
  616. /// 美分
  617. /// </summary>
  618. CNT = 5
  619. }
  620. /// <summary>
  621. // 委托单建平类型
  622. /// </summary>
  623. public enum eOrderBuildType {
  624. /// <summary>
  625. /// 买入
  626. /// </summary>
  627. ORDERBUILDTYPE_OPEN = 0,
  628. /// <summary>
  629. /// 卖出
  630. /// </summary>
  631. ORDERBUILDTYPE_CLOSE = 1,
  632. /// <summary>
  633. /// 撤销
  634. /// </summary>
  635. ORDERBUILDTYPE_CANCEL = 2
  636. }
  637. /// <summary>
  638. // 商品期限类型
  639. /// </summary>
  640. public enum eGoodsLimitedType {
  641. /// <summary>
  642. /// 年
  643. /// </summary>
  644. GOODSLIMITEDTYPE_YEAR = 0,
  645. /// <summary>
  646. /// 月
  647. /// </summary>
  648. GOODSLIMITEDTYPE_MONTH = 1,
  649. /// <summary>
  650. /// 日
  651. /// </summary>
  652. GOODSLIMITEDTYPE_DAY = 2
  653. }
  654. /// <summary>
  655. // 交易日志类型
  656. /// </summary>
  657. public enum eTradeLogType {
  658. /// <summary>
  659. /// 客户端下单
  660. /// </summary>
  661. TRADELOGTYPE_CLIENTREQ = 0,
  662. /// <summary>
  663. /// 服务器发出的回应客户端信息
  664. /// </summary>
  665. TRADELOGTYPE_CLIENTRSP = 1,
  666. /// <summary>
  667. /// 服务器发出的资金请求
  668. /// </summary>
  669. TRADELOGTYPE_MONEYREQ = 2,
  670. /// <summary>
  671. /// 资金返回
  672. /// </summary>
  673. TRADELOGTYPE_MONEYRSP = 3,
  674. /// <summary>
  675. /// 交割服务返回
  676. /// </summary>
  677. TRADELOGTYPE_DELIVERYRSP = 5
  678. }
  679. /// <summary>
  680. // 委托模式
  681. /// </summary>
  682. public enum eOrderMode {
  683. /// <summary>
  684. /// FAK
  685. /// </summary>
  686. ORDERMODE_FAK = 0,
  687. /// <summary>
  688. /// FOK
  689. /// </summary>
  690. ORDERMODE_FOK = 1,
  691. /// <summary>
  692. /// 不成交则挂单
  693. /// </summary>
  694. ORDERMODE_STD = 2,
  695. /// <summary>
  696. /// 委托模式最大值
  697. /// </summary>
  698. ORDERMODE_MAX = 3
  699. }
  700. /// <summary>
  701. // 交易平仓模式
  702. /// </summary>
  703. public enum eTradeCloseMode {
  704. /// <summary>
  705. /// 平今日
  706. /// </summary>
  707. TRADECLOSEMODE_CLOSETODAY = 0,
  708. /// <summary>
  709. /// 平历史
  710. /// </summary>
  711. TRADECLOSEMODE_CLOSEHISTORY = 1,
  712. /// <summary>
  713. /// 不区分今仓和历史仓
  714. /// </summary>
  715. TRADECLOSEMODE_CLOSEALL = 2,
  716. /// <summary>
  717. /// 平仓模式最大值
  718. /// </summary>
  719. TRADECLOSEMODE_MAX = 3
  720. }
  721. /// <summary>
  722. // 计算枚举
  723. /// </summary>
  724. public enum eCalMode {
  725. /// <summary>
  726. /// 总额百分比
  727. /// </summary>
  728. CALMODE_FIXEDRATIO = 0,
  729. /// <summary>
  730. /// 合约单位固定值
  731. /// </summary>
  732. CALMODE_FIXEDNUMBER = 1,
  733. /// <summary>
  734. /// 总的固定值
  735. /// </summary>
  736. CALMODE_TOTALFIXEDNUMBER = 2
  737. }
  738. /// <summary>
  739. // 交易个性化规则
  740. /// </summary>
  741. public enum eTradeRulePersonal {
  742. /// <summary>
  743. /// 买点差增量
  744. /// </summary>
  745. TRADERULEPERSONAL_MBUYPTINC = 2001,
  746. /// <summary>
  747. /// 卖点差增量
  748. /// </summary>
  749. TRADERULEPERSONAL_MSELLPTINC = 2002,
  750. /// <summary>
  751. /// 买点差增量
  752. /// </summary>
  753. TRADERULEPERSONAL_XBUYPTINC = 4001,
  754. /// <summary>
  755. /// 卖点差增量
  756. /// </summary>
  757. TRADERULEPERSONAL_XSELLPTINC = 4002
  758. }
  759. /// <summary>
  760. // 资金变更流水操作类型
  761. /// </summary>
  762. public enum eTAAccountLogOpType {
  763. /// <summary>
  764. /// 连续现货交易手续费
  765. /// </summary>
  766. TAACCOUNTLOG_MM_BUILD_ORDER_FEE = 1120,
  767. /// <summary>
  768. /// 连续现货交易全款金额
  769. /// </summary>
  770. TAACCOUNTLOG_MM_BUILD_ORDER_PAY = 1121,
  771. /// <summary>
  772. /// 连续现货交易仓单服务费
  773. /// </summary>
  774. TAACCOUNTLOG_MM_BUILD_ORDER_WAREHOUSE_FEE = 1125,
  775. /// <summary>
  776. /// 连续现货交易手续费
  777. /// </summary>
  778. TAACCOUNTLOG_MM_CLOSE_ORDER_FEE = 1130,
  779. /// <summary>
  780. /// 连续现货交易全款金额
  781. /// </summary>
  782. TAACCOUNTLOG_MM_CLOSE_ORDER_PAY = 1131,
  783. /// <summary>
  784. /// 连续现货交易仓单服务费
  785. /// </summary>
  786. TAACCOUNTLOG_MM_CLOSE_ORDER_WAREHOUSE_FEE = 1135,
  787. /// <summary>
  788. /// 连续现货交易盈亏
  789. /// </summary>
  790. TAACCOUNTLOG_MM_CLOSE_ORDER_PL = 1139,
  791. /// <summary>
  792. /// 连续现货结算盈亏
  793. /// </summary>
  794. TAACCOUNTLOG_MM_RECKON_PL = 1140,
  795. /// <summary>
  796. /// 连续现货结算递延费
  797. /// </summary>
  798. TAACCOUNTLOG_MM_RECKON_DELAY_FEE = 1141,
  799. /// <summary>
  800. /// 连续现货交易手续费分成
  801. /// </summary>
  802. TAACCOUNTLOG_MM_DIVIDE_TRADEFEE = 1160,
  803. /// <summary>
  804. /// 连续现货递延费分成
  805. /// </summary>
  806. TAACCOUNTLOG_MM_DIVIDE_INTEREST = 1162,
  807. /// <summary>
  808. /// 挂牌交易手续费
  809. /// </summary>
  810. TAACCOUNTLOG_BM_BUILD_ORDER_FEE = 1220,
  811. /// <summary>
  812. /// 挂牌交易全款金额
  813. /// </summary>
  814. TAACCOUNTLOG_BM_BUILD_ORDER_PAY = 1221,
  815. /// <summary>
  816. /// 挂牌交易仓单服务费
  817. /// </summary>
  818. TAACCOUNTLOG_BM_BUILD_ORDER_WAREHOUSE_FEE = 1225,
  819. /// <summary>
  820. /// 挂牌交易手续费
  821. /// </summary>
  822. TAACCOUNTLOG_BM_CLOSE_ORDER_FEE = 1230,
  823. /// <summary>
  824. /// 挂牌交易全款金额
  825. /// </summary>
  826. TAACCOUNTLOG_BM_CLOSE_ORDER_PAY = 1231,
  827. /// <summary>
  828. /// 挂牌交易仓单服务费
  829. /// </summary>
  830. TAACCOUNTLOG_BM_CLOSE_ORDER_WAREHOUSE_FEE = 1235,
  831. /// <summary>
  832. /// 挂牌交易盈亏
  833. /// </summary>
  834. TAACCOUNTLOG_BM_CLOSE_ORDER_PL = 1239,
  835. /// <summary>
  836. /// 挂牌结算盈亏
  837. /// </summary>
  838. TAACCOUNTLOG_BM_RECKON_PL = 1240,
  839. /// <summary>
  840. /// 挂牌结算递延费
  841. /// </summary>
  842. TAACCOUNTLOG_BM_RECKON_DELAY_FEE = 1241,
  843. /// <summary>
  844. /// 挂牌交易手续费分成
  845. /// </summary>
  846. TAACCOUNTLOG_BM_DIVIDE_TRADEFEE = 1260,
  847. /// <summary>
  848. /// 挂牌递延费分成
  849. /// </summary>
  850. TAACCOUNTLOG_BM_DIVIDE_INTEREST = 1262,
  851. /// <summary>
  852. /// 申购手续费
  853. /// </summary>
  854. TAACCOUNTLOG_IM_BUILD_ORDER_FEE = 1320,
  855. /// <summary>
  856. /// 发售买入全款金额
  857. /// </summary>
  858. TAACCOUNTLOG_IM_BUILD_ORDER_PAY = 1321,
  859. /// <summary>
  860. /// 发行手续费
  861. /// </summary>
  862. TAACCOUNTLOG_IM_CLOSE_ORDER_FEE = 1330,
  863. /// <summary>
  864. /// 发售卖出全款金额
  865. /// </summary>
  866. TAACCOUNTLOG_IM_CLOSE_ORDER_PAY = 1331,
  867. /// <summary>
  868. /// 发售交易手续费分成
  869. /// </summary>
  870. TAACCOUNTLOG_IM_DIVIDE_TRADEFEE = 1360,
  871. /// <summary>
  872. /// 发售递延费分成
  873. /// </summary>
  874. TAACCOUNTLOG_IM_DIVIDE_INTEREST = 1362,
  875. /// <summary>
  876. /// 发售申购手续费分成
  877. /// </summary>
  878. TAACCOUNTLOG_IM_DIVIDE_SUBSCRIBE_FEE = 1363,
  879. /// <summary>
  880. /// 发售发行手续费分成
  881. /// </summary>
  882. TAACCOUNTLOG_IM_DIVIDE_PUBLISH_FEE = 1364,
  883. /// <summary>
  884. /// 混合模式交易手续费
  885. /// </summary>
  886. TAACCOUNTLOG_XM_BUILD_ORDER_FEE = 1420,
  887. /// <summary>
  888. /// 混合模式交易全款金额
  889. /// </summary>
  890. TAACCOUNTLOG_XM_BUILD_ORDER_PAY = 1421,
  891. /// <summary>
  892. /// 混合模式交易仓单服务费
  893. /// </summary>
  894. TAACCOUNTLOG_XM_BUILD_ORDER_WAREHOUSE_FEE = 1425,
  895. /// <summary>
  896. /// 混合模式交易手续费
  897. /// </summary>
  898. TAACCOUNTLOG_XM_CLOSE_ORDER_FEE = 1430,
  899. /// <summary>
  900. /// 混合模式交易全款金额
  901. /// </summary>
  902. TAACCOUNTLOG_XM_CLOSE_ORDER_PAY = 1431,
  903. /// <summary>
  904. /// 混合模式交易仓单服务费
  905. /// </summary>
  906. TAACCOUNTLOG_XM_CLOSE_ORDER_WAREHOUSE_FEE = 1435,
  907. /// <summary>
  908. /// 混合模式交易盈亏
  909. /// </summary>
  910. TAACCOUNTLOG_XM_CLOSE_ORDER_PL = 1439,
  911. /// <summary>
  912. /// 混合结算盈亏
  913. /// </summary>
  914. TAACCOUNTLOG_XM_RECKON_PL = 1440,
  915. /// <summary>
  916. /// 混合结算递延费
  917. /// </summary>
  918. TAACCOUNTLOG_XM_RECKON_DELAY_FEE = 1441,
  919. /// <summary>
  920. /// 混合模式交易手续费分成
  921. /// </summary>
  922. TAACCOUNTLOG_XM_DIVIDE_TRADEFEE = 1460,
  923. /// <summary>
  924. /// 混合模式递延费分成
  925. /// </summary>
  926. TAACCOUNTLOG_XM_DIVIDE_INTEREST = 1462,
  927. /// <summary>
  928. /// 入金
  929. /// </summary>
  930. TAACCOUNTLOG_BK_IN_MONEY = 2100,
  931. /// <summary>
  932. /// 出金
  933. /// </summary>
  934. TAACCOUNTLOG_BK_OUT_MONEY = 2200,
  935. /// <summary>
  936. /// 调整-出入金调整
  937. /// </summary>
  938. TAACCOUNTLOG_BK_INOUT_ADJUST = 2300,
  939. /// <summary>
  940. /// 调整-资金调整
  941. /// </summary>
  942. TAACCOUNTLOG_INR_ADJUST_TAAMOUNT = 3100,
  943. /// <summary>
  944. /// 调整-连续现货买入手续费
  945. /// </summary>
  946. TAACCOUNTLOG_MANUAL_MM_BUILDINGFEE = 3101,
  947. /// <summary>
  948. /// 调整-连续现货买入仓单服务费
  949. /// </summary>
  950. TAACCOUNTLOG_MANUAL_MM_BUILDINGWARRANT_EXPENSE = 3102,
  951. /// <summary>
  952. /// 调整-连续现货卖出手续费
  953. /// </summary>
  954. TAACCOUNTLOG_MANUAL_MM_COVERFEE = 3103,
  955. /// <summary>
  956. /// 调整-连续现货卖出仓单服务费
  957. /// </summary>
  958. TAACCOUNTLOG_MANUAL_MM_COVERWARRANT_EXPENSE = 3104,
  959. /// <summary>
  960. /// 调整-连续现货卖出盈亏
  961. /// </summary>
  962. TAACCOUNTLOG_MANUAL_MM_COVER_PROFIT = 3105,
  963. /// <summary>
  964. /// 调整-连续现货结算盈亏
  965. /// </summary>
  966. TAACCOUNTLOG_MANUAL_MM_BALANCE_PROFIT = 3106,
  967. /// <summary>
  968. /// 调整-连续现货结算递延费
  969. /// </summary>
  970. TAACCOUNTLOG_MANUAL_MM_BALANCE_DEFERRED_CHARGES = 3107,
  971. /// <summary>
  972. /// 调整-连续现货交收手续费
  973. /// </summary>
  974. TAACCOUNTLOG_MANUAL_MM_SETTLEMENT_FEE = 3108,
  975. /// <summary>
  976. /// 调整-挂牌买入手续费
  977. /// </summary>
  978. TAACCOUNTLOG_MANUAL_BM_BUILDINGFEE = 3109,
  979. /// <summary>
  980. /// 调整-挂牌买入仓单服务费
  981. /// </summary>
  982. TAACCOUNTLOG_MANUAL_BM_BUILDINGWARRANT_EXPENSE = 3110,
  983. /// <summary>
  984. /// 调整-挂牌卖出手续费
  985. /// </summary>
  986. TAACCOUNTLOG_MANUAL_BM_COVERFEE = 3111,
  987. /// <summary>
  988. /// 调整-挂牌卖出仓单服务费
  989. /// </summary>
  990. TAACCOUNTLOG_MANUAL_BM_COVERWARRANT_EXPENSE = 3112,
  991. /// <summary>
  992. /// 调整-挂牌卖出盈亏
  993. /// </summary>
  994. TAACCOUNTLOG_MANUAL_BM_COVER_PROFIT = 3113,
  995. /// <summary>
  996. /// 调整-挂牌结算盈亏
  997. /// </summary>
  998. TAACCOUNTLOG_MANUAL_BM_BALANCE_PROFIT = 3114,
  999. /// <summary>
  1000. /// 调整-挂牌结算递延费
  1001. /// </summary>
  1002. TAACCOUNTLOG_MANUAL_BM_BALANCE_DEFERRED_CHARGES = 3115,
  1003. /// <summary>
  1004. /// 调整-挂牌交收手续费
  1005. /// </summary>
  1006. TAACCOUNTLOG_MANUAL_BM_SETTLEMENT_FEE = 3116,
  1007. /// <summary>
  1008. /// 调整-发售买入手续费
  1009. /// </summary>
  1010. TAACCOUNTLOG_MANUAL_IM_BUILDINGFEE = 3117,
  1011. /// <summary>
  1012. /// 调整-发售卖出手续费
  1013. /// </summary>
  1014. TAACCOUNTLOG_MANUAL_IM_COVERFEE = 3118,
  1015. /// <summary>
  1016. /// 调整-混合模式买入手续费
  1017. /// </summary>
  1018. TAACCOUNTLOG_MANUAL_XM_BUILDINGFEE = 3119,
  1019. /// <summary>
  1020. /// 调整-混合模式买入仓单服务费
  1021. /// </summary>
  1022. TAACCOUNTLOG_MANUAL_XM_BUILDINGWARRANT_EXPENSE = 3120,
  1023. /// <summary>
  1024. /// 调整-混合模式卖出手续费
  1025. /// </summary>
  1026. TAACCOUNTLOG_MANUAL_XM_COVERFEE = 3121,
  1027. /// <summary>
  1028. /// 调整-混合模式卖出仓单服务费
  1029. /// </summary>
  1030. TAACCOUNTLOG_MANUAL_XM_COVERWARRANT_EXPENSE = 3122,
  1031. /// <summary>
  1032. /// 调整-混合模式卖出盈亏
  1033. /// </summary>
  1034. TAACCOUNTLOG_MANUAL_XM_COVER_PROFIT = 3123,
  1035. /// <summary>
  1036. /// 调整-混合结算盈亏
  1037. /// </summary>
  1038. TAACCOUNTLOG_MANUAL_XM_BALANCE_PROFIT = 3124,
  1039. /// <summary>
  1040. /// 调整-混合结算递延费
  1041. /// </summary>
  1042. TAACCOUNTLOG_MANUAL_XM_BALANCE_DEFERRED_CHARGES = 3125,
  1043. /// <summary>
  1044. /// 调整-混合交收手续费
  1045. /// </summary>
  1046. TAACCOUNTLOG_MANUAL_XM_SETTLEMENT_FEE = 3126,
  1047. /// <summary>
  1048. /// 调整-入金
  1049. /// </summary>
  1050. TAACCOUNTLOG_MANUAL_DEPOSIT = 3127,
  1051. /// <summary>
  1052. /// 调整-出金
  1053. /// </summary>
  1054. TAACCOUNTLOG_MANUAL_OUT_DEPOSIT = 3128,
  1055. /// <summary>
  1056. /// 斩仓回退
  1057. /// </summary>
  1058. TAACCOUNTLOG_CUT_BACK = 3200,
  1059. /// <summary>
  1060. /// 交割手续费
  1061. /// </summary>
  1062. TAACCOUNTLOG_DELIVERY_FEE = 4000,
  1063. /// <summary>
  1064. /// 交割费用分成
  1065. /// </summary>
  1066. TAACCOUNTLOG_DELIVERY_DIVIDE_FEE = 4001,
  1067. /// <summary>
  1068. /// 交割升贴水
  1069. /// </summary>
  1070. TAACCOUNTLOG_DELIVERY_PRICEMOVE = 4002,
  1071. /// <summary>
  1072. /// 交割确认扣款
  1073. /// </summary>
  1074. TAACCOUNTLOG_DELIVERY_CONFIRM = 4003,
  1075. /// <summary>
  1076. /// 交割收款
  1077. /// </summary>
  1078. TAACCOUNTLOG_DELIVERY_RECEIVE = 4004,
  1079. /// <summary>
  1080. /// 交割卖出全款金额
  1081. /// </summary>
  1082. TAACCOUNTLOG_DELIVERY_CLOSE_PAY = 4005,
  1083. /// <summary>
  1084. /// 交割税款
  1085. /// </summary>
  1086. TAACCOUNTLOG_DELIVERY_TAX = 4006,
  1087. /// <summary>
  1088. /// 交割货款
  1089. /// </summary>
  1090. TAACCOUNTLOG_DELIVERY_PAYMENT = 4007,
  1091. /// <summary>
  1092. /// 交割盈亏
  1093. /// </summary>
  1094. TAACCOUNTLOG_DELIVERY_PL = 4008,
  1095. /// <summary>
  1096. /// 挂牌点价手续费
  1097. /// </summary>
  1098. TAACCOUNTLOG_LISTING_FEE = 4100,
  1099. /// <summary>
  1100. /// 挂牌点价手续费分成
  1101. /// </summary>
  1102. TAACCOUNTLOG_LISTING_DIVIDE_FEE = 4101,
  1103. /// <summary>
  1104. /// 摘牌手续费
  1105. /// </summary>
  1106. TAACCOUNTLOG_DELISTING_FEE = 4102,
  1107. /// <summary>
  1108. /// 摘牌手续费分成
  1109. /// </summary>
  1110. TAACCOUNTLOG_DELISTING_DIVIDE_FEE = 4103,
  1111. /// <summary>
  1112. /// 挂牌点价全款金额
  1113. /// </summary>
  1114. TAACCOUNTLOG_LISTING_PAY = 4104,
  1115. /// <summary>
  1116. /// 托管手续费
  1117. /// </summary>
  1118. TAACCOUNTLOG_MANAGED_FEE = 4200,
  1119. /// <summary>
  1120. /// 托管手续费分成
  1121. /// </summary>
  1122. TAACCOUNTLOG_MANAGED_DIVIDE_FEE = 4201,
  1123. /// <summary>
  1124. /// 交易盈利划转
  1125. /// </summary>
  1126. TAACCOUNTLOG_PROFIT_TRANSFER = 4300,
  1127. /// <summary>
  1128. /// 交易盈利划转分成
  1129. /// </summary>
  1130. TAACCOUNTLOG_PROFIT_TRANSFER_DIVIDE = 4301
  1131. }
  1132. /// <summary>
  1133. // 资金金额明细类型
  1134. /// </summary>
  1135. public enum eTAAmountDetailType {
  1136. /// <summary>
  1137. /// 连续现货手续费
  1138. /// </summary>
  1139. TAAMOUNTDETAIL_MM_FEE = 1120,
  1140. /// <summary>
  1141. /// 连续现货仓单服务费
  1142. /// </summary>
  1143. TAAMOUNTDETAIL_MM_WAREHOUSE_FEE = 1135,
  1144. /// <summary>
  1145. /// 连续现货递延费
  1146. /// </summary>
  1147. TAAMOUNTDETAIL_MM_DEFER_FEE = 1140,
  1148. /// <summary>
  1149. /// 连续现货冻结保证金
  1150. /// </summary>
  1151. TAAMOUNTDETAIL_MM_FREEZEMARGIN = 1150,
  1152. /// <summary>
  1153. /// 连续现货占用保证金
  1154. /// </summary>
  1155. TAAMOUNTDETAIL_MM_USEDMARGIN = 1151,
  1156. /// <summary>
  1157. /// 连续现货费用冻结
  1158. /// </summary>
  1159. TAAMOUNTDETAIL_MM_FEEFREEZE = 1160,
  1160. /// <summary>
  1161. /// 挂牌手续费
  1162. /// </summary>
  1163. TAAMOUNTDETAIL_BM_FEE = 1220,
  1164. /// <summary>
  1165. /// 挂牌仓单服务费
  1166. /// </summary>
  1167. TAAMOUNTDETAIL_BM_WAREHOUSE_FEE = 1235,
  1168. /// <summary>
  1169. /// 挂牌递延费
  1170. /// </summary>
  1171. TAAMOUNTDETAIL_BM_DEFER_FEE = 1240,
  1172. /// <summary>
  1173. /// 挂牌冻结保证金
  1174. /// </summary>
  1175. TAAMOUNTDETAIL_BM_FREEZEMARGIN = 1250,
  1176. /// <summary>
  1177. /// 挂牌占用保证金
  1178. /// </summary>
  1179. TAAMOUNTDETAIL_BM_USEDMARGIN = 1251,
  1180. /// <summary>
  1181. /// 挂牌费用冻结
  1182. /// </summary>
  1183. TAAMOUNTDETAIL_BM_FEEFREEZE = 1260,
  1184. /// <summary>
  1185. /// 交收冻结
  1186. /// </summary>
  1187. TAAMOUNTDETAIL_DELIVERY_FREEZE = 1310,
  1188. /// <summary>
  1189. /// 交割手续费
  1190. /// </summary>
  1191. TAAMOUNTDETAIL_DELIVERY_FEE = 1330,
  1192. /// <summary>
  1193. /// 交收税款
  1194. /// </summary>
  1195. TAAMOUNTDETAIL_DELIVERY_TAX = 1340,
  1196. /// <summary>
  1197. /// 交割盈亏
  1198. /// </summary>
  1199. TAAMOUNTDETAIL_DELIVERY_PL = 1350,
  1200. /// <summary>
  1201. /// 交割欠款
  1202. /// </summary>
  1203. TAAMOUNTDETAIL_DELIVERY_DEBT = 1360,
  1204. /// <summary>
  1205. /// 发售冻结
  1206. /// </summary>
  1207. TAAMOUNTDETAIL_IM_FREEZE = 1400,
  1208. /// <summary>
  1209. /// 发售手续费
  1210. /// </summary>
  1211. TAAMOUNTDETAIL_IM_FEE = 1410,
  1212. /// <summary>
  1213. /// 发售申购手续费
  1214. /// </summary>
  1215. TAAMOUNTDETAIL_IM_SUBSCRIBE_FEE = 1420,
  1216. /// <summary>
  1217. /// 发售发行手续费
  1218. /// </summary>
  1219. TAAMOUNTDETAIL_IM_PUBLISH_FEE = 1430,
  1220. /// <summary>
  1221. /// 混合模式手续费
  1222. /// </summary>
  1223. TAAMOUNTDETAIL_XM_FEE = 1520,
  1224. /// <summary>
  1225. /// 混合模式仓单服务费
  1226. /// </summary>
  1227. TAAMOUNTDETAIL_XM_WAREHOUSE_FEE = 1535,
  1228. /// <summary>
  1229. /// 混合模式递延费
  1230. /// </summary>
  1231. TAAMOUNTDETAIL_XM_DEFER_FEE = 1540,
  1232. /// <summary>
  1233. /// 混合冻结保证金
  1234. /// </summary>
  1235. TAAMOUNTDETAIL_XM_FREEZEMARGIN = 1550,
  1236. /// <summary>
  1237. /// 混合占用保证金
  1238. /// </summary>
  1239. TAAMOUNTDETAIL_XM_USEDMARGIN = 1551,
  1240. /// <summary>
  1241. /// 混合费用冻结
  1242. /// </summary>
  1243. TAAMOUNTDETAIL_XM_FEEFREEZE = 1560,
  1244. /// <summary>
  1245. /// 挂牌点价手续费
  1246. /// </summary>
  1247. TAAMOUNTDETAIL_LISTING_FEE = 1600,
  1248. /// <summary>
  1249. /// 摘牌手续费
  1250. /// </summary>
  1251. TAAMOUNTDETAIL_DELISTING_FEE = 1601,
  1252. /// <summary>
  1253. /// 摘牌冻结
  1254. /// </summary>
  1255. TAAMOUNTDETAIL_DELISTING_FREEZE = 1602,
  1256. /// <summary>
  1257. /// 挂牌冻结
  1258. /// </summary>
  1259. TAAMOUNTDETAIL_LISTING_FREEZE = 1603,
  1260. /// <summary>
  1261. /// 托管冻结
  1262. /// </summary>
  1263. TAAMOUNTDETAIL_MANAGED_FREEZE = 1700,
  1264. /// <summary>
  1265. /// 托管手续费
  1266. /// </summary>
  1267. TAAMOUNTDETAIL_MANAGED_FEE = 1701,
  1268. /// <summary>
  1269. /// 外部冻结
  1270. /// </summary>
  1271. TAAMOUNTDETAIL_OTR_FREEZE = 3210
  1272. }
  1273. /// <summary>
  1274. // 发售价格确定方式
  1275. /// </summary>
  1276. public enum eIssuePriceDefineWay {
  1277. /// <summary>
  1278. /// 指定价
  1279. /// </summary>
  1280. ISSUEPRICEDEFINEWAY_SPEC = 0,
  1281. /// <summary>
  1282. /// 区间价
  1283. /// </summary>
  1284. ISSUEPRICEDEFINEWAY_SCOPE = 1
  1285. }
  1286. /// <summary>
  1287. // 发售价格确定模式
  1288. /// </summary>
  1289. public enum eIssuePriceDefineMode {
  1290. /// <summary>
  1291. /// 竞价模式
  1292. /// </summary>
  1293. ISSUEPRICEDEFINEMODE_BID = 0,
  1294. /// <summary>
  1295. /// 累计投标模式
  1296. /// </summary>
  1297. ISSUEPRICEDEFINEMODE_SERIESBID = 1
  1298. }
  1299. /// <summary>
  1300. // 头寸类型
  1301. /// </summary>
  1302. public enum ePositionType {
  1303. /// <summary>
  1304. /// 投资者持仓汇总
  1305. /// </summary>
  1306. POSITIONTYPE_INVESTOR = 0,
  1307. /// <summary>
  1308. /// 会员持仓汇总
  1309. /// </summary>
  1310. POSITIONTYPE_MEMBER = 1
  1311. }
  1312. /// <summary>
  1313. // 通用结果
  1314. /// </summary>
  1315. public enum eCommonResult {
  1316. /// <summary>
  1317. /// 通过
  1318. /// </summary>
  1319. COMMONRESULT_OK = 0,
  1320. /// <summary>
  1321. /// 拒绝
  1322. /// </summary>
  1323. COMMONRESULT_REJECT = 1,
  1324. /// <summary>
  1325. /// 待审核
  1326. /// </summary>
  1327. COMMONRESULT_WAIT = 2
  1328. }
  1329. /// <summary>
  1330. // 交易规则类型
  1331. /// </summary>
  1332. public enum eTradeRuleType {
  1333. /// <summary>
  1334. /// 下单类型
  1335. /// </summary>
  1336. TRADERULETYPE_BUILDTYPE = 1,
  1337. /// <summary>
  1338. /// 价格类型
  1339. /// </summary>
  1340. TRADERULETYPE_PRICEMODE = 2,
  1341. /// <summary>
  1342. /// 止损止盈价格
  1343. /// </summary>
  1344. TRADERULETYPE_SLSPPRICE = 3,
  1345. /// <summary>
  1346. /// 反手买入
  1347. /// </summary>
  1348. TRADERULETYPE_REOPENFLAG = 4,
  1349. /// <summary>
  1350. /// 买卖方向
  1351. /// </summary>
  1352. TRADERULETYPE_BUYORSELL = 5
  1353. }
  1354. /// <summary>
  1355. // 做市商订单类型
  1356. /// </summary>
  1357. public enum eMarketOrderType {
  1358. /// <summary>
  1359. /// 连续现货市价买入
  1360. /// </summary>
  1361. MARKETORDERTYPE_MARKETOPEN = 0,
  1362. /// <summary>
  1363. /// 连续现货限价买入
  1364. /// </summary>
  1365. MARKETORDERTYPE_LIMITOPEN = 1,
  1366. /// <summary>
  1367. /// 连续现货市价卖出
  1368. /// </summary>
  1369. MARKETORDERTYPE_MARKETCLOSE = 2,
  1370. /// <summary>
  1371. /// 连续现货限价卖出
  1372. /// </summary>
  1373. MARKETORDERTYPE_LIMITCLOSE = 3
  1374. }
  1375. /// <summary>
  1376. // 斩仓规则
  1377. /// </summary>
  1378. public enum eCutMarginRule {
  1379. /// <summary>
  1380. /// 逐笔斩仓
  1381. /// </summary>
  1382. ORDERCUT = 0,
  1383. /// <summary>
  1384. /// 逐手斩仓
  1385. /// </summary>
  1386. HANDCUT = 1,
  1387. /// <summary>
  1388. /// 市场全斩
  1389. /// </summary>
  1390. MARKETALLCUT = 2
  1391. }
  1392. /// <summary>
  1393. // 斩仓商品规则
  1394. /// </summary>
  1395. public enum eCutMarginGoodsRule {
  1396. /// <summary>
  1397. /// 先建先平
  1398. /// </summary>
  1399. CUTMARGINGOODS_FBFC = 0,
  1400. /// <summary>
  1401. /// 后建先平
  1402. /// </summary>
  1403. CUTMARGINGOODS_BBFC = 1,
  1404. /// <summary>
  1405. /// 盈利优先
  1406. /// </summary>
  1407. CUTMARGINGOODS_PF = 2,
  1408. /// <summary>
  1409. /// 亏损优先
  1410. /// </summary>
  1411. CUTMARGINGOODS_LF = 3
  1412. }
  1413. /// <summary>
  1414. // 价格状态
  1415. /// </summary>
  1416. public enum ePriceStatus {
  1417. /// <summary>
  1418. /// 实时价
  1419. /// </summary>
  1420. PRICESTATUS_REAL = 0,
  1421. /// <summary>
  1422. /// 历史价
  1423. /// </summary>
  1424. PRICESTATUS_HISTORY = 1,
  1425. /// <summary>
  1426. /// 清盘价
  1427. /// </summary>
  1428. PRICESTATUS_CLEAR = 2,
  1429. /// <summary>
  1430. /// 结算价
  1431. /// </summary>
  1432. PRICESTATUS_RECKON = 3,
  1433. /// <summary>
  1434. /// 最后一口价
  1435. /// </summary>
  1436. PRICESTATUS_LASTPRICE = 4
  1437. }
  1438. /// <summary>
  1439. // 结算状态
  1440. /// </summary>
  1441. public enum eSettleStatus {
  1442. /// <summary>
  1443. /// 未开始
  1444. /// </summary>
  1445. SETTLESTATUS_NOSTART = 0,
  1446. /// <summary>
  1447. /// 开始
  1448. /// </summary>
  1449. SETTLESTATUS_START = 1,
  1450. /// <summary>
  1451. /// 完成
  1452. /// </summary>
  1453. SETTLESTATUS_FINISHED = 2
  1454. }
  1455. /// <summary>
  1456. // 处理结果
  1457. /// </summary>
  1458. public enum eProcessResult {
  1459. /// <summary>
  1460. /// 成功
  1461. /// </summary>
  1462. PROCESSRESULT_OK = 0,
  1463. /// <summary>
  1464. /// 失败
  1465. /// </summary>
  1466. PROCESSRESULT_FAILED = 1
  1467. }
  1468. /// <summary>
  1469. // 结算节点类型
  1470. /// </summary>
  1471. public enum eSettleNodeType {
  1472. /// <summary>
  1473. /// 基类节点
  1474. /// </summary>
  1475. SETTLENODETYPE_BASE = 0,
  1476. /// <summary>
  1477. /// 结算价节点
  1478. /// </summary>
  1479. SETTLENODETYPE_RECKONPRICE = 1,
  1480. /// <summary>
  1481. /// 结算单据加载节点
  1482. /// </summary>
  1483. SETTLENODETYPE_RECKONDATALOADER = 2,
  1484. /// <summary>
  1485. /// 导表节点
  1486. /// </summary>
  1487. SETTLENODETYPE_DATAEXPORT = 3,
  1488. /// <summary>
  1489. /// 预结算节点
  1490. /// </summary>
  1491. SETTLENODETYPE_PRERECKON = 4,
  1492. /// <summary>
  1493. /// 有负债或无负债节点
  1494. /// </summary>
  1495. SETTLENODETYPE_NONDEBTRECKON = 5,
  1496. /// <summary>
  1497. /// 到期单据处理节点
  1498. /// </summary>
  1499. SETTLENODETYPE_TIMEOUTORDER = 6,
  1500. /// <summary>
  1501. /// 费用分成节点
  1502. /// </summary>
  1503. SETTLENODETYPE_FEEDIVIDE = 7,
  1504. /// <summary>
  1505. /// 交易日节点
  1506. /// </summary>
  1507. SETTLENODETYPE_TRADEDATE = 8,
  1508. /// <summary>
  1509. /// 协议转让节点
  1510. /// </summary>
  1511. SETTLENODETYPE_TREATYCLOSE = 9,
  1512. /// <summary>
  1513. /// 到期持仓处理节点
  1514. /// </summary>
  1515. SETTLENODETYPE_TIMEOUTFORCECLOSE = 10,
  1516. /// <summary>
  1517. /// 数据备份节点
  1518. /// </summary>
  1519. SETTLENODETYPE_BAK = 11,
  1520. /// <summary>
  1521. /// 预买单撤单节点
  1522. /// </summary>
  1523. SETTLENODETYPE_PREPOSTCANCLE = 12,
  1524. /// <summary>
  1525. /// 到期交割节点
  1526. /// </summary>
  1527. SETTLENODETYPE_TIMEOUTDILIVERY = 13,
  1528. /// <summary>
  1529. /// 发售转二级节点
  1530. /// </summary>
  1531. SETTLENODETYPE_GOSECONDEMARKET = 14
  1532. }
  1533. /// <summary>
  1534. // 风险率计算方式
  1535. /// </summary>
  1536. public enum eRiskRateMode {
  1537. /// <summary>
  1538. /// 占用/净值
  1539. /// </summary>
  1540. OCCUPYWORTH = 0,
  1541. /// <summary>
  1542. /// 净值/占用
  1543. /// </summary>
  1544. WORTHOCCUPY = 1
  1545. }
  1546. /// <summary>
  1547. // 流水号生成KEY
  1548. /// </summary>
  1549. public enum eSerialKey {
  1550. /// <summary>
  1551. /// 基类节点
  1552. /// </summary>
  1553. SERIALKEY_RECKONPROGRESSLOG = 101,
  1554. /// <summary>
  1555. /// 结算价请求序列号
  1556. /// </summary>
  1557. SERIALKEY_RECKONREQUESTID = 102,
  1558. /// <summary>
  1559. /// 无负债结算节点请求序列号
  1560. /// </summary>
  1561. SERIALKEY_NONDEBTRECKONREQUESTID = 103,
  1562. /// <summary>
  1563. /// 费用分成请求序列号
  1564. /// </summary>
  1565. SERIALKEY_FEEDIVIDEREQUESTID = 104,
  1566. /// <summary>
  1567. /// 费用分成流水号
  1568. /// </summary>
  1569. SERIALKEY_FEEDIVIDETICHKET = 105
  1570. }
  1571. /// <summary>
  1572. // 银行业务是否检查干净账户
  1573. /// </summary>
  1574. public enum eBankCheckCleanFlag {
  1575. /// <summary>
  1576. /// 检查
  1577. /// </summary>
  1578. BANK_CHECKCLEANFLAG_YES = 0,
  1579. /// <summary>
  1580. /// 不检查
  1581. /// </summary>
  1582. BANK_CHECKCLEANFLAG_NO = 1
  1583. }
  1584. /// <summary>
  1585. // 记录是否已结算
  1586. /// </summary>
  1587. public enum eRecordReckonStatus {
  1588. /// <summary>
  1589. /// 等待下一次结算
  1590. /// </summary>
  1591. RECORDRECKONSTATUS_WAITNEXT = 0,
  1592. /// <summary>
  1593. /// 已发送到资金服务
  1594. /// </summary>
  1595. RECORDRECKONSTATUS_SENT = 1,
  1596. /// <summary>
  1597. /// 资金服务返回错误
  1598. /// </summary>
  1599. RECORDRECKONSTATUS_ERR = 2,
  1600. /// <summary>
  1601. /// 结算完成
  1602. /// </summary>
  1603. RECORDRECKONSTATUS_FINISHED = 3
  1604. }
  1605. /// <summary>
  1606. // 汇总范围
  1607. /// </summary>
  1608. public enum eSummarizesScope {
  1609. /// <summary>
  1610. /// 当前层级
  1611. /// </summary>
  1612. SUMMARIZESSCOPE_CURRENTLEVEL = 0,
  1613. /// <summary>
  1614. /// 包含旗下层级
  1615. /// </summary>
  1616. SUMMARIZESSCOPE_OWNEDLEVEL = 1
  1617. }
  1618. /// <summary>
  1619. // 汇总类型
  1620. /// </summary>
  1621. public enum eSummarizesType {
  1622. /// <summary>
  1623. /// 投资者账户
  1624. /// </summary>
  1625. SUMMARIZESTYPE_INVESTOR = 0,
  1626. /// <summary>
  1627. /// 经纪商账户
  1628. /// </summary>
  1629. SUMMARIZESTYPE_BROKER = 2,
  1630. /// <summary>
  1631. /// 机构账户
  1632. /// </summary>
  1633. SUMMARIZESTYPE_AREA = 3,
  1634. /// <summary>
  1635. /// 会员账户
  1636. /// </summary>
  1637. SUMMARIZESTYPE_MEMBER = 5,
  1638. /// <summary>
  1639. /// 运营中心账户
  1640. /// </summary>
  1641. SUMMARIZESTYPE_OPERATION = 6,
  1642. /// <summary>
  1643. /// 交易所账户
  1644. /// </summary>
  1645. SUMMARIZESTYPE_EXCHANGE = 7,
  1646. /// <summary>
  1647. /// 集团账户
  1648. /// </summary>
  1649. SUMMARIZESTYPE_EXCHANGEGROUP = 8
  1650. }
  1651. /// <summary>
  1652. // 汇总周期
  1653. /// </summary>
  1654. public enum eSummarizesCycle {
  1655. /// <summary>
  1656. /// 分钟
  1657. /// </summary>
  1658. MINUTE = 1,
  1659. /// <summary>
  1660. /// 小时
  1661. /// </summary>
  1662. HOUR = 2,
  1663. /// <summary>
  1664. /// 日
  1665. /// </summary>
  1666. DAY = 3,
  1667. /// <summary>
  1668. /// 周
  1669. /// </summary>
  1670. WEEK = 4,
  1671. /// <summary>
  1672. /// 月
  1673. /// </summary>
  1674. MONTH = 5,
  1675. /// <summary>
  1676. /// 季
  1677. /// </summary>
  1678. QUARTER = 6,
  1679. /// <summary>
  1680. /// 年
  1681. /// </summary>
  1682. YEAR = 7
  1683. }
  1684. /// <summary>
  1685. // 汇总分类(性质)
  1686. /// </summary>
  1687. public enum eSummarizesKind {
  1688. /// <summary>
  1689. /// 被动接单
  1690. /// </summary>
  1691. SUMMARIZES_PASSIVEORDER = 0,
  1692. /// <summary>
  1693. /// 主动自营
  1694. /// </summary>
  1695. SUMMARIZES_FROMTRADER = 1,
  1696. /// <summary>
  1697. /// 被动转单
  1698. /// </summary>
  1699. SUMMARIZES_PASSIVETRANSFER = 2,
  1700. /// <summary>
  1701. /// 转移单据
  1702. /// </summary>
  1703. SUMMARIZES_TRANSFER = 3
  1704. }
  1705. /// <summary>
  1706. // 报表类型
  1707. /// </summary>
  1708. public enum eReportType {
  1709. /// <summary>
  1710. /// 投资者报表
  1711. /// </summary>
  1712. REPORTTYPE_INVESTOR = 0,
  1713. /// <summary>
  1714. /// 经纪商报表
  1715. /// </summary>
  1716. REPORTTYPE_BROKER = 1,
  1717. /// <summary>
  1718. /// 机构报表
  1719. /// </summary>
  1720. REPORTTYPE_AREA = 2,
  1721. /// <summary>
  1722. /// 交易所报表
  1723. /// </summary>
  1724. REPORTTYPE_EXCHANGE = 4,
  1725. /// <summary>
  1726. /// 银行报表
  1727. /// </summary>
  1728. REPORTTYPE_BANKCLEAR = 5,
  1729. /// <summary>
  1730. /// 商品成交报表
  1731. /// </summary>
  1732. REPORTTYPE_GOODSRECKONINFO = 6,
  1733. /// <summary>
  1734. /// 费用分成报表
  1735. /// </summary>
  1736. REPORTTYPE_FEEDIVIDE = 7
  1737. }
  1738. /// <summary>
  1739. // 字段对齐
  1740. /// </summary>
  1741. public enum eFieldAlignment {
  1742. /// <summary>
  1743. /// 上
  1744. /// </summary>
  1745. FIELDALIGNMENT_TOP = 1,
  1746. /// <summary>
  1747. /// 左
  1748. /// </summary>
  1749. FIELDALIGNMENT_LEFT = 2,
  1750. /// <summary>
  1751. /// 中
  1752. /// </summary>
  1753. FIELDALIGNMENT_CENTER = 4,
  1754. /// <summary>
  1755. /// 右
  1756. /// </summary>
  1757. FIELDALIGNMENT_RIGHT = 8,
  1758. /// <summary>
  1759. /// 下
  1760. /// </summary>
  1761. FIELDALIGNMENT_BUTTOM = 16
  1762. }
  1763. /// <summary>
  1764. // 单据标记
  1765. /// </summary>
  1766. public enum eOrderFlag {
  1767. /// <summary>
  1768. /// 正常委托
  1769. /// </summary>
  1770. ORDERFLAG_NORMAL = 0,
  1771. /// <summary>
  1772. /// 预埋单委托
  1773. /// </summary>
  1774. ORDERFLAG_PERPOST = 1,
  1775. /// <summary>
  1776. /// 预埋单触发委托
  1777. /// </summary>
  1778. ORDERFLAG_PERPOST_TIGGER = 2
  1779. }
  1780. /// <summary>
  1781. // 预埋单触发类型
  1782. /// </summary>
  1783. public enum eTriggerType {
  1784. /// <summary>
  1785. /// 大于
  1786. /// </summary>
  1787. TRIGGERTYPE_GREATER = 1,
  1788. /// <summary>
  1789. /// 大于等于
  1790. /// </summary>
  1791. TRIGGERTYPE_GREATER_OR_EQUAL = 2,
  1792. /// <summary>
  1793. /// 小于
  1794. /// </summary>
  1795. TRIGGERTYPE_LESS = 3,
  1796. /// <summary>
  1797. /// 小于等于
  1798. /// </summary>
  1799. TRIGGERTYPE_LESS_OR_EQUAL = 4
  1800. }
  1801. /// <summary>
  1802. // 预埋单单据状态
  1803. /// </summary>
  1804. public enum ePrepostStatus {
  1805. /// <summary>
  1806. /// 单据在市
  1807. /// </summary>
  1808. PREPOST_STATUS_MARKET = 1,
  1809. /// <summary>
  1810. /// 委托成功
  1811. /// </summary>
  1812. PREPOST_STATUS_SUCCEED = 2,
  1813. /// <summary>
  1814. /// 已撤
  1815. /// </summary>
  1816. PREPOST_STATUS_CANCELED = 3
  1817. }
  1818. /// <summary>
  1819. // 协议平仓状态
  1820. /// </summary>
  1821. public enum eTreatyCloseStatus {
  1822. /// <summary>
  1823. /// 待确认
  1824. /// </summary>
  1825. TREATYCLOSESTATUS_CHECK = 1,
  1826. /// <summary>
  1827. /// 全部已确认
  1828. /// </summary>
  1829. TREATYCLOSESTATUS_ALLCONFIRM = 2,
  1830. /// <summary>
  1831. /// 自动确认
  1832. /// </summary>
  1833. TREATYCLOSESTATUS_AUTOCONFIRM = 3,
  1834. /// <summary>
  1835. /// 全部成交(成功)
  1836. /// </summary>
  1837. TREATYCLOSESTATUS_DEALED = 4,
  1838. /// <summary>
  1839. /// 协议处理中
  1840. /// </summary>
  1841. TREATYCLOSESTATUS_DEALING = 5,
  1842. /// <summary>
  1843. /// 转让失败
  1844. /// </summary>
  1845. TREATYCLOSESTATUS_FAILED = 6,
  1846. /// <summary>
  1847. /// 系统撤销
  1848. /// </summary>
  1849. TREATYCLOSESTATUS_SYSCANCELED = 7,
  1850. /// <summary>
  1851. /// 人工撤销
  1852. /// </summary>
  1853. TREATYCLOSESTATUS_MANUALCANCELED = 8,
  1854. /// <summary>
  1855. /// 买方已确认
  1856. /// </summary>
  1857. TREATYCLOSESTATUS_BUYCONFIRM = 9,
  1858. /// <summary>
  1859. /// 卖方已确认
  1860. /// </summary>
  1861. TREATYCLOSESTATUS_SELLCONFIRM = 10
  1862. }
  1863. /// <summary>
  1864. // 短信模版编号
  1865. /// </summary>
  1866. public enum eSMSTemplateId {
  1867. /// <summary>
  1868. /// 网上开户验证模版1(您好,欢迎使用{0}网上开户系统,您的注册验证码为{1},请于5分钟内使用!--({2}))
  1869. /// </summary>
  1870. WEBUSER_REGISTER_CHECKCODE1 = 1,
  1871. /// <summary>
  1872. /// 网上开户验证模版2(您好,欢迎使用网上开户系统,您的注册验证码为{0}请于5分钟内使用!--(大交所))
  1873. /// </summary>
  1874. WEBUSER_REGISTER_CHECKCODE2 = 2,
  1875. /// <summary>
  1876. /// 网上开户审核通过模版1(尊敬的客户{0}您好,您提交的开户申请已通过审核。投资者账号:{1};登录账号:{2};登录初始密码:{3};资金初始密码:{4};电话初始密码:{5}。请妥善保管您的账号并及时修改初始密码。--{6})
  1877. /// </summary>
  1878. WEBUSER_REGISTER_CHECKPASS1 = 3,
  1879. /// <summary>
  1880. /// 网上开户审核通过模版2(尊敬的客户{0}您好,您提交的开户申请已通过审核。投资者账号:{1};登录账号:{2};登录初始密码:{3};资金初始密码:{4};电话初始密码:{5}。请妥善保管您的账号并及时修改初始密码。--{6})
  1881. /// </summary>
  1882. WEBUSER_REGISTER_CHECKPASS2 = 4,
  1883. /// <summary>
  1884. /// 网上开户审核失败模版(尊敬的客户{0}您好,您提交的开户申请未通过审核。原因:{1}。您可以联系我们了解详情后重新提交开户申请。 --{2})
  1885. /// </summary>
  1886. WEBUSER_REGISTER_CHECKFAIL = 5,
  1887. /// <summary>
  1888. /// 提示风险模板(尊敬的会员您好,您的登陆账号{0}由于资金安全率低于规定标准,交易系统于{1}提示您注意账户风险,特此通知。请时刻关注交易账户,将账户的资金安全率保持在合格水平,谢谢。[{2}])
  1889. /// </summary>
  1890. ORDERRISK_PROMPT = 6,
  1891. /// <summary>
  1892. /// 追加风险模板(尊敬的会员您好,您的登陆账号{0}由于资金安全率低于规定标准,交易系统于{1}提示您追加账户保证金,特此通知。请时刻关注交易账户,将账户的资金安全率保持在合格水平,谢谢。[{2}])
  1893. /// </summary>
  1894. ORDERRISK_ADDITIONAL = 7,
  1895. /// <summary>
  1896. /// 斩仓风险模板(尊敬的会员您好,您的登陆账号{0}由于资金安全率低于规定标准,已于{1}由交易系统代为平仓,特此通知。请时刻关注交易账户,将账户的资金安全率保持在合格水平,谢谢。[{2}])
  1897. /// </summary>
  1898. ORDERRISK_FORC = 8
  1899. }
  1900. /// <summary>
  1901. // 交割交易类型
  1902. /// </summary>
  1903. public enum eDeliveryTradeType {
  1904. /// <summary>
  1905. /// 持仓数量冻结
  1906. /// </summary>
  1907. DELIVERYTRADETYPE_FREEZE = 1,
  1908. /// <summary>
  1909. /// 持仓数量解冻
  1910. /// </summary>
  1911. DELIVERYTRADETYPE_UNFREEZE = 2,
  1912. /// <summary>
  1913. /// 全额交割成交
  1914. /// </summary>
  1915. DELIVERYTRADETYPE_TRADE = 3,
  1916. /// <summary>
  1917. /// 保证金交割成交
  1918. /// </summary>
  1919. DELIVERYTRADETYPE_MARGINTRADE = 4,
  1920. /// <summary>
  1921. /// 先平后建成交
  1922. /// </summary>
  1923. DELIVERYTRADETYPE_CLOSETHENOPENTRADE = 5
  1924. }
  1925. /// <summary>
  1926. // 到期持仓处理类型
  1927. /// </summary>
  1928. public enum eTimeoutHolderDealMethod {
  1929. /// <summary>
  1930. /// 到期强平
  1931. /// </summary>
  1932. HOLDER_DEAL_METHOD_CLOSE = 1,
  1933. /// <summary>
  1934. /// 到期无效
  1935. /// </summary>
  1936. HOLDER_DEAL_METHOD_INVALID = 2
  1937. }
  1938. /// <summary>
  1939. // 资金明细操作类型
  1940. /// </summary>
  1941. public enum eMoneyDetailOperateType {
  1942. /// <summary>
  1943. /// 冻结金额
  1944. /// </summary>
  1945. MONEY_DETAIL_OP_FREEZE = 1,
  1946. /// <summary>
  1947. /// 费用金额
  1948. /// </summary>
  1949. MONEY_DETAIL_OP_FEE = 2,
  1950. /// <summary>
  1951. /// 全款金额
  1952. /// </summary>
  1953. MONEY_DETAIL_OP_PAY = 3
  1954. }
  1955. /// <summary>
  1956. // 挂牌通知类型
  1957. /// </summary>
  1958. public enum eListingNtfType {
  1959. /// <summary>
  1960. /// 审核通过通知
  1961. /// </summary>
  1962. LISTING_AUDITPASS_NTF = 1,
  1963. /// <summary>
  1964. /// 改价通知
  1965. /// </summary>
  1966. LISTING_CHANGEPRICE_NTF = 2,
  1967. /// <summary>
  1968. /// 剩余数量通知
  1969. /// </summary>
  1970. LISTING_REMAINQTY_NTF = 3,
  1971. /// <summary>
  1972. /// 成交通知
  1973. /// </summary>
  1974. LISTING_BARGAIN_NTF = 4
  1975. }
  1976. /// <summary>
  1977. // 账户属性类别
  1978. /// </summary>
  1979. public enum eAccountPropType {
  1980. /// <summary>
  1981. /// 费用类别
  1982. /// </summary>
  1983. ACCOUNTPROPTYPE_TRADEFEE = 1,
  1984. /// <summary>
  1985. /// 交易规则类别
  1986. /// </summary>
  1987. ACCOUNTPROPTYPE_TRADERULE = 2
  1988. }
  1989. /// <summary>
  1990. // 通知控制信号类型
  1991. /// </summary>
  1992. public enum eNTFSignalType {
  1993. /// <summary>
  1994. /// 开市
  1995. /// </summary>
  1996. NTFSIGNALTYPE_OPEN = 1,
  1997. /// <summary>
  1998. /// 休市
  1999. /// </summary>
  2000. NTFSIGNALTYPE_CLOSE = 2,
  2001. /// <summary>
  2002. /// 市场阶段开始
  2003. /// </summary>
  2004. NTFSIGNALTYPE_MARKETPHASESTART = 3,
  2005. /// <summary>
  2006. /// 市场阶段结束
  2007. /// </summary>
  2008. NTFSIGNALTYPE_MARKETPHASEEND = 4,
  2009. /// <summary>
  2010. /// 市场结算
  2011. /// </summary>
  2012. NTFSIGNALTYPE_MARKETRECKON = 5,
  2013. /// <summary>
  2014. /// 系统结算
  2015. /// </summary>
  2016. NTFSIGNALTYPE_SYSTEMRECKON = 6,
  2017. /// <summary>
  2018. /// 挂牌点价结算
  2019. /// </summary>
  2020. NTFSIGNALTYPE_LISTRECKON = 7,
  2021. /// <summary>
  2022. /// 交割结算
  2023. /// </summary>
  2024. NTFSIGNALTYPE_DELIVERYRECKON = 8,
  2025. /// <summary>
  2026. /// 清盘
  2027. /// </summary>
  2028. NTFSIGNALTYPE_CLEAR = 9,
  2029. /// <summary>
  2030. /// 预结算
  2031. /// </summary>
  2032. NTFSIGNALTYPE_PRERECKON = 20
  2033. }
  2034. /// <summary>
  2035. // 买卖方向
  2036. /// </summary>
  2037. public enum eBuyOrSell {
  2038. /// <summary>
  2039. /// 买
  2040. /// </summary>
  2041. BUY = 0,
  2042. /// <summary>
  2043. /// 卖
  2044. /// </summary>
  2045. SELL = 1
  2046. }
  2047. /// <summary>
  2048. // 托管计划状态
  2049. /// </summary>
  2050. public enum eDepositStatus {
  2051. /// <summary>
  2052. /// 待激活
  2053. /// </summary>
  2054. DEPOSITSTATUS_INACTIVE = 0,
  2055. /// <summary>
  2056. /// 正常
  2057. /// </summary>
  2058. DEPOSITSTATUS_NORMAL = 1,
  2059. /// <summary>
  2060. /// 删除
  2061. /// </summary>
  2062. DEPOSITSTATUS_DELETE = 2
  2063. }
  2064. /// <summary>
  2065. // 交割关系模式
  2066. /// </summary>
  2067. public enum eRelationMode {
  2068. /// <summary>
  2069. /// N模式
  2070. /// </summary>
  2071. N_MODE = 0,
  2072. /// <summary>
  2073. /// P模式
  2074. /// </summary>
  2075. P_MODE = 1,
  2076. /// <summary>
  2077. /// P+X模式
  2078. /// </summary>
  2079. NP_MODE = 2
  2080. }
  2081. /// <summary>
  2082. // 交割先平后建成交类型
  2083. /// </summary>
  2084. public enum eDeliveryDealType {
  2085. /// <summary>
  2086. /// 全建仓成交
  2087. /// </summary>
  2088. DELIVERYDEALTYPE_OPEN = 0,
  2089. /// <summary>
  2090. /// 部分建仓部分平仓成交
  2091. /// </summary>
  2092. DELIVERYDEALTYPE_CLOSEOPEN = 1,
  2093. /// <summary>
  2094. /// 全平仓成交
  2095. /// </summary>
  2096. DELIVERYDEALTYPE_CLOSE = 2
  2097. }
  2098. /// <summary>
  2099. // 到期持仓处理方式
  2100. /// </summary>
  2101. public enum eTimeOutHolderDealMethod {
  2102. /// <summary>
  2103. /// 到期卖出
  2104. /// </summary>
  2105. TIMEOUT_SELL = 1,
  2106. /// <summary>
  2107. /// 到期无效
  2108. /// </summary>
  2109. TIMEOUT_INVALID = 2
  2110. }
  2111. /// <summary>
  2112. // 资金成交状态
  2113. /// </summary>
  2114. public enum eMoneyTradeStatus {
  2115. /// <summary>
  2116. /// 等待处理
  2117. /// </summary>
  2118. MONEYTRADESTATUS_WAITING = 0,
  2119. /// <summary>
  2120. /// 失败
  2121. /// </summary>
  2122. MONEYTRADESTATUS_FAILED = 1,
  2123. /// <summary>
  2124. /// 成功
  2125. /// </summary>
  2126. MONEYTRADESTATUS_SUCCEED = 2
  2127. }
  2128. /// <summary>
  2129. // 运营中心角色
  2130. /// </summary>
  2131. public enum eOperationRole {
  2132. /// <summary>
  2133. /// 普通运营中心
  2134. /// </summary>
  2135. OPERATIONROLE_NORMAL = 1,
  2136. /// <summary>
  2137. /// 特别运营中心
  2138. /// </summary>
  2139. OPERATIONROLE_SPECIAL = 2
  2140. }
  2141. /// <summary>
  2142. // 通知风险级别
  2143. /// </summary>
  2144. public enum eNotifyAction {
  2145. /// <summary>
  2146. /// 短信
  2147. /// </summary>
  2148. NOTIFYACTION_MESSAGE = 1,
  2149. /// <summary>
  2150. /// 邮件
  2151. /// </summary>
  2152. NOTIFYACTION_EMAIL = 2,
  2153. /// <summary>
  2154. /// 短信+邮件
  2155. /// </summary>
  2156. NOTIFYACTION_MESSAGE_EMAIL = 3,
  2157. /// <summary>
  2158. /// 系统通知
  2159. /// </summary>
  2160. NOTIFYACTION_SYSTEM = 4,
  2161. /// <summary>
  2162. /// 短信+系统通知
  2163. /// </summary>
  2164. NOTIFYACTION_MESSAGE_SYSTEM = 5,
  2165. /// <summary>
  2166. /// 邮件+系统通知
  2167. /// </summary>
  2168. NOTIFYACTION_EMAIL_SYSTEM = 6,
  2169. /// <summary>
  2170. /// 短信+邮件+系统通知
  2171. /// </summary>
  2172. NOTIFYACTION_MESSAGE_EMAIL_SYSTEM = 7
  2173. }
  2174. /// <summary>
  2175. // 操作类型权限
  2176. /// </summary>
  2177. public enum eOPERATEFUNC {
  2178. /// <summary>
  2179. /// 查看
  2180. /// </summary>
  2181. OPERATEFUNC_VIEW = 1,
  2182. /// <summary>
  2183. /// 增加
  2184. /// </summary>
  2185. OPERATEFUNC_ADD = 2,
  2186. /// <summary>
  2187. /// 修改
  2188. /// </summary>
  2189. OPERATEFUNC_EDIT = 4,
  2190. /// <summary>
  2191. /// 删除
  2192. /// </summary>
  2193. OPERATEFUNC_DELETE = 8,
  2194. /// <summary>
  2195. /// 激活
  2196. /// </summary>
  2197. OPERATEFUNC_ACTIVE = 16
  2198. }
  2199. /// <summary>
  2200. // 是否主卡
  2201. /// </summary>
  2202. public enum eMainCard {
  2203. /// <summary>
  2204. /// 否
  2205. /// </summary>
  2206. MAINCARD_NOT = 0,
  2207. /// <summary>
  2208. /// 是
  2209. /// </summary>
  2210. MAINCARD_YES = 1
  2211. }
  2212. /// <summary>
  2213. // 审核状态
  2214. /// </summary>
  2215. public enum eAuditStatus {
  2216. /// <summary>
  2217. /// 待审核
  2218. /// </summary>
  2219. AUDITSTATUS_CHECKING = 0,
  2220. /// <summary>
  2221. /// 已审核通过
  2222. /// </summary>
  2223. AUDITSTATUS_SUCCESS = 1,
  2224. /// <summary>
  2225. /// 审核不通过
  2226. /// </summary>
  2227. AUDITSTATUS_REJECT = 2,
  2228. /// <summary>
  2229. /// 已删除
  2230. /// </summary>
  2231. AUDITSTATUS_DELETE = 3,
  2232. /// <summary>
  2233. /// 已撤销
  2234. /// </summary>
  2235. AUDITSTATUS_CANCEL = 4
  2236. }
  2237. /// <summary>
  2238. // 发售配售模式
  2239. /// </summary>
  2240. public enum eIssueSaleMode {
  2241. /// <summary>
  2242. /// 战略配售
  2243. /// </summary>
  2244. ISSUESALEMODE_STRATEGY = 1,
  2245. /// <summary>
  2246. /// 定向配售
  2247. /// </summary>
  2248. ISSUESALEMODE_PRIVATE = 2,
  2249. /// <summary>
  2250. /// 持仓+资金配售
  2251. /// </summary>
  2252. ISSUESALEMODE_PRIORITY = 10,
  2253. /// <summary>
  2254. /// 交易额配售
  2255. /// </summary>
  2256. ISSUESALEMODE_TURNOVER = 11,
  2257. /// <summary>
  2258. /// 申购量比例配售
  2259. /// </summary>
  2260. ISSUESALEMODE_SUBSCRIPTIONS_PROPORTION = 20,
  2261. /// <summary>
  2262. /// 申购量摇号配售
  2263. /// </summary>
  2264. ISSUESALEMODE_SUBSCRIPTIONS_LOTTERY = 21
  2265. }
  2266. /// <summary>
  2267. // 斩仓回退规则
  2268. /// </summary>
  2269. public enum eLiquidatedRollbackRule {
  2270. /// <summary>
  2271. /// 斩仓不回退
  2272. /// </summary>
  2273. LIQUIDATEDROLLBACKRULE_NOT_ROLLBACK = 1,
  2274. /// <summary>
  2275. /// 斩仓回退到比例
  2276. /// </summary>
  2277. LIQUIDATEDROLLBACKRULE_ROLLBACK_RATION = 2,
  2278. /// <summary>
  2279. /// 斩仓回退到0
  2280. /// </summary>
  2281. LIQUIDATEDROLLBACKRULE_ROLLBACK_ZERO = 3
  2282. }
  2283. /// <summary>
  2284. // 转仓规则
  2285. /// </summary>
  2286. public enum eRollOverRule {
  2287. /// <summary>
  2288. /// 先建先平
  2289. /// </summary>
  2290. ROLLOVERRULE_CREATE_FIRST = 0,
  2291. /// <summary>
  2292. /// 亏损优先
  2293. /// </summary>
  2294. ROLLOVERRULE_LOSS_FIRST = 3
  2295. }
  2296. /// <summary>
  2297. // 转仓方式
  2298. /// </summary>
  2299. public enum eRollOverType {
  2300. /// <summary>
  2301. /// 逐笔斩仓
  2302. /// </summary>
  2303. ROLLOVERTYPE_STEP = 0,
  2304. /// <summary>
  2305. /// 市场全斩
  2306. /// </summary>
  2307. ROLLOVERTYPE_MARKET_ALL = 2
  2308. }
  2309. /// <summary>
  2310. // 是否需要确认
  2311. /// </summary>
  2312. public enum eNeedConfirm {
  2313. /// <summary>
  2314. /// 不需要
  2315. /// </summary>
  2316. NEEDCONFIRM_NO = 0,
  2317. /// <summary>
  2318. /// 需要
  2319. /// </summary>
  2320. NEEDCONFIRM_YES = 1
  2321. }
  2322. /// <summary>
  2323. // 收费类型
  2324. /// </summary>
  2325. public enum eCostType {
  2326. /// <summary>
  2327. /// 比例
  2328. /// </summary>
  2329. COSTTYPE_RATION = 0,
  2330. /// <summary>
  2331. /// 固定
  2332. /// </summary>
  2333. COSTTYPE_FIXED = 1
  2334. }
  2335. /// <summary>
  2336. // 申报商品转持仓类型
  2337. /// </summary>
  2338. public enum eRELATION_HOLDTYPE {
  2339. /// <summary>
  2340. /// 转给仓单卖出方
  2341. /// </summary>
  2342. RELATION_HOLDTYPE_TOSM = 1,
  2343. /// <summary>
  2344. /// 转一级做市会员
  2345. /// </summary>
  2346. RELATION_HOLDTYPE_TOMM = 2
  2347. }
  2348. /// <summary>
  2349. // 履约计划状态
  2350. /// </summary>
  2351. public enum ePERFORM_PLAN_STATUS {
  2352. /// <summary>
  2353. /// 未到支付期
  2354. /// </summary>
  2355. PERFORM_BEFORE_PLANTIME = 1,
  2356. /// <summary>
  2357. /// 支付到期待审核
  2358. /// </summary>
  2359. PERFORM_IN_PLANTIME = 2,
  2360. /// <summary>
  2361. /// 支付逾期待审核
  2362. /// </summary>
  2363. PERFORM_AFTER_PLANTIME = 3,
  2364. /// <summary>
  2365. /// 已完成
  2366. /// </summary>
  2367. PERFORM_FINISH_PLANT = 4
  2368. }
  2369. /// <summary>
  2370. // 履约计划明细状态
  2371. /// </summary>
  2372. public enum ePERFORM_PLANDETAIL_STATUS {
  2373. /// <summary>
  2374. /// 未支付
  2375. /// </summary>
  2376. PERFORM_DETAIL_NOTPAY = 1,
  2377. /// <summary>
  2378. /// 已支付
  2379. /// </summary>
  2380. PERFORM_DETAIL_PAY = 2
  2381. }
  2382. /// <summary>
  2383. // 系统结算方式
  2384. /// </summary>
  2385. public enum eSystemReckeonMethods {
  2386. /// <summary>
  2387. /// 手动
  2388. /// </summary>
  2389. MANUAL = 0,
  2390. /// <summary>
  2391. /// 自动
  2392. /// </summary>
  2393. AUTOMATIC = 1
  2394. }
  2395. /// <summary>
  2396. // 平仓类型
  2397. /// </summary>
  2398. public enum eCloseType {
  2399. /// <summary>
  2400. /// 普通平仓
  2401. /// </summary>
  2402. CLOSETYPE_COMMON = 1,
  2403. /// <summary>
  2404. /// 协议平仓
  2405. /// </summary>
  2406. CLOSETYPE_PROTOCOL = 2,
  2407. /// <summary>
  2408. /// 到期强平
  2409. /// </summary>
  2410. CLOSETYPE_MATUREFOCUS = 3,
  2411. /// <summary>
  2412. /// 到期无效
  2413. /// </summary>
  2414. CLOSETYPE_MATUREINVALID = 4,
  2415. /// <summary>
  2416. /// 交割平仓
  2417. /// </summary>
  2418. CLOSETYPE_DELIVERY = 5
  2419. }
  2420. /// <summary>
  2421. // 交割配对类型
  2422. /// </summary>
  2423. public enum eDeliveryMatchType {
  2424. /// <summary>
  2425. /// 指定配对
  2426. /// </summary>
  2427. DELIVERY_MATCH_APPOINT = 0,
  2428. /// <summary>
  2429. /// 买方点选
  2430. /// </summary>
  2431. DELIVERY_MATCH_BUYERCHOOSE = 1,
  2432. /// <summary>
  2433. /// 卖方点选
  2434. /// </summary>
  2435. DELIVERY_MATCH_SELLERCHOOSE = 2,
  2436. /// <summary>
  2437. /// 撮合配对
  2438. /// </summary>
  2439. DELIVERY_MATCH_AUTOMATCH = 3
  2440. }
  2441. /// <summary>
  2442. // 仓单处理状态
  2443. /// </summary>
  2444. public enum eWareHouseProcessState {
  2445. /// <summary>
  2446. /// 新签发
  2447. /// </summary>
  2448. WAREHOUSEPROCESSSTATE_NTW = 1,
  2449. /// <summary>
  2450. /// 已交易
  2451. /// </summary>
  2452. WAREHOUSEPROCESSSTATE_TRADE = 2,
  2453. /// <summary>
  2454. /// 已换单
  2455. /// </summary>
  2456. WAREHOUSEPROCESSSTATE_CHANGE = 3,
  2457. /// <summary>
  2458. /// 已转让
  2459. /// </summary>
  2460. WAREHOUSEPROCESSSTATE_TRANSFER = 4,
  2461. /// <summary>
  2462. /// 已质押
  2463. /// </summary>
  2464. WAREHOUSEPROCESSSTATE_PLEDGE = 5,
  2465. /// <summary>
  2466. /// 已解押
  2467. /// </summary>
  2468. WAREHOUSEPROCESSSTATE_SIGN = 6,
  2469. /// <summary>
  2470. /// 已兑付
  2471. /// </summary>
  2472. WAREHOUSEPROCESSSTATE_CASH = 7
  2473. }
  2474. /// <summary>
  2475. // 仓单状态
  2476. /// </summary>
  2477. public enum eWareHouseState {
  2478. /// <summary>
  2479. /// 待激活
  2480. /// </summary>
  2481. WAREHOUSESTATE_LATESTPRICE = 1,
  2482. /// <summary>
  2483. /// 正常
  2484. /// </summary>
  2485. WAREHOUSESTATE_NORMAL = 2,
  2486. /// <summary>
  2487. /// 已注销
  2488. /// </summary>
  2489. WAREHOUSESTATE_CANCEL = 3,
  2490. /// <summary>
  2491. /// 冻结
  2492. /// </summary>
  2493. WAREHOUSESTATE_FREEZE = 4
  2494. }
  2495. /// <summary>
  2496. // 运营中心类型
  2497. /// </summary>
  2498. public enum eOperationRoles {
  2499. /// <summary>
  2500. /// 普通运营中心
  2501. /// </summary>
  2502. OPERATIONROLES_ORDINARY = 1,
  2503. /// <summary>
  2504. /// 特别运营中心
  2505. /// </summary>
  2506. OPERATIONROLES_SPECIAL = 2,
  2507. /// <summary>
  2508. /// 分利运营中心
  2509. /// </summary>
  2510. OPERATIONROLES_DIVIDFEE = 3
  2511. }
  2512. /// <summary>
  2513. // 交割提货方式
  2514. /// </summary>
  2515. public enum eDeliveryTakeType {
  2516. /// <summary>
  2517. /// 自提
  2518. /// </summary>
  2519. DELIVERY_TAKETYPE_SELFTAKE = 1,
  2520. /// <summary>
  2521. /// 物流配送
  2522. /// </summary>
  2523. DELIVERY_TAKETYPE_POSTTAKE = 2
  2524. }
  2525. #endregion
  2526. #region MTP2.0
  2527. /// <summary>
  2528. // 交易模式
  2529. /// </summary>
  2530. public enum eTradeMode
  2531. {
  2532. // /// <summary>
  2533. // /// 资金汇总
  2534. // /// </summary>
  2535. // [ItemDisc("MarketType_AmountSum")]
  2536. // AmountSum=-1,
  2537. QuotePAndX = 500,
  2538. // /// </summary>
  2539. // [ItemDisc("MarketType_Bid_Pay")]
  2540. // Bid_Pay = 100,
  2541. /// <summary>
  2542. /// 托管计划
  2543. /// </summary>
  2544. Deposit = 501,
  2545. /// <summary>
  2546. /// 所有商品
  2547. /// </summary>
  2548. AllGoods = 502,
  2549. /// <summary>
  2550. /// 我的自选
  2551. /// </summary>
  2552. MySelected = 503,
  2553. /// <summary>
  2554. /// 资金汇总
  2555. /// </summary>
  2556. [ItemDisc("MarketType_AmountSum")]
  2557. AmountSum = 504,
  2558. /// <summary>
  2559. /// 发售
  2560. /// </summary>
  2561. [ItemDisc("MarketType_Sale")]
  2562. TRADEMODE_SALE = 2,
  2563. /// <summary>
  2564. /// 竞价即期=混合
  2565. /// </summary>
  2566. [ItemDisc("MarketType_MARKETTYPE_BIDINGMARKETMAKE")]
  2567. TRADEMODE_BIDDINGMARKETMAKE = 3,
  2568. /// <summary>
  2569. /// 挂牌
  2570. /// </summary>
  2571. [ItemDisc("MarketType_Listing")]
  2572. TRADEMODE_HANGTAG = 6,
  2573. /// <summary>
  2574. /// 拍卖
  2575. /// </summary>
  2576. [ItemDisc("MarketType_Auction")]
  2577. TRADEMODE_AUCTION = 7,
  2578. /// <summary>
  2579. /// 商城
  2580. /// </summary>
  2581. TRADEMODE_MALL = 8,
  2582. /// <summary>
  2583. /// 全款转让[NEW MTP2.0]
  2584. /// </summary>
  2585. Full_Transfer = 9,
  2586. /// <summary>
  2587. /// 做市
  2588. /// </summary>
  2589. TRADEMODE_MARKETMAKE = 10,
  2590. /// <summary>
  2591. /// 竞价
  2592. /// </summary>
  2593. TRADEMODE_BIDDING = 13,
  2594. /// <summary>
  2595. /// 通道交易
  2596. /// </summary>
  2597. TRADEMODE_ENTRUST_HEDGE = 15,
  2598. /// <summary>
  2599. /// 挂牌点选
  2600. /// </summary>
  2601. TRADEMODE_LISTING_SELECT = 16,
  2602. /// <summary>
  2603. /// 仓单贸易
  2604. /// </summary>
  2605. TRADEMODE_SPOT_WRTRADE = 17,
  2606. /// <summary>
  2607. /// 供应链金融
  2608. /// </summary>
  2609. TRADEMODE_SPOT_SCF = 18
  2610. }
  2611. /// <summary>
  2612. // 交易属性
  2613. /// </summary>
  2614. public enum eTradeProperty
  2615. {
  2616. /// <summary>
  2617. /// 收益权(可做空)
  2618. /// </summary>
  2619. TRADEPROPERTY_CANSHORT = 1,
  2620. /// <summary>
  2621. /// 所有权(不可做空)
  2622. /// </summary>
  2623. TRADEPROPERTY_NOSHORT = 2
  2624. }
  2625. /// <summary>
  2626. // 持仓类型
  2627. /// </summary>
  2628. public enum eHolderType
  2629. {
  2630. /// <summary>
  2631. /// 单边
  2632. /// </summary>
  2633. HOLDERTYPE_UNILATERAL = 1,
  2634. /// <summary>
  2635. /// 双边
  2636. /// </summary>
  2637. HOLDERTYPE_BILATERAL = 2
  2638. }
  2639. /// <summary>
  2640. // 单据方向
  2641. /// </summary>
  2642. public enum eOrderDirection
  2643. {
  2644. /// <summary>
  2645. /// 订单买方向
  2646. /// </summary>
  2647. ORDERDIRECTION_BUY = 0,
  2648. /// <summary>
  2649. /// 订单卖方向
  2650. /// </summary>
  2651. ORDERDIRECTION_SELL = 1
  2652. }
  2653. /// <summary>
  2654. // 订单类型
  2655. /// </summary>
  2656. public enum eOrderType
  2657. {
  2658. /// <summary>
  2659. /// 市价建仓
  2660. /// </summary>
  2661. ORDERTYPE_OPEN_MARKET = 1,
  2662. /// <summary>
  2663. /// 限价建仓
  2664. /// </summary>
  2665. ORDERTYPE_OPEN_LIMIT = 2,
  2666. /// <summary>
  2667. /// 市价平仓
  2668. /// </summary>
  2669. ORDERTYPE_CLOSE_MARKET = 3,
  2670. /// <summary>
  2671. /// 限价平仓
  2672. /// </summary>
  2673. ORDERTYPE_CLOSE_LIMIT = 4,
  2674. /// <summary>
  2675. /// 先平后建
  2676. /// </summary>
  2677. ORDERTYPE_CLOSETHENOPEN = 5,
  2678. /// <summary>
  2679. /// 止盈止损
  2680. /// </summary>
  2681. ORDERTYPE_SPSL = 6
  2682. }
  2683. /// <summary>
  2684. // 触发条件
  2685. /// </summary>
  2686. public enum eTriggerOperator
  2687. {
  2688. /// <summary>
  2689. /// 大于等于
  2690. /// </summary>
  2691. TRIGGEROPERATOR_GREATEROREQUAL = 1,
  2692. /// <summary>
  2693. /// 小于等于
  2694. /// </summary>
  2695. TRIGGEROPERATOR_LESSOREQUAL = 2
  2696. }
  2697. /// <summary>
  2698. // 价格类型
  2699. /// </summary>
  2700. public enum ePriceMode
  2701. {
  2702. /// <summary>
  2703. /// 市价
  2704. /// </summary>
  2705. PRICEMODE_MARKET = 1,
  2706. /// <summary>
  2707. /// 限价
  2708. /// </summary>
  2709. PRICEMODE_LIMIT = 2
  2710. }
  2711. /// <summary>
  2712. // 有效类型
  2713. /// </summary>
  2714. public enum eValidType
  2715. {
  2716. /// <summary>
  2717. /// 当日有效
  2718. /// </summary>
  2719. VALIDTYPE_DR = 1,
  2720. /// <summary>
  2721. /// 本周有效
  2722. /// </summary>
  2723. VALIDTYPE_BZ = 2,
  2724. /// <summary>
  2725. /// 指定日期有效
  2726. /// </summary>
  2727. VALIDTYPE_ZDRQ = 3,
  2728. /// <summary>
  2729. /// 一直有效
  2730. /// </summary>
  2731. VALIDTYPE_YZ = 4,
  2732. /// <summary>
  2733. /// 指定时间有效
  2734. /// </summary>
  2735. VALIDTYPE_GTT = 5
  2736. }
  2737. /// <summary>
  2738. // 成交量类型
  2739. /// </summary>
  2740. public enum eVolumeType
  2741. {
  2742. /// <summary>
  2743. /// 任意量
  2744. /// </summary>
  2745. VOLUMETYPE_ANY = 1,
  2746. /// <summary>
  2747. /// 最小量(暂时不支持)
  2748. /// </summary>
  2749. VOLUMETYPE_MIN = 2,
  2750. /// <summary>
  2751. /// 全部量
  2752. /// </summary>
  2753. VOLUMETYPE_ALL = 3
  2754. }
  2755. /// <summary>
  2756. // 预埋单状态
  2757. /// </summary>
  2758. public enum ePreOrderStatus
  2759. {
  2760. /// <summary>
  2761. /// 待激活
  2762. /// </summary>
  2763. PREORDERSTATUS_INACTIVE = 1,
  2764. /// <summary>
  2765. /// 已激活
  2766. /// </summary>
  2767. PREORDERSTATUS_ACTIVE = 2,
  2768. /// <summary>
  2769. /// 已撤销
  2770. /// </summary>
  2771. PREORDERSTATUS_CANCELLED = 3
  2772. }
  2773. /// <summary>
  2774. // 客户端类型
  2775. /// </summary>
  2776. public enum eClientType
  2777. {
  2778. /// <summary>
  2779. /// 保留为未填终端类型
  2780. /// </summary>
  2781. CLIENTTYPE_NONE = 0,
  2782. /// <summary>
  2783. /// PC管理端
  2784. /// </summary>
  2785. CLIENTTYPE_PC_MANAGER_CLIENT = 1,
  2786. /// <summary>
  2787. /// PC交易端
  2788. /// </summary>
  2789. CLIENTTYPE_PC_TRADE_CLIENT = 2,
  2790. /// <summary>
  2791. /// 手机客户端_安卓
  2792. /// </summary>
  2793. CLIENTTYPE_MOBILE_CLIENT_ANDROID = 3,
  2794. /// <summary>
  2795. /// 网页客户端
  2796. /// </summary>
  2797. CLIENTTYPE_WEBPAGE_CLIENT = 4,
  2798. /// <summary>
  2799. /// 微信客户端
  2800. /// </summary>
  2801. CLIENTTYPE_WECHAT_CLIENT = 5,
  2802. /// <summary>
  2803. /// 手机客户端_苹果
  2804. /// </summary>
  2805. CLIENTTYPE_MOBILE_CLIENT_IOS = 6,
  2806. /// <summary>
  2807. /// 网上开户客户端
  2808. /// </summary>
  2809. CLIENTTYPE_USERACCOUNT_ONLINE = 7,
  2810. /// <summary>
  2811. /// 无效终端编号
  2812. /// </summary>
  2813. CLIENTTYPE_INVALID = 8
  2814. }
  2815. /// <summary>
  2816. // 消息状态
  2817. /// </summary>
  2818. public enum eMessageStatus
  2819. {
  2820. /// <summary>
  2821. /// 待发送
  2822. /// </summary>
  2823. MESSAGESTATUS_PENDING = 1,
  2824. /// <summary>
  2825. /// 发送完成
  2826. /// </summary>
  2827. MESSAGESTATUS_FINISHED = 2
  2828. }
  2829. /// <summary>
  2830. // 成交类型
  2831. /// </summary>
  2832. public enum eTradeType
  2833. {
  2834. /// <summary>
  2835. /// 正常委托成交
  2836. /// </summary>
  2837. [ItemDisc("TRADETYPE_NORMAL_ORDER_DEAL")]
  2838. TRADETYPE_NORMAL_ORDER_DEAL = 1,
  2839. /// <summary>
  2840. /// 定向做市成交(接单)
  2841. /// </summary>
  2842. [ItemDisc("TRADETYPE_DIRECTED_MM_DEAL")]
  2843. TRADETYPE_DIRECTED_MM_DEAL = 2,
  2844. /// <summary>
  2845. /// 交割协议平仓成交
  2846. /// </summary>
  2847. [ItemDisc("TRADETYPE_DELIVERY_AGREECLOSE_DEAL")]
  2848. TRADETYPE_DELIVERY_AGREECLOSE_DEAL = 3,
  2849. /// <summary>
  2850. /// 交割减仓成交
  2851. /// </summary>
  2852. [ItemDisc("TRADETYPE_DELIVERY_AGREEREDUCE_DEAL")]
  2853. TRADETYPE_DELIVERY_AGREEREDUCE_DEAL = 4,
  2854. /// <summary>
  2855. /// 到期强平成交
  2856. /// </summary>
  2857. [ItemDisc("TRADETYPE_EXPIRE_FORCE")]
  2858. TRADETYPE_EXPIRE_FORCE = 5,
  2859. /// <summary>
  2860. /// 风控斩仓成交
  2861. /// </summary>
  2862. [ItemDisc("TRADETYPE_RISK_FORCE")]
  2863. TRADETYPE_RISK_FORCE = 6,
  2864. /// <summary>
  2865. /// 协议平仓(管理端)成交
  2866. /// </summary>
  2867. [ItemDisc("TRADETYPE_AGREECLOSE_MANAGE_DEAL")]
  2868. TRADETYPE_AGREECLOSE_MANAGE_DEAL = 7,
  2869. /// <summary>
  2870. /// 仓单转持仓成交
  2871. /// </summary>
  2872. [ItemDisc("TRADETYPE_WAREHOUSETOPOSITION")]
  2873. TRADETYPE_WAREHOUSETOPOSITION = 8
  2874. }
  2875. /// <summary>
  2876. // 成交明细状态
  2877. /// </summary>
  2878. public enum eTradeDetailStatus
  2879. {
  2880. /// <summary>
  2881. /// 待处理
  2882. /// </summary>
  2883. TRADEDETAIL_STATUS_WAIT = 1,
  2884. /// <summary>
  2885. /// 已处理
  2886. /// </summary>
  2887. TRADEDETAIL_STATUS_SECCESS = 2,
  2888. /// <summary>
  2889. /// 处理失败
  2890. /// </summary>
  2891. TRADEDETAIL_STATUS_FAILED = 3,
  2892. /// <summary>
  2893. /// 履约完成
  2894. /// </summary>
  2895. TRADEDETAIL_STATUS_PERFORMANCEFINISHED = 4
  2896. }
  2897. /// <summary>
  2898. // 下单类型
  2899. /// </summary>
  2900. public enum eBuildType
  2901. {
  2902. /// <summary>
  2903. /// 建仓
  2904. /// </summary>
  2905. [ItemDisc("BUILDTYPE_OPEN")]
  2906. BUILDTYPE_OPEN = 1,
  2907. /// <summary>
  2908. /// 平仓
  2909. /// </summary>
  2910. [ItemDisc("BUILDTYPE_CLOSE")]
  2911. BUILDTYPE_CLOSE = 2,
  2912. /// <summary>
  2913. /// 先平后建
  2914. /// </summary>
  2915. [ItemDisc("BUILDTYPE_CLOSETHENOPEN")]
  2916. BUILDTYPE_CLOSETHENOPEN = 3
  2917. }
  2918. /// <summary>
  2919. // 升贴水类型
  2920. /// </summary>
  2921. public enum ePriceMoveType
  2922. {
  2923. /// <summary>
  2924. /// 品牌
  2925. /// </summary>
  2926. PRICEMOVETYPE_BRAND = 1,
  2927. /// <summary>
  2928. /// 品质
  2929. /// </summary>
  2930. PRICEMOVETYPE_QUALITY = 2,
  2931. /// <summary>
  2932. /// 规格
  2933. /// </summary>
  2934. PRICEMOVETYPE_SPECIFICATION = 3,
  2935. /// <summary>
  2936. /// 仓库
  2937. /// </summary>
  2938. PRICEMOVETYPE_WAREHOUSE = 4,
  2939. /// <summary>
  2940. /// 月份
  2941. /// </summary>
  2942. PRICEMOVETYPE_MONTH = 5
  2943. }
  2944. /// <summary>
  2945. // 行情取价方式
  2946. /// </summary>
  2947. public enum eFromField
  2948. {
  2949. /// <summary>
  2950. /// 最新价
  2951. /// </summary>
  2952. FROMFIELD_LAST = 1,
  2953. /// <summary>
  2954. /// 买价
  2955. /// </summary>
  2956. FROMFIELD_BUY = 2,
  2957. /// <summary>
  2958. /// 卖价
  2959. /// </summary>
  2960. FROMFIELD_SELL = 3
  2961. }
  2962. /// <summary>
  2963. // 费用算法
  2964. /// </summary>
  2965. public enum eFeeAlgorithm
  2966. {
  2967. /// <summary>
  2968. /// 比率
  2969. /// </summary>
  2970. FEEALGORITHM_RATIO = 1,
  2971. /// <summary>
  2972. /// 固定
  2973. /// </summary>
  2974. FEEALGORITHM_FIXED = 2
  2975. }
  2976. /// <summary>
  2977. // 商品状态
  2978. /// </summary>
  2979. public enum eGoodsStatus
  2980. {
  2981. /// <summary>
  2982. /// 待审核
  2983. /// </summary>
  2984. GOODSSTATUS_INACTIVE = 1,
  2985. /// <summary>
  2986. /// 未上市
  2987. /// </summary>
  2988. GOODSSTATUS_UNLISTED = 2,
  2989. /// <summary>
  2990. /// 上市
  2991. /// </summary>
  2992. GOODSSTATUS_LISTED = 3,
  2993. /// <summary>
  2994. /// 已注销
  2995. /// </summary>
  2996. GOODSSTATUS_CLOSED = 4,
  2997. /// <summary>
  2998. /// 审核拒绝
  2999. /// </summary>
  3000. GOODSSTATUS_REJECTED = 5,
  3001. /// <summary>
  3002. /// 退市
  3003. /// </summary>
  3004. GOODSSTATUS_DELISTED = 6,
  3005. /// <summary>
  3006. /// 待退市
  3007. /// </summary>
  3008. GOODSSTATUS_PRE_DELISTED = 7
  3009. }
  3010. /// <summary>
  3011. // 交割标志
  3012. /// </summary>
  3013. public enum eDeliveryFlag
  3014. {
  3015. /// <summary>
  3016. /// 不可交割
  3017. /// </summary>
  3018. DELIVERYFLAG_NO = 0,
  3019. /// <summary>
  3020. /// 可交割
  3021. /// </summary>
  3022. DELIVERYFLAG_YES = 1
  3023. }
  3024. /// <summary>
  3025. // 变更状态
  3026. /// </summary>
  3027. public enum eModifyStatus
  3028. {
  3029. /// <summary>
  3030. /// 未变更
  3031. /// </summary>
  3032. MODIFYSTATUS_UNCHANGED = 1,
  3033. /// <summary>
  3034. /// 变更中
  3035. /// </summary>
  3036. MODIFYSTATUS_CHANGING = 2,
  3037. /// <summary>
  3038. /// 变更待审核
  3039. /// </summary>
  3040. MODIFYSTATUS_PENDINGAUDIT = 3,
  3041. /// <summary>
  3042. /// 变更待复审(投资者)
  3043. /// </summary>
  3044. MODIFYSTATUS_PENDINGREAUDIT = 4
  3045. }
  3046. /// <summary>
  3047. // 开盘方式
  3048. /// </summary>
  3049. public enum eOpenMethod
  3050. {
  3051. /// <summary>
  3052. /// 自动
  3053. /// </summary>
  3054. OPENMETHOD_AUTO = 0,
  3055. /// <summary>
  3056. /// 手动
  3057. /// </summary>
  3058. OPENMETHOD_MANUAL = 1
  3059. }
  3060. /// <summary>
  3061. // 结算价算法
  3062. /// </summary>
  3063. public enum eReckonPriceAlgorithm
  3064. {
  3065. /// <summary>
  3066. /// 最后多少笔成交价加权平均
  3067. /// </summary>
  3068. RECKONPRICEALGORITHM_LASTLOTAVG = 1,
  3069. /// <summary>
  3070. /// 最后多少秒成交价加权平均
  3071. /// </summary>
  3072. RECKONPRICEALGORITHM_LASTSECONDAVG = 2,
  3073. /// <summary>
  3074. /// 全天加权平均
  3075. /// </summary>
  3076. RECKONPRICEALGORITHM_ALLDAY = 3
  3077. }
  3078. /// <summary>
  3079. // 有效状态
  3080. /// </summary>
  3081. public enum eValidStatus
  3082. {
  3083. /// <summary>
  3084. /// 待生效
  3085. /// </summary>
  3086. VALIDSTATUS_INACTIVE = 1,
  3087. /// <summary>
  3088. /// 正常
  3089. /// </summary>
  3090. VALIDSTATUS_NORMAL = 2,
  3091. /// <summary>
  3092. /// 注销
  3093. /// </summary>
  3094. VALIDSTATUS_CANCELLED = 3
  3095. }
  3096. /// <summary>
  3097. // 结算状态
  3098. /// </summary>
  3099. public enum eReckonStatus
  3100. {
  3101. /// <summary>
  3102. /// 自动结算
  3103. /// </summary>
  3104. RECKONSTATUS_AUTO = 1,
  3105. /// <summary>
  3106. /// 手工结算
  3107. /// </summary>
  3108. RECKONSTATUS_MANUAL = 2
  3109. }
  3110. /// <summary>
  3111. // 周几
  3112. /// </summary>
  3113. public enum eDayOfWeek
  3114. {
  3115. /// <summary>
  3116. /// 星期天
  3117. /// </summary>
  3118. DAYOFWEEK_SUNDAY = 0,
  3119. /// <summary>
  3120. /// 星期一
  3121. /// </summary>
  3122. DAYOFWEEK_MONDAY = 1,
  3123. /// <summary>
  3124. /// 星期二
  3125. /// </summary>
  3126. DAYOFWEEK_TUESDAY = 2,
  3127. /// <summary>
  3128. /// 星期三
  3129. /// </summary>
  3130. DAYOFWEEK_WEDNESDAY = 3,
  3131. /// <summary>
  3132. /// 星期四
  3133. /// </summary>
  3134. DAYOFWEEK_THURSDAY = 4,
  3135. /// <summary>
  3136. /// 星期五
  3137. /// </summary>
  3138. DAYOFWEEK_FRIDAY = 5,
  3139. /// <summary>
  3140. /// 星期六
  3141. /// </summary>
  3142. DAYOFWEEK_SATURDAY = 6
  3143. }
  3144. /// <summary>
  3145. // 运行阶段
  3146. /// </summary>
  3147. public enum eRunStep
  3148. {
  3149. /// <summary>
  3150. /// 集合竞价
  3151. /// </summary>
  3152. RUNSTEP_BIDDINGPRICE = 1,
  3153. /// <summary>
  3154. /// 连续竞价(交割)
  3155. /// </summary>
  3156. RUNSTEP_BIDDINGCONTINUOUS = 2
  3157. }
  3158. /// <summary>
  3159. // 市场状态信号
  3160. /// </summary>
  3161. public enum eRunStatus
  3162. {
  3163. /// <summary>
  3164. /// 待开市
  3165. /// </summary>
  3166. RUNSTATUS_PENDING = 1,
  3167. /// <summary>
  3168. /// 开市
  3169. /// </summary>
  3170. RUNSTATUS_OPEN = 2,
  3171. /// <summary>
  3172. /// 休市
  3173. /// </summary>
  3174. RUNSTATUS_PAUSE = 3,
  3175. /// <summary>
  3176. /// 手工休市
  3177. /// </summary>
  3178. RUNSTATUS_PAUSE_MANUAL = 4,
  3179. /// <summary>
  3180. /// 闭市
  3181. /// </summary>
  3182. RUNSTATUS_CLOSE = 5,
  3183. /// <summary>
  3184. /// 日终处理开始
  3185. /// </summary>
  3186. RUNSTATUS_DAYEND_PROCESSING = 10,
  3187. /// <summary>
  3188. /// 日终处理成功
  3189. /// </summary>
  3190. RUNSTATUS_DAYEND_SUCCESS = 11,
  3191. /// <summary>
  3192. /// 日终处理失败
  3193. /// </summary>
  3194. RUNSTATUS_DAYEND_FAILED = 12,
  3195. /// <summary>
  3196. /// 基础服务结算开始
  3197. /// </summary>
  3198. RUNSTATUS_BASIC_RECKONBEGIN = 13,
  3199. /// <summary>
  3200. /// 基础服务结算成功
  3201. /// </summary>
  3202. RUNSTATUS_BASIC_RECKONSUCCESS = 14,
  3203. /// <summary>
  3204. /// 资金结算开始
  3205. /// </summary>
  3206. RUNSTATUS_RECKON_BEGIN = 23,
  3207. /// <summary>
  3208. /// 资金结算结束
  3209. /// </summary>
  3210. RUNSTATUS_RECKON_FINISHED = 24,
  3211. /// <summary>
  3212. /// 资金结算失败
  3213. /// </summary>
  3214. RUNSTATUS_RECKON_FAILED = 25,
  3215. /// <summary>
  3216. /// 系统结算成功
  3217. /// </summary>
  3218. RUNSTATUS_SYS_RECKON_SUCCESS = 26,
  3219. /// <summary>
  3220. /// 系统结算失败
  3221. /// </summary>
  3222. RUNSTATUS_SYS_RECKON_FAILED = 27,
  3223. /// <summary>
  3224. /// 签到开始
  3225. /// </summary>
  3226. RUNSTATUS_BANKSIGNIN_BEGIN = 40,
  3227. /// <summary>
  3228. /// 签到成功
  3229. /// </summary>
  3230. RUNSTATUS_BANKSIGNIN_SUCCESS = 41,
  3231. /// <summary>
  3232. /// 签到部份成功
  3233. /// </summary>
  3234. RUNSTATUS_BANKSIGNIN_PARTSUCCESS = 42,
  3235. /// <summary>
  3236. /// 签到失败
  3237. /// </summary>
  3238. RUNSTATUS_BANKSIGNIN_FAILED = 43,
  3239. /// <summary>
  3240. /// 签退开始
  3241. /// </summary>
  3242. RUNSTATUS_BANKSIGNOUT_BEGIN = 44,
  3243. /// <summary>
  3244. /// 签退成功
  3245. /// </summary>
  3246. RUNSTATUS_BANKSIGNOUT_SUCCESS = 45,
  3247. /// <summary>
  3248. /// 签退部份成功
  3249. /// </summary>
  3250. RUNSTATUS_BANKSIGNOUT_PARTSUCCESS = 46,
  3251. /// <summary>
  3252. /// 签退失败
  3253. /// </summary>
  3254. RUNSTATUS_BANKSIGNOUT_FAILED = 47,
  3255. /// <summary>
  3256. /// 对账开始
  3257. /// </summary>
  3258. RUNSTATUS_BANKCHECK_BEGIN = 48,
  3259. /// <summary>
  3260. /// 对账成功
  3261. /// </summary>
  3262. RUNSTATUS_BANKCHECK_SUCCESS = 49,
  3263. /// <summary>
  3264. /// 对账失败
  3265. /// </summary>
  3266. RUNSTATUS_BANKCHECK_FAILED = 50,
  3267. /// <summary>
  3268. /// 清算开始
  3269. /// </summary>
  3270. RUNSTATUS_BANKCLEAR_BEGIN = 51,
  3271. /// <summary>
  3272. /// 清算成功
  3273. /// </summary>
  3274. RUNSTATUS_BANKCLEAR_SUCCESS = 52,
  3275. /// <summary>
  3276. /// 清算失败
  3277. /// </summary>
  3278. RUNSTATUS_BANKCLEAR_FAILED = 53,
  3279. /// <summary>
  3280. /// 清算部分成功
  3281. /// </summary>
  3282. RUNSTATUS_BANKCLEAR_PARTIALSUCCESS = 54,
  3283. /// <summary>
  3284. /// 结束手工休市信号
  3285. /// </summary>
  3286. RUNSTATUS_END_PAUSE_MANUAL_SIGNAL = 100,
  3287. /// <summary>
  3288. /// 休市结束信号
  3289. /// </summary>
  3290. RUNSTATUS_END_PAUSE_SIGNAL = 101
  3291. }
  3292. /// <summary>
  3293. // 结算标识
  3294. /// </summary>
  3295. public enum eReckonFlag
  3296. {
  3297. /// <summary>
  3298. /// 停止结算
  3299. /// </summary>
  3300. RECKONFLAG_STOP = 0,
  3301. /// <summary>
  3302. /// 正常
  3303. /// </summary>
  3304. RECKONFLAG_NORMAL = 1
  3305. }
  3306. /// <summary>
  3307. // 是否结算
  3308. /// </summary>
  3309. public enum eIsReckoned
  3310. {
  3311. /// <summary>
  3312. /// 未结算
  3313. /// </summary>
  3314. ISRECKONED_NO = 0,
  3315. /// <summary>
  3316. /// 已结算
  3317. /// </summary>
  3318. ISRECKONED_DONE = 1
  3319. }
  3320. /// <summary>
  3321. // 配对状态
  3322. /// </summary>
  3323. public enum eMatchStatus
  3324. {
  3325. /// <summary>
  3326. /// 配对成功
  3327. /// </summary>
  3328. MATCHSTATUS_MATCHED = 1,
  3329. /// <summary>
  3330. /// 已成交
  3331. /// </summary>
  3332. MATCHSTATUS_DEAL = 2
  3333. }
  3334. /// <summary>
  3335. // 接单标识
  3336. /// </summary>
  3337. public enum eReceiveFlag
  3338. {
  3339. /// <summary>
  3340. /// 无
  3341. /// </summary>
  3342. RECEIVEFLAG_NONE = 0,
  3343. /// <summary>
  3344. /// 买方
  3345. /// </summary>
  3346. RECEIVEFLAG_BUYER = 1,
  3347. /// <summary>
  3348. /// 卖方
  3349. /// </summary>
  3350. RECEIVEFLAG_SELLER = 2
  3351. }
  3352. /// <summary>
  3353. // 配对类型
  3354. /// </summary>
  3355. public enum eMatchType
  3356. {
  3357. /// <summary>
  3358. /// 正常委托
  3359. /// </summary>
  3360. MATCHTYPE_NORMAL = 1,
  3361. /// <summary>
  3362. /// 风控斩仓
  3363. /// </summary>
  3364. MATCHTYPE_RISK = 2
  3365. }
  3366. /// <summary>
  3367. // 操作类型
  3368. /// </summary>
  3369. public enum eOperateType
  3370. {
  3371. /// <summary>
  3372. /// 委托撤单
  3373. /// </summary>
  3374. OPERATETYPE_ORDERCANCEL = 1
  3375. }
  3376. /// <summary>
  3377. // 处理状态
  3378. /// </summary>
  3379. public enum eHandleStatus
  3380. {
  3381. /// <summary>
  3382. /// 待处理
  3383. /// </summary>
  3384. HANDLESTATUS_PENDING = 1,
  3385. /// <summary>
  3386. /// 处理成功
  3387. /// </summary>
  3388. HANDLESTATUS_SUCCESS = 2,
  3389. /// <summary>
  3390. /// 处理失败
  3391. /// </summary>
  3392. HANDLESTATUS_FAILED = 3,
  3393. /// <summary>
  3394. /// 已拒绝
  3395. /// </summary>
  3396. HANDLESTATUS_REJECTED = 4
  3397. }
  3398. /// <summary>
  3399. // 委托来源
  3400. /// </summary>
  3401. public enum eOrderSrc
  3402. {
  3403. /// <summary>
  3404. /// 客户端
  3405. /// </summary>
  3406. ORDERSRC_CLIENT = 1,
  3407. /// <summary>
  3408. /// 管理端
  3409. /// </summary>
  3410. ORDERSRC_MANAGE = 2,
  3411. /// <summary>
  3412. /// 风控服务
  3413. /// </summary>
  3414. ORDERSRC_RISK = 3,
  3415. /// <summary>
  3416. /// 交割服务
  3417. /// </summary>
  3418. ORDERSRC_DELIVERY = 4,
  3419. /// <summary>
  3420. /// 交易服务
  3421. /// </summary>
  3422. ORDERSRC_TRADE = 5,
  3423. /// <summary>
  3424. /// 交易日结
  3425. /// </summary>
  3426. ORDERSRC_DAYEND = 6
  3427. }
  3428. /// <summary>
  3429. // 订单操作类型
  3430. /// </summary>
  3431. public enum eOrderOperateType
  3432. {
  3433. /// <summary>
  3434. /// 正常下单
  3435. /// </summary>
  3436. [ItemDisc("OrderOperateType_NORMAL")]
  3437. ORDEROPERATETYPE_NORMAL = 1,
  3438. /// <summary>
  3439. /// 斩仓
  3440. /// </summary>
  3441. [ItemDisc("ORDEROPERATETYPE_RISK")]
  3442. ORDEROPERATETYPE_RISK = 2,
  3443. /// <summary>
  3444. /// 转单
  3445. /// </summary>
  3446. [ItemDisc("ORDEROPERATETYPE_TRANSFER")]
  3447. ORDEROPERATETYPE_TRANSFER = 3,
  3448. /// <summary>
  3449. /// 结算撤单
  3450. /// </summary>
  3451. [ItemDisc("ORDEROPERATETYPE_RECKON_CANCEL")]
  3452. ORDEROPERATETYPE_RECKON_CANCEL = 4,
  3453. /// <summary>
  3454. /// 系统卖出(适用于先平后建的卖出)
  3455. /// </summary>
  3456. [ItemDisc("ORDEROPERATETYPE_SYS_CLOSE")]
  3457. ORDEROPERATETYPE_SYS_CLOSE = 5,
  3458. /// <summary>
  3459. /// 行情源报价
  3460. /// </summary>
  3461. [ItemDisc("ORDEROPERATETYPE_QUOTEPRICE")]
  3462. ORDEROPERATETYPE_QUOTEPRICE = 6,
  3463. /// <summary>
  3464. /// (结算)到期强平
  3465. /// </summary>
  3466. ORDEROPERATETYPE_ONTIME_CLOSE = 7,
  3467. /// <summary>
  3468. /// (结算)协议转让
  3469. /// </summary>
  3470. ORDEROPERATETYPE_DEAL_CLOSE = 8,
  3471. /// <summary>
  3472. /// 系统对冲单
  3473. /// </summary>
  3474. ORDEROPERATETYPE_SYS_HEDGE = 9,
  3475. /// <summary>
  3476. /// (结算)到期无效
  3477. /// </summary>
  3478. ORDEROPERATETYPE_RECKON_INVALID = 10
  3479. }
  3480. /// <summary>
  3481. // 订单状态
  3482. /// </summary>
  3483. public enum eOrderStatus
  3484. {
  3485. /// <summary>
  3486. /// 委托请求
  3487. /// </summary>
  3488. [ItemDisc("OrderStatus_Request")]
  3489. ORDERSTATUS_REQUEST = 1,
  3490. /// <summary>
  3491. /// 待冻结
  3492. /// </summary>
  3493. [ItemDisc("OrderStatus_WaitFreeze")]
  3494. ORDERSTATUS_WAITFREEZE = 2,
  3495. /// <summary>
  3496. /// 委托成功
  3497. /// </summary>
  3498. [ItemDisc("OrderStatus_Succeed")]
  3499. ORDERSTATUS_SUCCEED = 3,
  3500. /// <summary>
  3501. /// 委托失败
  3502. /// </summary>
  3503. [ItemDisc("OrderStatus_Failed")]
  3504. ORDERSTATUS_FAILED = 4,
  3505. /// <summary>
  3506. /// 配对成功
  3507. /// </summary>
  3508. [ItemDisc("OrderStatus_Matched")]
  3509. ORDERSTATUS_MATCHED = 5,
  3510. /// <summary>
  3511. /// 已撤
  3512. /// </summary>
  3513. [ItemDisc("OrderStatus_Canceled")]
  3514. ORDERSTATUS_CANCELED = 6,
  3515. /// <summary>
  3516. /// 部成
  3517. /// </summary>
  3518. [ItemDisc("OrderStatus_PartialDeal")]
  3519. ORDERSTATUS_PARTIALDEAL = 7,
  3520. /// <summary>
  3521. /// 已成
  3522. /// </summary>
  3523. [ItemDisc("OrderStatus_Dealed")]
  3524. ORDERSTATUS_DEALED = 8,
  3525. /// <summary>
  3526. /// 部成部撤
  3527. /// </summary>
  3528. [ItemDisc("OrderStatus_PartialCanceled")]
  3529. ORDERSTATUS_PARTIALCANCELED = 9,
  3530. /// <summary>
  3531. /// 成交失败
  3532. /// </summary>
  3533. [ItemDisc("OrderStatus_DealFailed")]
  3534. ORDERSTATUS_DEALFAILED = 10,
  3535. /// <summary>
  3536. /// 委托拒绝
  3537. /// </summary>
  3538. [ItemDisc("OrderStatus_Denied")]
  3539. ORDERSTATUS_DENIED = 11,
  3540. /// <summary>
  3541. /// 经过摘牌(先摘后挂专用)
  3542. /// </summary>
  3543. [ItemDisc("OrderStatus_Match")]
  3544. ORDERSTATUS_MATCH = 12
  3545. }
  3546. /// <summary>
  3547. // 手续费收取规则
  3548. /// </summary>
  3549. public enum eChargeRule
  3550. {
  3551. /// <summary>
  3552. /// 建仓平仓双收
  3553. /// </summary>
  3554. CHARGERULE_BOTH = 1,
  3555. /// <summary>
  3556. /// 建仓不收、平仓收
  3557. /// </summary>
  3558. CHARGERULE_CLOSEONLY = 2,
  3559. /// <summary>
  3560. /// 建仓收、平仓不收
  3561. /// </summary>
  3562. CHARGERULE_OPENONLY = 3,
  3563. /// <summary>
  3564. /// 建仓不收,盈利收,亏损不收
  3565. /// </summary>
  3566. CHARGERULE_PROFITONLY = 4
  3567. }
  3568. /// <summary>
  3569. // 交易规则
  3570. /// </summary>
  3571. public enum eTradeRule
  3572. {
  3573. /// <summary>
  3574. /// 最大买持仓量
  3575. /// </summary>
  3576. TRADERULE_MAXBUYHOLDERQTY = 101,
  3577. /// <summary>
  3578. /// 最大卖持仓量
  3579. /// </summary>
  3580. TRADERULE_MAXSELLHOLDERQTY = 102,
  3581. /// <summary>
  3582. /// 单笔最小建仓量
  3583. /// </summary>
  3584. TRADERULE_SINGLEMINOPENQTY = 103,
  3585. /// <summary>
  3586. /// 单笔最大建仓量
  3587. /// </summary>
  3588. TRADERULE_SINGLEMAXOPENQTY = 104,
  3589. /// <summary>
  3590. /// 手续费收费规则
  3591. /// </summary>
  3592. TRADERULE_TRADECHARGERULE = 105,
  3593. /// <summary>
  3594. /// 交易T+N
  3595. /// </summary>
  3596. TRADERULE_MINHOLDERDAYS = 106,
  3597. /// <summary>
  3598. /// 上市首日涨停
  3599. /// </summary>
  3600. TRADERULE_FIRSTDAYLIMITUP = 107,
  3601. /// <summary>
  3602. /// 上市首日跌停
  3603. /// </summary>
  3604. TRADERULE_FIRSTDAYLIMITDOWN = 108,
  3605. /// <summary>
  3606. /// 上市首日参考价
  3607. /// </summary>
  3608. TRADERULE_FIRSTDAYPRICE = 109,
  3609. /// <summary>
  3610. /// 涨停
  3611. /// </summary>
  3612. TRADERULE_LIMITUP = 110,
  3613. /// <summary>
  3614. /// 跌停
  3615. /// </summary>
  3616. TRADERULE_LIMITDOWN = 111,
  3617. /// <summary>
  3618. /// 市价最大偏移范围
  3619. /// </summary>
  3620. TRADERULE_MAXOFFSETRANGE = 112,
  3621. /// <summary>
  3622. /// 止损点差
  3623. /// </summary>
  3624. TRADERULE_SLPT = 113,
  3625. /// <summary>
  3626. /// 止盈点差
  3627. /// </summary>
  3628. TRADERULE_SPPT = 114,
  3629. /// <summary>
  3630. /// 单笔最小交割数量
  3631. /// </summary>
  3632. TRADERULE_SINGLEMINDELIVERYQTY = 115,
  3633. /// <summary>
  3634. /// 单笔最大交割数量
  3635. /// </summary>
  3636. TRADERULE_SINGLEMAXDELIVERYQTY = 116
  3637. }
  3638. /// <summary>
  3639. // 是否必填
  3640. /// </summary>
  3641. public enum eIsMandatory
  3642. {
  3643. /// <summary>
  3644. /// 不必填
  3645. /// </summary>
  3646. ISMANDATORY_NO = 0,
  3647. /// <summary>
  3648. /// 必填
  3649. /// </summary>
  3650. ISMANDATORY_YES = 1
  3651. }
  3652. /// <summary>
  3653. // 是否可个性化
  3654. /// </summary>
  3655. public enum eIsPersonalized
  3656. {
  3657. /// <summary>
  3658. /// 不可个性化
  3659. /// </summary>
  3660. ISPERSONALIZED_NO = 0,
  3661. /// <summary>
  3662. /// 可个性化
  3663. /// </summary>
  3664. ISPERSONALIZED_YES = 1
  3665. }
  3666. /// <summary>
  3667. // 交易费用
  3668. /// </summary>
  3669. public enum eTradeFee
  3670. {
  3671. /// <summary>
  3672. /// 建仓(买)手续费
  3673. /// </summary>
  3674. TRADEFEE_OPENCHARGE = 101,
  3675. /// <summary>
  3676. /// 平仓(卖)手续费
  3677. /// </summary>
  3678. TRADEFEE_CLOSECHARGE = 102,
  3679. /// <summary>
  3680. /// 买递延费(仓储费)
  3681. /// </summary>
  3682. TRADEFEE_BUYINTEREST = 103,
  3683. /// <summary>
  3684. /// 卖递延费
  3685. /// </summary>
  3686. TRADEFEE_SELLINTEREST = 104,
  3687. /// <summary>
  3688. /// 买交割手续费
  3689. /// </summary>
  3690. TRADEFEE_BUYDELIVERYCHARGE = 105
  3691. }
  3692. /// <summary>
  3693. // 商品组状态
  3694. /// </summary>
  3695. public enum eGoodsGroupStatus
  3696. {
  3697. /// <summary>
  3698. /// 正常
  3699. /// </summary>
  3700. GOODSGROUPSTATUS_NORMAL = 1,
  3701. /// <summary>
  3702. /// 注销
  3703. /// </summary>
  3704. GOODSGROUPSTATUS_CANCELLED = 2
  3705. }
  3706. /// <summary>
  3707. // 报价商标识
  3708. /// </summary>
  3709. public enum eHASQUOTER
  3710. {
  3711. /// <summary>
  3712. /// 无报价商
  3713. /// </summary>
  3714. HASQUOTER_NO = 0,
  3715. /// <summary>
  3716. /// 有报价商
  3717. /// </summary>
  3718. HASQUOTER_YES = 1
  3719. }
  3720. /// <summary>
  3721. // 报价商状态
  3722. /// </summary>
  3723. public enum eQuoterStatus
  3724. {
  3725. /// <summary>
  3726. /// 正常
  3727. /// </summary>
  3728. QUOTERSTATUS_NORMAL = 1,
  3729. /// <summary>
  3730. /// 注销
  3731. /// </summary>
  3732. QUOTERSTATUS_CANCELLED = 2
  3733. }
  3734. /// <summary>
  3735. // 行情源类型
  3736. /// </summary>
  3737. public enum eQuoteType
  3738. {
  3739. /// <summary>
  3740. /// 手工报价
  3741. /// </summary>
  3742. QUOTETYPE_MANUAL = 1,
  3743. /// <summary>
  3744. /// 外部行情源
  3745. /// </summary>
  3746. QUOTETYPE_OUTER = 2
  3747. }
  3748. /// <summary>
  3749. // 穿仓类型
  3750. /// </summary>
  3751. public enum eArrType
  3752. {
  3753. /// <summary>
  3754. /// 强平资金不足欠款
  3755. /// </summary>
  3756. ARRTYPE_CLOSESHORT = 1,
  3757. /// <summary>
  3758. /// 交割手续费不足欠款
  3759. /// </summary>
  3760. ARRTYPE_DELIVERYCHARGESHORT = 2,
  3761. /// <summary>
  3762. /// 入金还款
  3763. /// </summary>
  3764. ARRTYPE_INAMOUNTPAYMENT = 3,
  3765. /// <summary>
  3766. /// 现金买卖还款
  3767. /// </summary>
  3768. ARRTYPE_CASHPAYMENT = 4
  3769. }
  3770. /// <summary>
  3771. // 用户信息类型
  3772. /// </summary>
  3773. public enum eUserInfoType
  3774. {
  3775. /// <summary>
  3776. /// 个人
  3777. /// </summary>
  3778. USERINFOTYPE_PERSON = 1,
  3779. /// <summary>
  3780. /// 企业
  3781. /// </summary>
  3782. USERINFOTYPE_COMPANY = 2
  3783. }
  3784. /// <summary>
  3785. // 用户状态
  3786. /// </summary>
  3787. public enum eUserStatus
  3788. {
  3789. /// <summary>
  3790. /// 正常
  3791. /// </summary>
  3792. USERSTATUS_NORMAL = 1,
  3793. /// <summary>
  3794. /// 注销
  3795. /// </summary>
  3796. USERSTATUS_CANCELLED = 2
  3797. }
  3798. /// <summary>
  3799. // 用户类型
  3800. /// </summary>
  3801. public enum eUserType
  3802. {
  3803. /// <summary>
  3804. /// 交易所
  3805. /// </summary>
  3806. USERTYPE_EXCHANGE = 1,
  3807. /// <summary>
  3808. /// 机构
  3809. /// </summary>
  3810. USERTYPE_AREA = 2,
  3811. /// <summary>
  3812. /// 会员子机构
  3813. /// </summary>
  3814. USERTYPE_SUBAREA = 3,
  3815. /// <summary>
  3816. /// 经纪人
  3817. /// </summary>
  3818. USERTYPE_BROKER = 4,
  3819. /// <summary>
  3820. /// 投资者
  3821. /// </summary>
  3822. USERTYPE_INVESTOR = 5
  3823. }
  3824. /// <summary>
  3825. // 开户方式
  3826. /// </summary>
  3827. public enum eOpenMode
  3828. {
  3829. /// <summary>
  3830. /// 管理端开户
  3831. /// </summary>
  3832. OPENMODE_MANAGE = 1,
  3833. /// <summary>
  3834. /// 网上开户注册
  3835. /// </summary>
  3836. OPENMODE_WEBSITE = 2,
  3837. /// <summary>
  3838. /// 微信开户
  3839. /// </summary>
  3840. OPENMODE_WECHAT = 3,
  3841. /// <summary>
  3842. /// 网页交易端注册
  3843. /// </summary>
  3844. OPENMODE_TRADEWETSITE = 4,
  3845. /// <summary>
  3846. /// 安卓手机端注册
  3847. /// </summary>
  3848. OPENMODE_ANDROID = 5,
  3849. /// <summary>
  3850. /// 苹果手机端注册
  3851. /// </summary>
  3852. OPENMODE_IOS = 6,
  3853. /// <summary>
  3854. /// PC交易端注册
  3855. /// </summary>
  3856. OPENMODE_TRADEPC = 7
  3857. }
  3858. /// <summary>
  3859. // 企业性质
  3860. /// </summary>
  3861. public enum eBizNature
  3862. {
  3863. /// <summary>
  3864. /// 国有控股企业
  3865. /// </summary>
  3866. BIZNATURE_NATIONAL = 1,
  3867. /// <summary>
  3868. /// 集体控股企业
  3869. /// </summary>
  3870. BIZNATURE_COLLECTIVE = 2,
  3871. /// <summary>
  3872. /// 私人控股企业
  3873. /// </summary>
  3874. BIZNATURE_PERSONAL = 3,
  3875. /// <summary>
  3876. /// 港澳台商控股企业
  3877. /// </summary>
  3878. BIZNATURE_HMT = 4,
  3879. /// <summary>
  3880. /// 外商控股企业
  3881. /// </summary>
  3882. BIZNATURE_FOREIGN = 5,
  3883. /// <summary>
  3884. /// 其它
  3885. /// </summary>
  3886. BIZNATURE_OTHER = 6
  3887. }
  3888. /// <summary>
  3889. // 性别
  3890. /// </summary>
  3891. public enum eSex
  3892. {
  3893. /// <summary>
  3894. /// 女
  3895. /// </summary>
  3896. SEX_FEMALE = 0,
  3897. /// <summary>
  3898. /// 男
  3899. /// </summary>
  3900. SEX_MALE = 1
  3901. }
  3902. /// <summary>
  3903. // 账户状态
  3904. /// </summary>
  3905. public enum eAccountStatus
  3906. {
  3907. /// <summary>
  3908. /// 待激活
  3909. /// </summary>
  3910. [ItemDisc("AccountStatus_InActive")]
  3911. ACCOUNTSTATUS_INACTIVE = 1,
  3912. /// <summary>
  3913. /// 待审核
  3914. /// </summary>
  3915. [ItemDisc("AccountStatus_PendingAudit")]
  3916. ACCOUNTSTATUS_PENDINGAUDIT = 2,
  3917. /// <summary>
  3918. /// 待复审
  3919. /// </summary>
  3920. [ItemDisc("AccountStatus_PendingReAudit")]
  3921. ACCOUNTSTATUS_PENDINGREAUDIT = 3,
  3922. /// <summary>
  3923. /// 正常
  3924. /// </summary>
  3925. [ItemDisc("AccountStatus_Normal")]
  3926. ACCOUNTSTATUS_NORMAL = 4,
  3927. /// <summary>
  3928. /// 审核拒绝
  3929. /// </summary>
  3930. [ItemDisc("AccountStatus_Reject")]
  3931. ACCOUNTSTATUS_REJECT = 5,
  3932. /// <summary>
  3933. /// 已注销
  3934. /// </summary>
  3935. [ItemDisc("AccountStatus_Cancelled")]
  3936. ACCOUNTSTATUS_CANCELLED = 6
  3937. }
  3938. /// <summary>
  3939. // 登录账号类型
  3940. /// </summary>
  3941. public enum eLoginUserType
  3942. {
  3943. /// <summary>
  3944. /// 投资者
  3945. /// </summary>
  3946. LOGINUSERTYPE_INVESTOR = 1,
  3947. /// <summary>
  3948. /// 机构交易员
  3949. /// </summary>
  3950. LOGINUSERTYPE_TRADER = 2
  3951. }
  3952. /// <summary>
  3953. // 登陆类型
  3954. /// </summary>
  3955. public enum eLoginType
  3956. {
  3957. /// <summary>
  3958. /// 账号登陆
  3959. /// </summary>
  3960. LOGINTYPE_ACCOUNT = 0,
  3961. /// <summary>
  3962. /// 手机号登陆
  3963. /// </summary>
  3964. LOGINTYPE_MOBILEPHONE = 1,
  3965. /// <summary>
  3966. /// 微信号登陆
  3967. /// </summary>
  3968. LOGINTYPE_WECHAT = 2
  3969. }
  3970. /// <summary>
  3971. // 登录账号状态
  3972. /// </summary>
  3973. public enum eLoginStatus
  3974. {
  3975. /// <summary>
  3976. /// 正常
  3977. /// </summary>
  3978. LOGINSTATUS_NORMAL = 1,
  3979. /// <summary>
  3980. /// 冻结
  3981. /// </summary>
  3982. LOGINSTATUS_FROZEN = 2,
  3983. /// <summary>
  3984. /// 无效
  3985. /// </summary>
  3986. LOGINSTATUS_INVALID = 3
  3987. }
  3988. /// <summary>
  3989. // 交易状态
  3990. /// </summary>
  3991. public enum eTradeStatus
  3992. {
  3993. /// <summary>
  3994. /// 正常
  3995. /// </summary>
  3996. TRADESTATUS_NORMAL = 1,
  3997. /// <summary>
  3998. /// 受限
  3999. /// </summary>
  4000. TRADESTATUS_LIMITED = 2,
  4001. /// <summary>
  4002. /// 冻结
  4003. /// </summary>
  4004. TRADESTATUS_FROZEN = 3,
  4005. /// <summary>
  4006. /// 人工受限(禁止建仓)
  4007. /// </summary>
  4008. TRADESTATUS_LIMITEDMANUAL = 4,
  4009. /// <summary>
  4010. /// 人工冻结(禁止交易)
  4011. /// </summary>
  4012. TRADESTATUS_FROZENMANUAL = 5
  4013. }
  4014. /// <summary>
  4015. // 签约状态
  4016. /// </summary>
  4017. public enum eSignStatus
  4018. {
  4019. /// <summary>
  4020. /// 未签约
  4021. /// </summary>
  4022. SIGNSTATUS_UNSIGN = 1,
  4023. /// <summary>
  4024. /// 签约待审核
  4025. /// </summary>
  4026. SIGNSTATUS_SIGNFORAUDIT = 2,
  4027. /// <summary>
  4028. /// 签约中
  4029. /// </summary>
  4030. SIGNSTATUS_SIGNING = 3,
  4031. /// <summary>
  4032. /// 已签约
  4033. /// </summary>
  4034. SIGNSTATUS_SIGNED = 4,
  4035. /// <summary>
  4036. /// 解约待审核
  4037. /// </summary>
  4038. SIGNSTATUS_CANCELFORAUDIT = 5,
  4039. /// <summary>
  4040. /// 解约中
  4041. /// </summary>
  4042. SIGNSTATUS_CANCELLING = 6,
  4043. /// <summary>
  4044. /// 已解约
  4045. /// </summary>
  4046. SIGNSTATUS_CANCELLED = 7,
  4047. /// <summary>
  4048. /// 已解绑
  4049. /// </summary>
  4050. SIGNSTATUS_BINDED = 8,
  4051. /// <summary>
  4052. /// 绑卡中
  4053. /// </summary>
  4054. SIGNSTATUS_BINDING = 9,
  4055. /// <summary>
  4056. /// 审核拒绝
  4057. /// </summary>
  4058. SIGNSTATUS_REJECT = 10
  4059. }
  4060. /// <summary>
  4061. // 母账户标识
  4062. /// </summary>
  4063. public enum eIsMain
  4064. {
  4065. /// <summary>
  4066. /// 不是母账户
  4067. /// </summary>
  4068. ISMAIN_NO = 0,
  4069. /// <summary>
  4070. /// 是母账户
  4071. /// </summary>
  4072. ISMAIN_YES = 1
  4073. }
  4074. /// <summary>
  4075. // 资金账号类型
  4076. /// </summary>
  4077. public enum eTAAccountType
  4078. {
  4079. /// <summary>
  4080. /// 外部账号
  4081. /// </summary>
  4082. TAACCOUNTTYPE_OUTER = 1,
  4083. /// <summary>
  4084. /// 内部账号
  4085. /// </summary>
  4086. TAACCOUNTTYPE_INNER = 2
  4087. }
  4088. /// <summary>
  4089. // 资金调整类型
  4090. /// </summary>
  4091. public enum eAmountAdjustType
  4092. {
  4093. /// <summary>
  4094. /// 系统
  4095. /// </summary>
  4096. AMOUNTADJUSTTYPE_SYSTEM = 0,
  4097. /// <summary>
  4098. /// 单边账调整
  4099. /// </summary>
  4100. AMOUNTADJUSTTYPE_UNILATERAL = 1,
  4101. /// <summary>
  4102. /// 人工调整
  4103. /// </summary>
  4104. AMOUNTADJUSTTYPE_MANUAL = 2
  4105. }
  4106. /// <summary>
  4107. // 账户业务编号
  4108. /// </summary>
  4109. public enum eAccountBusinessCode
  4110. {
  4111. /// <summary>
  4112. /// 管理端资金头寸调整
  4113. /// </summary>
  4114. ACCOUNTBIZCODE_MANAGE_ADJUST = 101,
  4115. /// <summary>
  4116. /// 管理端分润划转
  4117. /// </summary>
  4118. ACCOUNTBIZCODE_MANAGE_SHARE_PROFIT = 102,
  4119. /// <summary>
  4120. /// 管理端划转
  4121. /// </summary>
  4122. ACCOUNTBIZCODE_MANAGE_TRANSFER = 103,
  4123. /// <summary>
  4124. /// 银行入金
  4125. /// </summary>
  4126. ACCOUNTBIZCODE_BANK_DEPOSIT = 201,
  4127. /// <summary>
  4128. /// 银行出金冻结
  4129. /// </summary>
  4130. ACCOUNTBIZCODE_BANK_WITHDRAW_FREEZE = 202,
  4131. /// <summary>
  4132. /// 银行出金解冻
  4133. /// </summary>
  4134. ACCOUNTBIZCODE_BANK_WITHDRAW_UNFREEZE = 203,
  4135. /// <summary>
  4136. /// 银行出金
  4137. /// </summary>
  4138. ACCOUNTBIZCODE_BANK_WITHDRAW = 204,
  4139. /// <summary>
  4140. /// 银行单边帐调整
  4141. /// </summary>
  4142. ACCOUNTBIZCODE_BANK_ADJUST = 205,
  4143. /// <summary>
  4144. /// 交易建仓委托
  4145. /// </summary>
  4146. ACCOUNTBIZCODE_TRADE_OPEN_ORDER = 301,
  4147. /// <summary>
  4148. /// 交易建仓撤单
  4149. /// </summary>
  4150. ACCOUNTBIZCODE_TRADE_OPEN_CANCEL = 302,
  4151. /// <summary>
  4152. /// 交易建仓成交
  4153. /// </summary>
  4154. ACCOUNTBIZCODE_TRADE_OPEN_DEAL = 303,
  4155. /// <summary>
  4156. /// 交易平仓委托
  4157. /// </summary>
  4158. ACCOUNTBIZCODE_TRADE_CLOSE_ORDER = 304,
  4159. /// <summary>
  4160. /// 交易平仓撤单
  4161. /// </summary>
  4162. ACCOUNTBIZCODE_TRADE_CLOSE_CANCEL = 305,
  4163. /// <summary>
  4164. /// 交易平仓成交
  4165. /// </summary>
  4166. ACCOUNTBIZCODE_TRADE_CLOSE_DEAL = 306,
  4167. /// <summary>
  4168. /// 交易先平后建委托
  4169. /// </summary>
  4170. ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_ORDER = 307,
  4171. /// <summary>
  4172. /// 交易先平后建撤单
  4173. /// </summary>
  4174. ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_CANCEL = 308,
  4175. /// <summary>
  4176. /// 交易先平后建成交
  4177. /// </summary>
  4178. ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_DEAL = 309,
  4179. /// <summary>
  4180. /// 交易持仓作废
  4181. /// </summary>
  4182. ACCOUNTBIZCODE_TRADE_INVALID = 310,
  4183. /// <summary>
  4184. /// 交易到期解冻
  4185. /// </summary>
  4186. ACCOUNTBIZCODE_TRADE_EXPIRED_UNFREEZE = 311,
  4187. /// <summary>
  4188. /// 交易仓单转头寸
  4189. /// </summary>
  4190. ACCOUNTBIZCODE_TRADE_WRTOPOSITION = 312,
  4191. /// <summary>
  4192. /// 交易头寸转仓单
  4193. /// </summary>
  4194. ACCOUNTBIZCODE_TRADE_POSITIONTOWR = 313,
  4195. /// <summary>
  4196. /// 交易报价头寸冻结
  4197. /// </summary>
  4198. ACCOUNTBIZCODE_TRADEQUOTE_POSITION_FREEZE = 314,
  4199. /// <summary>
  4200. /// 交割平仓委托
  4201. /// </summary>
  4202. ACCOUNTBIZCODE_DELIVERY_CLOSE_ORDER = 401,
  4203. /// <summary>
  4204. /// 交割平仓撤单
  4205. /// </summary>
  4206. ACCOUNTBIZCODE_DELIVERY_CLOSE_CANCEL = 402,
  4207. /// <summary>
  4208. /// 交割平仓成交
  4209. /// </summary>
  4210. ACCOUNTBIZCODE_DELIVERY_CLOSE_DEAL = 403,
  4211. /// <summary>
  4212. /// 交割成交
  4213. /// </summary>
  4214. ACCOUNTBIZCODE_DELIVERY_DEAL = 404,
  4215. /// <summary>
  4216. /// 交割仓单订单查询
  4217. /// </summary>
  4218. ACCOUNTBIZCODE_DELIVERY_WAREHORSE_QUERY = 405,
  4219. /// <summary>
  4220. /// 交割主商品头寸冻结
  4221. /// </summary>
  4222. ACCOUNTBIZCODE_DELIVERY_XPOSITION_FREEZE = 406,
  4223. /// <summary>
  4224. /// 交割主商品头寸解冻
  4225. /// </summary>
  4226. ACCOUNTBIZCODE_DELIVERY_XPOSITION_UNFREEZE = 407,
  4227. /// <summary>
  4228. /// 交割辅商品头寸冻结
  4229. /// </summary>
  4230. ACCOUNTBIZCODE_DELIVERY_PPOSITION_FREEZE = 408,
  4231. /// <summary>
  4232. /// 交割辅商品头寸解冻
  4233. /// </summary>
  4234. ACCOUNTBIZCODE_DELIVERY_PPOSITION_UNFREEZE = 409,
  4235. /// <summary>
  4236. /// 履约卖方发货
  4237. /// </summary>
  4238. ACCOUNTBIZCODE_PERFORMANCE_SELLER_SENDGOODS = 501,
  4239. /// <summary>
  4240. /// 履约买方支付
  4241. /// </summary>
  4242. ACCOUNTBIZCODE_PERFORMANCE_BUYER_PAYMENT = 502,
  4243. /// <summary>
  4244. /// 履约卖方收款
  4245. /// </summary>
  4246. ACCOUNTBIZCODE_PERFORMANCE_SELLER_RECEIVE = 503,
  4247. /// <summary>
  4248. /// 履约买方违约
  4249. /// </summary>
  4250. ACCOUNTBIZCODE_PERFORMANCE_BREACH_BUY = 504,
  4251. /// <summary>
  4252. /// 履约卖方违约
  4253. /// </summary>
  4254. ACCOUNTBIZCODE_PERFORMANCE_BREACH_SELL = 505,
  4255. /// <summary>
  4256. /// 冻结仓单头寸
  4257. /// </summary>
  4258. ACCOUNTBIZCODE_PERFORMANCE_WRPOSTION_FREEZE = 506,
  4259. /// <summary>
  4260. /// 解冻仓单头寸
  4261. /// </summary>
  4262. ACCOUNTBIZCODE_PERFORMANCE_WRPOSTION_UNFREEZE = 507,
  4263. /// <summary>
  4264. /// 支付流程扣款
  4265. /// </summary>
  4266. ACCOUNTBIZCODE_PERFORMANCE_BUYERPAYMENT_DEDUCT = 508,
  4267. /// <summary>
  4268. /// 收款流程扣款
  4269. /// </summary>
  4270. ACCOUNTBIZCODE_PERFORMANCE_SELLERRECV_DEDUCT = 509,
  4271. /// <summary>
  4272. /// 收款流程收款
  4273. /// </summary>
  4274. ACCOUNTBIZCODE_PERFORMANCE_SELLERRECV_RECV = 510,
  4275. /// <summary>
  4276. /// 仓单注册审核通过的仓单服务处理
  4277. /// </summary>
  4278. ACCOUNTBIZCODE_WR_REGISTER = 601,
  4279. /// <summary>
  4280. /// 仓单转移业务处理
  4281. /// </summary>
  4282. ACCOUNTBIZCODE_WR_MOVE = 602,
  4283. /// <summary>
  4284. /// 仓单生成(仓单拆解)
  4285. /// </summary>
  4286. ACCOUNTBIZCODE_WR_DELIVERY_SPLIT = 603,
  4287. /// <summary>
  4288. /// 仓单转订单申请
  4289. /// </summary>
  4290. ACCOUNTBIZCODE_WR_R2H_APPLY = 604,
  4291. /// <summary>
  4292. /// 仓单转订单审核
  4293. /// </summary>
  4294. ACCOUNTBIZCODE_WR_R2H_VERIFY = 605,
  4295. /// <summary>
  4296. /// 订单转仓单申请
  4297. /// </summary>
  4298. ACCOUNTBIZCODE_WR_H2R_APPLY = 606,
  4299. /// <summary>
  4300. /// 订单转仓单审核
  4301. /// </summary>
  4302. ACCOUNTBIZCODE_WR_H2R_VERIFY = 607,
  4303. /// <summary>
  4304. /// 提货申请
  4305. /// </summary>
  4306. ACCOUNTBIZCODE_WR_LADING_APPLY = 608,
  4307. /// <summary>
  4308. /// 提货审核
  4309. /// </summary>
  4310. ACCOUNTBIZCODE_WR_LADING_VERIFY = 609,
  4311. /// <summary>
  4312. /// 库位状态变更
  4313. /// </summary>
  4314. ACCOUNTBIZCODE_WR_LOCATION_STATUS_UPDATE = 610,
  4315. /// <summary>
  4316. /// 仓单贸易挂牌委托
  4317. /// </summary>
  4318. ACCOUNTBIZCODE_WRTRADE_LISTING_ORDER = 701,
  4319. /// <summary>
  4320. /// 仓单贸易挂牌撤单
  4321. /// </summary>
  4322. ACCOUNTBIZCODE_WRTRADE_LISTING_CANCEL = 702,
  4323. /// <summary>
  4324. /// 仓单贸易摘牌委托
  4325. /// </summary>
  4326. ACCOUNTBIZCODE_WRTRADE_DELISTING_ORDER = 703,
  4327. /// <summary>
  4328. /// 仓单贸易摘牌成交
  4329. /// </summary>
  4330. ACCOUNTBIZCODE_WRTRADE_DELISTING_DEAL = 704,
  4331. /// <summary>
  4332. /// 供应链金融冻结
  4333. /// </summary>
  4334. ACCOUNTBIZCODE_SCF_FREEZE = 801,
  4335. /// <summary>
  4336. /// 供应链金融扣款
  4337. /// </summary>
  4338. ACCOUNTBIZCODE_SCF_DEDUCT = 802,
  4339. /// <summary>
  4340. /// 供应链金融收款
  4341. /// </summary>
  4342. ACCOUNTBIZCODE_SCF_RECEIVE = 803,
  4343. /// <summary>
  4344. /// 供应链金融冻结仓单头寸
  4345. /// </summary>
  4346. ACCOUNTBIZCODE_SCF_POS_FREEZE = 804,
  4347. /// <summary>
  4348. /// 供应链金融解冻仓单头寸
  4349. /// </summary>
  4350. ACCOUNTBIZCODE_SCF_POS_UNFREEZE = 805,
  4351. /// <summary>
  4352. /// 供应链金融最大扣款
  4353. /// </summary>
  4354. ACCOUNTBIZCODE_SCF_MAX_DEDUCT = 806
  4355. }
  4356. /// <summary>
  4357. // 账户服务资金操作子指令类型
  4358. /// </summary>
  4359. public enum eAccountFundCmdOp
  4360. {
  4361. /// <summary>
  4362. /// 入金
  4363. /// </summary>
  4364. [ItemDisc("ACCOUNTFUNDCMDOP_DEPOSIT")]
  4365. ACCOUNTFUNDCMDOP_DEPOSIT = 101,
  4366. /// <summary>
  4367. /// 入金手续费
  4368. /// </summary>
  4369. [ItemDisc("ACCOUNTFUNDCMDOP_DEPOSIT_FEE")]
  4370. ACCOUNTFUNDCMDOP_DEPOSIT_FEE = 102,
  4371. /// <summary>
  4372. /// 出金
  4373. /// </summary>
  4374. [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW")]
  4375. ACCOUNTFUNDCMDOP_WITHDRAW = 103,
  4376. /// <summary>
  4377. /// 出金冻结
  4378. /// </summary>
  4379. [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FREEZE")]
  4380. ACCOUNTFUNDCMDOP_WITHDRAW_FREEZE = 104,
  4381. /// <summary>
  4382. /// 出金解冻
  4383. /// </summary>
  4384. [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_UNFREEZE")]
  4385. ACCOUNTFUNDCMDOP_WITHDRAW_UNFREEZE = 105,
  4386. /// <summary>
  4387. /// 出金手续费
  4388. /// </summary>
  4389. [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FEE")]
  4390. ACCOUNTFUNDCMDOP_WITHDRAW_FEE = 106,
  4391. /// <summary>
  4392. /// 出金手续费冻结
  4393. /// </summary>
  4394. [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FEE_FREEZE")]
  4395. ACCOUNTFUNDCMDOP_WITHDRAW_FEE_FREEZE = 107,
  4396. /// <summary>
  4397. /// 出金手续费解冻
  4398. /// </summary>
  4399. [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FEE_UNFREEZE")]
  4400. ACCOUNTFUNDCMDOP_WITHDRAW_FEE_UNFREEZE = 108,
  4401. /// <summary>
  4402. /// 交易冻结
  4403. /// </summary>
  4404. [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FREEZE")]
  4405. ACCOUNTFUNDCMDOP_TRADE_FREEZE = 201,
  4406. /// <summary>
  4407. /// 交易解冻
  4408. /// </summary>
  4409. [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_UNFREEZE")]
  4410. ACCOUNTFUNDCMDOP_TRADE_UNFREEZE = 202,
  4411. /// <summary>
  4412. /// 交易占用
  4413. /// </summary>
  4414. [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_OCCUPY")]
  4415. ACCOUNTFUNDCMDOP_TRADE_OCCUPY = 203,
  4416. /// <summary>
  4417. /// 交易解占用
  4418. /// </summary>
  4419. [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FREE")]
  4420. ACCOUNTFUNDCMDOP_TRADE_FREE = 204,
  4421. /// <summary>
  4422. /// 交易手续费冻结
  4423. /// </summary>
  4424. [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FEE_FREEZE")]
  4425. ACCOUNTFUNDCMDOP_TRADE_FEE_FREEZE = 205,
  4426. /// <summary>
  4427. /// 交易手续费解冻
  4428. /// </summary>
  4429. [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FEE_UNFREEZE")]
  4430. ACCOUNTFUNDCMDOP_TRADE_FEE_UNFREEZE = 206,
  4431. /// <summary>
  4432. /// 交易手续费
  4433. /// </summary>
  4434. [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FEE")]
  4435. ACCOUNTFUNDCMDOP_TRADE_FEE = 207,
  4436. /// <summary>
  4437. /// 交易货款
  4438. /// </summary>
  4439. [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_GOODS_PAYMENT")]
  4440. ACCOUNTFUNDCMDOP_TRADE_GOODS_PAYMENT = 208,
  4441. /// <summary>
  4442. /// 交易盈亏
  4443. /// </summary>
  4444. [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_PROFIT_LOSS")]
  4445. ACCOUNTFUNDCMDOP_TRADE_PROFIT_LOSS = 209,
  4446. /// <summary>
  4447. /// 交割冻结
  4448. /// </summary>
  4449. [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FREEZE")]
  4450. ACCOUNTFUNDCMDOP_DELIVERY_FREEZE = 301,
  4451. /// <summary>
  4452. /// 交割解冻
  4453. /// </summary>
  4454. [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_UNFREEZE")]
  4455. ACCOUNTFUNDCMDOP_DELIVERY_UNFREEZE = 302,
  4456. /// <summary>
  4457. /// 交割手续费
  4458. /// </summary>
  4459. [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FEE")]
  4460. ACCOUNTFUNDCMDOP_DELIVERY_FEE = 303,
  4461. /// <summary>
  4462. /// 交割手续费冻结
  4463. /// </summary>
  4464. [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FEE_FREEZE")]
  4465. ACCOUNTFUNDCMDOP_DELIVERY_FEE_FREEZE = 304,
  4466. /// <summary>
  4467. /// 交割手续费解冻
  4468. /// </summary>
  4469. [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FEE_UNFREEZE")]
  4470. ACCOUNTFUNDCMDOP_DELIVERY_FEE_UNFREEZE = 305,
  4471. /// <summary>
  4472. /// 交割货款
  4473. /// </summary>
  4474. [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_GOODS_PAYMENT")]
  4475. ACCOUNTFUNDCMDOP_DELIVERY_GOODS_PAYMENT = 306,
  4476. /// <summary>
  4477. /// 交割税款
  4478. /// </summary>
  4479. [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_TAX")]
  4480. ACCOUNTFUNDCMDOP_DELIVERY_TAX = 307,
  4481. /// <summary>
  4482. /// 结算盈亏
  4483. /// </summary>
  4484. [ItemDisc("ACCOUNTFUNDCMDOP_SETTLE_PROFIT_LOSS")]
  4485. ACCOUNTFUNDCMDOP_SETTLE_PROFIT_LOSS = 401,
  4486. /// <summary>
  4487. /// 结算递延费
  4488. /// </summary>
  4489. [ItemDisc("ACCOUNTFUNDCMDOP_SETTLE_DEFERRED_FEE")]
  4490. ACCOUNTFUNDCMDOP_SETTLE_DEFERRED_FEE = 402,
  4491. /// <summary>
  4492. /// 分润收入
  4493. /// </summary>
  4494. [ItemDisc("ACCOUNTFUNDCMDOP_SHARE_PROFIT")]
  4495. ACCOUNTFUNDCMDOP_SHARE_PROFIT = 403,
  4496. /// <summary>
  4497. /// 授信增加
  4498. /// </summary>
  4499. [ItemDisc("ACCOUNTFUNDCMDOP_CREDIT_INCREASE")]
  4500. ACCOUNTFUNDCMDOP_CREDIT_INCREASE = 501,
  4501. /// <summary>
  4502. /// 授信减少
  4503. /// </summary>
  4504. [ItemDisc("ACCOUNTFUNDCMDOP_CREDIT_DECREASE")]
  4505. ACCOUNTFUNDCMDOP_CREDIT_DECREASE = 502,
  4506. /// <summary>
  4507. /// 转积分
  4508. /// </summary>
  4509. [ItemDisc("ACCOUNTFUNDCMDOP_PAY_POINTS")]
  4510. ACCOUNTFUNDCMDOP_PAY_POINTS = 503,
  4511. /// <summary>
  4512. /// 转入
  4513. /// </summary>
  4514. [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_IN")]
  4515. ACCOUNTFUNDCMDOP_TRANSFER_IN = 504,
  4516. /// <summary>
  4517. /// 转出
  4518. /// </summary>
  4519. [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_OUT")]
  4520. ACCOUNTFUNDCMDOP_TRANSFER_OUT = 505,
  4521. /// <summary>
  4522. /// 转出冻结
  4523. /// </summary>
  4524. [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_OUT_FREEZE")]
  4525. ACCOUNTFUNDCMDOP_TRANSFER_OUT_FREEZE = 506,
  4526. /// <summary>
  4527. /// 转出解冻
  4528. /// </summary>
  4529. [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_OUT_UNFREEZE")]
  4530. ACCOUNTFUNDCMDOP_TRANSFER_OUT_UNFREEZE = 507,
  4531. /// <summary>
  4532. /// 履约金额冻结
  4533. /// </summary>
  4534. ACCOUNTFUNDCMDOP_PERFORMANCE_FREEZE = 601,
  4535. /// <summary>
  4536. /// 履约最大冻结
  4537. /// </summary>
  4538. ACCOUNTFUNDCMDOP_PERFORMANCE_MAX_FREEZE = 602,
  4539. /// <summary>
  4540. /// 履约金额解冻
  4541. /// </summary>
  4542. ACCOUNTFUNDCMDOP_PERFORMANCE_UNFREEZE = 603,
  4543. /// <summary>
  4544. /// 履约扣款
  4545. /// </summary>
  4546. ACCOUNTFUNDCMDOP_PERFORMANCE_DEDUCT = 604,
  4547. /// <summary>
  4548. /// 履约收款
  4549. /// </summary>
  4550. ACCOUNTFUNDCMDOP_PERFORMANCE_RECEIVE = 605,
  4551. /// <summary>
  4552. /// 履约违约手续费
  4553. /// </summary>
  4554. ACCOUNTFUNDCMDOP_PERFORMANCE_DEFAULT_FEE = 606,
  4555. /// <summary>
  4556. /// 履约违约收入
  4557. /// </summary>
  4558. ACCOUNTFUNDCMDOP_PERFORMANCE_DEFAULT_INCOME = 607,
  4559. /// <summary>
  4560. /// 履约最大扣款
  4561. /// </summary>
  4562. ACCOUNTFUNDCMDOP_PERFORMANCE_MAX_DEDUCT = 608,
  4563. /// <summary>
  4564. /// 供应链金融冻结
  4565. /// </summary>
  4566. ACCOUNTFUNDCMDOP_SCF_FREEZE = 701,
  4567. /// <summary>
  4568. /// 供应链金融解冻
  4569. /// </summary>
  4570. ACCOUNTFUNDCMDOP_SCF_UNFREEZE = 702,
  4571. /// <summary>
  4572. /// 供应链金融最大冻结
  4573. /// </summary>
  4574. ACCOUNTFUNDCMDOP_SCF_MAX_FREEZE = 703,
  4575. /// <summary>
  4576. /// 供应链金融利息
  4577. /// </summary>
  4578. ACCOUNTFUNDCMDOP_SCF_INTEREST = 704,
  4579. /// <summary>
  4580. /// 供应链金融货款
  4581. /// </summary>
  4582. ACCOUNTFUNDCMDOP_SCF_GOODS_PAYMENT = 705,
  4583. /// <summary>
  4584. /// 供应链金融押金
  4585. /// </summary>
  4586. ACCOUNTFUNDCMDOP_SCF_CASH_DEPOSIT = 706,
  4587. /// <summary>
  4588. /// 供应链金融最大扣款
  4589. /// </summary>
  4590. ACCOUNTFUNDCMDOP_SCF_MAX_DEDUCT = 707,
  4591. /// <summary>
  4592. /// 仓单贸易冻结
  4593. /// </summary>
  4594. ACCOUNTFUNDCMDOP_WRTRADE_FREEZE = 801,
  4595. /// <summary>
  4596. /// 仓单贸易解冻
  4597. /// </summary>
  4598. ACCOUNTFUNDCMDOP_WRTRADE_UNFREEZE = 802,
  4599. /// <summary>
  4600. /// 仓单贸易首付款
  4601. /// </summary>
  4602. ACCOUNTFUNDCMDOP_WRTRADE_DOWNPAYMENT = 803,
  4603. /// <summary>
  4604. /// 仓单贸易最大扣款
  4605. /// </summary>
  4606. ACCOUNTFUNDCMDOP_WRTRADE_MAX_DEDUCT = 804,
  4607. /// <summary>
  4608. /// 商城扣款冻结
  4609. /// </summary>
  4610. ACCOUNTFUNDCMDOP_MALL_FREEZE = 901,
  4611. /// <summary>
  4612. /// 商城扣款解冻
  4613. /// </summary>
  4614. ACCOUNTFUNDCMDOP_MALL_UNFREEZE = 902,
  4615. /// <summary>
  4616. /// 商城扣款
  4617. /// </summary>
  4618. ACCOUNTFUNDCMDOP_MALL_DEDUCT = 903,
  4619. /// <summary>
  4620. /// 商城收款
  4621. /// </summary>
  4622. ACCOUNTFUNDCMDOP_MALL_RECEIVE = 904
  4623. }
  4624. /// <summary>
  4625. // 账户持仓指令类型
  4626. /// </summary>
  4627. public enum eAccountHolderCmdOp
  4628. {
  4629. /// <summary>
  4630. /// 验证委托数量
  4631. /// </summary>
  4632. ACCOUNTHOLDERCMDOP_VERIFY_ORDER = 101,
  4633. /// <summary>
  4634. /// 验证头寸数量和金额
  4635. /// </summary>
  4636. ACCOUNTHOLDERCMDOP_VERIFY_POSITION = 102,
  4637. /// <summary>
  4638. /// 验证交易冻结数量
  4639. /// </summary>
  4640. ACCOUNTHOLDERCMDOP_VERIFY_FROZEN = 103,
  4641. /// <summary>
  4642. /// 验证其他冻结数量
  4643. /// </summary>
  4644. ACCOUNTHOLDERCMDOP_VERIFY_OTHERFROZEN = 104,
  4645. /// <summary>
  4646. /// 交易开仓委托
  4647. /// </summary>
  4648. ACCOUNTHOLDERCMDOP_TRADE_OPEN_ORDER = 201,
  4649. /// <summary>
  4650. /// 交易开仓成交
  4651. /// </summary>
  4652. ACCOUNTHOLDERCMDOP_TRADE_OPEN_DEAL = 202,
  4653. /// <summary>
  4654. /// 交易开仓撤单
  4655. /// </summary>
  4656. ACCOUNTHOLDERCMDOP_TRADE_OPEN_CANCEL = 203,
  4657. /// <summary>
  4658. /// 交易平仓冻结
  4659. /// </summary>
  4660. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_FREEZE = 204,
  4661. /// <summary>
  4662. /// 交易平仓成交
  4663. /// </summary>
  4664. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_DEAL = 205,
  4665. /// <summary>
  4666. /// 交易平仓解冻
  4667. /// </summary>
  4668. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_UNFREEZE = 206,
  4669. /// <summary>
  4670. /// 交易平仓最大冻结
  4671. /// </summary>
  4672. ACCOUNTHOLDERCMDOP_TRADE_CLOSE_MAX_FREEZE = 207,
  4673. /// <summary>
  4674. /// 交易冻结
  4675. /// </summary>
  4676. ACCOUNTHOLDERCMDOP_TRADE_FREEZE = 208,
  4677. /// <summary>
  4678. /// 交易解冻
  4679. /// </summary>
  4680. ACCOUNTHOLDERCMDOP_TRADE_UNFREEZE = 209,
  4681. /// <summary>
  4682. /// 交割冻结
  4683. /// </summary>
  4684. ACCOUNTHOLDERCMDOP_DELIVERY_FREEZE = 301,
  4685. /// <summary>
  4686. /// 交割成交
  4687. /// </summary>
  4688. ACCOUNTHOLDERCMDOP_DELIVERY_DEAL = 302,
  4689. /// <summary>
  4690. /// 交割解冻
  4691. /// </summary>
  4692. ACCOUNTHOLDERCMDOP_DELIVERY_UNFREEZE = 303,
  4693. /// <summary>
  4694. /// 交割最大冻结
  4695. /// </summary>
  4696. ACCOUNTHOLDERCMDOP_DELIVERY_MAX_FREEZE = 304
  4697. }
  4698. /// <summary>
  4699. // 风控模式
  4700. /// </summary>
  4701. public enum eRiskControlMode
  4702. {
  4703. /// <summary>
  4704. /// 投资者/机构自营
  4705. /// </summary>
  4706. RISKCONTROLMODE_TRADE = 1,
  4707. /// <summary>
  4708. /// 机构做市
  4709. /// </summary>
  4710. RISKCONTROLMODE_MARKETMAKER = 2
  4711. }
  4712. /// <summary>
  4713. // 风险率计算方式
  4714. /// </summary>
  4715. public enum eRiskRatioCalcMode
  4716. {
  4717. /// <summary>
  4718. /// 占用/净值
  4719. /// </summary>
  4720. RISKRATIOCALCMODE_OCCUPYWORTH = 1
  4721. }
  4722. /// <summary>
  4723. // 净值斩仓标志
  4724. /// </summary>
  4725. public enum eCutThresholdFlag
  4726. {
  4727. /// <summary>
  4728. /// 不启用
  4729. /// </summary>
  4730. CUTTHRESHOLDFLAG_NO = 0,
  4731. /// <summary>
  4732. /// 启用(做市会员用)
  4733. /// </summary>
  4734. CUTTHRESHOLDFLAG_YES = 1
  4735. }
  4736. /// <summary>
  4737. // 风险级别
  4738. /// </summary>
  4739. public enum eRiskLevel
  4740. {
  4741. /// <summary>
  4742. /// 无风险
  4743. /// </summary>
  4744. RISKLEVEL_NORMAL = 0,
  4745. /// <summary>
  4746. /// 警告级别
  4747. /// </summary>
  4748. RISKLEVEL_NOTE = 1,
  4749. /// <summary>
  4750. /// 追加保证金
  4751. /// </summary>
  4752. RISKLEVEL_ADD = 2,
  4753. /// <summary>
  4754. /// 斩仓级别
  4755. /// </summary>
  4756. RISKLEVEL_CUT = 3,
  4757. /// <summary>
  4758. /// 恢复正常
  4759. /// </summary>
  4760. RISKLEVEL_RECOVER = 4,
  4761. /// <summary>
  4762. /// 净值斩仓
  4763. /// </summary>
  4764. RISKLEVEL_NETVALUE_LIQUIDATED = 5
  4765. }
  4766. /// <summary>
  4767. // 默认标志
  4768. /// </summary>
  4769. public enum eIsDefault
  4770. {
  4771. /// <summary>
  4772. /// 非默认
  4773. /// </summary>
  4774. ISDEFAULT_NO = 0,
  4775. /// <summary>
  4776. /// 默认
  4777. /// </summary>
  4778. ISDEFAULT_YES = 1
  4779. }
  4780. /// <summary>
  4781. // 变动类型
  4782. /// </summary>
  4783. public enum eChangeType
  4784. {
  4785. /// <summary>
  4786. /// 客户入金
  4787. /// </summary>
  4788. CHANGETYPE_INAMOUNT = 1,
  4789. /// <summary>
  4790. /// 客户出金
  4791. /// </summary>
  4792. CHANGETYPE_OUTAMOUNT = 2,
  4793. /// <summary>
  4794. /// 扣客户手续费
  4795. /// </summary>
  4796. CHANGETYPE_CHARGE = 3,
  4797. /// <summary>
  4798. /// 分润
  4799. /// </summary>
  4800. CHANGETYPE_DIVIDE = 4,
  4801. /// <summary>
  4802. /// 分润划拨
  4803. /// </summary>
  4804. CHANGETYPE_DIVIDETRANSFER = 5,
  4805. /// <summary>
  4806. /// 交割扣款
  4807. /// </summary>
  4808. CHANGETYPE_DELIVERYDEDUCT = 6,
  4809. /// <summary>
  4810. /// 交割付款
  4811. /// </summary>
  4812. CHANGETYPE_DELIVERYPAY = 7
  4813. }
  4814. /// <summary>
  4815. // 变动方向
  4816. /// </summary>
  4817. public enum eChangeDirection
  4818. {
  4819. /// <summary>
  4820. /// 增加
  4821. /// </summary>
  4822. CHANGEDIRECTION_INCREASE = 1,
  4823. /// <summary>
  4824. /// 减少
  4825. /// </summary>
  4826. CHANGEDIRECTION_DECREASE = 2
  4827. }
  4828. /// <summary>
  4829. // 账务类别
  4830. /// </summary>
  4831. public enum eAccType
  4832. {
  4833. /// <summary>
  4834. /// 资产类
  4835. /// </summary>
  4836. ACCTYPE_ASSET = 1,
  4837. /// <summary>
  4838. /// 负债类
  4839. /// </summary>
  4840. ACCTYPE_DEBT = 2,
  4841. /// <summary>
  4842. /// 权益类
  4843. /// </summary>
  4844. ACCTYPE_EQUITY = 3
  4845. }
  4846. /// <summary>
  4847. // 总科目
  4848. /// </summary>
  4849. public enum eAccSubject
  4850. {
  4851. /// <summary>
  4852. /// 银行存款
  4853. /// </summary>
  4854. ACCSUBJECT_DEPOSIT = 1,
  4855. /// <summary>
  4856. /// 代理清算资金
  4857. /// </summary>
  4858. ACCSUBJECT_AGENT = 2,
  4859. /// <summary>
  4860. /// 收入
  4861. /// </summary>
  4862. ACCSUBJECT_INCOME = 3
  4863. }
  4864. /// <summary>
  4865. // 明细科目
  4866. /// </summary>
  4867. public enum eDetailSubject
  4868. {
  4869. /// <summary>
  4870. /// 银行存款
  4871. /// </summary>
  4872. DETAILSUBJECT_DEPOSIT = 1,
  4873. /// <summary>
  4874. /// 代理客户保证金
  4875. /// </summary>
  4876. DETAILSUBJECT_MARGIN = 2,
  4877. /// <summary>
  4878. /// 代收手续费
  4879. /// </summary>
  4880. DETAILSUBJECT_COLLECTCHARGE = 3,
  4881. /// <summary>
  4882. /// 应付合作机构手续费
  4883. /// </summary>
  4884. DETAILSUBJECT_AREACHARGE = 4,
  4885. /// <summary>
  4886. /// 其他代收金额
  4887. /// </summary>
  4888. DETAILSUBJECT_OTHERCOLLECT = 5,
  4889. /// <summary>
  4890. /// 手续费收入
  4891. /// </summary>
  4892. DETAILSUBJECT_CHARGEINCOME = 6
  4893. }
  4894. /// <summary>
  4895. // 是否有效
  4896. /// </summary>
  4897. public enum eIsValid
  4898. {
  4899. /// <summary>
  4900. /// 无效
  4901. /// </summary>
  4902. ISVALID_NO = 0,
  4903. /// <summary>
  4904. /// 有效
  4905. /// </summary>
  4906. ISVALID_YES = 1
  4907. }
  4908. /// <summary>
  4909. // 机构角色
  4910. /// </summary>
  4911. public enum eRoleType
  4912. {
  4913. /// <summary>
  4914. /// 交易所
  4915. /// </summary>
  4916. ROLETYPE_EXCHANGE = 1,
  4917. /// <summary>
  4918. /// 运营机构
  4919. /// </summary>
  4920. ROLETYPE_OPERATEAREA = 2,
  4921. /// <summary>
  4922. /// 营销中心
  4923. /// </summary>
  4924. ROLETYPE_MARKETCENTER = 3,
  4925. /// <summary>
  4926. /// 仓库机构
  4927. /// </summary>
  4928. ROLETYPE_WAREHOUSEAREA = 4,
  4929. /// <summary>
  4930. /// 第三方服务机构
  4931. /// </summary>
  4932. ROLETYPE_THIRDAREA = 5,
  4933. /// <summary>
  4934. /// 自营会员
  4935. /// </summary>
  4936. ROLETYPE_DEALER = 6,
  4937. /// <summary>
  4938. /// 经纪会员
  4939. /// </summary>
  4940. ROLETYPE_BROKER = 7,
  4941. /// <summary>
  4942. /// 做市会员
  4943. /// </summary>
  4944. ROLETYPE_MARKETMAKER = 8,
  4945. /// <summary>
  4946. /// 产业会员
  4947. /// </summary>
  4948. ROLETYPE_INDUSTRY = 9,
  4949. /// <summary>
  4950. /// 金融机构
  4951. /// </summary>
  4952. ROLETYPE_FINANCEAREA = 10
  4953. }
  4954. /// <summary>
  4955. // 保证金算法
  4956. /// </summary>
  4957. public enum eMarginAlgorithm
  4958. {
  4959. /// <summary>
  4960. /// 比率
  4961. /// </summary>
  4962. MARGINALGORITHM_RATIO = 1,
  4963. /// <summary>
  4964. /// 固定
  4965. /// </summary>
  4966. MARGINALGORITHM_FIXED = 2
  4967. }
  4968. /// <summary>
  4969. // 交易参数类型
  4970. /// </summary>
  4971. public enum eRuleType
  4972. {
  4973. /// <summary>
  4974. /// 保证金类
  4975. /// </summary>
  4976. RULETYPE_MARGIN = 1,
  4977. /// <summary>
  4978. /// 交易规则类
  4979. /// </summary>
  4980. RULETYPE_TRADERULE = 2,
  4981. /// <summary>
  4982. /// 交易费用类
  4983. /// </summary>
  4984. RULETYPE_TRADEFEE = 3
  4985. }
  4986. /// <summary>
  4987. // 分润算法
  4988. /// </summary>
  4989. public enum eDivideType
  4990. {
  4991. /// <summary>
  4992. /// 比率
  4993. /// </summary>
  4994. DIVIDETYPE_RATIO = 1,
  4995. /// <summary>
  4996. /// 固定
  4997. /// </summary>
  4998. DIVIDETYPE_FIXED = 2,
  4999. /// <summary>
  5000. /// 余下全部
  5001. /// </summary>
  5002. DIVIDETYPE_REMAIN = 3
  5003. }
  5004. /// <summary>
  5005. // 分润状态
  5006. /// </summary>
  5007. public enum eDivideStatus
  5008. {
  5009. /// <summary>
  5010. /// 未分成
  5011. /// </summary>
  5012. DIVIDESTATUS_PENDING = 1,
  5013. /// <summary>
  5014. /// 已分成
  5015. /// </summary>
  5016. DIVIDESTATUS_FINISHED = 2
  5017. }
  5018. /// <summary>
  5019. // 分润费用类型
  5020. /// </summary>
  5021. public enum eTradeFeeType
  5022. {
  5023. /// <summary>
  5024. /// 交易手续费
  5025. /// </summary>
  5026. TRADEFEETYPE_TRADECHARGE = 1,
  5027. /// <summary>
  5028. /// 交割手续费
  5029. /// </summary>
  5030. TRADEFEETYPE_DELIVERYCHARGE = 2,
  5031. /// <summary>
  5032. /// 出金手续费
  5033. /// </summary>
  5034. TRADEFEETYPE_OUTAMOUNTCHARGE = 3,
  5035. /// <summary>
  5036. /// 入金手续费
  5037. /// </summary>
  5038. TRADEFEETYPE_INAMOUNTCHARGE = 4,
  5039. /// <summary>
  5040. /// 递延费
  5041. /// </summary>
  5042. TRADEFEETYPE_INTEREST = 5,
  5043. /// <summary>
  5044. /// 其它
  5045. /// </summary>
  5046. TRADEFEETYPE_OTHER = 99
  5047. }
  5048. /// <summary>
  5049. // 涨跌停标志
  5050. /// </summary>
  5051. public enum eUpDownFlag
  5052. {
  5053. /// <summary>
  5054. /// 跌停
  5055. /// </summary>
  5056. UPDOWNFLAG_DOWN = -1,
  5057. /// <summary>
  5058. /// 无涨跌停
  5059. /// </summary>
  5060. UPDOWNFLAG_NO = 0,
  5061. /// <summary>
  5062. /// 涨停
  5063. /// </summary>
  5064. UPDOWNFLAG_UP = 1
  5065. }
  5066. /// <summary>
  5067. // 节点状态
  5068. /// </summary>
  5069. public enum eNodeStatus
  5070. {
  5071. /// <summary>
  5072. /// 未执行
  5073. /// </summary>
  5074. NODESTATUS_PENDING = 1,
  5075. /// <summary>
  5076. /// 进行中
  5077. /// </summary>
  5078. NODESTATUS_INPROCESS = 2,
  5079. /// <summary>
  5080. /// 成功
  5081. /// </summary>
  5082. NODESTATUS_SUCCESS = 3,
  5083. /// <summary>
  5084. /// 失败
  5085. /// </summary>
  5086. NODESTATUS_FAILED = 4
  5087. }
  5088. /// <summary>
  5089. // 节点是否可回退
  5090. /// </summary>
  5091. public enum eCanBack
  5092. {
  5093. /// <summary>
  5094. /// 不可回退
  5095. /// </summary>
  5096. CANBACK_NO = 0,
  5097. /// <summary>
  5098. /// 可回退
  5099. /// </summary>
  5100. CANBACK_YES = 1
  5101. }
  5102. /// <summary>
  5103. // 交易结算节点ID
  5104. /// </summary>
  5105. public enum eBidReckonNodeID
  5106. {
  5107. /// <summary>
  5108. /// 预埋单撤单节点ID
  5109. /// </summary>
  5110. BIDRECKNODEID_PERPOST_CANCEL = 1,
  5111. /// <summary>
  5112. /// 委托单撤单节点ID
  5113. /// </summary>
  5114. BIDRECKNODEID_ORDER_CANCEL = 2,
  5115. /// <summary>
  5116. /// 结算价节点ID
  5117. /// </summary>
  5118. BIDRECKNODEID_RECK_PRICE = 3,
  5119. /// <summary>
  5120. /// 商品退市节点
  5121. /// </summary>
  5122. BIDRECKNODEID_GOODS_DELISTE = 4,
  5123. /// <summary>
  5124. /// 持仓单备份节点ID
  5125. /// </summary>
  5126. BIDRECKNODEID_HOLDERDETAIL_BACKUP = 5,
  5127. /// <summary>
  5128. /// 单据试算平衡节点
  5129. /// </summary>
  5130. BIDRECKNODEID_ORDER_BALANCE_CALCULATE = 6,
  5131. /// <summary>
  5132. /// 持仓单处理节点
  5133. /// </summary>
  5134. BIDRECKNODEID_HOLDERDETAIL_DEAL = 7,
  5135. /// <summary>
  5136. /// 委托单日照节点
  5137. /// </summary>
  5138. BIDRECKNODEID_ORDER_DAY = 8,
  5139. /// <summary>
  5140. /// 交易分润节点
  5141. /// </summary>
  5142. BIDRECKNODEID_SHARE_PROFIT = 9
  5143. }
  5144. /// <summary>
  5145. // 仓单变动类型
  5146. /// </summary>
  5147. public enum eWR_ChangeType
  5148. {
  5149. /// <summary>
  5150. /// 交割成交
  5151. /// </summary>
  5152. WR_CHANGETYPE_DELIVERY = 1,
  5153. /// <summary>
  5154. /// 仓单转持仓成交
  5155. /// </summary>
  5156. WR_CHANGETYPE_WRTOPOSITION = 2,
  5157. /// <summary>
  5158. /// 持仓转仓单成交
  5159. /// </summary>
  5160. WR_CHANGETYPE_POSITIONTOWR = 3,
  5161. /// <summary>
  5162. /// 其它成交
  5163. /// </summary>
  5164. WR_CHANGETYPE_OTHER = 4
  5165. }
  5166. /// <summary>
  5167. // 仓单类型
  5168. /// </summary>
  5169. public enum eWRType
  5170. {
  5171. /// <summary>
  5172. /// 注册仓单
  5173. /// </summary>
  5174. WRTYPE_STANDARD = 1,
  5175. /// <summary>
  5176. /// 信用仓单
  5177. /// </summary>
  5178. WRTYPE_CREDIT = 2
  5179. }
  5180. /// <summary>
  5181. // 仓单持有人类型
  5182. /// </summary>
  5183. public enum eWR_HolderType
  5184. {
  5185. /// <summary>
  5186. /// 会员
  5187. /// </summary>
  5188. WR_HOLDERTYPE_AREA = 1,
  5189. /// <summary>
  5190. /// 投资者
  5191. /// </summary>
  5192. WR_HOLDERTYPE_INVESTOR = 2
  5193. }
  5194. /// <summary>
  5195. // 仓单申请状态
  5196. /// </summary>
  5197. public enum eWR_AuditStatus
  5198. {
  5199. /// <summary>
  5200. /// 待初审
  5201. /// </summary>
  5202. WR_AUDITSTATUS_PENDINGAUDIT = 1,
  5203. /// <summary>
  5204. /// 待复审
  5205. /// </summary>
  5206. WR_AUDITSTATUS_PENDINGREAUDIT = 2,
  5207. /// <summary>
  5208. /// 审核通过
  5209. /// </summary>
  5210. WR_AUDITSTATUS_PASS = 3,
  5211. /// <summary>
  5212. /// 审核拒绝
  5213. /// </summary>
  5214. WR_AUDITSTATUS_REJECT = 4
  5215. }
  5216. /// <summary>
  5217. // 仓单状态
  5218. /// </summary>
  5219. public enum eWR_STATUS
  5220. {
  5221. /// <summary>
  5222. /// 正常
  5223. /// </summary>
  5224. WR_STATUS_NORMAL = 1,
  5225. /// <summary>
  5226. /// 注销
  5227. /// </summary>
  5228. WR_STATUS_CANCELLED = 2
  5229. }
  5230. /// <summary>
  5231. // 仓单用途类型
  5232. /// </summary>
  5233. public enum eWR_UsedType
  5234. {
  5235. /// <summary>
  5236. /// 仓单转持仓
  5237. /// </summary>
  5238. WR_USEDTYPE_WRTOPOSITION = 1,
  5239. /// <summary>
  5240. /// 持仓转仓单
  5241. /// </summary>
  5242. WR_USEDTYPE_POSITIONTOWR = 2
  5243. }
  5244. /// <summary>
  5245. // 仓单转用途申请状态
  5246. /// </summary>
  5247. public enum eWR_ReqStatus
  5248. {
  5249. /// <summary>
  5250. /// 申请中
  5251. /// </summary>
  5252. WR_REQSTATUS_APPLYING = 1,
  5253. /// <summary>
  5254. /// 申请失败
  5255. /// </summary>
  5256. WR_REQSTATUS_FAILED = 2,
  5257. /// <summary>
  5258. /// 待审核
  5259. /// </summary>
  5260. WR_REQSTATUS_PENDING = 3,
  5261. /// <summary>
  5262. /// 审核通过
  5263. /// </summary>
  5264. WR_REQSTATUS_PASS = 4,
  5265. /// <summary>
  5266. /// 审核拒绝
  5267. /// </summary>
  5268. WR_REQSTATUS_REJECT = 5,
  5269. /// <summary>
  5270. /// 取消申请
  5271. /// </summary>
  5272. WR_REQSTATUS_CANCELLED = 6,
  5273. /// <summary>
  5274. /// 转换完成
  5275. /// </summary>
  5276. WR_REQSTATUS_SUCCESS = 7,
  5277. /// <summary>
  5278. /// 转换失败
  5279. /// </summary>
  5280. WR_REQSTATUS_ERROR = 8
  5281. }
  5282. /// <summary>
  5283. // 仓单转用途申请处理标识
  5284. /// </summary>
  5285. public enum eWR_HandleFlag
  5286. {
  5287. /// <summary>
  5288. /// 待发送
  5289. /// </summary>
  5290. WR_HANDLEFLAG_PENDING = 1,
  5291. /// <summary>
  5292. /// 已发送
  5293. /// </summary>
  5294. WR_HANDLEFLAG_SEND = 2,
  5295. /// <summary>
  5296. /// 处理成功
  5297. /// </summary>
  5298. WR_HANDLEFLAG_SUCCESS = 3,
  5299. /// <summary>
  5300. /// 处理失败
  5301. /// </summary>
  5302. WR_HANDLEFLAG_FAILED = 4
  5303. }
  5304. /// <summary>
  5305. // 仓单成交类型
  5306. /// </summary>
  5307. public enum eWRTradeType
  5308. {
  5309. /// <summary>
  5310. /// 仓单注册
  5311. /// </summary>
  5312. WRTRADETYPE_WRREGISTER = 1,
  5313. /// <summary>
  5314. /// 交割成交
  5315. /// </summary>
  5316. WRTRADETYPE_DELIVERY = 2
  5317. }
  5318. /// <summary>
  5319. // 仓库类型
  5320. /// </summary>
  5321. public enum eWarehouseType
  5322. {
  5323. /// <summary>
  5324. /// 厂库
  5325. /// </summary>
  5326. WAREHOUSETYPE_FACTORY = 1,
  5327. /// <summary>
  5328. /// 自有库
  5329. /// </summary>
  5330. WAREHOUSETYPE_OWN = 2,
  5331. /// <summary>
  5332. /// 合作库
  5333. /// </summary>
  5334. WAREHOUSETYPE_COOPERATIVE = 3
  5335. }
  5336. /// <summary>
  5337. // 仓库状态
  5338. /// </summary>
  5339. public enum eWarehouseStatus
  5340. {
  5341. /// <summary>
  5342. /// 正常
  5343. /// </summary>
  5344. WAREHOUSESTATUS_NORMAL = 1,
  5345. /// <summary>
  5346. /// 注销
  5347. /// </summary>
  5348. WAREHOUSESTATUS_CANCELLED = 2
  5349. }
  5350. /// <summary>
  5351. // 库位状态
  5352. /// </summary>
  5353. public enum eLocationStatus
  5354. {
  5355. /// <summary>
  5356. /// 无效
  5357. /// </summary>
  5358. LOCATIONSTATUS_INVALID = 0,
  5359. /// <summary>
  5360. /// 正常
  5361. /// </summary>
  5362. LOCATIONSTATUS_NORMAL = 1,
  5363. /// <summary>
  5364. /// 冻结
  5365. /// </summary>
  5366. LOCATIONSTATUS_FREEZE = 2,
  5367. /// <summary>
  5368. /// 已提货
  5369. /// </summary>
  5370. LOCATIONSTATUS_DELIVERED = 3,
  5371. /// <summary>
  5372. /// 履约冻结
  5373. /// </summary>
  5374. LOCATIONSTATUS_FREEZEBYPERFORMANCE = 4,
  5375. /// <summary>
  5376. /// 已卖出
  5377. /// </summary>
  5378. LOCATIONSTATUS_SELLING = 5
  5379. }
  5380. /// <summary>
  5381. // 质押状态
  5382. /// </summary>
  5383. public enum ePledgeStatus
  5384. {
  5385. /// <summary>
  5386. /// 未质押
  5387. /// </summary>
  5388. PLEDGESTATUS_NO = 1,
  5389. /// <summary>
  5390. /// 已质押
  5391. /// </summary>
  5392. PLEDGESTATUS_YES = 2
  5393. }
  5394. /// <summary>
  5395. // 交割状态
  5396. /// </summary>
  5397. public enum eDeliveryStatus
  5398. {
  5399. /// <summary>
  5400. /// 待成交
  5401. /// </summary>
  5402. [ItemDisc("DELIVERYSTATUS_PENDING")]
  5403. DELIVERYSTATUS_PENDING = 1,
  5404. /// <summary>
  5405. /// 已成交
  5406. /// </summary>
  5407. [ItemDisc("DELIVERYSTATUS_TRADED")]
  5408. DELIVERYSTATUS_TRADED = 2,
  5409. /// <summary>
  5410. /// 成交失败
  5411. /// </summary>
  5412. [ItemDisc("DELIVERYSTATUS_FAILED")]
  5413. DELIVERYSTATUS_FAILED = 3,
  5414. /// <summary>
  5415. /// 履约完成
  5416. /// </summary>
  5417. [ItemDisc("DELIVERYSTATUS_PERFORMANCEFINISHED")]
  5418. DELIVERYSTATUS_PERFORMANCEFINISHED = 4
  5419. }
  5420. /// <summary>
  5421. // 审核标志
  5422. /// </summary>
  5423. public enum eAuditFlag
  5424. {
  5425. /// <summary>
  5426. /// 不需要
  5427. /// </summary>
  5428. AUDITFLAG_NO = 0,
  5429. /// <summary>
  5430. /// 需要
  5431. /// </summary>
  5432. AUDITFLAG_YES = 1
  5433. }
  5434. /// <summary>
  5435. // 主单标志
  5436. /// </summary>
  5437. public enum eMainOrderFlag
  5438. {
  5439. /// <summary>
  5440. /// 非主单
  5441. /// </summary>
  5442. MAINORDERFLAG_NO = 0,
  5443. /// <summary>
  5444. /// 主单
  5445. /// </summary>
  5446. MAINORDERFLAG_YES = 1
  5447. }
  5448. /// <summary>
  5449. // 平仓标志
  5450. /// </summary>
  5451. public enum eCloseFlag
  5452. {
  5453. /// <summary>
  5454. /// 未平仓
  5455. /// </summary>
  5456. CLOSEFLAG_PENDING = 1,
  5457. /// <summary>
  5458. /// 已平仓
  5459. /// </summary>
  5460. CLOSEFLAG_FINISHED = 2,
  5461. /// <summary>
  5462. /// 正在平仓
  5463. /// </summary>
  5464. CLOSEFLAG_PROCESSING = 3,
  5465. /// <summary>
  5466. /// 平仓失败
  5467. /// </summary>
  5468. CLOSEFLAG_FAILED = 4
  5469. }
  5470. /// <summary>
  5471. /// 交割申报状态
  5472. /// </summary>
  5473. public enum eDeliveryOrderStatus
  5474. {
  5475. /// <summary>
  5476. /// 待审核
  5477. /// </summary>
  5478. [ItemDisc("DELIVERYORDERSTATUS_PENDING")]
  5479. DELIVERYORDERSTATUS_PENDING = 1,
  5480. /// <summary>
  5481. /// 审核通过
  5482. /// </summary>
  5483. [ItemDisc("DELIVERYORDERSTATUS_AUDITED")]
  5484. DELIVERYORDERSTATUS_AUDITED = 2,
  5485. /// <summary>
  5486. /// 审核拒绝
  5487. /// </summary>
  5488. [ItemDisc("DELIVERYORDERSTATUS_REJECTED")]
  5489. DELIVERYORDERSTATUS_REJECTED = 3,
  5490. /// <summary>
  5491. /// 已撤销
  5492. /// </summary>
  5493. [ItemDisc("DELIVERYORDERSTATUS_CANCELLED")]
  5494. DELIVERYORDERSTATUS_CANCELLED = 4,
  5495. /// <summary>
  5496. /// 失败
  5497. /// </summary>
  5498. [ItemDisc("DELIVERYORDERSTATUS_FAILED")]
  5499. DELIVERYORDERSTATUS_FAILED = 5
  5500. }
  5501. /// <summary>
  5502. // 交割申报来源
  5503. /// </summary>
  5504. public enum eDeliveryOrderFrom
  5505. {
  5506. /// <summary>
  5507. /// 客户端
  5508. /// </summary>
  5509. DELIVERYORDERFROM_CLIENT = 1,
  5510. /// <summary>
  5511. /// 管理端
  5512. /// </summary>
  5513. DELIVERYORDERFROM_MANAGEMENT = 2
  5514. }
  5515. /// <summary>
  5516. // 交割商品处理状态
  5517. /// </summary>
  5518. public enum eDeliveryGoodsHandleStatus
  5519. {
  5520. /// <summary>
  5521. /// 待冻结
  5522. /// </summary>
  5523. DELIVERYGOODSHANDLESTATUS_UNFREEZE = 1,
  5524. /// <summary>
  5525. /// 冻结中
  5526. /// </summary>
  5527. DELIVERYGOODSHANDLESTATUS_FREEZEING = 2,
  5528. /// <summary>
  5529. /// 冻结成功
  5530. /// </summary>
  5531. DELIVERYGOODSHANDLESTATUS_FREEZE_SUCCESS = 3,
  5532. /// <summary>
  5533. /// 冻结失败
  5534. /// </summary>
  5535. DELIVERYGOODSHANDLESTATUS_FREEZE_FAILED = 4
  5536. }
  5537. /// <summary>
  5538. // 交割申报处理状态
  5539. /// </summary>
  5540. public enum eDeliveryOrderHandleStatus
  5541. {
  5542. /// <summary>
  5543. /// 交割申报验证
  5544. /// </summary>
  5545. DELIVERYORDERHANDLESTATUS_VERIFY = 1,
  5546. /// <summary>
  5547. /// 交割申报验证失败
  5548. /// </summary>
  5549. DELIVERYORDERHANDLESTATUS_VERIFY_FAILED = 2,
  5550. /// <summary>
  5551. /// 冻结仓单
  5552. /// </summary>
  5553. DELIVERYORDERHANDLESTATUS_FREEZEWR = 3,
  5554. /// <summary>
  5555. /// 冻结仓单失败
  5556. /// </summary>
  5557. DELIVERYORDERHANDLESTATUS_FREEZEWR_FAILED = 4,
  5558. /// <summary>
  5559. /// 冻结X商品头寸
  5560. /// </summary>
  5561. DELIVERYORDERHANDLESTATUS_FREEZE_X = 5,
  5562. /// <summary>
  5563. /// 冻结X商品失败
  5564. /// </summary>
  5565. DELIVERYORDERHANDLESTATUS_FREEZE_X_FAILED = 6,
  5566. /// <summary>
  5567. /// 冻结P商品头寸
  5568. /// </summary>
  5569. DELIVERYORDERHANDLESTATUS_FREEZE_P = 7,
  5570. /// <summary>
  5571. /// 冻结P商品头寸失败
  5572. /// </summary>
  5573. DELIVERYORDERHANDLESTATUS_FREEZE_P_FAILED = 8,
  5574. /// <summary>
  5575. /// 解冻P商品头寸
  5576. /// </summary>
  5577. DELIVERYORDERHANDLESTATUS_UNFREEZE_P = 9,
  5578. /// <summary>
  5579. /// 解冻X商品头寸及仓单头寸
  5580. /// </summary>
  5581. DELIVERYORDERHANDLESTATUS_UNFREEZE_XANDWR = 10,
  5582. /// <summary>
  5583. /// 交割申报成功
  5584. /// </summary>
  5585. DELIVERYORDERHANDLESTATUS_SUCCESS = 11
  5586. }
  5587. /// <summary>
  5588. // 交割单处理状态
  5589. /// </summary>
  5590. public enum eDeliveryDetailHandleStatus
  5591. {
  5592. /// <summary>
  5593. /// 平仓
  5594. /// </summary>
  5595. DELIVERYDETAILHANDLESTATUS_CLOSE = 1,
  5596. /// <summary>
  5597. /// 平仓失败
  5598. /// </summary>
  5599. DELIVERYDETAILHANDLESTATUS_CLOSE_FAILED = 2,
  5600. /// <summary>
  5601. /// 新建仓单
  5602. /// </summary>
  5603. DELIVERYDETAILHANDLESTATUS_CREATEWR = 3,
  5604. /// <summary>
  5605. /// 新建仓单失败
  5606. /// </summary>
  5607. DELIVERYDETAILHANDLESTATUS_CREATEWR_FAILED = 4,
  5608. /// <summary>
  5609. /// 履约计划生成
  5610. /// </summary>
  5611. DELIVERYDETAILHANDLESTATUS_PERFORMANCE = 5,
  5612. /// <summary>
  5613. /// 履约计划生成失败
  5614. /// </summary>
  5615. DELIVERYDETAILHANDLESTATUS_PERFORMANCE_FAILED = 6,
  5616. /// <summary>
  5617. /// 履约计划生成成功
  5618. /// </summary>
  5619. DELIVERYDETAILHANDLESTATUS_PERFORMANCE_SUCCESS = 7
  5620. }
  5621. /// <summary>
  5622. // 手续费收取方式
  5623. /// </summary>
  5624. public enum eBank_ChargeAlgorithm
  5625. {
  5626. /// <summary>
  5627. /// 比率
  5628. /// </summary>
  5629. BANK_CHARGEALGORITHM_RATIO = 1,
  5630. /// <summary>
  5631. /// 固定
  5632. /// </summary>
  5633. BANK_CHARGEALGORITHM_FIXED = 2
  5634. }
  5635. /// <summary>
  5636. // 手续费收取类型
  5637. /// </summary>
  5638. public enum eBank_ChargeType
  5639. {
  5640. /// <summary>
  5641. /// 统一
  5642. /// </summary>
  5643. BANK_CHARGETYPE_FLAT = 1,
  5644. /// <summary>
  5645. /// 区间
  5646. /// </summary>
  5647. BANK_CHARGETYPE_RANGE = 2
  5648. }
  5649. /// <summary>
  5650. // 出入金类型
  5651. /// </summary>
  5652. public enum eBank_OutOrIn
  5653. {
  5654. /// <summary>
  5655. /// 入金
  5656. /// </summary>
  5657. BANK_OUTORIN_IN = 1,
  5658. /// <summary>
  5659. /// 出金
  5660. /// </summary>
  5661. BANK_OUTORIN_OUT = 2
  5662. }
  5663. /// <summary>
  5664. // 上传状态
  5665. /// </summary>
  5666. public enum eBank_DealStatus
  5667. {
  5668. /// <summary>
  5669. /// 待上传
  5670. /// </summary>
  5671. BANK_DEALSTATUS_PENDING = 1,
  5672. /// <summary>
  5673. /// 上传成功
  5674. /// </summary>
  5675. BANK_DEALSTATUS_SUCCESS = 2,
  5676. /// <summary>
  5677. /// 上传失败
  5678. /// </summary>
  5679. BANK_DEALSTATUS_FAILED = 3
  5680. }
  5681. /// <summary>
  5682. // 客户类型
  5683. /// </summary>
  5684. public enum eBank_UserType
  5685. {
  5686. /// <summary>
  5687. /// 个人
  5688. /// </summary>
  5689. BANK_USERTYPE_PERSON = 1,
  5690. /// <summary>
  5691. /// 机构
  5692. /// </summary>
  5693. BANKUSERTYPE_AREA = 2
  5694. }
  5695. /// <summary>
  5696. // 变动类型
  5697. /// </summary>
  5698. public enum eBank_ChangeType
  5699. {
  5700. /// <summary>
  5701. /// 增加
  5702. /// </summary>
  5703. BANK_CHANGETYPE_ADD = 1,
  5704. /// <summary>
  5705. /// 修改
  5706. /// </summary>
  5707. BANK_CHANGETYPE_MODIFY = 2,
  5708. /// <summary>
  5709. /// 注销
  5710. /// </summary>
  5711. BANK_CHANGETYPE_CANCELLED = 3
  5712. }
  5713. /// <summary>
  5714. // 性别
  5715. /// </summary>
  5716. public enum eBank_Sex
  5717. {
  5718. /// <summary>
  5719. /// 未填写
  5720. /// </summary>
  5721. BANK_SEX_NONE = 0,
  5722. /// <summary>
  5723. /// 男
  5724. /// </summary>
  5725. BANK_SEX_MALE = 1,
  5726. /// <summary>
  5727. /// 女
  5728. /// </summary>
  5729. BANK_SEX_FEMALE = 2
  5730. }
  5731. /// <summary>
  5732. // 费用类型
  5733. /// </summary>
  5734. public enum eBank_AmountType
  5735. {
  5736. /// <summary>
  5737. /// 入金
  5738. /// </summary>
  5739. BANK_AMOUNTTYPE_IN = 1,
  5740. /// <summary>
  5741. /// 出金
  5742. /// </summary>
  5743. BANK_AMOUNTTYPE_OUT = 2
  5744. }
  5745. /// <summary>
  5746. // 对账状态
  5747. /// </summary>
  5748. public enum eBank_CheckStatus
  5749. {
  5750. /// <summary>
  5751. /// 未对账
  5752. /// </summary>
  5753. BANK_CHECKSTATUS_UNCHECK = 1,
  5754. /// <summary>
  5755. /// 对账成功
  5756. /// </summary>
  5757. BANK_CHECKSTATUS_SUCCESS = 2,
  5758. /// <summary>
  5759. /// 对账失败
  5760. /// </summary>
  5761. BANK_CHECKSTATUS_FAILED = 3
  5762. }
  5763. /// <summary>
  5764. // 差错处理状态
  5765. /// </summary>
  5766. public enum eBank_CheckErrorStatus
  5767. {
  5768. /// <summary>
  5769. /// 未处理
  5770. /// </summary>
  5771. BANK_CHECKERRORSTATUS_UNHANDLE = 1,
  5772. /// <summary>
  5773. /// 已处理
  5774. /// </summary>
  5775. BANK_CHECKERRORSTATUS_HANDLED = 2
  5776. }
  5777. /// <summary>
  5778. // 业务类型
  5779. /// </summary>
  5780. public enum eBank_BizType
  5781. {
  5782. /// <summary>
  5783. /// 出金
  5784. /// </summary>
  5785. BANK_BIZTYPE_OUTAMOUNT = 0,
  5786. /// <summary>
  5787. /// 入金
  5788. /// </summary>
  5789. BANK_BIZTYPE_INAMOUNT = 1,
  5790. /// <summary>
  5791. /// 出金申请
  5792. /// </summary>
  5793. BANK_BIZTYPE_OUTAPPLY = 2,
  5794. /// <summary>
  5795. /// 入金申请
  5796. /// </summary>
  5797. BANK_BIZTYPE_INAPPLY = 3,
  5798. /// <summary>
  5799. /// 付款
  5800. /// </summary>
  5801. BANK_BIZTYPE_PAYMENT = 4,
  5802. /// <summary>
  5803. /// 付款确认
  5804. /// </summary>
  5805. BANK_BIZTYPE_PAYMENTCONFIRM = 5
  5806. }
  5807. /// <summary>
  5808. // 发起方类型
  5809. /// </summary>
  5810. public enum eBank_SenderType
  5811. {
  5812. /// <summary>
  5813. /// 中心
  5814. /// </summary>
  5815. BANK_SENDERTYPE_CENTER = 0,
  5816. /// <summary>
  5817. /// 交易所
  5818. /// </summary>
  5819. BANK_SENDERTYPE_EXCHANGE = 1,
  5820. /// <summary>
  5821. /// 银行
  5822. /// </summary>
  5823. BANK_SENDERTYPE_BANK = 2
  5824. }
  5825. /// <summary>
  5826. // 业务状态
  5827. /// </summary>
  5828. public enum eBank_BizStatus
  5829. {
  5830. /// <summary>
  5831. /// 成功
  5832. /// </summary>
  5833. BANK_BIZSTATUS_SUCCESS = 0,
  5834. /// <summary>
  5835. /// 失败
  5836. /// </summary>
  5837. BANK_BIZSTATUS_FAILED = 1
  5838. }
  5839. /// <summary>
  5840. // 是否可以
  5841. /// </summary>
  5842. public enum eBank_WhetherOrNot
  5843. {
  5844. /// <summary>
  5845. /// 不可
  5846. /// </summary>
  5847. WHETHERORNOT_NO = 0,
  5848. /// <summary>
  5849. /// 可以
  5850. /// </summary>
  5851. WHETHERORNOT_YES = 1
  5852. }
  5853. /// <summary>
  5854. // 扩展业务类型
  5855. /// </summary>
  5856. public enum eBank_ExtendBizType
  5857. {
  5858. /// <summary>
  5859. /// 签约
  5860. /// </summary>
  5861. BANK_EXTENDBIZTYPE_SIGNIN = 1,
  5862. /// <summary>
  5863. /// 入金
  5864. /// </summary>
  5865. BANK_EXTENDBIZTYPE_INAMOUNT = 2,
  5866. /// <summary>
  5867. /// 出金
  5868. /// </summary>
  5869. BANK_EXTENDBIZTYPE_OUTAMOUNT = 3
  5870. }
  5871. /// <summary>
  5872. // 是否必填
  5873. /// </summary>
  5874. public enum eBank_IsMandatory
  5875. {
  5876. /// <summary>
  5877. /// 不必填
  5878. /// </summary>
  5879. BANK_ISMANDATORY_NO = 0,
  5880. /// <summary>
  5881. /// 必填
  5882. /// </summary>
  5883. BANK_ISMANDATORY_YES = 1
  5884. }
  5885. /// <summary>
  5886. // 签到状态
  5887. /// </summary>
  5888. public enum eBank_SignStatus
  5889. {
  5890. /// <summary>
  5891. /// 签到
  5892. /// </summary>
  5893. BANK_SIGNSTATUS_SIGNIN = 1,
  5894. /// <summary>
  5895. /// 签退
  5896. /// </summary>
  5897. BANK_SIGNSTATUS_SIGNOUT = 2
  5898. }
  5899. /// <summary>
  5900. // 清算状态
  5901. /// </summary>
  5902. public enum eBank_ClearStatus
  5903. {
  5904. /// <summary>
  5905. /// 未清算
  5906. /// </summary>
  5907. BANK_CLEARSTATUS_UNCLEAR = 1,
  5908. /// <summary>
  5909. /// 清算成功
  5910. /// </summary>
  5911. BANK_CLEARSTATUS_SUCCESS = 2,
  5912. /// <summary>
  5913. /// 清算失败
  5914. /// </summary>
  5915. BANK_CLEARSTATUS_FAILED = 3
  5916. }
  5917. /// <summary>
  5918. // 清算处理状态
  5919. /// </summary>
  5920. public enum eBank_ClearDealStatus
  5921. {
  5922. /// <summary>
  5923. /// 待处理
  5924. /// </summary>
  5925. BANK_CLEARDEALSTATUS_PENDING = 1,
  5926. /// <summary>
  5927. /// 处理成功
  5928. /// </summary>
  5929. BANK_CLEARDEALSTATUS_SUCCESS = 2,
  5930. /// <summary>
  5931. /// 处理失败
  5932. /// </summary>
  5933. BANK_CLEARDEALSTATUS_FAILED = 3
  5934. }
  5935. /// <summary>
  5936. // 申请状态
  5937. /// </summary>
  5938. public enum eBank_ApplyStatus
  5939. {
  5940. /// <summary>
  5941. /// 待审核
  5942. /// </summary>
  5943. BANK_APPLYSTATUS_PENDING = 1,
  5944. /// <summary>
  5945. /// 审核通过
  5946. /// </summary>
  5947. BANK_APPLYSTATUS_PASS = 2,
  5948. /// <summary>
  5949. /// 审核拒绝
  5950. /// </summary>
  5951. BANK_APPLYSTATUS_REJECT = 3,
  5952. /// <summary>
  5953. /// 交易冻结中
  5954. /// </summary>
  5955. BANK_APPLYSTATUS_IN_TRAD_EFREEZE = 4,
  5956. /// <summary>
  5957. /// 交易解冻中
  5958. /// </summary>
  5959. BANK_APPLYSTATUS_IN_TRADE_UNFREEZE = 5,
  5960. /// <summary>
  5961. /// 交易解冻扣款中
  5962. /// </summary>
  5963. BANK_APPLYSTATUS_IN_TRADE_UNFREEZE_DEDUCT = 6,
  5964. /// <summary>
  5965. /// 交易入金中
  5966. /// </summary>
  5967. BANK_APPLYSTATUS_IN_TRADE_IN = 7,
  5968. /// <summary>
  5969. /// 交易冻结/解冻/扣款中(银行发起出金时用)
  5970. /// </summary>
  5971. BANK_APPLYSTATUS_IN_TRADE_FREEZE_UNFREEZE_DEDUCT = 8,
  5972. /// <summary>
  5973. /// 银行出金中
  5974. /// </summary>
  5975. BANK_APPLYSTATUS_IN_BANK_OUT = 9,
  5976. /// <summary>
  5977. /// 银行入金中
  5978. /// </summary>
  5979. BANK_APPLYSTATUS_IN_BANK_IN = 10,
  5980. /// <summary>
  5981. /// 成功
  5982. /// </summary>
  5983. BANK_APPLYSTATUS_SUCCESS = 11,
  5984. /// <summary>
  5985. /// 失败
  5986. /// </summary>
  5987. BANK_APPLYSTATUS_FAILED = 12
  5988. }
  5989. /// <summary>
  5990. // 签约状态
  5991. /// </summary>
  5992. public enum eBank_SignContractStatus
  5993. {
  5994. /// <summary>
  5995. /// 未签约
  5996. /// </summary>
  5997. BANK_SIGNCONTRACTSTATUS_UNSIGN = 1,
  5998. /// <summary>
  5999. /// 签约待审核
  6000. /// </summary>
  6001. BANK_SIGNCONTRACTSTATUS_SIGNFORAUDIT = 2,
  6002. /// <summary>
  6003. /// 签约中
  6004. /// </summary>
  6005. BANK_SIGNCONTRACTSTATUS_SIGNING = 3,
  6006. /// <summary>
  6007. /// 已签约
  6008. /// </summary>
  6009. BANK_SIGNCONTRACTSTATUS_SIGNED = 4,
  6010. /// <summary>
  6011. /// 解约待审核
  6012. /// </summary>
  6013. BANK_SIGNCONTRACTSTATUS_CANCELFORAUDIT = 5,
  6014. /// <summary>
  6015. /// 解约中
  6016. /// </summary>
  6017. BANK_SIGNCONTRACTSTATUS_CANCELLING = 6,
  6018. /// <summary>
  6019. /// 已解约
  6020. /// </summary>
  6021. BANK_SIGNCONTRACTSTATUS_CANCELLED = 7,
  6022. /// <summary>
  6023. /// 已解绑
  6024. /// </summary>
  6025. BANK_SIGNCONTRACTSTATUS_BINDED = 8,
  6026. /// <summary>
  6027. /// 绑卡中
  6028. /// </summary>
  6029. BANK_SIGNCONTRACTSTATUS_BINDING = 9
  6030. }
  6031. /// <summary>
  6032. // 银行账户类型
  6033. /// </summary>
  6034. public enum eBank_BankAccountType
  6035. {
  6036. /// <summary>
  6037. /// 对私
  6038. /// </summary>
  6039. BANK_BANKACCOUNTTYPE_PRIVATE = 1,
  6040. /// <summary>
  6041. /// 对公
  6042. /// </summary>
  6043. BANK_BANKACCOUNTTYPE_PUBLIC = 2
  6044. }
  6045. /// <summary>
  6046. // 签约类型
  6047. /// </summary>
  6048. public enum eBank_SignType
  6049. {
  6050. /// <summary>
  6051. /// 签约
  6052. /// </summary>
  6053. BANK_SIGNTYPE_SIGN = 1,
  6054. /// <summary>
  6055. /// 解约
  6056. /// </summary>
  6057. BANK_SIGNTYPE_CANCEL = 2
  6058. }
  6059. /// <summary>
  6060. // 是否强制
  6061. /// </summary>
  6062. public enum eBank_IsForce
  6063. {
  6064. /// <summary>
  6065. /// 非强制
  6066. /// </summary>
  6067. BANK_ISFORCE_NO = 0,
  6068. /// <summary>
  6069. /// 强制
  6070. /// </summary>
  6071. BANK_ISFORCE_YES = 1
  6072. }
  6073. /// <summary>
  6074. // 签解约处理状态
  6075. /// </summary>
  6076. public enum eBank_SignDealStatus
  6077. {
  6078. /// <summary>
  6079. /// 待审核
  6080. /// </summary>
  6081. BANK_SIGNDEALSTATUS_FORAUDIT = 1,
  6082. /// <summary>
  6083. /// 待处理
  6084. /// </summary>
  6085. BANK_SIGNDEALSTATUS_FORHANDLE = 2,
  6086. /// <summary>
  6087. /// 处理成功
  6088. /// </summary>
  6089. BANK_SIGNDEALSTATUS_SUCCESS = 3,
  6090. /// <summary>
  6091. /// 处理失败
  6092. /// </summary>
  6093. BANK_SIGNDEALSTATUS_FAILED = 4
  6094. }
  6095. /// <summary>
  6096. // 有效状态
  6097. /// </summary>
  6098. public enum eBank_ValidStatus
  6099. {
  6100. /// <summary>
  6101. /// 无效
  6102. /// </summary>
  6103. BANK_VALIDSTATUS_INVALID = 0,
  6104. /// <summary>
  6105. /// 有效
  6106. /// </summary>
  6107. BANK_VALIDSTATUS_VALID = 1
  6108. }
  6109. /// <summary>
  6110. // 对账过程状态
  6111. /// </summary>
  6112. public enum eBank_CheckProcessStatus
  6113. {
  6114. /// <summary>
  6115. /// 初始化状态
  6116. /// </summary>
  6117. BANK_CHECKPROCESSSTATUS_INI = 0,
  6118. /// <summary>
  6119. /// 对账文件分析中
  6120. /// </summary>
  6121. BANK_CHECKPROCESSSTATUS_FILE_ANALYSE = 1,
  6122. /// <summary>
  6123. /// 对账文件解析失败
  6124. /// </summary>
  6125. BANK_CHECKPROCESSSTATUS_FILE_FAILED = 2,
  6126. /// <summary>
  6127. /// 对账文件解析成功
  6128. /// </summary>
  6129. BANK_CHECKPROCESSSTATUS_FILE_SUCCESS = 3,
  6130. /// <summary>
  6131. /// 正在获取交易服务的出入金记录
  6132. /// </summary>
  6133. BANK_CHECKPROCESSSTATUS_TRADE_READING = 4,
  6134. /// <summary>
  6135. /// 获取交易服务的出入金记录失败
  6136. /// </summary>
  6137. BANK_CHECKPROCESSSTATUS_TRADE_FAILED = 5,
  6138. /// <summary>
  6139. /// 获取交易服务的出入金记录成功
  6140. /// </summary>
  6141. BANK_CHECKPROCESSSTATUS_TRADE_SUCCESS = 6,
  6142. /// <summary>
  6143. /// 正在进行对账
  6144. /// </summary>
  6145. BANK_CHECKPROCESSSTATUS_CHECKING = 7,
  6146. /// <summary>
  6147. /// 对账全部成功,没有单边账
  6148. /// </summary>
  6149. BANK_CHECKPROCESSSTATUS_CHECK_SUCCESS = 8,
  6150. /// <summary>
  6151. /// 对账成功,存在单边账
  6152. /// </summary>
  6153. BANK_CHECKPROCESSSTATUS_CHECK_HASERROR = 9,
  6154. /// <summary>
  6155. /// 单边账已经全部处理完毕
  6156. /// </summary>
  6157. BANK_CHECKPROCESSSTATUS_ERROR_FINISHED = 10
  6158. }
  6159. /// <summary>
  6160. // 清算过程状态
  6161. /// </summary>
  6162. public enum eBank_ClearProcessStatus
  6163. {
  6164. /// <summary>
  6165. /// 初始化
  6166. /// </summary>
  6167. BANK_CLEARPROCESSSTATUS_INI = 0,
  6168. /// <summary>
  6169. /// 合并处理结算数据中
  6170. /// </summary>
  6171. BANK_CLEARPROCESSSTATUS_MERGE_INPROCESS = 1,
  6172. /// <summary>
  6173. /// 合并处理结算数据失败
  6174. /// </summary>
  6175. BANK_CLEARPROCESSSTATUS_MERGE_FAILED = 2,
  6176. /// <summary>
  6177. /// 合并处理结算数据成功
  6178. /// </summary>
  6179. BANK_CLEARPROCESSSTATUS_MERGE_SUCCESS = 3,
  6180. /// <summary>
  6181. /// 校验合并的数据中
  6182. /// </summary>
  6183. BANK_CLEARPROCESSSTATUS_CHECK_INPROCESS = 4,
  6184. /// <summary>
  6185. /// 校验合并数据失败
  6186. /// </summary>
  6187. BANK_CLEARPROCESSSTATUS_CHECK_FAILED = 5,
  6188. /// <summary>
  6189. /// 校验合并数据成功
  6190. /// </summary>
  6191. BANK_CLEARPROCESSSTATUS_CHECK_SUCCESS = 6,
  6192. /// <summary>
  6193. /// 正在生成清算数据
  6194. /// </summary>
  6195. BANK_CLEARPROCESSSTATUS_GEN_INPROCESS = 7,
  6196. /// <summary>
  6197. /// 生成清算数据失败
  6198. /// </summary>
  6199. BANK_CLEARPROCESSSTATUS_GEN_FAILED = 8,
  6200. /// <summary>
  6201. /// 生成清算成功
  6202. /// </summary>
  6203. BANK_CLEARPROCESSSTATUS_GEN_SUCCESS = 9,
  6204. /// <summary>
  6205. /// 正在发送清算数据
  6206. /// </summary>
  6207. BANK_CLEARPROCESSSTATUS_SEND_INPROCESS = 10,
  6208. /// <summary>
  6209. /// 清算数据发送失败
  6210. /// </summary>
  6211. BANK_CLEARPROCESSSTATUS_SEND_FAILED = 11,
  6212. /// <summary>
  6213. /// 清算数据发送成功,等待应答结果
  6214. /// </summary>
  6215. BANK_CLEARPROCESSSTATUS_SEND_WAITRESPONSE = 12,
  6216. /// <summary>
  6217. /// 正在处理结果文件
  6218. /// </summary>
  6219. BANK_CLEARPROCESSSTATUS_RESULT_INPROCESS = 13,
  6220. /// <summary>
  6221. /// 结果文件处理失败
  6222. /// </summary>
  6223. BANK_CLEARPROCESSSTATUS_RESULT_FAILED = 14,
  6224. /// <summary>
  6225. /// 清算全部失败
  6226. /// </summary>
  6227. BANK_CLEARPROCESSSTATUS_CLEAR_FAILED = 15,
  6228. /// <summary>
  6229. /// 清算部分成功
  6230. /// </summary>
  6231. BANK_CLEARPROCESSSTATUS_CLEAR_PARTIALSUCCESS = 16,
  6232. /// <summary>
  6233. /// 清算全部成功
  6234. /// </summary>
  6235. BANK_CLEARPROCESSSTATUS_CLEAR_SUCCESS = 17
  6236. }
  6237. /// <summary>
  6238. // 银行业务操作状态
  6239. /// </summary>
  6240. public enum eBank_TaskOperateStatus
  6241. {
  6242. /// <summary>
  6243. /// 操作成功
  6244. /// </summary>
  6245. BANK_TASKOPERATESTATUS_SUCCESS = 0,
  6246. /// <summary>
  6247. /// 操作失败
  6248. /// </summary>
  6249. BANK_TASKOPERATESTATUS_FAILED = 1
  6250. }
  6251. /// <summary>
  6252. // 银行服务消息来源
  6253. /// </summary>
  6254. public enum eBank_MsgDirect
  6255. {
  6256. /// <summary>
  6257. /// 交易中心发起
  6258. /// </summary>
  6259. BANK_MSGDIRECT_TRADECENTER = 1,
  6260. /// <summary>
  6261. /// 清算中心发起
  6262. /// </summary>
  6263. BANK_MSGDIRECT_CLEARCENTER = 2,
  6264. /// <summary>
  6265. /// 账户服务发起
  6266. /// </summary>
  6267. BANK_MSGDIRECT_ACCOUNTSERVICE = 3
  6268. }
  6269. /// <summary>
  6270. // 银行服务清算结果文件状态
  6271. /// </summary>
  6272. public enum eBank_ClearResultFileStatus
  6273. {
  6274. /// <summary>
  6275. /// 未清算
  6276. /// </summary>
  6277. BANK_CLEARRESULTFILESTATUS_INIT = 1,
  6278. /// <summary>
  6279. /// 全部成功
  6280. /// </summary>
  6281. BANK_CLEARRESULTFILESTATUS_SUCCESS = 2,
  6282. /// <summary>
  6283. /// 处理失败
  6284. /// </summary>
  6285. BANK_CLEARRESULTFILESTATUS_FAILED = 3,
  6286. /// <summary>
  6287. /// 部分成功
  6288. /// </summary>
  6289. BANK_CLEARRESULTFILESTATUS_PARTIALSUCCESS = 4
  6290. }
  6291. /// <summary>
  6292. // 单据ID类型
  6293. /// </summary>
  6294. public enum eOrderIDType
  6295. {
  6296. /// <summary>
  6297. /// 交易预埋单/交易委托单
  6298. /// </summary>
  6299. ORDERIDTYPE_TRADE_ORDERID = 100,
  6300. /// <summary>
  6301. /// 交易成交单/交易持仓单/交易成交配对
  6302. /// </summary>
  6303. ORDERIDTYPE_TRADE_TRADEID = 101,
  6304. /// <summary>
  6305. /// 交易撤单
  6306. /// </summary>
  6307. ORDERIDTYPE_TRADE_CANCELORDERID = 102,
  6308. /// <summary>
  6309. /// 斩仓委托明细
  6310. /// </summary>
  6311. ORDERIDTYPE_TRADE_CUTORDERID = 103,
  6312. /// <summary>
  6313. /// 平仓明细
  6314. /// </summary>
  6315. ORDERIDTYPE_TRADE_CLOSEORDERID = 104,
  6316. /// <summary>
  6317. /// 穿仓记录明细
  6318. /// </summary>
  6319. ORDERIDTYPE_TRADE_OVERLOSSID = 105,
  6320. /// <summary>
  6321. /// 交割申报单
  6322. /// </summary>
  6323. ORDERIDTYPE_TRADE_DELIVERYORDERID = 120,
  6324. /// <summary>
  6325. /// 交割单
  6326. /// </summary>
  6327. ORDERIDTYPE_TRADE_DELIVERYID = 121,
  6328. /// <summary>
  6329. /// 履约计划
  6330. /// </summary>
  6331. ORDERIDTYPE_TRADE_PERFORMANCEPLANID = 130,
  6332. /// <summary>
  6333. /// 履约计划步骤
  6334. /// </summary>
  6335. ORDERIDTYPE_TRADE_PERFORMANCESTEPID = 131,
  6336. /// <summary>
  6337. /// 实时行情流水
  6338. /// </summary>
  6339. ORDERIDTYPE_TRADE_REALQUOTESERIALID = 140,
  6340. /// <summary>
  6341. /// 仓单
  6342. /// </summary>
  6343. ORDERIDTYPE_WR_WRID = 200,
  6344. /// <summary>
  6345. /// 仓单头寸
  6346. /// </summary>
  6347. ORDERIDTYPE_WR_WRPOSITIONID = 201,
  6348. /// <summary>
  6349. /// 仓单头寸流水
  6350. /// </summary>
  6351. ORDERIDTYPE_WR_WRPOSITIONFLOWID = 202,
  6352. /// <summary>
  6353. /// 仓单流水
  6354. /// </summary>
  6355. ORDERIDTYPE_WR_WRFLOWID = 203,
  6356. /// <summary>
  6357. /// 库位流水
  6358. /// </summary>
  6359. ORDERIDTYPE_WR_LOCATIONFLOWID = 204,
  6360. /// <summary>
  6361. /// 仓单转用途
  6362. /// </summary>
  6363. ORDERIDTYPE_WR_WRREQUESTID = 205,
  6364. /// <summary>
  6365. /// 积分ID
  6366. /// </summary>
  6367. ORDERIDTYPE_SCOREID = 210,
  6368. /// <summary>
  6369. /// 积分流水
  6370. /// </summary>
  6371. ORDERIDTYPE_SCOREFLOWID = 211,
  6372. /// <summary>
  6373. /// 资金流水
  6374. /// </summary>
  6375. ORDERIDTYPE_AMOUNTFLOWID = 220,
  6376. /// <summary>
  6377. /// 头寸流水
  6378. /// </summary>
  6379. ORDERIDTYPE_POSITIONFLOWID = 221,
  6380. /// <summary>
  6381. /// 商城成交单
  6382. /// </summary>
  6383. ORDERIDTYPE_MALL_TRADEID = 300,
  6384. /// <summary>
  6385. /// 供应链金融成交单
  6386. /// </summary>
  6387. ORDERIDTYPE_SUPPLYCHAIN_TRADEID = 310,
  6388. /// <summary>
  6389. /// 银行交易流水
  6390. /// </summary>
  6391. ORDERIDTYPE_BANK_EXCHTICKETID = 400
  6392. }
  6393. /// <summary>
  6394. // 商品交易权限类型
  6395. /// </summary>
  6396. public enum eGoodsTradeType
  6397. {
  6398. /// <summary>
  6399. /// 可建可平
  6400. /// </summary>
  6401. GOODSTRADETYPE_OPENANDCLOSE = 1,
  6402. /// <summary>
  6403. /// 可建不可平
  6404. /// </summary>
  6405. GOODSTRADETYPE_OPENONLY = 2,
  6406. /// <summary>
  6407. /// 不可建可平
  6408. /// </summary>
  6409. GOODSTRADETYPE_CLOSEONLY = 3,
  6410. /// <summary>
  6411. /// 不可建不可平
  6412. /// </summary>
  6413. GOODSTRADETYPE_NONE = 4
  6414. }
  6415. /// <summary>
  6416. // 挂牌点选类型
  6417. /// </summary>
  6418. public enum eListingSelectType
  6419. {
  6420. /// <summary>
  6421. /// 挂牌
  6422. /// </summary>
  6423. [ItemDisc("LISTINGSELECTTYPE_LISTING")]
  6424. LISTINGSELECTTYPE_LISTING = 1,
  6425. /// <summary>
  6426. /// 摘牌
  6427. /// </summary>
  6428. [ItemDisc("LISTINGSELECTTYPE_DELISTING")]
  6429. LISTINGSELECTTYPE_DELISTING = 2,
  6430. /// <summary>
  6431. /// 先摘后挂
  6432. /// </summary>
  6433. [ItemDisc("LISTINGSELECTTYPE_DELISTINGTHENLISTING")]
  6434. LISTINGSELECTTYPE_DELISTINGTHENLISTING = 3
  6435. }
  6436. /// <summary>
  6437. // 摘牌类型
  6438. /// </summary>
  6439. public enum eDelistingType
  6440. {
  6441. /// <summary>
  6442. /// 价格最优
  6443. /// </summary>
  6444. DELISTINGTYPE_PRICE = 1,
  6445. /// <summary>
  6446. /// 点选成交
  6447. /// </summary>
  6448. DELISTINGTYPE_SELECTED = 2
  6449. }
  6450. /// <summary>
  6451. // 保证金公式
  6452. /// </summary>
  6453. public enum eMarginFormula
  6454. {
  6455. /// <summary>
  6456. /// 双边收
  6457. /// </summary>
  6458. MARGINFORMULA_BOTH = 1,
  6459. /// <summary>
  6460. /// 净头寸收
  6461. /// </summary>
  6462. MARGINFORMULA_NETPOSITION = 2,
  6463. /// <summary>
  6464. /// 大小边差异收
  6465. /// </summary>
  6466. MARGINFORMULA_DIFF = 3,
  6467. /// <summary>
  6468. /// 大边收
  6469. /// </summary>
  6470. MARGINFORMULA_LARGE = 4
  6471. }
  6472. /// <summary>
  6473. // 交割价格方式
  6474. /// </summary>
  6475. public enum eDeliveryPriceMode
  6476. {
  6477. /// <summary>
  6478. /// 商品价
  6479. /// </summary>
  6480. DELIVERYPRICEMODE_GOODS = 1,
  6481. /// <summary>
  6482. /// 固定值
  6483. /// </summary>
  6484. DELIVERYPRICEMODE_FIXEDVALUE = 2
  6485. }
  6486. /// <summary>
  6487. // 结算市场类型
  6488. /// </summary>
  6489. public enum eReckon_MarketType
  6490. {
  6491. /// <summary>
  6492. /// 交易结算
  6493. /// </summary>
  6494. RECKON_MARKETTYPE_TRADE = 1,
  6495. /// <summary>
  6496. /// 交割结算
  6497. /// </summary>
  6498. RECKON_MARKETTYPE_DELIVERY = 2,
  6499. /// <summary>
  6500. /// 资金结算
  6501. /// </summary>
  6502. RECKON_MARKETTYPE_ACCOUNT = 3
  6503. }
  6504. /// <summary>
  6505. // 履约步骤类型
  6506. /// </summary>
  6507. public enum ePerformance_StepType
  6508. {
  6509. /// <summary>
  6510. /// 买方支付
  6511. /// </summary>
  6512. PERFORMANCE_STEPTYPE_BUYER_PAYMENT = 1,
  6513. /// <summary>
  6514. /// 卖方收款
  6515. /// </summary>
  6516. PERFORMANCE_STEPTYPE_SELLER_RECEIVE = 2,
  6517. /// <summary>
  6518. /// 买方自提
  6519. /// </summary>
  6520. PERFORMANCE_STEPTYPE_BUYER_PICKUP = 3,
  6521. /// <summary>
  6522. /// 卖方发货
  6523. /// </summary>
  6524. PERFORMANCE_STEPTYPE_SELLER_SENDGOODS = 4,
  6525. /// <summary>
  6526. /// 买方确认货
  6527. /// </summary>
  6528. PERFORMANCE_STEPTYPE_BUYER_CONFIRMGOODS = 5,
  6529. /// <summary>
  6530. /// 卖方发票
  6531. /// </summary>
  6532. PERFORMANCE_STEPTYPE_SELLER_SENDINVOICE = 6,
  6533. /// <summary>
  6534. /// 买方确认票
  6535. /// </summary>
  6536. PERFORMANCE_STEPTYPE_BUYER_CONFIRMINVOICE = 7,
  6537. /// <summary>
  6538. /// 仓单转移
  6539. /// </summary>
  6540. PERFORMANCE_STEPTYPE_WRTRANSFER = 8
  6541. }
  6542. /// <summary>
  6543. // 履约步骤是否可自动确认
  6544. /// </summary>
  6545. public enum ePerformance_CanAuto
  6546. {
  6547. /// <summary>
  6548. /// 不可自动确认
  6549. /// </summary>
  6550. PERFORMANCE_CANAUTO_NO = 0,
  6551. /// <summary>
  6552. /// 可自动确认
  6553. /// </summary>
  6554. PERFORMANCE_CANAUTO_YES = 1
  6555. }
  6556. /// <summary>
  6557. // 履约支付方式
  6558. /// </summary>
  6559. public enum ePerformance_PaymentType
  6560. {
  6561. /// <summary>
  6562. /// 冻结
  6563. /// </summary>
  6564. PERFORMANCE_PAYMENTTYPE_FREEZE = 1,
  6565. /// <summary>
  6566. /// 扣款
  6567. /// </summary>
  6568. PERFORMANCE_PAYMENTTYPE_DEDUCT = 2
  6569. }
  6570. /// <summary>
  6571. // 履约步骤是否自动
  6572. /// </summary>
  6573. public enum ePerformance_IsAuto
  6574. {
  6575. /// <summary>
  6576. /// 不自动
  6577. /// </summary>
  6578. PERFORMANCE_ISAUTO_NO = 0,
  6579. /// <summary>
  6580. /// 自动
  6581. /// </summary>
  6582. PERFORMANCE_ISAUTO_YES = 1
  6583. }
  6584. /// <summary>
  6585. // 是否最后收款步骤
  6586. /// </summary>
  6587. public enum ePerformance_IsLastReceiveStep
  6588. {
  6589. /// <summary>
  6590. /// 不是
  6591. /// </summary>
  6592. PERFORMANCE_ISLASTRECEIVESTEP_NO = 0,
  6593. /// <summary>
  6594. /// 是
  6595. /// </summary>
  6596. PERFORMANCE_ISLASTRECEIVESTEP_YES = 1
  6597. }
  6598. /// <summary>
  6599. // 履约仓单划转处理状态
  6600. /// </summary>
  6601. public enum ePerformance_WR_HandleStatus
  6602. {
  6603. /// <summary>
  6604. /// 未划转
  6605. /// </summary>
  6606. PERFORMANCE_WR_HANDLESTATUS_NOT = 1,
  6607. /// <summary>
  6608. /// 已划转
  6609. /// </summary>
  6610. PERFORMANCE_WR_HANDLESTATUS_TRANSFERRED = 2
  6611. }
  6612. /// <summary>
  6613. // 履约计划状态
  6614. /// </summary>
  6615. public enum ePerformanceStatus
  6616. {
  6617. /// <summary>
  6618. /// 正常
  6619. /// </summary>
  6620. PERFORMANCESTATUS_NORMAL = 1,
  6621. /// <summary>
  6622. /// 违约待确认
  6623. /// </summary>
  6624. PERFORMANCESTATUS_BREACHING = 2,
  6625. /// <summary>
  6626. /// 违约
  6627. /// </summary>
  6628. PERFORMANCESTATUS_BREACHED = 3,
  6629. /// <summary>
  6630. /// 完成
  6631. /// </summary>
  6632. PERFORMANCESTATUS_FINISHED = 4
  6633. }
  6634. /// <summary>
  6635. // 履约步骤状态
  6636. /// </summary>
  6637. public enum ePerformance_StepStatus
  6638. {
  6639. /// <summary>
  6640. /// 待开始
  6641. /// </summary>
  6642. PERFORMANCE_STEPSTATUS_PENDING = 1,
  6643. /// <summary>
  6644. /// 进行中
  6645. /// </summary>
  6646. PERFORMANCE_STEPSTATUS_EXECUTING = 2,
  6647. /// <summary>
  6648. /// 已完成
  6649. /// </summary>
  6650. PERFORMANCE_STEPSTATUS_FINISHED = 3,
  6651. /// <summary>
  6652. /// 延期(进行中)
  6653. /// </summary>
  6654. PERFORMANCE_STEPSTATUS_EXECUTING_DELAY = 4,
  6655. /// <summary>
  6656. /// 失败
  6657. /// </summary>
  6658. PERFORMANCE_STEPSTATUS_FAILED = 5,
  6659. /// <summary>
  6660. /// 自动完成
  6661. /// </summary>
  6662. PERFORMANCE_STEPSTATUS_FINISHED_AUTO = 6
  6663. }
  6664. /// <summary>
  6665. // 履约延期状态
  6666. /// </summary>
  6667. public enum ePerformance_DelayStatus
  6668. {
  6669. /// <summary>
  6670. /// 待审核
  6671. /// </summary>
  6672. PERFORMANCE_DELAYSTATUS_PENDING = 1,
  6673. /// <summary>
  6674. /// 审核通过
  6675. /// </summary>
  6676. PERFORMANCE_DELAYSTATUS_PASS = 2,
  6677. /// <summary>
  6678. /// 审核拒绝
  6679. /// </summary>
  6680. PERFORMANCE_DELAYSTATUS_REJECT = 3,
  6681. /// <summary>
  6682. /// 已撤销
  6683. /// </summary>
  6684. PERFORMANCE_DELAYSTATUS_CANCELLED = 4,
  6685. /// <summary>
  6686. /// 系统撤销
  6687. /// </summary>
  6688. PERFORMANCE_DELAYSTATUS_CANCELLEDBYSYS = 5
  6689. }
  6690. /// <summary>
  6691. // 违约类型
  6692. /// </summary>
  6693. public enum eBreachType
  6694. {
  6695. /// <summary>
  6696. /// 买方
  6697. /// </summary>
  6698. BREACHTYPE_BUY = 1,
  6699. /// <summary>
  6700. /// 卖方
  6701. /// </summary>
  6702. BREACHTYPE_SELL = 2
  6703. }
  6704. /// <summary>
  6705. // 违约状态
  6706. /// </summary>
  6707. public enum eBreachStatus
  6708. {
  6709. /// <summary>
  6710. /// 待审核
  6711. /// </summary>
  6712. BREACHSTATUS_PENDING = 1,
  6713. /// <summary>
  6714. /// 审核通过
  6715. /// </summary>
  6716. BREACHSTATUS_PASS = 2,
  6717. /// <summary>
  6718. /// 审核拒绝
  6719. /// </summary>
  6720. BREACHSTATUS_REJECT = 3
  6721. }
  6722. /// <summary>
  6723. // 履约日志类型
  6724. /// </summary>
  6725. public enum ePerformance_LogType
  6726. {
  6727. /// <summary>
  6728. /// 执行履约步骤
  6729. /// </summary>
  6730. PERFORMANCE_LOGTYPE_EXECUTING = 1,
  6731. /// <summary>
  6732. /// 完成履约步骤
  6733. /// </summary>
  6734. PERFORMANCE_LOGTYPE_FINISHED = 2,
  6735. /// <summary>
  6736. /// 申请延期
  6737. /// </summary>
  6738. PERFORMANCE_LOGTYPE_DELAYAPPLY = 3,
  6739. /// <summary>
  6740. /// 延期确认
  6741. /// </summary>
  6742. PERFORMANCE_LOGTYPE_DELAYPASS = 4,
  6743. /// <summary>
  6744. /// 延期拒绝
  6745. /// </summary>
  6746. PERFORMANCE_LOGTYPE_DELAYREJECT = 5,
  6747. /// <summary>
  6748. /// 申请违约
  6749. /// </summary>
  6750. PERFORMANCE_LOGTYPE_BREACHAPPLY = 6,
  6751. /// <summary>
  6752. /// 违约确认
  6753. /// </summary>
  6754. PERFORMANCE_LOGTYPE_BREACHPASS = 7,
  6755. /// <summary>
  6756. /// 违约拒绝
  6757. /// </summary>
  6758. PERFORMANCE_LOGTYPE_BREACHREJECT = 8
  6759. }
  6760. /// <summary>
  6761. // 履约步骤启动类型
  6762. /// </summary>
  6763. public enum ePerformance_StepLanchType
  6764. {
  6765. /// <summary>
  6766. /// 系统自动
  6767. /// </summary>
  6768. PERFORMANCE_STEPLANCHTYPE_SYSTEM = 1,
  6769. /// <summary>
  6770. /// 手动
  6771. /// </summary>
  6772. PERFORMANCE_STEPLANCHTYPE_MANUAL = 2
  6773. }
  6774. /// <summary>
  6775. // 履约步骤执行方
  6776. /// </summary>
  6777. public enum ePerformance_ExecuteSide
  6778. {
  6779. /// <summary>
  6780. /// 买方
  6781. /// </summary>
  6782. PERFORMANCE_EXECUTESIDE_BUYER = 1,
  6783. /// <summary>
  6784. /// 卖方
  6785. /// </summary>
  6786. PERFORMANCE_EXECUTESIDE_SELLER = 2
  6787. }
  6788. /// <summary>
  6789. // 履约类型
  6790. /// </summary>
  6791. public enum ePerformanceType
  6792. {
  6793. /// <summary>
  6794. /// 交割
  6795. /// </summary>
  6796. PERFORMANCETYPE_DELIVERY = 1,
  6797. /// <summary>
  6798. /// 仓单贸易
  6799. /// </summary>
  6800. PERFORMANCETYPE_WRTRADE = 2
  6801. }
  6802. /// <summary>
  6803. // 用户操作变更类型
  6804. /// </summary>
  6805. public enum eUserOperateType
  6806. {
  6807. /// <summary>
  6808. /// 新增用户
  6809. /// </summary>
  6810. USER_OPERATE_ADD = 0,
  6811. /// <summary>
  6812. /// 删除用户
  6813. /// </summary>
  6814. USER_OPERATE_DEL = 1,
  6815. /// <summary>
  6816. /// 修改用户
  6817. /// </summary>
  6818. USER_OPERATE_UPDATE = 2,
  6819. /// <summary>
  6820. /// 修改用户个性化
  6821. /// </summary>
  6822. USER_OPERATE_UPDATE_PERSONAL = 3
  6823. }
  6824. /// <summary>
  6825. // 账户操作变更类型
  6826. /// </summary>
  6827. public enum eAccountOperateType
  6828. {
  6829. /// <summary>
  6830. /// 新增帐号
  6831. /// </summary>
  6832. ACCOUNT_OPERATE_ADD = 0,
  6833. /// <summary>
  6834. /// 删除帐号
  6835. /// </summary>
  6836. ACCOUNT_OPERATE_DEL = 1,
  6837. /// <summary>
  6838. /// 修改帐号
  6839. /// </summary>
  6840. ACCOUNT_OPERATE_UPDATE = 2,
  6841. /// <summary>
  6842. /// 修改帐号个性化
  6843. /// </summary>
  6844. ACCOUNT_OPERATE_UPDATE_PERSONAL = 3,
  6845. /// <summary>
  6846. /// 修改账户权限
  6847. /// </summary>
  6848. ACCOUNT_OPERATE_UPDATE_RIGHT = 4
  6849. }
  6850. /// <summary>
  6851. // 商品操作变更类型
  6852. /// </summary>
  6853. public enum eGoodsOperateType
  6854. {
  6855. /// <summary>
  6856. /// 新增商品
  6857. /// </summary>
  6858. GOODS_OPERATE_ADD = 0,
  6859. /// <summary>
  6860. /// 删除商品
  6861. /// </summary>
  6862. GOODS_OPERATE_DEL = 1,
  6863. /// <summary>
  6864. /// 修改商品
  6865. /// </summary>
  6866. GOODS_OPERATE_UPDATE = 2
  6867. }
  6868. /// <summary>
  6869. // 消息通知模式
  6870. /// </summary>
  6871. public enum eNotifyMode
  6872. {
  6873. /// <summary>
  6874. /// 单播
  6875. /// </summary>
  6876. NOTIFY_UNICAST = 0,
  6877. /// <summary>
  6878. /// 组播
  6879. /// </summary>
  6880. NOTIFY_MULTICAST = 1,
  6881. /// <summary>
  6882. /// 广播
  6883. /// </summary>
  6884. NOTIFY_BROADCAST = 2
  6885. }
  6886. /// <summary>
  6887. // 公告消息类型
  6888. /// </summary>
  6889. public enum eBltMsgType
  6890. {
  6891. /// <summary>
  6892. /// 公告类
  6893. /// </summary>
  6894. BM_TYPE_BULLETIN = 1,
  6895. /// <summary>
  6896. /// 重要通知类
  6897. /// </summary>
  6898. BM_TYPE_NTF = 2
  6899. }
  6900. /// <summary>
  6901. // 风控通知类型
  6902. /// </summary>
  6903. public enum eeRisk_Ntf_Type
  6904. {
  6905. /// <summary>
  6906. /// 投资者风控通知
  6907. /// </summary>
  6908. RISK_NTF_TYPE_INVESTOR = 0,
  6909. /// <summary>
  6910. /// 会员风控通知
  6911. /// </summary>
  6912. RISK_NTF_TYPE_MEMBER = 1
  6913. }
  6914. /// <summary>
  6915. // 用户令牌状态
  6916. /// </summary>
  6917. public enum eTokenStatus
  6918. {
  6919. /// <summary>
  6920. /// 令牌有效
  6921. /// </summary>
  6922. TOKEN_STATUS_UNEXPIRED = 1,
  6923. /// <summary>
  6924. /// 令牌过期
  6925. /// </summary>
  6926. TOKEN_STATUS_EXPIRED = 2,
  6927. /// <summary>
  6928. /// 令牌已被更新
  6929. /// </summary>
  6930. TOKEN_STATUS_UPDATED = 3
  6931. }
  6932. /// <summary>
  6933. // 终端类型
  6934. /// </summary>
  6935. public enum eTerminalType
  6936. {
  6937. /// <summary>
  6938. /// 交易端
  6939. /// </summary>
  6940. TRADECLIENT = 0,
  6941. /// <summary>
  6942. /// 管理端
  6943. /// </summary>
  6944. MANAGECLIENT = 1,
  6945. /// <summary>
  6946. /// 运维端
  6947. /// </summary>
  6948. MAINTAINCLIENT = 2
  6949. }
  6950. /// <summary>
  6951. // 登陆操作类型
  6952. /// </summary>
  6953. public enum eLoginOperatorType
  6954. {
  6955. /// <summary>
  6956. /// 人工操作
  6957. /// </summary>
  6958. MANUAL_OPER = 1,
  6959. /// <summary>
  6960. /// 系统操作
  6961. /// </summary>
  6962. SYSTEM_OPER = 2
  6963. }
  6964. /// <summary>
  6965. // 数据库中定义的版本类型
  6966. /// </summary>
  6967. public enum eDBVersionType
  6968. {
  6969. /// <summary>
  6970. /// 产品版本
  6971. /// </summary>
  6972. DBVERSIONTYPE_PRODUCT = 1,
  6973. /// <summary>
  6974. /// 数据库sql版本
  6975. /// </summary>
  6976. DBVERSIONTYPE_DB = 2,
  6977. /// <summary>
  6978. /// 常量版本
  6979. /// </summary>
  6980. DBVERSIONTYPE_CONST = 3,
  6981. /// <summary>
  6982. /// 错误码版本
  6983. /// </summary>
  6984. DBVERSIONTYPE_ERRORCODE = 4
  6985. }
  6986. /// <summary>
  6987. // 资金查询位掩码
  6988. /// </summary>
  6989. public enum eMoneyQueryBitMask
  6990. {
  6991. /// <summary>
  6992. /// 查询可用保证金
  6993. /// </summary>
  6994. MONEYQUERY_AVAILABLE_MARGIN = 1,
  6995. /// <summary>
  6996. /// 查询可出资金
  6997. /// </summary>
  6998. MONEYQUERY_AVAILABLE_OUTMONEY = 2
  6999. }
  7000. /// <summary>
  7001. // 修改密码类型
  7002. /// </summary>
  7003. public enum eModifyPwdType
  7004. {
  7005. /// <summary>
  7006. /// 修改登录ID密码
  7007. /// </summary>
  7008. MODIFYPWDTYPE_LOGINID = 1,
  7009. /// <summary>
  7010. /// 修改资金账户ID密码
  7011. /// </summary>
  7012. MODIFYPWDTYPE_ACCOUNTID = 2
  7013. }
  7014. /// <summary>
  7015. // MTP服务
  7016. /// </summary>
  7017. public enum eMTPServer
  7018. {
  7019. /// <summary>
  7020. /// 接入
  7021. /// </summary>
  7022. SERVER_ACCESS = 1,
  7023. /// <summary>
  7024. /// 前置
  7025. /// </summary>
  7026. SERVER_BUSPROXY = 2,
  7027. /// <summary>
  7028. /// 登录
  7029. /// </summary>
  7030. SERVER_LOGIN = 3,
  7031. /// <summary>
  7032. /// 账户
  7033. /// </summary>
  7034. SERVER_ACCOUNT = 4,
  7035. /// <summary>
  7036. /// 风控
  7037. /// </summary>
  7038. SERVER_RISK = 5,
  7039. /// <summary>
  7040. /// 交易
  7041. /// </summary>
  7042. SERVER_TRADE = 6,
  7043. /// <summary>
  7044. /// 控制
  7045. /// </summary>
  7046. SERVER_CTRL = 7,
  7047. /// <summary>
  7048. /// 交割
  7049. /// </summary>
  7050. SERVER_DELIVERY = 8,
  7051. /// <summary>
  7052. /// 履约
  7053. /// </summary>
  7054. SERVER_PERFORMANCE = 10,
  7055. /// <summary>
  7056. /// 银行
  7057. /// </summary>
  7058. SERVER_BANK = 11,
  7059. /// <summary>
  7060. /// 行情报价
  7061. /// </summary>
  7062. SERVER_QUOTE = 12,
  7063. /// <summary>
  7064. /// 仓单
  7065. /// </summary>
  7066. SERVER_WR = 21
  7067. }
  7068. /// <summary>
  7069. // 履约结算节点ID
  7070. /// </summary>
  7071. public enum ePerformanceReckonNodeID
  7072. {
  7073. /// <summary>
  7074. /// 履约服务履约结算节点ID
  7075. /// </summary>
  7076. PERFORMANCERECKNODEID_PERFORMANC = 1,
  7077. /// <summary>
  7078. /// 履约服务违约结算节点ID
  7079. /// </summary>
  7080. PERFORMANCERECKNODEID_CONTRACTED = 2
  7081. }
  7082. /// <summary>
  7083. // 特殊市场ID
  7084. /// </summary>
  7085. public enum eSpeicalMarketID
  7086. {
  7087. /// <summary>
  7088. /// 系统
  7089. /// </summary>
  7090. SPEICAL_MARKET_SYSTEM = 0,
  7091. /// <summary>
  7092. /// 交割
  7093. /// </summary>
  7094. SPEICAL_MARKET_DELIVERY = 1,
  7095. /// <summary>
  7096. /// 账户
  7097. /// </summary>
  7098. SPEICAL_MARKET_ACCOUNT = 2,
  7099. /// <summary>
  7100. /// 履约
  7101. /// </summary>
  7102. SPEICAL_MARKET_PERFORMANCE = 3,
  7103. /// <summary>
  7104. /// 仓单
  7105. /// </summary>
  7106. SPEICAL_MARKET_WR = 4,
  7107. /// <summary>
  7108. /// 积分
  7109. /// </summary>
  7110. SPEICAL_MARKET_SCORE = 5,
  7111. /// <summary>
  7112. /// 银行
  7113. /// </summary>
  7114. SPEICAL_MARKET_BANK = 6,
  7115. /// <summary>
  7116. /// 供应链金融
  7117. /// </summary>
  7118. SPEICAL_MARKET_SCF = 7,
  7119. /// <summary>
  7120. /// 行情接入
  7121. /// </summary>
  7122. SPEICAL_MARKET_QUOTE_SOURCE = 100,
  7123. /// <summary>
  7124. /// 行情处理
  7125. /// </summary>
  7126. SPEICAL_MARKET_QUOTE_PRICE = 101,
  7127. /// <summary>
  7128. /// 行情发布
  7129. /// </summary>
  7130. SPEICAL_MARKET_QUOTE_PUBLISH = 102
  7131. }
  7132. /// <summary>
  7133. // 库位操作类别
  7134. /// </summary>
  7135. public enum eWarehouseSiteKinds
  7136. {
  7137. /// <summary>
  7138. /// 冻结
  7139. /// </summary>
  7140. WAREHOUSE_FROZEN = 1,
  7141. /// <summary>
  7142. /// 履约冻结
  7143. /// </summary>
  7144. WAREHOUSE_PERFORMANCE_FROZEN = 2,
  7145. /// <summary>
  7146. /// 解冻
  7147. /// </summary>
  7148. WAREHOUSE_UNFROZEN = 3,
  7149. /// <summary>
  7150. /// 履约解冻
  7151. /// </summary>
  7152. WAREHOUSE_PERFORMANCE_UNFROZEN = 4
  7153. }
  7154. /// <summary>
  7155. // 仓单生成头寸类别
  7156. /// </summary>
  7157. public enum eSplitSrcPosType
  7158. {
  7159. /// <summary>
  7160. /// 订单头寸(交割)
  7161. /// </summary>
  7162. SPLIT_SRC_HOLD_POS = 1,
  7163. /// <summary>
  7164. /// 仓单头寸(仓单贸易)
  7165. /// </summary>
  7166. SPLIT_SRC_RECEIPT_POS = 2
  7167. }
  7168. /// <summary>
  7169. // 供应链金融合同类型
  7170. /// </summary>
  7171. public enum eSCFContractType
  7172. {
  7173. /// <summary>
  7174. /// 仓单回购
  7175. /// </summary>
  7176. SCF_CONTRACT_TYPE_WRR = 1,
  7177. /// <summary>
  7178. /// 仓单质押
  7179. /// </summary>
  7180. SCF_CONTRACT_TYPE_WRM = 2,
  7181. /// <summary>
  7182. /// 合作套保
  7183. /// </summary>
  7184. SCF_CONTRACT_TYPE_CH = 3,
  7185. /// <summary>
  7186. /// 资金贷款
  7187. /// </summary>
  7188. SCF_CONTRACT_TYPE_LOAN = 4
  7189. }
  7190. /// <summary>
  7191. // 供应链金融流程步骤
  7192. /// </summary>
  7193. public enum eSCFProcessStep
  7194. {
  7195. /// <summary>
  7196. /// 资金划转
  7197. /// </summary>
  7198. SCF_PROCESS_STEP_FUND_TRANSFER = 1,
  7199. /// <summary>
  7200. /// 支付首笔保证金
  7201. /// </summary>
  7202. SCF_PROCESS_STEP_PAY_FIRST_MARGIN = 2,
  7203. /// <summary>
  7204. /// 合同激活
  7205. /// </summary>
  7206. SCF_PROCESS_STEP_CONTRACT_ACTIVE = 3,
  7207. /// <summary>
  7208. /// 手动结息
  7209. /// </summary>
  7210. SCF_PROCESS_STEP_MANUAL_INTEREST = 4,
  7211. /// <summary>
  7212. /// 仓单回购、购回仓单
  7213. /// </summary>
  7214. SCF_PROCESS_STEP_WRR = 5,
  7215. /// <summary>
  7216. /// 支付欠款
  7217. /// </summary>
  7218. SCF_PROCESS_STEP_PAYMENT_ARREAR = 6,
  7219. /// <summary>
  7220. /// 结算
  7221. /// </summary>
  7222. SCF_PROCESS_STEP_SETTLE = 7,
  7223. /// <summary>
  7224. /// 违约确认
  7225. /// </summary>
  7226. SCF_PROCESS_STEP_BERACH_CONFIRM = 8,
  7227. /// <summary>
  7228. /// 违约处理
  7229. /// </summary>
  7230. SCF_PROCESS_STEP_BERACH_HANDLE = 9,
  7231. /// <summary>
  7232. /// 关闭合同
  7233. /// </summary>
  7234. SCF_PROCESS_STEP_CLOSE_CONTRACT = 10,
  7235. /// <summary>
  7236. /// 合同确认
  7237. /// </summary>
  7238. SCF_PROCESS_STEP_CONTRACT_CONFIRM = 11,
  7239. /// <summary>
  7240. /// 确认放款
  7241. /// </summary>
  7242. SCF_PROCESS_STEP_CONFIRM_LOAN = 12,
  7243. /// <summary>
  7244. /// 增加合作方资金
  7245. /// </summary>
  7246. SCF_PROCESS_STEP_ADD_PARTANER_MONEY = 13,
  7247. /// <summary>
  7248. /// 手动还款
  7249. /// </summary>
  7250. SCF_PROCESS_STEP_MANUAL_REPAY = 14
  7251. }
  7252. /// <summary>
  7253. // 供应链金融业务步骤
  7254. /// </summary>
  7255. public enum eSCFProcessSubStep
  7256. {
  7257. /// <summary>
  7258. /// 收到业务请求
  7259. /// </summary>
  7260. SCF_SUB_STEP_RECV_REQ = 1,
  7261. /// <summary>
  7262. /// 发送业务成功应答
  7263. /// </summary>
  7264. SCF_SUB_STEP_SEND_SUCCESS_RSP = 2,
  7265. /// <summary>
  7266. /// 发送业务失败应答
  7267. /// </summary>
  7268. SCF_SUB_STEP_SEND_FAILED_RSP = 3,
  7269. /// <summary>
  7270. /// 发给账户服务冻结资金请求
  7271. /// </summary>
  7272. SCF_SUB_STEP_SEND_ACC_FREEZE_FUND_REQ = 4,
  7273. /// <summary>
  7274. /// 收到账户服务冻结成功资金应答
  7275. /// </summary>
  7276. SCF_SUB_STEP_RECV_ACC_FREEZE_FUND_SUCCESS_RSP = 5,
  7277. /// <summary>
  7278. /// 收到账户服务冻结失败资金应答
  7279. /// </summary>
  7280. SCF_SUB_STEP_RECV_ACC_FREEZE_FUND_FAILED_RSP = 6,
  7281. /// <summary>
  7282. /// 发给账户服务解冻资金请求
  7283. /// </summary>
  7284. SCF_SUB_STEP_SEND_ACC_UNFREEZE_FUND_REQ = 7,
  7285. /// <summary>
  7286. /// 收到账户服务解冻资金成功应答
  7287. /// </summary>
  7288. SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_SUCCESS_RSP = 8,
  7289. /// <summary>
  7290. /// 收到账户服务解冻资金失败应答
  7291. /// </summary>
  7292. SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_FAILED_RSP = 9,
  7293. /// <summary>
  7294. /// 发给账户服务解冻扣款请求
  7295. /// </summary>
  7296. SCF_SUB_STEP_SEND_ACC_UNFREEZE_FUND_AND_PAY_REQ = 10,
  7297. /// <summary>
  7298. /// 收到账户服务解冻扣款成功应答
  7299. /// </summary>
  7300. SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_AND_PAY_SUCCESS_RSP = 11,
  7301. /// <summary>
  7302. /// 收到账户服务解冻扣款失败应答
  7303. /// </summary>
  7304. SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_AND_PAY_FAILED_RSP = 12,
  7305. /// <summary>
  7306. /// 发给账户服务入款请求
  7307. /// </summary>
  7308. SCF_SUB_STEP_SEND_ACC_DEPOSIT_FUND_REQ = 13,
  7309. /// <summary>
  7310. /// 收到账户服务入款成功应答
  7311. /// </summary>
  7312. SCF_SUB_STEP_RECV_ACC_DEPOSIT_FUND_SUCCESS_RSP = 14,
  7313. /// <summary>
  7314. /// 收到账户服务入款失败应答
  7315. /// </summary>
  7316. SCF_SUB_STEP_RECV_ACC_DEPOSIT_FUND_FAILED_RSP = 15,
  7317. /// <summary>
  7318. /// 发给账户服务冻结头寸请求
  7319. /// </summary>
  7320. SCF_SUB_STEP_SEND_ACC_FREEZE_POS_REQ = 16,
  7321. /// <summary>
  7322. /// 收到账户服务冻结头寸成功应答
  7323. /// </summary>
  7324. SCF_SUB_STEP_RECV_ACC_FREEZE_POS_SUCCESS_RSP = 17,
  7325. /// <summary>
  7326. /// 收到账户服务冻结头寸失败应答
  7327. /// </summary>
  7328. SCF_SUB_STEP_RECV_ACC_FREEZE_POS_FAILED_RSP = 18,
  7329. /// <summary>
  7330. /// 发给账户服务解冻头寸请求
  7331. /// </summary>
  7332. SCF_SUB_STEP_SEND_ACC_UNFREEZE_POS_REQ = 19,
  7333. /// <summary>
  7334. /// 收到账户服务解冻头寸成功应答
  7335. /// </summary>
  7336. SCF_SUB_STEP_RECV_ACC_UNFREEZE_POS_SUCCESS_RSP = 20,
  7337. /// <summary>
  7338. /// 收到账户服务解冻头寸失败应答
  7339. /// </summary>
  7340. SCF_SUB_STEP_RECV_ACC_UNFREEZE_POS_FAILED_RSP = 21,
  7341. /// <summary>
  7342. /// 发给仓单服务库位冻结请求
  7343. /// </summary>
  7344. SCF_SUB_STEP_SEND_WR_SITE_REQ = 22,
  7345. /// <summary>
  7346. /// 收到仓单服务库位冻结成功应答
  7347. /// </summary>
  7348. SCF_SUB_STEP_RECV_WR_SITE_SUCCESS_RSP = 23,
  7349. /// <summary>
  7350. /// 收到仓单服务库位冻结失败应答
  7351. /// </summary>
  7352. SCF_SUB_STEP_RECV_WR_SITE_FAILED_RSP = 24,
  7353. /// <summary>
  7354. /// 发给仓单服务库位拆分请求
  7355. /// </summary>
  7356. SCF_SUB_STEP_SEND_WR_SPLIT_REQ = 25,
  7357. /// <summary>
  7358. /// 收到仓单服务库位拆分成功应答
  7359. /// </summary>
  7360. SCF_SUB_STEP_RECV_WR_SPLIT_SUCCESS_RSP = 26,
  7361. /// <summary>
  7362. /// 收到仓单服务库位拆分失败应答
  7363. /// </summary>
  7364. SCF_SUB_STEP_RECV_WR_SPLIT_FAILED_RSP = 27,
  7365. /// <summary>
  7366. /// 发给仓单服务仓单转移请求
  7367. /// </summary>
  7368. SCF_SUB_STEP_SEND_WR_MOVE_REQ = 28,
  7369. /// <summary>
  7370. /// 收到仓单服务仓单转移成功应答
  7371. /// </summary>
  7372. SCF_SUB_STEP_RECV_WR_MOVE_SUCCESS_RSP = 29,
  7373. /// <summary>
  7374. /// 收到仓单服务仓单转移失败应答
  7375. /// </summary>
  7376. SCF_SUB_STEP_RECV_WR_MOVE_FAILED_RSP = 30,
  7377. /// <summary>
  7378. /// 发给账户服务最大扣款请求
  7379. /// </summary>
  7380. SCF_SUB_STEP_SEND_ACC_MAX_PAY_REQ = 31,
  7381. /// <summary>
  7382. /// 收到账户服务最大扣款成功应答
  7383. /// </summary>
  7384. SCF_SUB_STEP_SEND_ACC_MAX_PAY_RSP = 32,
  7385. /// <summary>
  7386. /// 发送业务成功通知
  7387. /// </summary>
  7388. SCF_SUB_STEP_SEND_SUCCESS_NOTIFY = 31,
  7389. /// <summary>
  7390. /// 发送业务失败通知
  7391. /// </summary>
  7392. SCF_SUB_STEP_SEND_FAILED_NOTIFY = 32,
  7393. /// <summary>
  7394. /// 结算开始
  7395. /// </summary>
  7396. SCF_SUB_STEP_NODESTATUS_BEGIN = 33,
  7397. /// <summary>
  7398. /// 结算成功
  7399. /// </summary>
  7400. SCF_SUB_STEP_NODESTATUS_SUCCESS = 34,
  7401. /// <summary>
  7402. /// 结算失败
  7403. /// </summary>
  7404. SCF_SUB_STEP_NODESTATUS_FAILED = 35
  7405. }
  7406. /// <summary>
  7407. // 供应链金融合同状态
  7408. /// </summary>
  7409. public enum eSCFContractStatus
  7410. {
  7411. /// <summary>
  7412. /// 新建
  7413. /// </summary>
  7414. SCF_CONTRACTSTATUS_NEW = 1,
  7415. /// <summary>
  7416. /// 已确认
  7417. /// </summary>
  7418. SCF_CONTRACTSTATUS_CONFIRMED = 2,
  7419. /// <summary>
  7420. /// 确认拒绝
  7421. /// </summary>
  7422. SCF_CONTRACTSTATUS_CONFIRMED_REJECTION = 3,
  7423. /// <summary>
  7424. /// 已支付保证金
  7425. /// </summary>
  7426. SCF_CONTRACTSTATUS_PAID_DEPOSIT = 4,
  7427. /// <summary>
  7428. /// 已激活
  7429. /// </summary>
  7430. SCF_CONTRACTSTATUS_ALREADY_ACTIVATED = 5,
  7431. /// <summary>
  7432. /// 已违约
  7433. /// </summary>
  7434. SCF_CONTRACTSTATUS_DEFAULTING = 6,
  7435. /// <summary>
  7436. /// 到期结束
  7437. /// </summary>
  7438. SCF_CONTRACTSTATUS_MATURITY_END = 7,
  7439. /// <summary>
  7440. /// 延期结束
  7441. /// </summary>
  7442. SCF_CONTRACTSTATUS_DEFERRED_END = 8,
  7443. /// <summary>
  7444. /// 违约结束
  7445. /// </summary>
  7446. SCF_CONTRACTSTATUS_DEFAULT_END = 9,
  7447. /// <summary>
  7448. /// 已注销
  7449. /// </summary>
  7450. SCF_CONTRACTSTATUS_LOGOUT = 10,
  7451. /// <summary>
  7452. /// 已关闭
  7453. /// </summary>
  7454. SCF_CONTRACTSTATUS_CLOSE = 11
  7455. }
  7456. /// <summary>
  7457. // 供应链金融结算步骤
  7458. /// </summary>
  7459. public enum eSCFSettleStep
  7460. {
  7461. /// <summary>
  7462. /// 结算开始
  7463. /// </summary>
  7464. SCFSETTLESTEP_START = 1,
  7465. /// <summary>
  7466. /// 计算风险率
  7467. /// </summary>
  7468. SCFSETTLESTEP_CURRISKRATE = 2,
  7469. /// <summary>
  7470. /// 结算进行中
  7471. /// </summary>
  7472. SCFSETTLESTEP_INPROCESS = 3,
  7473. /// <summary>
  7474. /// 结算成功
  7475. /// </summary>
  7476. SCFSETTLESTEP_SUCCESS = 4,
  7477. /// <summary>
  7478. /// 结算失败
  7479. /// </summary>
  7480. SCFSETTLESTEP_FAILED = 5
  7481. }
  7482. /// <summary>
  7483. // 供应链金融是否自动放款
  7484. /// </summary>
  7485. public enum eSCFIsAutoLoan
  7486. {
  7487. /// <summary>
  7488. /// 手动
  7489. /// </summary>
  7490. SCF_ISAUTOLOAN_MANUAL = 0,
  7491. /// <summary>
  7492. /// 自动
  7493. /// </summary>
  7494. SCF_ISAUTOLOAN_AUTO = 1
  7495. }
  7496. /// <summary>
  7497. // 供应链金融结息方式
  7498. /// </summary>
  7499. public enum eSCFInterestSettleMode
  7500. {
  7501. /// <summary>
  7502. /// 按日结息
  7503. /// </summary>
  7504. SCF_INTERESTSETTLEMODE_DAY = 1,
  7505. /// <summary>
  7506. /// 按周结息
  7507. /// </summary>
  7508. SCF_INTERESTSETTLEMODE_WEEK = 2,
  7509. /// <summary>
  7510. /// 按月结息
  7511. /// </summary>
  7512. SCF_INTERESTSETTLEMODE_MONTH = 3
  7513. }
  7514. /// <summary>
  7515. // 供应链金融风控模式
  7516. /// </summary>
  7517. public enum eSCFRiskMode
  7518. {
  7519. /// <summary>
  7520. /// 比率
  7521. /// </summary>
  7522. SCF_SCFRISKMODE_RATIO = 1,
  7523. /// <summary>
  7524. /// 固定
  7525. /// </summary>
  7526. SCF_SCFRISKMODE_FIXED = 2
  7527. }
  7528. /// <summary>
  7529. // 供应链金融结算资金处理类型
  7530. /// </summary>
  7531. public enum eSCFReckonAmountType
  7532. {
  7533. /// <summary>
  7534. /// A类
  7535. /// </summary>
  7536. SCF_RECKONAMOUNTTYPE_A = 1,
  7537. /// <summary>
  7538. /// B类
  7539. /// </summary>
  7540. SCF_RECKONAMOUNTTYPE_B = 2,
  7541. /// <summary>
  7542. /// C类
  7543. /// </summary>
  7544. SCF_RECKONAMOUNTTYPE_C = 3
  7545. }
  7546. /// <summary>
  7547. // 供应链金融计息标志
  7548. /// </summary>
  7549. public enum eSCFInterestFlag
  7550. {
  7551. /// <summary>
  7552. /// 停止计息
  7553. /// </summary>
  7554. SCF_INTERESTFLAG_STOP = 0,
  7555. /// <summary>
  7556. /// 启动计息
  7557. /// </summary>
  7558. SCF_INTERESTFLAG_START = 1
  7559. }
  7560. /// <summary>
  7561. // 供应链金融合同关闭方
  7562. /// </summary>
  7563. public enum eSCFContractCloseRole
  7564. {
  7565. /// <summary>
  7566. /// 贷款方
  7567. /// </summary>
  7568. SCF_CONTRACTCLOSEROLE_LENDER = 1,
  7569. /// <summary>
  7570. /// 借款方
  7571. /// </summary>
  7572. SCF_CONTRACTCLOSEROLE_BORROWER = 2
  7573. }
  7574. /// <summary>
  7575. // 供应链金融合同处理状态
  7576. /// </summary>
  7577. public enum eSCFHandleStatus
  7578. {
  7579. /// <summary>
  7580. /// 待处理
  7581. /// </summary>
  7582. SCF_HANDLESTATUS_TREATED = 1,
  7583. /// <summary>
  7584. /// 已处理
  7585. /// </summary>
  7586. SCF_HANDLESTATUS_ALREADY_PROCESSED = 2,
  7587. /// <summary>
  7588. /// 处理失败
  7589. /// </summary>
  7590. SCF_HANDLESTATUS_FAILURE = 3
  7591. }
  7592. /// <summary>
  7593. // 供应链金融结息状态
  7594. /// </summary>
  7595. public enum eSCFCloseInterestStatus
  7596. {
  7597. /// <summary>
  7598. /// 未结
  7599. /// </summary>
  7600. SCF_CLOSEINTERESTSTATUS_NOT = 1,
  7601. /// <summary>
  7602. /// 已结
  7603. /// </summary>
  7604. SCF_CLOSEINTERESTSTATUS_ALREADY = 2
  7605. }
  7606. /// <summary>
  7607. // 供应链金融违约状态
  7608. /// </summary>
  7609. public enum eSCFBreachStatus
  7610. {
  7611. /// <summary>
  7612. /// 未完成
  7613. /// </summary>
  7614. SCF_BREACHSTATUS_NOT = 1,
  7615. /// <summary>
  7616. /// 已完成
  7617. /// </summary>
  7618. SCF_BREACHSTATUS_ALREADY = 2
  7619. }
  7620. /// <summary>
  7621. // 供应链金融流水类型
  7622. /// </summary>
  7623. public enum eSCFSCFContractLogType
  7624. {
  7625. /// <summary>
  7626. /// 合同录入
  7627. /// </summary>
  7628. SCF_SCFCONTRACTLOGTYPE_CONTRACTINPUT = 1,
  7629. /// <summary>
  7630. /// 合同确认
  7631. /// </summary>
  7632. SCF_SCFCONTRACTLOGTYPE_CONFIRM = 2,
  7633. /// <summary>
  7634. /// 合同激活
  7635. /// </summary>
  7636. SCF_SCFCONTRACTLOGTYPE_ACTIVE = 3,
  7637. /// <summary>
  7638. /// 仓单回购
  7639. /// </summary>
  7640. SCF_SCFCONTRACTLOGTYPE_REPURCHASE = 4,
  7641. /// <summary>
  7642. /// 手动支付欠款
  7643. /// </summary>
  7644. SCF_SCFCONTRACTLOGTYPE_MANUAL_PAYMENTARREARS = 5,
  7645. /// <summary>
  7646. /// 自动结息
  7647. /// </summary>
  7648. SCF_SCFCONTRACTLOGTYPE_AUTO_INTERESTSETTLE = 6,
  7649. /// <summary>
  7650. /// 自动追缴保证金
  7651. /// </summary>
  7652. SCF_SCFCONTRACTLOGTYPE_AUTO_RECOVERRISKRATE = 7,
  7653. /// <summary>
  7654. /// 自动到期
  7655. /// </summary>
  7656. SCF_SCFCONTRACTLOGTYPE_AUTO_EXPIRE = 8,
  7657. /// <summary>
  7658. /// 违约处理
  7659. /// </summary>
  7660. SCF_SCFCONTRACTLOGTYPE_BREACH = 9,
  7661. /// <summary>
  7662. /// 手动关闭
  7663. /// </summary>
  7664. SCF_SCFCONTRACTLOGTYPE_MANUAL_CLOSE = 10,
  7665. /// <summary>
  7666. /// 手动结算
  7667. /// </summary>
  7668. SCF_SCFCONTRACTLOGTYPE_MANUAL_SETTLE = 11
  7669. }
  7670. /// <summary>
  7671. // 仓单持仓转换类型
  7672. /// </summary>
  7673. public enum eWRHolderTranslateType
  7674. {
  7675. /// <summary>
  7676. /// 仓单转持仓
  7677. /// </summary>
  7678. WRHOLDER_TRANSLATETYPE_WRTOHOLDER = 1,
  7679. /// <summary>
  7680. /// 持仓转仓单
  7681. /// </summary>
  7682. WRHOLDER_TRANSLATETYPE_HOLDERTOWR = 2
  7683. }
  7684. /// <summary>
  7685. // 仓单持仓转换解冻标志
  7686. /// </summary>
  7687. public enum eWRHolderTranslateUnfreezeFlag
  7688. {
  7689. /// <summary>
  7690. /// 需解冻
  7691. /// </summary>
  7692. WRHOLDER_TRANSLATE_UNFREEZEFLAG_TRUE = 1,
  7693. /// <summary>
  7694. /// 不解冻
  7695. /// </summary>
  7696. WRHOLDER_TRANSLATE_UNFREEZEFLAG_FALSE = 2
  7697. }
  7698. /// <summary>
  7699. // 提货状态对应表TakeDeliveryRequest
  7700. /// </summary>
  7701. public enum eLadingStatus
  7702. {
  7703. /// <summary>
  7704. /// 待审核
  7705. /// </summary>
  7706. LADING_PENDING = 1,
  7707. /// <summary>
  7708. /// 审核通过
  7709. /// </summary>
  7710. LADING_PASS = 2,
  7711. /// <summary>
  7712. /// 审核拒绝
  7713. /// </summary>
  7714. LADING_REFUSE = 3,
  7715. /// <summary>
  7716. /// 已撤消
  7717. /// </summary>
  7718. LADING_CANCEL = 4,
  7719. /// <summary>
  7720. /// 失败
  7721. /// </summary>
  7722. LADING_FAILED = 5,
  7723. /// <summary>
  7724. /// 提货完成
  7725. /// </summary>
  7726. LADING_OK = 6
  7727. }
  7728. /// <summary>
  7729. // 通道交易消息ID
  7730. /// </summary>
  7731. public enum eMessageID
  7732. {
  7733. /// <summary>
  7734. /// 登录请求
  7735. /// </summary>
  7736. MID_LOGINREQ = 1,
  7737. /// <summary>
  7738. /// 登录响应
  7739. /// </summary>
  7740. MID_LOGINRSP = 2,
  7741. /// <summary>
  7742. /// 登出请求
  7743. /// </summary>
  7744. MID_LOGOUTREQ = 3,
  7745. /// <summary>
  7746. /// 登出响应
  7747. /// </summary>
  7748. MID_LOGOUTRSP = 4,
  7749. /// <summary>
  7750. /// 查询资金信息请求
  7751. /// </summary>
  7752. MID_QUERYACCOUNTMONEYREQ = 1001,
  7753. /// <summary>
  7754. /// 查询资金信息应答
  7755. /// </summary>
  7756. MID_QUERYACCOUNTMONEYRSP = 1002,
  7757. /// <summary>
  7758. /// 查询持仓汇总请求
  7759. /// </summary>
  7760. MID_QUERYPOSITIONREQ = 1003,
  7761. /// <summary>
  7762. /// 查询持仓汇总应答
  7763. /// </summary>
  7764. MID_QUERYPOSITIONRSP = 1004,
  7765. /// <summary>
  7766. /// 查询持仓明细请求
  7767. /// </summary>
  7768. MID_QUERYPOSITIONDETAILREQ = 1005,
  7769. /// <summary>
  7770. /// 查询持仓明细应答
  7771. /// </summary>
  7772. MID_QUERYPOSITIONDETAILRSP = 1006,
  7773. /// <summary>
  7774. /// 查询报单请求
  7775. /// </summary>
  7776. MID_QUERYORDERREQ = 1007,
  7777. /// <summary>
  7778. /// 查询报单应答
  7779. /// </summary>
  7780. MID_QUERYORDERRSP = 1008,
  7781. /// <summary>
  7782. /// 查询成交请求
  7783. /// </summary>
  7784. MID_QUERYTRADEREQ = 1009,
  7785. /// <summary>
  7786. /// 查询成交应答
  7787. /// </summary>
  7788. MID_QUERYTRADERSP = 1010,
  7789. /// <summary>
  7790. /// 查询合约请求
  7791. /// </summary>
  7792. MID_QUERYINSTRUMENTREQ = 1011,
  7793. /// <summary>
  7794. /// 查询合约应答
  7795. /// </summary>
  7796. MID_QUERYINSTRUMENTRSP = 1012,
  7797. /// <summary>
  7798. /// 报单录入请求
  7799. /// </summary>
  7800. MID_INPUTORDERREQ = 2001,
  7801. /// <summary>
  7802. /// 报单录入应答
  7803. /// </summary>
  7804. MID_INPUTORDERRSP = 2002,
  7805. /// <summary>
  7806. /// 报单修改请求
  7807. /// </summary>
  7808. MID_ORDERACTIONREQ = 2003,
  7809. /// <summary>
  7810. /// 报单修改应答
  7811. /// </summary>
  7812. MID_ORDERACTIONRSP = 2004,
  7813. /// <summary>
  7814. /// 报单通知
  7815. /// </summary>
  7816. MID_NOTICEORDER = 3001,
  7817. /// <summary>
  7818. /// 成交通知
  7819. /// </summary>
  7820. MID_NOTICETRADE = 3002,
  7821. /// <summary>
  7822. /// 实时行情订阅请求
  7823. /// </summary>
  7824. MID_QUTATIONSUBSCRIBEREQ = 4001,
  7825. /// <summary>
  7826. /// 实时行情订阅应答
  7827. /// </summary>
  7828. MID_QUTATIONSUBSCRIBERSP = 4002,
  7829. /// <summary>
  7830. /// 实时行情推送
  7831. /// </summary>
  7832. MID_NOTICEQUTATION = 4003
  7833. }
  7834. /// <summary>
  7835. // 交易通道编号
  7836. /// </summary>
  7837. public enum eChannelIDType
  7838. {
  7839. /// <summary>
  7840. /// 综合交易平台
  7841. /// </summary>
  7842. CID_CTP = 1,
  7843. /// <summary>
  7844. /// 安粮期货
  7845. /// </summary>
  7846. CID_ATP = 2,
  7847. /// <summary>
  7848. /// 盈透
  7849. /// </summary>
  7850. CID_IB = 3
  7851. }
  7852. /// <summary>
  7853. // 持仓多空方向
  7854. /// </summary>
  7855. public enum ePositionDirection
  7856. {
  7857. /// <summary>
  7858. /// 净
  7859. /// </summary>
  7860. PD_NET = 1,
  7861. /// <summary>
  7862. /// 多头
  7863. /// </summary>
  7864. PD_LONG = 2,
  7865. /// <summary>
  7866. /// 空头
  7867. /// </summary>
  7868. PD_SHORT = 3
  7869. }
  7870. /// <summary>
  7871. // 建平仓标志
  7872. /// </summary>
  7873. public enum eOffsetFlag
  7874. {
  7875. /// <summary>
  7876. /// 建仓
  7877. /// </summary>
  7878. OF_OPEN = 0,
  7879. /// <summary>
  7880. /// 平仓
  7881. /// </summary>
  7882. OF_CLOSE = 1,
  7883. /// <summary>
  7884. /// 强平
  7885. /// </summary>
  7886. OF_FORCECLOSE = 2,
  7887. /// <summary>
  7888. /// 平今
  7889. /// </summary>
  7890. OF_CLOSETODAY = 3,
  7891. /// <summary>
  7892. /// 平昨
  7893. /// </summary>
  7894. OF_CLOSEYESTERDAY = 4
  7895. }
  7896. /// <summary>
  7897. // 委托价格类型
  7898. /// </summary>
  7899. public enum eOrderPriceType
  7900. {
  7901. /// <summary>
  7902. /// 任意价
  7903. /// </summary>
  7904. OPT_ANYPRICE = 1,
  7905. /// <summary>
  7906. /// 限价
  7907. /// </summary>
  7908. OPT_LIMITPRICE = 2,
  7909. /// <summary>
  7910. /// 最优价
  7911. /// </summary>
  7912. OPT_BESTPRICE = 3,
  7913. /// <summary>
  7914. /// 最新价
  7915. /// </summary>
  7916. OPT_LASTPRICE = 4
  7917. }
  7918. /// <summary>
  7919. // 有效期类型
  7920. /// </summary>
  7921. public enum eTimeConditionType
  7922. {
  7923. /// <summary>
  7924. /// 立即完成,否则撤销
  7925. /// </summary>
  7926. TC_IOC = 1,
  7927. /// <summary>
  7928. /// 本节有效
  7929. /// </summary>
  7930. TC_GFS = 2,
  7931. /// <summary>
  7932. /// 当日有效
  7933. /// </summary>
  7934. TC_GFD = 3,
  7935. /// <summary>
  7936. /// 指定日期前有效
  7937. /// </summary>
  7938. TC_GTD = 4,
  7939. /// <summary>
  7940. /// 撤销前有效
  7941. /// </summary>
  7942. TC_GTC = 5,
  7943. /// <summary>
  7944. /// 集合竞价有效
  7945. /// </summary>
  7946. TC_GFA = 6
  7947. }
  7948. /// <summary>
  7949. // 报单提交状态
  7950. /// </summary>
  7951. public enum eOrderSubmitStatusType
  7952. {
  7953. /// <summary>
  7954. /// 已经提交
  7955. /// </summary>
  7956. OSS_INSERTSUBMITTED = 0,
  7957. /// <summary>
  7958. /// 撤单已经提交
  7959. /// </summary>
  7960. OSS_CANCELSUBMITTED = 1,
  7961. /// <summary>
  7962. /// 修改已经提交
  7963. /// </summary>
  7964. OSS_MODIFYSUBMITTED = 2,
  7965. /// <summary>
  7966. /// 已经接受
  7967. /// </summary>
  7968. OSS_ACCEPTED = 3,
  7969. /// <summary>
  7970. /// 报单已经被拒绝
  7971. /// </summary>
  7972. OSS_INSERTREJECTED = 4,
  7973. /// <summary>
  7974. /// 撤单已经被拒绝
  7975. /// </summary>
  7976. OSS_CANCELREJECTED = 5,
  7977. /// <summary>
  7978. /// 改单已经被拒绝
  7979. /// </summary>
  7980. OSS_MODIFYREJECTED = 6
  7981. }
  7982. /// <summary>
  7983. // 报单状态类型
  7984. /// </summary>
  7985. public enum eOrderStatusType
  7986. {
  7987. /// <summary>
  7988. /// 全部成交
  7989. /// </summary>
  7990. OST_ALLTRADED = 0,
  7991. /// <summary>
  7992. /// 部分成交还在队列中
  7993. /// </summary>
  7994. OST_PARTTRADEDQUEUEING = 1,
  7995. /// <summary>
  7996. /// 部分成交不在队列中
  7997. /// </summary>
  7998. OST_PARTTRADEDNOTQUEUEING = 2,
  7999. /// <summary>
  8000. /// 未成交还在队列中
  8001. /// </summary>
  8002. OST_NOTRADEQUEUEING = 3,
  8003. /// <summary>
  8004. /// 未成交不在队列中
  8005. /// </summary>
  8006. OST_NOTRADENOTQUEUEING = 4,
  8007. /// <summary>
  8008. /// 撤单
  8009. /// </summary>
  8010. OST_CANCELED = 5,
  8011. /// <summary>
  8012. /// 未知
  8013. /// </summary>
  8014. OST_UNKNOWN = 6,
  8015. /// <summary>
  8016. /// 尚未触发
  8017. /// </summary>
  8018. OST_NOTTOUCHED = 7,
  8019. /// <summary>
  8020. /// 已触发
  8021. /// </summary>
  8022. OST_TOUCHED = 8,
  8023. /// <summary>
  8024. /// 已撤单报单被拒绝
  8025. /// </summary>
  8026. OST_INSERTREJECTED = 9
  8027. }
  8028. /// <summary>
  8029. // 报单状态类型
  8030. /// </summary>
  8031. public enum eMhpOrderStatusType
  8032. {
  8033. /// <summary>
  8034. /// 接口平台拒绝
  8035. /// </summary>
  8036. MOST_MHPREJECTED = 1,
  8037. /// <summary>
  8038. /// 接口平台已接收(未报送至对应渠道)
  8039. /// </summary>
  8040. MOST_MHPRECEIVED = 2,
  8041. /// <summary>
  8042. /// 待确认(已报送至对应渠道)
  8043. /// </summary>
  8044. MOST_TOBECONFIRMED = 3,
  8045. /// <summary>
  8046. /// 渠道前置拒绝
  8047. /// </summary>
  8048. MOST_CHANNELFRONTREJECTED = 4,
  8049. /// <summary>
  8050. /// 渠道核心拒绝
  8051. /// </summary>
  8052. MOST_CHANNELCOREREJECTED = 5,
  8053. /// <summary>
  8054. /// 未成交(对应渠道已经返回结果)
  8055. /// </summary>
  8056. MOST_NOTRADEQUEUEING = 6,
  8057. /// <summary>
  8058. /// 已撤
  8059. /// </summary>
  8060. MOST_CANCELED = 7,
  8061. /// <summary>
  8062. /// 部分成交还在队列(部成)
  8063. /// </summary>
  8064. MOST_PARTTRADEDQUEUEING = 8,
  8065. /// <summary>
  8066. /// 部分成交不在队列(部撤)
  8067. /// </summary>
  8068. MOST_PARTTRADEDNOTQUEUEING = 9,
  8069. /// <summary>
  8070. /// 全部成交
  8071. /// </summary>
  8072. MOST_ALLTRADED = 10
  8073. }
  8074. /// <summary>
  8075. // 价格源类型
  8076. /// </summary>
  8077. public enum ePriceSourceType
  8078. {
  8079. /// <summary>
  8080. /// 前成交价
  8081. /// </summary>
  8082. PSRC_LASTPRICE = 0,
  8083. /// <summary>
  8084. /// 买委托价
  8085. /// </summary>
  8086. PSRC_BUY = 1,
  8087. /// <summary>
  8088. /// 卖委托价
  8089. /// </summary>
  8090. PSRC_SELL = 2
  8091. }
  8092. /// <summary>
  8093. // 投机套保标志
  8094. /// </summary>
  8095. public enum eHedgeFlagType
  8096. {
  8097. /// <summary>
  8098. /// 投机
  8099. /// </summary>
  8100. HF_SPECULATION = 1,
  8101. /// <summary>
  8102. /// 套利
  8103. /// </summary>
  8104. HF_ARBITRAGE = 2,
  8105. /// <summary>
  8106. /// 套保
  8107. /// </summary>
  8108. HF_HEDGE = 3,
  8109. /// <summary>
  8110. /// 做市商
  8111. /// </summary>
  8112. HF_MARKETMAKER = 5
  8113. }
  8114. /// <summary>
  8115. // 持仓日期类型
  8116. /// </summary>
  8117. public enum ePositionDateType
  8118. {
  8119. /// <summary>
  8120. /// 今日持仓
  8121. /// </summary>
  8122. PSD_TODAY = 1,
  8123. /// <summary>
  8124. /// 历史持仓
  8125. /// </summary>
  8126. PSD_HISTORY = 2
  8127. }
  8128. /// <summary>
  8129. // 撤单的操作类型
  8130. /// </summary>
  8131. public enum eWROrderCancelOpType
  8132. {
  8133. /// <summary>
  8134. /// 委托撤单
  8135. /// </summary>
  8136. WRORDERCANCELOPTYPE_ORDER = 1
  8137. }
  8138. /// <summary>
  8139. // 仓单贸易类型
  8140. /// </summary>
  8141. public enum eWRTradeOrderType
  8142. {
  8143. /// <summary>
  8144. /// 挂牌
  8145. /// </summary>
  8146. WRTRADEORDERTYPE_LISTING = 1,
  8147. /// <summary>
  8148. /// 摘牌
  8149. /// </summary>
  8150. WRTRADEORDERTYPE_DELISTING = 2
  8151. }
  8152. /// <summary>
  8153. // 仓单贸易价格方式
  8154. /// </summary>
  8155. public enum eWRTradePriceType
  8156. {
  8157. /// <summary>
  8158. /// 固定价
  8159. /// </summary>
  8160. WRTRADEPRICETYPE_FIXED_PRICE = 1,
  8161. /// <summary>
  8162. /// 浮动价
  8163. /// </summary>
  8164. WRTRADEPRICETYPE_FLOAT_PRICE = 2
  8165. }
  8166. /// <summary>
  8167. // 仓单贸易委托状态
  8168. /// </summary>
  8169. public enum eWRTradeOrderStatus
  8170. {
  8171. /// <summary>
  8172. /// 委托请求
  8173. /// </summary>
  8174. WRTRADEORDERSTATUS_REQUEST = 1,
  8175. /// <summary>
  8176. /// 待冻结
  8177. /// </summary>
  8178. WRTRADEORDERSTATUS_WAITFREEZE = 2,
  8179. /// <summary>
  8180. /// 委托成功
  8181. /// </summary>
  8182. WRTRADEORDERSTATUS_SUCCEED = 3,
  8183. /// <summary>
  8184. /// 委托失败
  8185. /// </summary>
  8186. WRTRADEORDERSTATUS_FAILED = 4,
  8187. /// <summary>
  8188. /// 配对成功
  8189. /// </summary>
  8190. WRTRADEORDERSTATUS_MATCHED = 5,
  8191. /// <summary>
  8192. /// 已撤
  8193. /// </summary>
  8194. WRTRADEORDERSTATUS_CANCELED = 6,
  8195. /// <summary>
  8196. /// 已成
  8197. /// </summary>
  8198. WRTRADEORDERSTATUS_DEALED = 7,
  8199. /// <summary>
  8200. /// 成交失败
  8201. /// </summary>
  8202. WRTRADEORDERSTATUS_DEALFAILED = 8,
  8203. /// <summary>
  8204. /// 委托拒绝
  8205. /// </summary>
  8206. WRTRADEORDERSTATUS_DENIED = 9,
  8207. /// <summary>
  8208. /// 挂牌部分成交
  8209. /// </summary>
  8210. WRTRADEORDERSTATUS_LISTING_PARTTRADE = 10,
  8211. /// <summary>
  8212. /// 仓单生成失败
  8213. /// </summary>
  8214. WRTRADEORDERSTATUS_WR_FAILED = 11,
  8215. /// <summary>
  8216. /// 首付扣款失败
  8217. /// </summary>
  8218. WRTRADEORDERSTATUS_FIRSTPAYMENT_DEDUCT_FAILED = 12,
  8219. /// <summary>
  8220. /// 履约失败
  8221. /// </summary>
  8222. WRTRADEORDERSTATUS_PERFORMANCE_FAILED = 13,
  8223. /// <summary>
  8224. /// 撤单解冻贷款失败
  8225. /// </summary>
  8226. WRTRADEORDERSTATUS_CANCELE_UNFREZZE_FAILED = 14
  8227. }
  8228. /// <summary>
  8229. // 消息账户记录类型
  8230. /// </summary>
  8231. public enum eRecordType
  8232. {
  8233. /// <summary>
  8234. /// 资金
  8235. /// </summary>
  8236. MSG_ACCOUNT_REC_TYPE_AMOUNT = 1,
  8237. /// <summary>
  8238. /// 头寸
  8239. /// </summary>
  8240. MSG_ACCOUNT_REC_TYPE_POSTION = 2
  8241. }
  8242. #endregion