123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865 |
-
- using System;
- using System.Collections.Generic;
- using SCADA.CommonLib;
- using SCADA.CommonLib.Data;
- using SCADA.CommonLib.Data.DIL;
- using SCADA.CommonLib.Data.DIL.Sqlite;
- namespace LocalDB
- {
- namespace DBSchema
- {
- public class SP
- {
-
- }
-
- }
- namespace DBNames
- {
- public static class T_Col_Name
- {
- /// <summary>
- /// sqlite_sequence
- /// </summary>
- public class sqlite_sequence
- {
- /// <summary>
- ///
- /// </summary>
- public const string @name=nameof(@name);
- /// <summary>
- ///
- /// </summary>
- public const string @seq=nameof(@seq);
-
- }
- /// <summary>
- /// Sys_User_Session
- /// </summary>
- public class Sys_User_Session
- {
- /// <summary>
- ///
- /// </summary>
- public const string @ID=nameof(@ID);
- /// <summary>
- ///
- /// </summary>
- public const string @OrgID_Int=nameof(@OrgID_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @AppName_Str=nameof(@AppName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @VersionNumber_Str=nameof(@VersionNumber_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @SessionID_Str=nameof(@SessionID_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @UserID_Str=nameof(@UserID_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @HostName_Str=nameof(@HostName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @MacAddr_Str=nameof(@MacAddr_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @IpAddr_Str=nameof(@IpAddr_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @StartTime_Dt=nameof(@StartTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @LastOnLineTime_Dt=nameof(@LastOnLineTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateUser_Str=nameof(@CreateUser_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @Remark_Str=nameof(@Remark_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @IsEnable=nameof(@IsEnable);
- /// <summary>
- ///
- /// </summary>
- public const string @IsPhantom_Bit=nameof(@IsPhantom_Bit);
- /// <summary>
- ///
- /// </summary>
- public const string @IsSync_bit=nameof(@IsSync_bit);
-
- }
- /// <summary>
- /// SysApp_DayStatistics
- /// </summary>
- public class SysApp_DayStatistics
- {
- /// <summary>
- ///
- /// </summary>
- public const string @ID=nameof(@ID);
- /// <summary>
- ///
- /// </summary>
- public const string @OrgID_Int=nameof(@OrgID_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @SubINV_Int=nameof(@SubINV_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @Day_Str=nameof(@Day_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @DayStartTime_Dt=nameof(@DayStartTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @Source_Str=nameof(@Source_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @DayEndTime_Dt=nameof(@DayEndTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @AppName_Str=nameof(@AppName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @GroupName_Str=nameof(@GroupName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @Value_Dec=nameof(@Value_Dec);
- /// <summary>
- ///
- /// </summary>
- public const string @Remark_Str=nameof(@Remark_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateUser_Str=nameof(@CreateUser_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @IsSync_bit=nameof(@IsSync_bit);
-
- }
- /// <summary>
- /// SysApp_MonthStatistics
- /// </summary>
- public class SysApp_MonthStatistics
- {
- /// <summary>
- ///
- /// </summary>
- public const string @ID=nameof(@ID);
- /// <summary>
- ///
- /// </summary>
- public const string @OrgID_Int=nameof(@OrgID_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @SubINV_Int=nameof(@SubINV_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @Month_Str=nameof(@Month_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @MonthStartTime_Dt=nameof(@MonthStartTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @MonthEndTime_Dt=nameof(@MonthEndTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @Source_Str=nameof(@Source_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @AppName_Str=nameof(@AppName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @GroupName_Str=nameof(@GroupName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @Value_Dec=nameof(@Value_Dec);
- /// <summary>
- ///
- /// </summary>
- public const string @Remark_Str=nameof(@Remark_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateUser_Str=nameof(@CreateUser_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @IsSync_bit=nameof(@IsSync_bit);
-
- }
- /// <summary>
- /// SysApp_YearStatistics
- /// </summary>
- public class SysApp_YearStatistics
- {
- /// <summary>
- ///
- /// </summary>
- public const string @ID=nameof(@ID);
- /// <summary>
- ///
- /// </summary>
- public const string @OrgID_Int=nameof(@OrgID_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @SubINV_Int=nameof(@SubINV_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @Year_Str=nameof(@Year_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @YearStartTime_Dt=nameof(@YearStartTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @YearEndTime_Dt=nameof(@YearEndTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @Source_Str=nameof(@Source_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @AppName_Str=nameof(@AppName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @GroupName_Str=nameof(@GroupName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @Value_Dec=nameof(@Value_Dec);
- /// <summary>
- ///
- /// </summary>
- public const string @Remark_Str=nameof(@Remark_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateUser_Str=nameof(@CreateUser_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @IsSync_bit=nameof(@IsSync_bit);
-
- }
- /// <summary>
- /// Sys_Table_Comment
- /// </summary>
- public class Sys_Table_Comment
- {
- /// <summary>
- ///
- /// </summary>
- public const string @ID=nameof(@ID);
- /// <summary>
- ///
- /// </summary>
- public const string @Type_Str=nameof(@Type_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @Group_Str=nameof(@Group_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @TableName_Str=nameof(@TableName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @Comment_Str=nameof(@Comment_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
-
- }
- /// <summary>
- /// sqlite_stat1
- /// </summary>
- public class sqlite_stat1
- {
- /// <summary>
- ///
- /// </summary>
- public const string @tbl=nameof(@tbl);
- /// <summary>
- ///
- /// </summary>
- public const string @idx=nameof(@idx);
- /// <summary>
- ///
- /// </summary>
- public const string @stat=nameof(@stat);
-
- }
- /// <summary>
- /// App_Common_ProductLog
- /// </summary>
- public class App_Common_ProductLog
- {
- /// <summary>
- ///
- /// </summary>
- public const string @ID=nameof(@ID);
- /// <summary>
- ///
- /// </summary>
- public const string @OrgID_Int=nameof(@OrgID_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @SubINV_Int=nameof(@SubINV_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @Line_Str=nameof(@Line_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @DeviceID_Str=nameof(@DeviceID_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @BarCode_Str=nameof(@BarCode_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @ProductModel_Str=nameof(@ProductModel_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @TestResult_Int=nameof(@TestResult_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @NGDesc_Str=nameof(@NGDesc_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @Index_int=nameof(@Index_int);
- /// <summary>
- ///
- /// </summary>
- public const string @LotQty_int=nameof(@LotQty_int);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateUser_Str=nameof(@CreateUser_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @Remark_Str=nameof(@Remark_Str);
-
- }
- /// <summary>
- /// Sys_JobSchedulerExcuteLog
- /// </summary>
- public class Sys_JobSchedulerExcuteLog
- {
- /// <summary>
- ///
- /// </summary>
- public const string @ID=nameof(@ID);
- /// <summary>
- ///
- /// </summary>
- public const string @JobId_Int=nameof(@JobId_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @JobType_Str=nameof(@JobType_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @ElapsedTime_Dec=nameof(@ElapsedTime_Dec);
- /// <summary>
- ///
- /// </summary>
- public const string @ExcuteStartTime_Dt=nameof(@ExcuteStartTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @ExcuteFinishTime_Dt=nameof(@ExcuteFinishTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @NextExcuteTime_Dt=nameof(@NextExcuteTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @ExcuteResult_Bit=nameof(@ExcuteResult_Bit);
- /// <summary>
- ///
- /// </summary>
- public const string @Message_Str=nameof(@Message_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateUser_Str=nameof(@CreateUser_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateDate_Dt=nameof(@CreateDate_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @IsSync_Bit=nameof(@IsSync_Bit);
-
- }
- /// <summary>
- /// Sys_JobScheduler
- /// </summary>
- public class Sys_JobScheduler
- {
- /// <summary>
- ///
- /// </summary>
- public const string @ID=nameof(@ID);
- /// <summary>
- ///
- /// </summary>
- public const string @JobName_Str=nameof(@JobName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @JobState_Str=nameof(@JobState_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @JobType_Str=nameof(@JobType_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @ExcutePolicy_Str=nameof(@ExcutePolicy_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @JobParameter_Str=nameof(@JobParameter_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @LastExcuteTime_Dt=nameof(@LastExcuteTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @NextExcuteTime_Dt=nameof(@NextExcuteTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @JobDescribe_Str=nameof(@JobDescribe_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @JobMessage_Str=nameof(@JobMessage_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @TriggerWhenStart_bit=nameof(@TriggerWhenStart_bit);
- /// <summary>
- ///
- /// </summary>
- public const string @IsEnable_Bit=nameof(@IsEnable_Bit);
- /// <summary>
- ///
- /// </summary>
- public const string @NeedRestart_Bit=nameof(@NeedRestart_Bit);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateUser_Str=nameof(@CreateUser_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateDate_Dt=nameof(@CreateDate_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @IsSync_Bit=nameof(@IsSync_Bit);
-
- }
- /// <summary>
- /// Sys_Service
- /// </summary>
- public class Sys_Service
- {
- /// <summary>
- ///
- /// </summary>
- public const string @ID=nameof(@ID);
- /// <summary>
- ///
- /// </summary>
- public const string @ServiceName_Str=nameof(@ServiceName_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @ServiceState_Str=nameof(@ServiceState_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @ServiceType_Str=nameof(@ServiceType_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @StartTime_Dt=nameof(@StartTime_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @StartSquence_Int=nameof(@StartSquence_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @StartDelay_Int=nameof(@StartDelay_Int);
- /// <summary>
- ///
- /// </summary>
- public const string @ServiceDescribe_Str=nameof(@ServiceDescribe_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @ServiceMessage_Str=nameof(@ServiceMessage_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @ServiceConfig_Str=nameof(@ServiceConfig_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @IsEnable_Bit=nameof(@IsEnable_Bit);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateUser_Str=nameof(@CreateUser_Str);
- /// <summary>
- ///
- /// </summary>
- public const string @CreateDate_Dt=nameof(@CreateDate_Dt);
- /// <summary>
- ///
- /// </summary>
- public const string @IsSync_Bit=nameof(@IsSync_Bit);
-
- }
-
- }
-
- public static class V_Col_Name
- {
-
- }
-
- public static class SP_Paramters
- {
-
- }
-
- }
- namespace DBModel
- {
-
- /// <summary>
- ///
- /// </summary>
- public class sqlite_sequence:ObservableObject
- {
- private System.Object _name;
- /// <summary>
- ///
- /// </summary>
- public System.Object name
- {
- get {return _name;}
- set{
- if(value!=(_name))
- {
- _name=value;
- OnPropertyChanged(nameof( name));
- }
- }
- }
- private System.Object _seq;
- /// <summary>
- ///
- /// </summary>
- public System.Object seq
- {
- get {return _seq;}
- set{
- if(value!=(_seq))
- {
- _seq=value;
- OnPropertyChanged(nameof( seq));
- }
- }
- }
-
- }
- /// <summary>
- ///
- /// </summary>
- public class Sys_User_Session:ObservableObject
- {
- private System.Int64 _ID;
- /// <summary>
- ///
- /// </summary>
- public System.Int64 ID
- {
- get {return _ID;}
- set{
- if(value!=(_ID))
- {
- _ID=value;
- OnPropertyChanged(nameof( ID));
- }
- }
- }
- private System.Int32 _OrgID_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 OrgID_Int
- {
- get {return _OrgID_Int;}
- set{
- if(value!=(_OrgID_Int))
- {
- _OrgID_Int=value;
- OnPropertyChanged(nameof( OrgID_Int));
- }
- }
- }
- private System.String _AppName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String AppName_Str
- {
- get {return _AppName_Str;}
- set{
- if(value!=(_AppName_Str))
- {
- _AppName_Str=value;
- OnPropertyChanged(nameof( AppName_Str));
- }
- }
- }
- private System.String _VersionNumber_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String VersionNumber_Str
- {
- get {return _VersionNumber_Str;}
- set{
- if(value!=(_VersionNumber_Str))
- {
- _VersionNumber_Str=value;
- OnPropertyChanged(nameof( VersionNumber_Str));
- }
- }
- }
- private System.String _SessionID_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String SessionID_Str
- {
- get {return _SessionID_Str;}
- set{
- if(value!=(_SessionID_Str))
- {
- _SessionID_Str=value;
- OnPropertyChanged(nameof( SessionID_Str));
- }
- }
- }
- private System.String _UserID_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String UserID_Str
- {
- get {return _UserID_Str;}
- set{
- if(value!=(_UserID_Str))
- {
- _UserID_Str=value;
- OnPropertyChanged(nameof( UserID_Str));
- }
- }
- }
- private System.String _HostName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String HostName_Str
- {
- get {return _HostName_Str;}
- set{
- if(value!=(_HostName_Str))
- {
- _HostName_Str=value;
- OnPropertyChanged(nameof( HostName_Str));
- }
- }
- }
- private System.String _MacAddr_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String MacAddr_Str
- {
- get {return _MacAddr_Str;}
- set{
- if(value!=(_MacAddr_Str))
- {
- _MacAddr_Str=value;
- OnPropertyChanged(nameof( MacAddr_Str));
- }
- }
- }
- private System.String _IpAddr_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String IpAddr_Str
- {
- get {return _IpAddr_Str;}
- set{
- if(value!=(_IpAddr_Str))
- {
- _IpAddr_Str=value;
- OnPropertyChanged(nameof( IpAddr_Str));
- }
- }
- }
- private System.DateTime _StartTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime StartTime_Dt
- {
- get {return _StartTime_Dt;}
- set{
- if(value!=(_StartTime_Dt))
- {
- _StartTime_Dt=value;
- OnPropertyChanged(nameof( StartTime_Dt));
- }
- }
- }
- private System.DateTime _LastOnLineTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime LastOnLineTime_Dt
- {
- get {return _LastOnLineTime_Dt;}
- set{
- if(value!=(_LastOnLineTime_Dt))
- {
- _LastOnLineTime_Dt=value;
- OnPropertyChanged(nameof( LastOnLineTime_Dt));
- }
- }
- }
- private System.DateTime _ModifyTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime ModifyTime_Dt
- {
- get {return _ModifyTime_Dt;}
- set{
- if(value!=(_ModifyTime_Dt))
- {
- _ModifyTime_Dt=value;
- OnPropertyChanged(nameof( ModifyTime_Dt));
- }
- }
- }
- private System.String _ModifyUser_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String ModifyUser_Str
- {
- get {return _ModifyUser_Str;}
- set{
- if(value!=(_ModifyUser_Str))
- {
- _ModifyUser_Str=value;
- OnPropertyChanged(nameof( ModifyUser_Str));
- }
- }
- }
- private System.DateTime _CreateTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime CreateTime_Dt
- {
- get {return _CreateTime_Dt;}
- set{
- if(value!=(_CreateTime_Dt))
- {
- _CreateTime_Dt=value;
- OnPropertyChanged(nameof( CreateTime_Dt));
- }
- }
- }
- private System.String _CreateUser_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String CreateUser_Str
- {
- get {return _CreateUser_Str;}
- set{
- if(value!=(_CreateUser_Str))
- {
- _CreateUser_Str=value;
- OnPropertyChanged(nameof( CreateUser_Str));
- }
- }
- }
- private System.String _Remark_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Remark_Str
- {
- get {return _Remark_Str;}
- set{
- if(value!=(_Remark_Str))
- {
- _Remark_Str=value;
- OnPropertyChanged(nameof( Remark_Str));
- }
- }
- }
- private System.Boolean _IsEnable;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsEnable
- {
- get {return _IsEnable;}
- set{
- if(value!=(_IsEnable))
- {
- _IsEnable=value;
- OnPropertyChanged(nameof( IsEnable));
- }
- }
- }
- private System.Boolean _IsPhantom_Bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsPhantom_Bit
- {
- get {return _IsPhantom_Bit;}
- set{
- if(value!=(_IsPhantom_Bit))
- {
- _IsPhantom_Bit=value;
- OnPropertyChanged(nameof( IsPhantom_Bit));
- }
- }
- }
- private System.Boolean _IsSync_bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsSync_bit
- {
- get {return _IsSync_bit;}
- set{
- if(value!=(_IsSync_bit))
- {
- _IsSync_bit=value;
- OnPropertyChanged(nameof( IsSync_bit));
- }
- }
- }
-
- }
- /// <summary>
- ///
- /// </summary>
- public class SysApp_DayStatistics:ObservableObject
- {
- private System.Int64 _ID;
- /// <summary>
- ///
- /// </summary>
- public System.Int64 ID
- {
- get {return _ID;}
- set{
- if(value!=(_ID))
- {
- _ID=value;
- OnPropertyChanged(nameof( ID));
- }
- }
- }
- private System.Int32 _OrgID_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 OrgID_Int
- {
- get {return _OrgID_Int;}
- set{
- if(value!=(_OrgID_Int))
- {
- _OrgID_Int=value;
- OnPropertyChanged(nameof( OrgID_Int));
- }
- }
- }
- private System.Int32 _SubINV_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 SubINV_Int
- {
- get {return _SubINV_Int;}
- set{
- if(value!=(_SubINV_Int))
- {
- _SubINV_Int=value;
- OnPropertyChanged(nameof( SubINV_Int));
- }
- }
- }
- private System.String _Day_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Day_Str
- {
- get {return _Day_Str;}
- set{
- if(value!=(_Day_Str))
- {
- _Day_Str=value;
- OnPropertyChanged(nameof( Day_Str));
- }
- }
- }
- private System.DateTime _DayStartTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime DayStartTime_Dt
- {
- get {return _DayStartTime_Dt;}
- set{
- if(value!=(_DayStartTime_Dt))
- {
- _DayStartTime_Dt=value;
- OnPropertyChanged(nameof( DayStartTime_Dt));
- }
- }
- }
- private System.String _Source_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Source_Str
- {
- get {return _Source_Str;}
- set{
- if(value!=(_Source_Str))
- {
- _Source_Str=value;
- OnPropertyChanged(nameof( Source_Str));
- }
- }
- }
- private System.DateTime _DayEndTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime DayEndTime_Dt
- {
- get {return _DayEndTime_Dt;}
- set{
- if(value!=(_DayEndTime_Dt))
- {
- _DayEndTime_Dt=value;
- OnPropertyChanged(nameof( DayEndTime_Dt));
- }
- }
- }
- private System.String _AppName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String AppName_Str
- {
- get {return _AppName_Str;}
- set{
- if(value!=(_AppName_Str))
- {
- _AppName_Str=value;
- OnPropertyChanged(nameof( AppName_Str));
- }
- }
- }
- private System.String _GroupName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String GroupName_Str
- {
- get {return _GroupName_Str;}
- set{
- if(value!=(_GroupName_Str))
- {
- _GroupName_Str=value;
- OnPropertyChanged(nameof( GroupName_Str));
- }
- }
- }
- private System.Decimal _Value_Dec;
- /// <summary>
- ///
- /// </summary>
- public System.Decimal Value_Dec
- {
- get {return _Value_Dec;}
- set{
- if(value!=(_Value_Dec))
- {
- _Value_Dec=value;
- OnPropertyChanged(nameof( Value_Dec));
- }
- }
- }
- private System.String _Remark_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Remark_Str
- {
- get {return _Remark_Str;}
- set{
- if(value!=(_Remark_Str))
- {
- _Remark_Str=value;
- OnPropertyChanged(nameof( Remark_Str));
- }
- }
- }
- private System.DateTime _CreateTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime CreateTime_Dt
- {
- get {return _CreateTime_Dt;}
- set{
- if(value!=(_CreateTime_Dt))
- {
- _CreateTime_Dt=value;
- OnPropertyChanged(nameof( CreateTime_Dt));
- }
- }
- }
- private System.String _CreateUser_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String CreateUser_Str
- {
- get {return _CreateUser_Str;}
- set{
- if(value!=(_CreateUser_Str))
- {
- _CreateUser_Str=value;
- OnPropertyChanged(nameof( CreateUser_Str));
- }
- }
- }
- private System.Boolean _IsSync_bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsSync_bit
- {
- get {return _IsSync_bit;}
- set{
- if(value!=(_IsSync_bit))
- {
- _IsSync_bit=value;
- OnPropertyChanged(nameof( IsSync_bit));
- }
- }
- }
-
- }
- /// <summary>
- ///
- /// </summary>
- public class SysApp_MonthStatistics:ObservableObject
- {
- private System.Int64 _ID;
- /// <summary>
- ///
- /// </summary>
- public System.Int64 ID
- {
- get {return _ID;}
- set{
- if(value!=(_ID))
- {
- _ID=value;
- OnPropertyChanged(nameof( ID));
- }
- }
- }
- private System.Int32 _OrgID_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 OrgID_Int
- {
- get {return _OrgID_Int;}
- set{
- if(value!=(_OrgID_Int))
- {
- _OrgID_Int=value;
- OnPropertyChanged(nameof( OrgID_Int));
- }
- }
- }
- private System.Int32 _SubINV_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 SubINV_Int
- {
- get {return _SubINV_Int;}
- set{
- if(value!=(_SubINV_Int))
- {
- _SubINV_Int=value;
- OnPropertyChanged(nameof( SubINV_Int));
- }
- }
- }
- private System.String _Month_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Month_Str
- {
- get {return _Month_Str;}
- set{
- if(value!=(_Month_Str))
- {
- _Month_Str=value;
- OnPropertyChanged(nameof( Month_Str));
- }
- }
- }
- private System.DateTime _MonthStartTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime MonthStartTime_Dt
- {
- get {return _MonthStartTime_Dt;}
- set{
- if(value!=(_MonthStartTime_Dt))
- {
- _MonthStartTime_Dt=value;
- OnPropertyChanged(nameof( MonthStartTime_Dt));
- }
- }
- }
- private System.DateTime _MonthEndTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime MonthEndTime_Dt
- {
- get {return _MonthEndTime_Dt;}
- set{
- if(value!=(_MonthEndTime_Dt))
- {
- _MonthEndTime_Dt=value;
- OnPropertyChanged(nameof( MonthEndTime_Dt));
- }
- }
- }
- private System.String _Source_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Source_Str
- {
- get {return _Source_Str;}
- set{
- if(value!=(_Source_Str))
- {
- _Source_Str=value;
- OnPropertyChanged(nameof( Source_Str));
- }
- }
- }
- private System.String _AppName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String AppName_Str
- {
- get {return _AppName_Str;}
- set{
- if(value!=(_AppName_Str))
- {
- _AppName_Str=value;
- OnPropertyChanged(nameof( AppName_Str));
- }
- }
- }
- private System.String _GroupName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String GroupName_Str
- {
- get {return _GroupName_Str;}
- set{
- if(value!=(_GroupName_Str))
- {
- _GroupName_Str=value;
- OnPropertyChanged(nameof( GroupName_Str));
- }
- }
- }
- private System.Decimal _Value_Dec;
- /// <summary>
- ///
- /// </summary>
- public System.Decimal Value_Dec
- {
- get {return _Value_Dec;}
- set{
- if(value!=(_Value_Dec))
- {
- _Value_Dec=value;
- OnPropertyChanged(nameof( Value_Dec));
- }
- }
- }
- private System.String _Remark_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Remark_Str
- {
- get {return _Remark_Str;}
- set{
- if(value!=(_Remark_Str))
- {
- _Remark_Str=value;
- OnPropertyChanged(nameof( Remark_Str));
- }
- }
- }
- private System.DateTime _CreateTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime CreateTime_Dt
- {
- get {return _CreateTime_Dt;}
- set{
- if(value!=(_CreateTime_Dt))
- {
- _CreateTime_Dt=value;
- OnPropertyChanged(nameof( CreateTime_Dt));
- }
- }
- }
- private System.String _CreateUser_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String CreateUser_Str
- {
- get {return _CreateUser_Str;}
- set{
- if(value!=(_CreateUser_Str))
- {
- _CreateUser_Str=value;
- OnPropertyChanged(nameof( CreateUser_Str));
- }
- }
- }
- private System.Boolean _IsSync_bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsSync_bit
- {
- get {return _IsSync_bit;}
- set{
- if(value!=(_IsSync_bit))
- {
- _IsSync_bit=value;
- OnPropertyChanged(nameof( IsSync_bit));
- }
- }
- }
-
- }
- /// <summary>
- ///
- /// </summary>
- public class SysApp_YearStatistics:ObservableObject
- {
- private System.Int64 _ID;
- /// <summary>
- ///
- /// </summary>
- public System.Int64 ID
- {
- get {return _ID;}
- set{
- if(value!=(_ID))
- {
- _ID=value;
- OnPropertyChanged(nameof( ID));
- }
- }
- }
- private System.Int32 _OrgID_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 OrgID_Int
- {
- get {return _OrgID_Int;}
- set{
- if(value!=(_OrgID_Int))
- {
- _OrgID_Int=value;
- OnPropertyChanged(nameof( OrgID_Int));
- }
- }
- }
- private System.Int32 _SubINV_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 SubINV_Int
- {
- get {return _SubINV_Int;}
- set{
- if(value!=(_SubINV_Int))
- {
- _SubINV_Int=value;
- OnPropertyChanged(nameof( SubINV_Int));
- }
- }
- }
- private System.String _Year_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Year_Str
- {
- get {return _Year_Str;}
- set{
- if(value!=(_Year_Str))
- {
- _Year_Str=value;
- OnPropertyChanged(nameof( Year_Str));
- }
- }
- }
- private System.DateTime _YearStartTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime YearStartTime_Dt
- {
- get {return _YearStartTime_Dt;}
- set{
- if(value!=(_YearStartTime_Dt))
- {
- _YearStartTime_Dt=value;
- OnPropertyChanged(nameof( YearStartTime_Dt));
- }
- }
- }
- private System.DateTime _YearEndTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime YearEndTime_Dt
- {
- get {return _YearEndTime_Dt;}
- set{
- if(value!=(_YearEndTime_Dt))
- {
- _YearEndTime_Dt=value;
- OnPropertyChanged(nameof( YearEndTime_Dt));
- }
- }
- }
- private System.String _Source_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Source_Str
- {
- get {return _Source_Str;}
- set{
- if(value!=(_Source_Str))
- {
- _Source_Str=value;
- OnPropertyChanged(nameof( Source_Str));
- }
- }
- }
- private System.String _AppName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String AppName_Str
- {
- get {return _AppName_Str;}
- set{
- if(value!=(_AppName_Str))
- {
- _AppName_Str=value;
- OnPropertyChanged(nameof( AppName_Str));
- }
- }
- }
- private System.String _GroupName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String GroupName_Str
- {
- get {return _GroupName_Str;}
- set{
- if(value!=(_GroupName_Str))
- {
- _GroupName_Str=value;
- OnPropertyChanged(nameof( GroupName_Str));
- }
- }
- }
- private System.Decimal _Value_Dec;
- /// <summary>
- ///
- /// </summary>
- public System.Decimal Value_Dec
- {
- get {return _Value_Dec;}
- set{
- if(value!=(_Value_Dec))
- {
- _Value_Dec=value;
- OnPropertyChanged(nameof( Value_Dec));
- }
- }
- }
- private System.String _Remark_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Remark_Str
- {
- get {return _Remark_Str;}
- set{
- if(value!=(_Remark_Str))
- {
- _Remark_Str=value;
- OnPropertyChanged(nameof( Remark_Str));
- }
- }
- }
- private System.DateTime _CreateTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime CreateTime_Dt
- {
- get {return _CreateTime_Dt;}
- set{
- if(value!=(_CreateTime_Dt))
- {
- _CreateTime_Dt=value;
- OnPropertyChanged(nameof( CreateTime_Dt));
- }
- }
- }
- private System.String _CreateUser_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String CreateUser_Str
- {
- get {return _CreateUser_Str;}
- set{
- if(value!=(_CreateUser_Str))
- {
- _CreateUser_Str=value;
- OnPropertyChanged(nameof( CreateUser_Str));
- }
- }
- }
- private System.Boolean _IsSync_bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsSync_bit
- {
- get {return _IsSync_bit;}
- set{
- if(value!=(_IsSync_bit))
- {
- _IsSync_bit=value;
- OnPropertyChanged(nameof( IsSync_bit));
- }
- }
- }
-
- }
- /// <summary>
- ///
- /// </summary>
- public class Sys_Table_Comment:ObservableObject
- {
- private System.Int64 _ID;
- /// <summary>
- ///
- /// </summary>
- public System.Int64 ID
- {
- get {return _ID;}
- set{
- if(value!=(_ID))
- {
- _ID=value;
- OnPropertyChanged(nameof( ID));
- }
- }
- }
- private System.String _Type_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Type_Str
- {
- get {return _Type_Str;}
- set{
- if(value!=(_Type_Str))
- {
- _Type_Str=value;
- OnPropertyChanged(nameof( Type_Str));
- }
- }
- }
- private System.String _Group_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Group_Str
- {
- get {return _Group_Str;}
- set{
- if(value!=(_Group_Str))
- {
- _Group_Str=value;
- OnPropertyChanged(nameof( Group_Str));
- }
- }
- }
- private System.String _TableName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String TableName_Str
- {
- get {return _TableName_Str;}
- set{
- if(value!=(_TableName_Str))
- {
- _TableName_Str=value;
- OnPropertyChanged(nameof( TableName_Str));
- }
- }
- }
- private System.Object _Comment_Str;
- /// <summary>
- ///
- /// </summary>
- public System.Object Comment_Str
- {
- get {return _Comment_Str;}
- set{
- if(value!=(_Comment_Str))
- {
- _Comment_Str=value;
- OnPropertyChanged(nameof( Comment_Str));
- }
- }
- }
- private System.DateTime _CreateTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime CreateTime_Dt
- {
- get {return _CreateTime_Dt;}
- set{
- if(value!=(_CreateTime_Dt))
- {
- _CreateTime_Dt=value;
- OnPropertyChanged(nameof( CreateTime_Dt));
- }
- }
- }
-
- }
- /// <summary>
- ///
- /// </summary>
- public class sqlite_stat1:ObservableObject
- {
- private System.Object _tbl;
- /// <summary>
- ///
- /// </summary>
- public System.Object tbl
- {
- get {return _tbl;}
- set{
- if(value!=(_tbl))
- {
- _tbl=value;
- OnPropertyChanged(nameof( tbl));
- }
- }
- }
- private System.Object _idx;
- /// <summary>
- ///
- /// </summary>
- public System.Object idx
- {
- get {return _idx;}
- set{
- if(value!=(_idx))
- {
- _idx=value;
- OnPropertyChanged(nameof( idx));
- }
- }
- }
- private System.Object _stat;
- /// <summary>
- ///
- /// </summary>
- public System.Object stat
- {
- get {return _stat;}
- set{
- if(value!=(_stat))
- {
- _stat=value;
- OnPropertyChanged(nameof( stat));
- }
- }
- }
-
- }
- /// <summary>
- ///
- /// </summary>
- public class App_Common_ProductLog:ObservableObject
- {
- private System.Int64 _ID;
- /// <summary>
- ///
- /// </summary>
- public System.Int64 ID
- {
- get {return _ID;}
- set{
- if(value!=(_ID))
- {
- _ID=value;
- OnPropertyChanged(nameof( ID));
- }
- }
- }
- private System.Int32 _OrgID_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 OrgID_Int
- {
- get {return _OrgID_Int;}
- set{
- if(value!=(_OrgID_Int))
- {
- _OrgID_Int=value;
- OnPropertyChanged(nameof( OrgID_Int));
- }
- }
- }
- private System.Int32 _SubINV_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 SubINV_Int
- {
- get {return _SubINV_Int;}
- set{
- if(value!=(_SubINV_Int))
- {
- _SubINV_Int=value;
- OnPropertyChanged(nameof( SubINV_Int));
- }
- }
- }
- private System.String _Line_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Line_Str
- {
- get {return _Line_Str;}
- set{
- if(value!=(_Line_Str))
- {
- _Line_Str=value;
- OnPropertyChanged(nameof( Line_Str));
- }
- }
- }
- private System.String _DeviceID_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String DeviceID_Str
- {
- get {return _DeviceID_Str;}
- set{
- if(value!=(_DeviceID_Str))
- {
- _DeviceID_Str=value;
- OnPropertyChanged(nameof( DeviceID_Str));
- }
- }
- }
- private System.String _BarCode_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String BarCode_Str
- {
- get {return _BarCode_Str;}
- set{
- if(value!=(_BarCode_Str))
- {
- _BarCode_Str=value;
- OnPropertyChanged(nameof( BarCode_Str));
- }
- }
- }
- private System.String _ProductModel_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String ProductModel_Str
- {
- get {return _ProductModel_Str;}
- set{
- if(value!=(_ProductModel_Str))
- {
- _ProductModel_Str=value;
- OnPropertyChanged(nameof( ProductModel_Str));
- }
- }
- }
- private System.Int32 _TestResult_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 TestResult_Int
- {
- get {return _TestResult_Int;}
- set{
- if(value!=(_TestResult_Int))
- {
- _TestResult_Int=value;
- OnPropertyChanged(nameof( TestResult_Int));
- }
- }
- }
- private System.String _NGDesc_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String NGDesc_Str
- {
- get {return _NGDesc_Str;}
- set{
- if(value!=(_NGDesc_Str))
- {
- _NGDesc_Str=value;
- OnPropertyChanged(nameof( NGDesc_Str));
- }
- }
- }
- private System.Int32 _Index_int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 Index_int
- {
- get {return _Index_int;}
- set{
- if(value!=(_Index_int))
- {
- _Index_int=value;
- OnPropertyChanged(nameof( Index_int));
- }
- }
- }
- private System.Int32 _LotQty_int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 LotQty_int
- {
- get {return _LotQty_int;}
- set{
- if(value!=(_LotQty_int))
- {
- _LotQty_int=value;
- OnPropertyChanged(nameof( LotQty_int));
- }
- }
- }
- private System.String _CreateUser_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String CreateUser_Str
- {
- get {return _CreateUser_Str;}
- set{
- if(value!=(_CreateUser_Str))
- {
- _CreateUser_Str=value;
- OnPropertyChanged(nameof( CreateUser_Str));
- }
- }
- }
- private System.DateTime _CreateTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime CreateTime_Dt
- {
- get {return _CreateTime_Dt;}
- set{
- if(value!=(_CreateTime_Dt))
- {
- _CreateTime_Dt=value;
- OnPropertyChanged(nameof( CreateTime_Dt));
- }
- }
- }
- private System.DateTime _ModifyTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime ModifyTime_Dt
- {
- get {return _ModifyTime_Dt;}
- set{
- if(value!=(_ModifyTime_Dt))
- {
- _ModifyTime_Dt=value;
- OnPropertyChanged(nameof( ModifyTime_Dt));
- }
- }
- }
- private System.String _ModifyUser_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String ModifyUser_Str
- {
- get {return _ModifyUser_Str;}
- set{
- if(value!=(_ModifyUser_Str))
- {
- _ModifyUser_Str=value;
- OnPropertyChanged(nameof( ModifyUser_Str));
- }
- }
- }
- private System.String _Remark_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Remark_Str
- {
- get {return _Remark_Str;}
- set{
- if(value!=(_Remark_Str))
- {
- _Remark_Str=value;
- OnPropertyChanged(nameof( Remark_Str));
- }
- }
- }
-
- }
- /// <summary>
- ///
- /// </summary>
- public class Sys_JobSchedulerExcuteLog:ObservableObject
- {
- private System.Int64 _ID;
- /// <summary>
- ///
- /// </summary>
- public System.Int64 ID
- {
- get {return _ID;}
- set{
- if(value!=(_ID))
- {
- _ID=value;
- OnPropertyChanged(nameof( ID));
- }
- }
- }
- private System.Int32 _JobId_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 JobId_Int
- {
- get {return _JobId_Int;}
- set{
- if(value!=(_JobId_Int))
- {
- _JobId_Int=value;
- OnPropertyChanged(nameof( JobId_Int));
- }
- }
- }
- private System.String _JobType_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String JobType_Str
- {
- get {return _JobType_Str;}
- set{
- if(value!=(_JobType_Str))
- {
- _JobType_Str=value;
- OnPropertyChanged(nameof( JobType_Str));
- }
- }
- }
- private System.Decimal _ElapsedTime_Dec;
- /// <summary>
- ///
- /// </summary>
- public System.Decimal ElapsedTime_Dec
- {
- get {return _ElapsedTime_Dec;}
- set{
- if(value!=(_ElapsedTime_Dec))
- {
- _ElapsedTime_Dec=value;
- OnPropertyChanged(nameof( ElapsedTime_Dec));
- }
- }
- }
- private System.DateTime _ExcuteStartTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime ExcuteStartTime_Dt
- {
- get {return _ExcuteStartTime_Dt;}
- set{
- if(value!=(_ExcuteStartTime_Dt))
- {
- _ExcuteStartTime_Dt=value;
- OnPropertyChanged(nameof( ExcuteStartTime_Dt));
- }
- }
- }
- private System.DateTime _ExcuteFinishTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime ExcuteFinishTime_Dt
- {
- get {return _ExcuteFinishTime_Dt;}
- set{
- if(value!=(_ExcuteFinishTime_Dt))
- {
- _ExcuteFinishTime_Dt=value;
- OnPropertyChanged(nameof( ExcuteFinishTime_Dt));
- }
- }
- }
- private System.DateTime _NextExcuteTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime NextExcuteTime_Dt
- {
- get {return _NextExcuteTime_Dt;}
- set{
- if(value!=(_NextExcuteTime_Dt))
- {
- _NextExcuteTime_Dt=value;
- OnPropertyChanged(nameof( NextExcuteTime_Dt));
- }
- }
- }
- private System.Boolean _ExcuteResult_Bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean ExcuteResult_Bit
- {
- get {return _ExcuteResult_Bit;}
- set{
- if(value!=(_ExcuteResult_Bit))
- {
- _ExcuteResult_Bit=value;
- OnPropertyChanged(nameof( ExcuteResult_Bit));
- }
- }
- }
- private System.String _Message_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String Message_Str
- {
- get {return _Message_Str;}
- set{
- if(value!=(_Message_Str))
- {
- _Message_Str=value;
- OnPropertyChanged(nameof( Message_Str));
- }
- }
- }
- private System.String _CreateUser_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String CreateUser_Str
- {
- get {return _CreateUser_Str;}
- set{
- if(value!=(_CreateUser_Str))
- {
- _CreateUser_Str=value;
- OnPropertyChanged(nameof( CreateUser_Str));
- }
- }
- }
- private System.DateTime _CreateDate_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime CreateDate_Dt
- {
- get {return _CreateDate_Dt;}
- set{
- if(value!=(_CreateDate_Dt))
- {
- _CreateDate_Dt=value;
- OnPropertyChanged(nameof( CreateDate_Dt));
- }
- }
- }
- private System.Boolean _IsSync_Bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsSync_Bit
- {
- get {return _IsSync_Bit;}
- set{
- if(value!=(_IsSync_Bit))
- {
- _IsSync_Bit=value;
- OnPropertyChanged(nameof( IsSync_Bit));
- }
- }
- }
-
- }
- /// <summary>
- ///
- /// </summary>
- public class Sys_JobScheduler:ObservableObject
- {
- private System.Int64 _ID;
- /// <summary>
- ///
- /// </summary>
- public System.Int64 ID
- {
- get {return _ID;}
- set{
- if(value!=(_ID))
- {
- _ID=value;
- OnPropertyChanged(nameof( ID));
- }
- }
- }
- private System.String _JobName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String JobName_Str
- {
- get {return _JobName_Str;}
- set{
- if(value!=(_JobName_Str))
- {
- _JobName_Str=value;
- OnPropertyChanged(nameof( JobName_Str));
- }
- }
- }
- private System.String _JobState_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String JobState_Str
- {
- get {return _JobState_Str;}
- set{
- if(value!=(_JobState_Str))
- {
- _JobState_Str=value;
- OnPropertyChanged(nameof( JobState_Str));
- }
- }
- }
- private System.String _JobType_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String JobType_Str
- {
- get {return _JobType_Str;}
- set{
- if(value!=(_JobType_Str))
- {
- _JobType_Str=value;
- OnPropertyChanged(nameof( JobType_Str));
- }
- }
- }
- private System.String _ExcutePolicy_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String ExcutePolicy_Str
- {
- get {return _ExcutePolicy_Str;}
- set{
- if(value!=(_ExcutePolicy_Str))
- {
- _ExcutePolicy_Str=value;
- OnPropertyChanged(nameof( ExcutePolicy_Str));
- }
- }
- }
- private System.String _JobParameter_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String JobParameter_Str
- {
- get {return _JobParameter_Str;}
- set{
- if(value!=(_JobParameter_Str))
- {
- _JobParameter_Str=value;
- OnPropertyChanged(nameof( JobParameter_Str));
- }
- }
- }
- private System.DateTime _LastExcuteTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime LastExcuteTime_Dt
- {
- get {return _LastExcuteTime_Dt;}
- set{
- if(value!=(_LastExcuteTime_Dt))
- {
- _LastExcuteTime_Dt=value;
- OnPropertyChanged(nameof( LastExcuteTime_Dt));
- }
- }
- }
- private System.DateTime _NextExcuteTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime NextExcuteTime_Dt
- {
- get {return _NextExcuteTime_Dt;}
- set{
- if(value!=(_NextExcuteTime_Dt))
- {
- _NextExcuteTime_Dt=value;
- OnPropertyChanged(nameof( NextExcuteTime_Dt));
- }
- }
- }
- private System.String _JobDescribe_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String JobDescribe_Str
- {
- get {return _JobDescribe_Str;}
- set{
- if(value!=(_JobDescribe_Str))
- {
- _JobDescribe_Str=value;
- OnPropertyChanged(nameof( JobDescribe_Str));
- }
- }
- }
- private System.String _JobMessage_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String JobMessage_Str
- {
- get {return _JobMessage_Str;}
- set{
- if(value!=(_JobMessage_Str))
- {
- _JobMessage_Str=value;
- OnPropertyChanged(nameof( JobMessage_Str));
- }
- }
- }
- private System.Boolean _TriggerWhenStart_bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean TriggerWhenStart_bit
- {
- get {return _TriggerWhenStart_bit;}
- set{
- if(value!=(_TriggerWhenStart_bit))
- {
- _TriggerWhenStart_bit=value;
- OnPropertyChanged(nameof( TriggerWhenStart_bit));
- }
- }
- }
- private System.Boolean _IsEnable_Bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsEnable_Bit
- {
- get {return _IsEnable_Bit;}
- set{
- if(value!=(_IsEnable_Bit))
- {
- _IsEnable_Bit=value;
- OnPropertyChanged(nameof( IsEnable_Bit));
- }
- }
- }
- private System.Boolean _NeedRestart_Bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean NeedRestart_Bit
- {
- get {return _NeedRestart_Bit;}
- set{
- if(value!=(_NeedRestart_Bit))
- {
- _NeedRestart_Bit=value;
- OnPropertyChanged(nameof( NeedRestart_Bit));
- }
- }
- }
- private System.String _CreateUser_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String CreateUser_Str
- {
- get {return _CreateUser_Str;}
- set{
- if(value!=(_CreateUser_Str))
- {
- _CreateUser_Str=value;
- OnPropertyChanged(nameof( CreateUser_Str));
- }
- }
- }
- private System.DateTime _CreateDate_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime CreateDate_Dt
- {
- get {return _CreateDate_Dt;}
- set{
- if(value!=(_CreateDate_Dt))
- {
- _CreateDate_Dt=value;
- OnPropertyChanged(nameof( CreateDate_Dt));
- }
- }
- }
- private System.Boolean _IsSync_Bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsSync_Bit
- {
- get {return _IsSync_Bit;}
- set{
- if(value!=(_IsSync_Bit))
- {
- _IsSync_Bit=value;
- OnPropertyChanged(nameof( IsSync_Bit));
- }
- }
- }
-
- }
- /// <summary>
- ///
- /// </summary>
- public class Sys_Service:ObservableObject
- {
- private System.Int64 _ID;
- /// <summary>
- ///
- /// </summary>
- public System.Int64 ID
- {
- get {return _ID;}
- set{
- if(value!=(_ID))
- {
- _ID=value;
- OnPropertyChanged(nameof( ID));
- }
- }
- }
- private System.String _ServiceName_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String ServiceName_Str
- {
- get {return _ServiceName_Str;}
- set{
- if(value!=(_ServiceName_Str))
- {
- _ServiceName_Str=value;
- OnPropertyChanged(nameof( ServiceName_Str));
- }
- }
- }
- private System.String _ServiceState_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String ServiceState_Str
- {
- get {return _ServiceState_Str;}
- set{
- if(value!=(_ServiceState_Str))
- {
- _ServiceState_Str=value;
- OnPropertyChanged(nameof( ServiceState_Str));
- }
- }
- }
- private System.String _ServiceType_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String ServiceType_Str
- {
- get {return _ServiceType_Str;}
- set{
- if(value!=(_ServiceType_Str))
- {
- _ServiceType_Str=value;
- OnPropertyChanged(nameof( ServiceType_Str));
- }
- }
- }
- private System.DateTime _StartTime_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime StartTime_Dt
- {
- get {return _StartTime_Dt;}
- set{
- if(value!=(_StartTime_Dt))
- {
- _StartTime_Dt=value;
- OnPropertyChanged(nameof( StartTime_Dt));
- }
- }
- }
- private System.Int32 _StartSquence_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 StartSquence_Int
- {
- get {return _StartSquence_Int;}
- set{
- if(value!=(_StartSquence_Int))
- {
- _StartSquence_Int=value;
- OnPropertyChanged(nameof( StartSquence_Int));
- }
- }
- }
- private System.Int32 _StartDelay_Int;
- /// <summary>
- ///
- /// </summary>
- public System.Int32 StartDelay_Int
- {
- get {return _StartDelay_Int;}
- set{
- if(value!=(_StartDelay_Int))
- {
- _StartDelay_Int=value;
- OnPropertyChanged(nameof( StartDelay_Int));
- }
- }
- }
- private System.String _ServiceDescribe_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String ServiceDescribe_Str
- {
- get {return _ServiceDescribe_Str;}
- set{
- if(value!=(_ServiceDescribe_Str))
- {
- _ServiceDescribe_Str=value;
- OnPropertyChanged(nameof( ServiceDescribe_Str));
- }
- }
- }
- private System.String _ServiceMessage_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String ServiceMessage_Str
- {
- get {return _ServiceMessage_Str;}
- set{
- if(value!=(_ServiceMessage_Str))
- {
- _ServiceMessage_Str=value;
- OnPropertyChanged(nameof( ServiceMessage_Str));
- }
- }
- }
- private System.String _ServiceConfig_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String ServiceConfig_Str
- {
- get {return _ServiceConfig_Str;}
- set{
- if(value!=(_ServiceConfig_Str))
- {
- _ServiceConfig_Str=value;
- OnPropertyChanged(nameof( ServiceConfig_Str));
- }
- }
- }
- private System.Boolean _IsEnable_Bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsEnable_Bit
- {
- get {return _IsEnable_Bit;}
- set{
- if(value!=(_IsEnable_Bit))
- {
- _IsEnable_Bit=value;
- OnPropertyChanged(nameof( IsEnable_Bit));
- }
- }
- }
- private System.String _CreateUser_Str;
- /// <summary>
- ///
- /// </summary>
- public System.String CreateUser_Str
- {
- get {return _CreateUser_Str;}
- set{
- if(value!=(_CreateUser_Str))
- {
- _CreateUser_Str=value;
- OnPropertyChanged(nameof( CreateUser_Str));
- }
- }
- }
- private System.DateTime _CreateDate_Dt;
- /// <summary>
- ///
- /// </summary>
- public System.DateTime CreateDate_Dt
- {
- get {return _CreateDate_Dt;}
- set{
- if(value!=(_CreateDate_Dt))
- {
- _CreateDate_Dt=value;
- OnPropertyChanged(nameof( CreateDate_Dt));
- }
- }
- }
- private System.Boolean _IsSync_Bit;
- /// <summary>
- ///
- /// </summary>
- public System.Boolean IsSync_Bit
- {
- get {return _IsSync_Bit;}
- set{
- if(value!=(_IsSync_Bit))
- {
- _IsSync_Bit=value;
- OnPropertyChanged(nameof( IsSync_Bit));
- }
- }
- }
-
- }
-
-
- }
- namespace DIL
- {
- public class DILDB:SQLiteDB
- {
- #region Auto Declare
- /// <summary>
- ///
- /// </summary>
- public BaseTable sqlite_sequence{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_User_Session{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable SysApp_DayStatistics{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable SysApp_MonthStatistics{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable SysApp_YearStatistics{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_Table_Comment{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable sqlite_stat1{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable App_Common_ProductLog{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_JobSchedulerExcuteLog{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_JobScheduler{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_Service{get;private set;}
- public DILDB(string folderPath, string fileName,string username=null,string password=null):base(folderPath, fileName,username,password)
- {
- sqlite_sequence=CreateTable("ID","sqlite_sequence");
- Sys_User_Session=CreateTable("ID","Sys_User_Session");
- SysApp_DayStatistics=CreateTable("ID","SysApp_DayStatistics");
- SysApp_MonthStatistics=CreateTable("ID","SysApp_MonthStatistics");
- SysApp_YearStatistics=CreateTable("ID","SysApp_YearStatistics");
- Sys_Table_Comment=CreateTable("ID","Sys_Table_Comment");
- sqlite_stat1=CreateTable("ID","sqlite_stat1");
- App_Common_ProductLog=CreateTable("ID","App_Common_ProductLog");
- Sys_JobSchedulerExcuteLog=CreateTable("ID","Sys_JobSchedulerExcuteLog");
- Sys_JobScheduler=CreateTable("ID","Sys_JobScheduler");
- Sys_Service=CreateTable("ID","Sys_Service");
- }
- #endregion
- }
- #region V1版本数据库架构
- public class DILDBV1:BaseDB
- {
- /// <summary>
- ///
- /// </summary>
- public BaseTable sqlite_sequence{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_User_Session{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable SysApp_DayStatistics{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable SysApp_MonthStatistics{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable SysApp_YearStatistics{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_Table_Comment{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable sqlite_stat1{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable App_Common_ProductLog{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_JobSchedulerExcuteLog{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_JobScheduler{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_Service{get;private set;}
- private BaseDB innerDb = null;
- public DILDBV1(BaseDB db )
- {
- innerDb = db;
- SO = db.SO;
- DatabaseType = db.DatabaseType;
- DatabaseInfo = db.DatabaseInfo;
- ServerName = db.ServerName;
- sqlite_sequence=innerDb.CreateTable("ID","sqlite_sequence");
- Sys_User_Session=innerDb.CreateTable("ID","Sys_User_Session");
- SysApp_DayStatistics=innerDb.CreateTable("ID","SysApp_DayStatistics");
- SysApp_MonthStatistics=innerDb.CreateTable("ID","SysApp_MonthStatistics");
- SysApp_YearStatistics=innerDb.CreateTable("ID","SysApp_YearStatistics");
- Sys_Table_Comment=innerDb.CreateTable("ID","Sys_Table_Comment");
- sqlite_stat1=innerDb.CreateTable("ID","sqlite_stat1");
- App_Common_ProductLog=innerDb.CreateTable("ID","App_Common_ProductLog");
- Sys_JobSchedulerExcuteLog=innerDb.CreateTable("ID","Sys_JobSchedulerExcuteLog");
- Sys_JobScheduler=innerDb.CreateTable("ID","Sys_JobScheduler");
- Sys_Service=innerDb.CreateTable("ID","Sys_Service");
- }
- public override BaseTable CreateTable(string tableName)
- {
- return innerDb.CreateTable(tableName);
- }
- public override BaseTable CreateTable(string id, string tableName)
- {
- return innerDb.CreateTable(id, tableName);
- }
- protected override string GetCnn()
- {
- return innerDb.ConnectionString;
- }
- public override void Init(string server, string database, string username, string password)
- {
- throw new NotImplementedException();
- }
- public override DateTime? GetDate()
- {
- return innerDb.GetDate();
- }
- public override List<TableInfo> GetTables()
- {
- return innerDb.GetTables();
- }
- public override List<ColumnInfo> GetTableColumns()
- {
- return innerDb.GetTableColumns();
- }
- public override List<TableInfo> GetViews()
- {
- return innerDb.GetViews();
- }
- public override List<ColumnInfo> GetViewColumns()
- {
- return innerDb.GetViewColumns();
- }
-
- public override ExecuteResult UpdateTableComment(string tableName, string comment)
- {
- return innerDb.UpdateTableComment(tableName, comment);
- }
- public override ExecuteResult UpdateColumnComment(string tableName, string columnName, string comment)
- {
- return innerDb.UpdateColumnComment(tableName,columnName, comment);
- }
- #endregion
- }
- }
- }
|