1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881 |
-
- using System;
- using System.Collections.Generic;
- using System.Linq.Expressions;
- 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>
- /// 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);
-
- }
- /// <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_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_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);
-
- }
-
- }
-
- public static class V_Col_Name
- {
-
- }
-
- public static class SP_Paramters
- {
-
- }
-
- }
- namespace DBModel
- {
-
- /// <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.Object _ServiceMessage_Str;
- /// <summary>
- ///
- /// </summary>
- public System.Object 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));
- }
- }
- }
-
- }
- /// <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_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.Object _JobMessage_Str;
- /// <summary>
- ///
- /// </summary>
- public System.Object 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_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));
- }
- }
- }
-
- }
-
-
- }
- namespace DIL
- {
- public class DILDB:SQLiteDB
- {
- #region Auto Declare
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_Service{get;private set;}
- /// <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_JobScheduler{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_JobSchedulerExcuteLog{get;private set;}
- public DILDB(string folderPath, string fileName,string username=null,string password=null):base(folderPath, fileName,username,password)
- {
- Sys_Service=CreateTable("ID","Sys_Service");
- 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_JobScheduler=CreateTable("ID","Sys_JobScheduler");
- Sys_JobSchedulerExcuteLog=CreateTable("ID","Sys_JobSchedulerExcuteLog");
- }
- #endregion
- }
- #region V1版本数据库架构
- public class DILDBV1:BaseDB
- {
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_Service{get;private set;}
- /// <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_JobScheduler{get;private set;}
- /// <summary>
- ///
- /// </summary>
- public BaseTable Sys_JobSchedulerExcuteLog{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;
- Sys_Service=innerDb.CreateTable("ID","Sys_Service");
- 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_JobScheduler=innerDb.CreateTable("ID","Sys_JobScheduler");
- Sys_JobSchedulerExcuteLog=innerDb.CreateTable("ID","Sys_JobSchedulerExcuteLog");
- }
- 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);
- }
- public override bool BatchUpdateOrInsert<T>(IEnumerable<T> modelList, Expression<Func<T, dynamic>> onRelations, string destinationTableName = null, Expression<Func<T, dynamic>> updateProperts = null)
- {
- return innerDb.BatchUpdateOrInsert(modelList, onRelations, destinationTableName, updateProperts);
- }
- public override int BatchDelete(IEnumerable<object> ids, string destinationTableName, string idColumn = "ID")
- {
- return base.BatchDelete(ids, destinationTableName, idColumn);
- }
- public override int BatchDelete<T>(IEnumerable<T> modelList, Expression<Func<T, dynamic>> onRelations, string destinationTableName = null)
- {
- return base.BatchDelete(modelList, onRelations, destinationTableName);
- }
- #endregion
- }
- }
- }
|