LocalDB.cs 94 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865
  1. 
  2. using System;
  3. using System.Collections.Generic;
  4. using SCADA.CommonLib;
  5. using SCADA.CommonLib.Data;
  6. using SCADA.CommonLib.Data.DIL;
  7. using SCADA.CommonLib.Data.DIL.Sqlite;
  8. namespace LocalDB
  9. {
  10. namespace DBSchema
  11. {
  12. public class SP
  13. {
  14. }
  15. }
  16. namespace DBNames
  17. {
  18. public static class T_Col_Name
  19. {
  20. /// <summary>
  21. /// sqlite_sequence
  22. /// </summary>
  23. public class sqlite_sequence
  24. {
  25. /// <summary>
  26. ///
  27. /// </summary>
  28. public const string @name=nameof(@name);
  29. /// <summary>
  30. ///
  31. /// </summary>
  32. public const string @seq=nameof(@seq);
  33. }
  34. /// <summary>
  35. /// Sys_User_Session
  36. /// </summary>
  37. public class Sys_User_Session
  38. {
  39. /// <summary>
  40. ///
  41. /// </summary>
  42. public const string @ID=nameof(@ID);
  43. /// <summary>
  44. ///
  45. /// </summary>
  46. public const string @OrgID_Int=nameof(@OrgID_Int);
  47. /// <summary>
  48. ///
  49. /// </summary>
  50. public const string @AppName_Str=nameof(@AppName_Str);
  51. /// <summary>
  52. ///
  53. /// </summary>
  54. public const string @VersionNumber_Str=nameof(@VersionNumber_Str);
  55. /// <summary>
  56. ///
  57. /// </summary>
  58. public const string @SessionID_Str=nameof(@SessionID_Str);
  59. /// <summary>
  60. ///
  61. /// </summary>
  62. public const string @UserID_Str=nameof(@UserID_Str);
  63. /// <summary>
  64. ///
  65. /// </summary>
  66. public const string @HostName_Str=nameof(@HostName_Str);
  67. /// <summary>
  68. ///
  69. /// </summary>
  70. public const string @MacAddr_Str=nameof(@MacAddr_Str);
  71. /// <summary>
  72. ///
  73. /// </summary>
  74. public const string @IpAddr_Str=nameof(@IpAddr_Str);
  75. /// <summary>
  76. ///
  77. /// </summary>
  78. public const string @StartTime_Dt=nameof(@StartTime_Dt);
  79. /// <summary>
  80. ///
  81. /// </summary>
  82. public const string @LastOnLineTime_Dt=nameof(@LastOnLineTime_Dt);
  83. /// <summary>
  84. ///
  85. /// </summary>
  86. public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
  87. /// <summary>
  88. ///
  89. /// </summary>
  90. public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
  91. /// <summary>
  92. ///
  93. /// </summary>
  94. public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
  95. /// <summary>
  96. ///
  97. /// </summary>
  98. public const string @CreateUser_Str=nameof(@CreateUser_Str);
  99. /// <summary>
  100. ///
  101. /// </summary>
  102. public const string @Remark_Str=nameof(@Remark_Str);
  103. /// <summary>
  104. ///
  105. /// </summary>
  106. public const string @IsEnable=nameof(@IsEnable);
  107. /// <summary>
  108. ///
  109. /// </summary>
  110. public const string @IsPhantom_Bit=nameof(@IsPhantom_Bit);
  111. /// <summary>
  112. ///
  113. /// </summary>
  114. public const string @IsSync_bit=nameof(@IsSync_bit);
  115. }
  116. /// <summary>
  117. /// SysApp_DayStatistics
  118. /// </summary>
  119. public class SysApp_DayStatistics
  120. {
  121. /// <summary>
  122. ///
  123. /// </summary>
  124. public const string @ID=nameof(@ID);
  125. /// <summary>
  126. ///
  127. /// </summary>
  128. public const string @OrgID_Int=nameof(@OrgID_Int);
  129. /// <summary>
  130. ///
  131. /// </summary>
  132. public const string @SubINV_Int=nameof(@SubINV_Int);
  133. /// <summary>
  134. ///
  135. /// </summary>
  136. public const string @Day_Str=nameof(@Day_Str);
  137. /// <summary>
  138. ///
  139. /// </summary>
  140. public const string @DayStartTime_Dt=nameof(@DayStartTime_Dt);
  141. /// <summary>
  142. ///
  143. /// </summary>
  144. public const string @Source_Str=nameof(@Source_Str);
  145. /// <summary>
  146. ///
  147. /// </summary>
  148. public const string @DayEndTime_Dt=nameof(@DayEndTime_Dt);
  149. /// <summary>
  150. ///
  151. /// </summary>
  152. public const string @AppName_Str=nameof(@AppName_Str);
  153. /// <summary>
  154. ///
  155. /// </summary>
  156. public const string @GroupName_Str=nameof(@GroupName_Str);
  157. /// <summary>
  158. ///
  159. /// </summary>
  160. public const string @Value_Dec=nameof(@Value_Dec);
  161. /// <summary>
  162. ///
  163. /// </summary>
  164. public const string @Remark_Str=nameof(@Remark_Str);
  165. /// <summary>
  166. ///
  167. /// </summary>
  168. public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
  169. /// <summary>
  170. ///
  171. /// </summary>
  172. public const string @CreateUser_Str=nameof(@CreateUser_Str);
  173. /// <summary>
  174. ///
  175. /// </summary>
  176. public const string @IsSync_bit=nameof(@IsSync_bit);
  177. }
  178. /// <summary>
  179. /// SysApp_MonthStatistics
  180. /// </summary>
  181. public class SysApp_MonthStatistics
  182. {
  183. /// <summary>
  184. ///
  185. /// </summary>
  186. public const string @ID=nameof(@ID);
  187. /// <summary>
  188. ///
  189. /// </summary>
  190. public const string @OrgID_Int=nameof(@OrgID_Int);
  191. /// <summary>
  192. ///
  193. /// </summary>
  194. public const string @SubINV_Int=nameof(@SubINV_Int);
  195. /// <summary>
  196. ///
  197. /// </summary>
  198. public const string @Month_Str=nameof(@Month_Str);
  199. /// <summary>
  200. ///
  201. /// </summary>
  202. public const string @MonthStartTime_Dt=nameof(@MonthStartTime_Dt);
  203. /// <summary>
  204. ///
  205. /// </summary>
  206. public const string @MonthEndTime_Dt=nameof(@MonthEndTime_Dt);
  207. /// <summary>
  208. ///
  209. /// </summary>
  210. public const string @Source_Str=nameof(@Source_Str);
  211. /// <summary>
  212. ///
  213. /// </summary>
  214. public const string @AppName_Str=nameof(@AppName_Str);
  215. /// <summary>
  216. ///
  217. /// </summary>
  218. public const string @GroupName_Str=nameof(@GroupName_Str);
  219. /// <summary>
  220. ///
  221. /// </summary>
  222. public const string @Value_Dec=nameof(@Value_Dec);
  223. /// <summary>
  224. ///
  225. /// </summary>
  226. public const string @Remark_Str=nameof(@Remark_Str);
  227. /// <summary>
  228. ///
  229. /// </summary>
  230. public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
  231. /// <summary>
  232. ///
  233. /// </summary>
  234. public const string @CreateUser_Str=nameof(@CreateUser_Str);
  235. /// <summary>
  236. ///
  237. /// </summary>
  238. public const string @IsSync_bit=nameof(@IsSync_bit);
  239. }
  240. /// <summary>
  241. /// SysApp_YearStatistics
  242. /// </summary>
  243. public class SysApp_YearStatistics
  244. {
  245. /// <summary>
  246. ///
  247. /// </summary>
  248. public const string @ID=nameof(@ID);
  249. /// <summary>
  250. ///
  251. /// </summary>
  252. public const string @OrgID_Int=nameof(@OrgID_Int);
  253. /// <summary>
  254. ///
  255. /// </summary>
  256. public const string @SubINV_Int=nameof(@SubINV_Int);
  257. /// <summary>
  258. ///
  259. /// </summary>
  260. public const string @Year_Str=nameof(@Year_Str);
  261. /// <summary>
  262. ///
  263. /// </summary>
  264. public const string @YearStartTime_Dt=nameof(@YearStartTime_Dt);
  265. /// <summary>
  266. ///
  267. /// </summary>
  268. public const string @YearEndTime_Dt=nameof(@YearEndTime_Dt);
  269. /// <summary>
  270. ///
  271. /// </summary>
  272. public const string @Source_Str=nameof(@Source_Str);
  273. /// <summary>
  274. ///
  275. /// </summary>
  276. public const string @AppName_Str=nameof(@AppName_Str);
  277. /// <summary>
  278. ///
  279. /// </summary>
  280. public const string @GroupName_Str=nameof(@GroupName_Str);
  281. /// <summary>
  282. ///
  283. /// </summary>
  284. public const string @Value_Dec=nameof(@Value_Dec);
  285. /// <summary>
  286. ///
  287. /// </summary>
  288. public const string @Remark_Str=nameof(@Remark_Str);
  289. /// <summary>
  290. ///
  291. /// </summary>
  292. public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
  293. /// <summary>
  294. ///
  295. /// </summary>
  296. public const string @CreateUser_Str=nameof(@CreateUser_Str);
  297. /// <summary>
  298. ///
  299. /// </summary>
  300. public const string @IsSync_bit=nameof(@IsSync_bit);
  301. }
  302. /// <summary>
  303. /// Sys_Table_Comment
  304. /// </summary>
  305. public class Sys_Table_Comment
  306. {
  307. /// <summary>
  308. ///
  309. /// </summary>
  310. public const string @ID=nameof(@ID);
  311. /// <summary>
  312. ///
  313. /// </summary>
  314. public const string @Type_Str=nameof(@Type_Str);
  315. /// <summary>
  316. ///
  317. /// </summary>
  318. public const string @Group_Str=nameof(@Group_Str);
  319. /// <summary>
  320. ///
  321. /// </summary>
  322. public const string @TableName_Str=nameof(@TableName_Str);
  323. /// <summary>
  324. ///
  325. /// </summary>
  326. public const string @Comment_Str=nameof(@Comment_Str);
  327. /// <summary>
  328. ///
  329. /// </summary>
  330. public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
  331. }
  332. /// <summary>
  333. /// sqlite_stat1
  334. /// </summary>
  335. public class sqlite_stat1
  336. {
  337. /// <summary>
  338. ///
  339. /// </summary>
  340. public const string @tbl=nameof(@tbl);
  341. /// <summary>
  342. ///
  343. /// </summary>
  344. public const string @idx=nameof(@idx);
  345. /// <summary>
  346. ///
  347. /// </summary>
  348. public const string @stat=nameof(@stat);
  349. }
  350. /// <summary>
  351. /// App_Common_ProductLog
  352. /// </summary>
  353. public class App_Common_ProductLog
  354. {
  355. /// <summary>
  356. ///
  357. /// </summary>
  358. public const string @ID=nameof(@ID);
  359. /// <summary>
  360. ///
  361. /// </summary>
  362. public const string @OrgID_Int=nameof(@OrgID_Int);
  363. /// <summary>
  364. ///
  365. /// </summary>
  366. public const string @SubINV_Int=nameof(@SubINV_Int);
  367. /// <summary>
  368. ///
  369. /// </summary>
  370. public const string @Line_Str=nameof(@Line_Str);
  371. /// <summary>
  372. ///
  373. /// </summary>
  374. public const string @DeviceID_Str=nameof(@DeviceID_Str);
  375. /// <summary>
  376. ///
  377. /// </summary>
  378. public const string @BarCode_Str=nameof(@BarCode_Str);
  379. /// <summary>
  380. ///
  381. /// </summary>
  382. public const string @ProductModel_Str=nameof(@ProductModel_Str);
  383. /// <summary>
  384. ///
  385. /// </summary>
  386. public const string @TestResult_Int=nameof(@TestResult_Int);
  387. /// <summary>
  388. ///
  389. /// </summary>
  390. public const string @NGDesc_Str=nameof(@NGDesc_Str);
  391. /// <summary>
  392. ///
  393. /// </summary>
  394. public const string @Index_int=nameof(@Index_int);
  395. /// <summary>
  396. ///
  397. /// </summary>
  398. public const string @LotQty_int=nameof(@LotQty_int);
  399. /// <summary>
  400. ///
  401. /// </summary>
  402. public const string @CreateUser_Str=nameof(@CreateUser_Str);
  403. /// <summary>
  404. ///
  405. /// </summary>
  406. public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
  407. /// <summary>
  408. ///
  409. /// </summary>
  410. public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
  411. /// <summary>
  412. ///
  413. /// </summary>
  414. public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
  415. /// <summary>
  416. ///
  417. /// </summary>
  418. public const string @Remark_Str=nameof(@Remark_Str);
  419. }
  420. /// <summary>
  421. /// Sys_JobSchedulerExcuteLog
  422. /// </summary>
  423. public class Sys_JobSchedulerExcuteLog
  424. {
  425. /// <summary>
  426. ///
  427. /// </summary>
  428. public const string @ID=nameof(@ID);
  429. /// <summary>
  430. ///
  431. /// </summary>
  432. public const string @JobId_Int=nameof(@JobId_Int);
  433. /// <summary>
  434. ///
  435. /// </summary>
  436. public const string @JobType_Str=nameof(@JobType_Str);
  437. /// <summary>
  438. ///
  439. /// </summary>
  440. public const string @ElapsedTime_Dec=nameof(@ElapsedTime_Dec);
  441. /// <summary>
  442. ///
  443. /// </summary>
  444. public const string @ExcuteStartTime_Dt=nameof(@ExcuteStartTime_Dt);
  445. /// <summary>
  446. ///
  447. /// </summary>
  448. public const string @ExcuteFinishTime_Dt=nameof(@ExcuteFinishTime_Dt);
  449. /// <summary>
  450. ///
  451. /// </summary>
  452. public const string @NextExcuteTime_Dt=nameof(@NextExcuteTime_Dt);
  453. /// <summary>
  454. ///
  455. /// </summary>
  456. public const string @ExcuteResult_Bit=nameof(@ExcuteResult_Bit);
  457. /// <summary>
  458. ///
  459. /// </summary>
  460. public const string @Message_Str=nameof(@Message_Str);
  461. /// <summary>
  462. ///
  463. /// </summary>
  464. public const string @CreateUser_Str=nameof(@CreateUser_Str);
  465. /// <summary>
  466. ///
  467. /// </summary>
  468. public const string @CreateDate_Dt=nameof(@CreateDate_Dt);
  469. /// <summary>
  470. ///
  471. /// </summary>
  472. public const string @IsSync_Bit=nameof(@IsSync_Bit);
  473. }
  474. /// <summary>
  475. /// Sys_JobScheduler
  476. /// </summary>
  477. public class Sys_JobScheduler
  478. {
  479. /// <summary>
  480. ///
  481. /// </summary>
  482. public const string @ID=nameof(@ID);
  483. /// <summary>
  484. ///
  485. /// </summary>
  486. public const string @JobName_Str=nameof(@JobName_Str);
  487. /// <summary>
  488. ///
  489. /// </summary>
  490. public const string @JobState_Str=nameof(@JobState_Str);
  491. /// <summary>
  492. ///
  493. /// </summary>
  494. public const string @JobType_Str=nameof(@JobType_Str);
  495. /// <summary>
  496. ///
  497. /// </summary>
  498. public const string @ExcutePolicy_Str=nameof(@ExcutePolicy_Str);
  499. /// <summary>
  500. ///
  501. /// </summary>
  502. public const string @JobParameter_Str=nameof(@JobParameter_Str);
  503. /// <summary>
  504. ///
  505. /// </summary>
  506. public const string @LastExcuteTime_Dt=nameof(@LastExcuteTime_Dt);
  507. /// <summary>
  508. ///
  509. /// </summary>
  510. public const string @NextExcuteTime_Dt=nameof(@NextExcuteTime_Dt);
  511. /// <summary>
  512. ///
  513. /// </summary>
  514. public const string @JobDescribe_Str=nameof(@JobDescribe_Str);
  515. /// <summary>
  516. ///
  517. /// </summary>
  518. public const string @JobMessage_Str=nameof(@JobMessage_Str);
  519. /// <summary>
  520. ///
  521. /// </summary>
  522. public const string @TriggerWhenStart_bit=nameof(@TriggerWhenStart_bit);
  523. /// <summary>
  524. ///
  525. /// </summary>
  526. public const string @IsEnable_Bit=nameof(@IsEnable_Bit);
  527. /// <summary>
  528. ///
  529. /// </summary>
  530. public const string @NeedRestart_Bit=nameof(@NeedRestart_Bit);
  531. /// <summary>
  532. ///
  533. /// </summary>
  534. public const string @CreateUser_Str=nameof(@CreateUser_Str);
  535. /// <summary>
  536. ///
  537. /// </summary>
  538. public const string @CreateDate_Dt=nameof(@CreateDate_Dt);
  539. /// <summary>
  540. ///
  541. /// </summary>
  542. public const string @IsSync_Bit=nameof(@IsSync_Bit);
  543. }
  544. /// <summary>
  545. /// Sys_Service
  546. /// </summary>
  547. public class Sys_Service
  548. {
  549. /// <summary>
  550. ///
  551. /// </summary>
  552. public const string @ID=nameof(@ID);
  553. /// <summary>
  554. ///
  555. /// </summary>
  556. public const string @ServiceName_Str=nameof(@ServiceName_Str);
  557. /// <summary>
  558. ///
  559. /// </summary>
  560. public const string @ServiceState_Str=nameof(@ServiceState_Str);
  561. /// <summary>
  562. ///
  563. /// </summary>
  564. public const string @ServiceType_Str=nameof(@ServiceType_Str);
  565. /// <summary>
  566. ///
  567. /// </summary>
  568. public const string @StartTime_Dt=nameof(@StartTime_Dt);
  569. /// <summary>
  570. ///
  571. /// </summary>
  572. public const string @StartSquence_Int=nameof(@StartSquence_Int);
  573. /// <summary>
  574. ///
  575. /// </summary>
  576. public const string @StartDelay_Int=nameof(@StartDelay_Int);
  577. /// <summary>
  578. ///
  579. /// </summary>
  580. public const string @ServiceDescribe_Str=nameof(@ServiceDescribe_Str);
  581. /// <summary>
  582. ///
  583. /// </summary>
  584. public const string @ServiceMessage_Str=nameof(@ServiceMessage_Str);
  585. /// <summary>
  586. ///
  587. /// </summary>
  588. public const string @ServiceConfig_Str=nameof(@ServiceConfig_Str);
  589. /// <summary>
  590. ///
  591. /// </summary>
  592. public const string @IsEnable_Bit=nameof(@IsEnable_Bit);
  593. /// <summary>
  594. ///
  595. /// </summary>
  596. public const string @CreateUser_Str=nameof(@CreateUser_Str);
  597. /// <summary>
  598. ///
  599. /// </summary>
  600. public const string @CreateDate_Dt=nameof(@CreateDate_Dt);
  601. /// <summary>
  602. ///
  603. /// </summary>
  604. public const string @IsSync_Bit=nameof(@IsSync_Bit);
  605. }
  606. }
  607. public static class V_Col_Name
  608. {
  609. }
  610. public static class SP_Paramters
  611. {
  612. }
  613. }
  614. namespace DBModel
  615. {
  616. /// <summary>
  617. ///
  618. /// </summary>
  619. public class sqlite_sequence:ObservableObject
  620. {
  621. private System.Object _name;
  622. /// <summary>
  623. ///
  624. /// </summary>
  625. public System.Object name
  626. {
  627. get {return _name;}
  628. set{
  629. if(value!=(_name))
  630. {
  631. _name=value;
  632. OnPropertyChanged(nameof( name));
  633. }
  634. }
  635. }
  636. private System.Object _seq;
  637. /// <summary>
  638. ///
  639. /// </summary>
  640. public System.Object seq
  641. {
  642. get {return _seq;}
  643. set{
  644. if(value!=(_seq))
  645. {
  646. _seq=value;
  647. OnPropertyChanged(nameof( seq));
  648. }
  649. }
  650. }
  651. }
  652. /// <summary>
  653. ///
  654. /// </summary>
  655. public class Sys_User_Session:ObservableObject
  656. {
  657. private System.Int64 _ID;
  658. /// <summary>
  659. ///
  660. /// </summary>
  661. public System.Int64 ID
  662. {
  663. get {return _ID;}
  664. set{
  665. if(value!=(_ID))
  666. {
  667. _ID=value;
  668. OnPropertyChanged(nameof( ID));
  669. }
  670. }
  671. }
  672. private System.Int32 _OrgID_Int;
  673. /// <summary>
  674. ///
  675. /// </summary>
  676. public System.Int32 OrgID_Int
  677. {
  678. get {return _OrgID_Int;}
  679. set{
  680. if(value!=(_OrgID_Int))
  681. {
  682. _OrgID_Int=value;
  683. OnPropertyChanged(nameof( OrgID_Int));
  684. }
  685. }
  686. }
  687. private System.String _AppName_Str;
  688. /// <summary>
  689. ///
  690. /// </summary>
  691. public System.String AppName_Str
  692. {
  693. get {return _AppName_Str;}
  694. set{
  695. if(value!=(_AppName_Str))
  696. {
  697. _AppName_Str=value;
  698. OnPropertyChanged(nameof( AppName_Str));
  699. }
  700. }
  701. }
  702. private System.String _VersionNumber_Str;
  703. /// <summary>
  704. ///
  705. /// </summary>
  706. public System.String VersionNumber_Str
  707. {
  708. get {return _VersionNumber_Str;}
  709. set{
  710. if(value!=(_VersionNumber_Str))
  711. {
  712. _VersionNumber_Str=value;
  713. OnPropertyChanged(nameof( VersionNumber_Str));
  714. }
  715. }
  716. }
  717. private System.String _SessionID_Str;
  718. /// <summary>
  719. ///
  720. /// </summary>
  721. public System.String SessionID_Str
  722. {
  723. get {return _SessionID_Str;}
  724. set{
  725. if(value!=(_SessionID_Str))
  726. {
  727. _SessionID_Str=value;
  728. OnPropertyChanged(nameof( SessionID_Str));
  729. }
  730. }
  731. }
  732. private System.String _UserID_Str;
  733. /// <summary>
  734. ///
  735. /// </summary>
  736. public System.String UserID_Str
  737. {
  738. get {return _UserID_Str;}
  739. set{
  740. if(value!=(_UserID_Str))
  741. {
  742. _UserID_Str=value;
  743. OnPropertyChanged(nameof( UserID_Str));
  744. }
  745. }
  746. }
  747. private System.String _HostName_Str;
  748. /// <summary>
  749. ///
  750. /// </summary>
  751. public System.String HostName_Str
  752. {
  753. get {return _HostName_Str;}
  754. set{
  755. if(value!=(_HostName_Str))
  756. {
  757. _HostName_Str=value;
  758. OnPropertyChanged(nameof( HostName_Str));
  759. }
  760. }
  761. }
  762. private System.String _MacAddr_Str;
  763. /// <summary>
  764. ///
  765. /// </summary>
  766. public System.String MacAddr_Str
  767. {
  768. get {return _MacAddr_Str;}
  769. set{
  770. if(value!=(_MacAddr_Str))
  771. {
  772. _MacAddr_Str=value;
  773. OnPropertyChanged(nameof( MacAddr_Str));
  774. }
  775. }
  776. }
  777. private System.String _IpAddr_Str;
  778. /// <summary>
  779. ///
  780. /// </summary>
  781. public System.String IpAddr_Str
  782. {
  783. get {return _IpAddr_Str;}
  784. set{
  785. if(value!=(_IpAddr_Str))
  786. {
  787. _IpAddr_Str=value;
  788. OnPropertyChanged(nameof( IpAddr_Str));
  789. }
  790. }
  791. }
  792. private System.DateTime _StartTime_Dt;
  793. /// <summary>
  794. ///
  795. /// </summary>
  796. public System.DateTime StartTime_Dt
  797. {
  798. get {return _StartTime_Dt;}
  799. set{
  800. if(value!=(_StartTime_Dt))
  801. {
  802. _StartTime_Dt=value;
  803. OnPropertyChanged(nameof( StartTime_Dt));
  804. }
  805. }
  806. }
  807. private System.DateTime _LastOnLineTime_Dt;
  808. /// <summary>
  809. ///
  810. /// </summary>
  811. public System.DateTime LastOnLineTime_Dt
  812. {
  813. get {return _LastOnLineTime_Dt;}
  814. set{
  815. if(value!=(_LastOnLineTime_Dt))
  816. {
  817. _LastOnLineTime_Dt=value;
  818. OnPropertyChanged(nameof( LastOnLineTime_Dt));
  819. }
  820. }
  821. }
  822. private System.DateTime _ModifyTime_Dt;
  823. /// <summary>
  824. ///
  825. /// </summary>
  826. public System.DateTime ModifyTime_Dt
  827. {
  828. get {return _ModifyTime_Dt;}
  829. set{
  830. if(value!=(_ModifyTime_Dt))
  831. {
  832. _ModifyTime_Dt=value;
  833. OnPropertyChanged(nameof( ModifyTime_Dt));
  834. }
  835. }
  836. }
  837. private System.String _ModifyUser_Str;
  838. /// <summary>
  839. ///
  840. /// </summary>
  841. public System.String ModifyUser_Str
  842. {
  843. get {return _ModifyUser_Str;}
  844. set{
  845. if(value!=(_ModifyUser_Str))
  846. {
  847. _ModifyUser_Str=value;
  848. OnPropertyChanged(nameof( ModifyUser_Str));
  849. }
  850. }
  851. }
  852. private System.DateTime _CreateTime_Dt;
  853. /// <summary>
  854. ///
  855. /// </summary>
  856. public System.DateTime CreateTime_Dt
  857. {
  858. get {return _CreateTime_Dt;}
  859. set{
  860. if(value!=(_CreateTime_Dt))
  861. {
  862. _CreateTime_Dt=value;
  863. OnPropertyChanged(nameof( CreateTime_Dt));
  864. }
  865. }
  866. }
  867. private System.String _CreateUser_Str;
  868. /// <summary>
  869. ///
  870. /// </summary>
  871. public System.String CreateUser_Str
  872. {
  873. get {return _CreateUser_Str;}
  874. set{
  875. if(value!=(_CreateUser_Str))
  876. {
  877. _CreateUser_Str=value;
  878. OnPropertyChanged(nameof( CreateUser_Str));
  879. }
  880. }
  881. }
  882. private System.String _Remark_Str;
  883. /// <summary>
  884. ///
  885. /// </summary>
  886. public System.String Remark_Str
  887. {
  888. get {return _Remark_Str;}
  889. set{
  890. if(value!=(_Remark_Str))
  891. {
  892. _Remark_Str=value;
  893. OnPropertyChanged(nameof( Remark_Str));
  894. }
  895. }
  896. }
  897. private System.Boolean _IsEnable;
  898. /// <summary>
  899. ///
  900. /// </summary>
  901. public System.Boolean IsEnable
  902. {
  903. get {return _IsEnable;}
  904. set{
  905. if(value!=(_IsEnable))
  906. {
  907. _IsEnable=value;
  908. OnPropertyChanged(nameof( IsEnable));
  909. }
  910. }
  911. }
  912. private System.Boolean _IsPhantom_Bit;
  913. /// <summary>
  914. ///
  915. /// </summary>
  916. public System.Boolean IsPhantom_Bit
  917. {
  918. get {return _IsPhantom_Bit;}
  919. set{
  920. if(value!=(_IsPhantom_Bit))
  921. {
  922. _IsPhantom_Bit=value;
  923. OnPropertyChanged(nameof( IsPhantom_Bit));
  924. }
  925. }
  926. }
  927. private System.Boolean _IsSync_bit;
  928. /// <summary>
  929. ///
  930. /// </summary>
  931. public System.Boolean IsSync_bit
  932. {
  933. get {return _IsSync_bit;}
  934. set{
  935. if(value!=(_IsSync_bit))
  936. {
  937. _IsSync_bit=value;
  938. OnPropertyChanged(nameof( IsSync_bit));
  939. }
  940. }
  941. }
  942. }
  943. /// <summary>
  944. ///
  945. /// </summary>
  946. public class SysApp_DayStatistics:ObservableObject
  947. {
  948. private System.Int64 _ID;
  949. /// <summary>
  950. ///
  951. /// </summary>
  952. public System.Int64 ID
  953. {
  954. get {return _ID;}
  955. set{
  956. if(value!=(_ID))
  957. {
  958. _ID=value;
  959. OnPropertyChanged(nameof( ID));
  960. }
  961. }
  962. }
  963. private System.Int32 _OrgID_Int;
  964. /// <summary>
  965. ///
  966. /// </summary>
  967. public System.Int32 OrgID_Int
  968. {
  969. get {return _OrgID_Int;}
  970. set{
  971. if(value!=(_OrgID_Int))
  972. {
  973. _OrgID_Int=value;
  974. OnPropertyChanged(nameof( OrgID_Int));
  975. }
  976. }
  977. }
  978. private System.Int32 _SubINV_Int;
  979. /// <summary>
  980. ///
  981. /// </summary>
  982. public System.Int32 SubINV_Int
  983. {
  984. get {return _SubINV_Int;}
  985. set{
  986. if(value!=(_SubINV_Int))
  987. {
  988. _SubINV_Int=value;
  989. OnPropertyChanged(nameof( SubINV_Int));
  990. }
  991. }
  992. }
  993. private System.String _Day_Str;
  994. /// <summary>
  995. ///
  996. /// </summary>
  997. public System.String Day_Str
  998. {
  999. get {return _Day_Str;}
  1000. set{
  1001. if(value!=(_Day_Str))
  1002. {
  1003. _Day_Str=value;
  1004. OnPropertyChanged(nameof( Day_Str));
  1005. }
  1006. }
  1007. }
  1008. private System.DateTime _DayStartTime_Dt;
  1009. /// <summary>
  1010. ///
  1011. /// </summary>
  1012. public System.DateTime DayStartTime_Dt
  1013. {
  1014. get {return _DayStartTime_Dt;}
  1015. set{
  1016. if(value!=(_DayStartTime_Dt))
  1017. {
  1018. _DayStartTime_Dt=value;
  1019. OnPropertyChanged(nameof( DayStartTime_Dt));
  1020. }
  1021. }
  1022. }
  1023. private System.String _Source_Str;
  1024. /// <summary>
  1025. ///
  1026. /// </summary>
  1027. public System.String Source_Str
  1028. {
  1029. get {return _Source_Str;}
  1030. set{
  1031. if(value!=(_Source_Str))
  1032. {
  1033. _Source_Str=value;
  1034. OnPropertyChanged(nameof( Source_Str));
  1035. }
  1036. }
  1037. }
  1038. private System.DateTime _DayEndTime_Dt;
  1039. /// <summary>
  1040. ///
  1041. /// </summary>
  1042. public System.DateTime DayEndTime_Dt
  1043. {
  1044. get {return _DayEndTime_Dt;}
  1045. set{
  1046. if(value!=(_DayEndTime_Dt))
  1047. {
  1048. _DayEndTime_Dt=value;
  1049. OnPropertyChanged(nameof( DayEndTime_Dt));
  1050. }
  1051. }
  1052. }
  1053. private System.String _AppName_Str;
  1054. /// <summary>
  1055. ///
  1056. /// </summary>
  1057. public System.String AppName_Str
  1058. {
  1059. get {return _AppName_Str;}
  1060. set{
  1061. if(value!=(_AppName_Str))
  1062. {
  1063. _AppName_Str=value;
  1064. OnPropertyChanged(nameof( AppName_Str));
  1065. }
  1066. }
  1067. }
  1068. private System.String _GroupName_Str;
  1069. /// <summary>
  1070. ///
  1071. /// </summary>
  1072. public System.String GroupName_Str
  1073. {
  1074. get {return _GroupName_Str;}
  1075. set{
  1076. if(value!=(_GroupName_Str))
  1077. {
  1078. _GroupName_Str=value;
  1079. OnPropertyChanged(nameof( GroupName_Str));
  1080. }
  1081. }
  1082. }
  1083. private System.Decimal _Value_Dec;
  1084. /// <summary>
  1085. ///
  1086. /// </summary>
  1087. public System.Decimal Value_Dec
  1088. {
  1089. get {return _Value_Dec;}
  1090. set{
  1091. if(value!=(_Value_Dec))
  1092. {
  1093. _Value_Dec=value;
  1094. OnPropertyChanged(nameof( Value_Dec));
  1095. }
  1096. }
  1097. }
  1098. private System.String _Remark_Str;
  1099. /// <summary>
  1100. ///
  1101. /// </summary>
  1102. public System.String Remark_Str
  1103. {
  1104. get {return _Remark_Str;}
  1105. set{
  1106. if(value!=(_Remark_Str))
  1107. {
  1108. _Remark_Str=value;
  1109. OnPropertyChanged(nameof( Remark_Str));
  1110. }
  1111. }
  1112. }
  1113. private System.DateTime _CreateTime_Dt;
  1114. /// <summary>
  1115. ///
  1116. /// </summary>
  1117. public System.DateTime CreateTime_Dt
  1118. {
  1119. get {return _CreateTime_Dt;}
  1120. set{
  1121. if(value!=(_CreateTime_Dt))
  1122. {
  1123. _CreateTime_Dt=value;
  1124. OnPropertyChanged(nameof( CreateTime_Dt));
  1125. }
  1126. }
  1127. }
  1128. private System.String _CreateUser_Str;
  1129. /// <summary>
  1130. ///
  1131. /// </summary>
  1132. public System.String CreateUser_Str
  1133. {
  1134. get {return _CreateUser_Str;}
  1135. set{
  1136. if(value!=(_CreateUser_Str))
  1137. {
  1138. _CreateUser_Str=value;
  1139. OnPropertyChanged(nameof( CreateUser_Str));
  1140. }
  1141. }
  1142. }
  1143. private System.Boolean _IsSync_bit;
  1144. /// <summary>
  1145. ///
  1146. /// </summary>
  1147. public System.Boolean IsSync_bit
  1148. {
  1149. get {return _IsSync_bit;}
  1150. set{
  1151. if(value!=(_IsSync_bit))
  1152. {
  1153. _IsSync_bit=value;
  1154. OnPropertyChanged(nameof( IsSync_bit));
  1155. }
  1156. }
  1157. }
  1158. }
  1159. /// <summary>
  1160. ///
  1161. /// </summary>
  1162. public class SysApp_MonthStatistics:ObservableObject
  1163. {
  1164. private System.Int64 _ID;
  1165. /// <summary>
  1166. ///
  1167. /// </summary>
  1168. public System.Int64 ID
  1169. {
  1170. get {return _ID;}
  1171. set{
  1172. if(value!=(_ID))
  1173. {
  1174. _ID=value;
  1175. OnPropertyChanged(nameof( ID));
  1176. }
  1177. }
  1178. }
  1179. private System.Int32 _OrgID_Int;
  1180. /// <summary>
  1181. ///
  1182. /// </summary>
  1183. public System.Int32 OrgID_Int
  1184. {
  1185. get {return _OrgID_Int;}
  1186. set{
  1187. if(value!=(_OrgID_Int))
  1188. {
  1189. _OrgID_Int=value;
  1190. OnPropertyChanged(nameof( OrgID_Int));
  1191. }
  1192. }
  1193. }
  1194. private System.Int32 _SubINV_Int;
  1195. /// <summary>
  1196. ///
  1197. /// </summary>
  1198. public System.Int32 SubINV_Int
  1199. {
  1200. get {return _SubINV_Int;}
  1201. set{
  1202. if(value!=(_SubINV_Int))
  1203. {
  1204. _SubINV_Int=value;
  1205. OnPropertyChanged(nameof( SubINV_Int));
  1206. }
  1207. }
  1208. }
  1209. private System.String _Month_Str;
  1210. /// <summary>
  1211. ///
  1212. /// </summary>
  1213. public System.String Month_Str
  1214. {
  1215. get {return _Month_Str;}
  1216. set{
  1217. if(value!=(_Month_Str))
  1218. {
  1219. _Month_Str=value;
  1220. OnPropertyChanged(nameof( Month_Str));
  1221. }
  1222. }
  1223. }
  1224. private System.DateTime _MonthStartTime_Dt;
  1225. /// <summary>
  1226. ///
  1227. /// </summary>
  1228. public System.DateTime MonthStartTime_Dt
  1229. {
  1230. get {return _MonthStartTime_Dt;}
  1231. set{
  1232. if(value!=(_MonthStartTime_Dt))
  1233. {
  1234. _MonthStartTime_Dt=value;
  1235. OnPropertyChanged(nameof( MonthStartTime_Dt));
  1236. }
  1237. }
  1238. }
  1239. private System.DateTime _MonthEndTime_Dt;
  1240. /// <summary>
  1241. ///
  1242. /// </summary>
  1243. public System.DateTime MonthEndTime_Dt
  1244. {
  1245. get {return _MonthEndTime_Dt;}
  1246. set{
  1247. if(value!=(_MonthEndTime_Dt))
  1248. {
  1249. _MonthEndTime_Dt=value;
  1250. OnPropertyChanged(nameof( MonthEndTime_Dt));
  1251. }
  1252. }
  1253. }
  1254. private System.String _Source_Str;
  1255. /// <summary>
  1256. ///
  1257. /// </summary>
  1258. public System.String Source_Str
  1259. {
  1260. get {return _Source_Str;}
  1261. set{
  1262. if(value!=(_Source_Str))
  1263. {
  1264. _Source_Str=value;
  1265. OnPropertyChanged(nameof( Source_Str));
  1266. }
  1267. }
  1268. }
  1269. private System.String _AppName_Str;
  1270. /// <summary>
  1271. ///
  1272. /// </summary>
  1273. public System.String AppName_Str
  1274. {
  1275. get {return _AppName_Str;}
  1276. set{
  1277. if(value!=(_AppName_Str))
  1278. {
  1279. _AppName_Str=value;
  1280. OnPropertyChanged(nameof( AppName_Str));
  1281. }
  1282. }
  1283. }
  1284. private System.String _GroupName_Str;
  1285. /// <summary>
  1286. ///
  1287. /// </summary>
  1288. public System.String GroupName_Str
  1289. {
  1290. get {return _GroupName_Str;}
  1291. set{
  1292. if(value!=(_GroupName_Str))
  1293. {
  1294. _GroupName_Str=value;
  1295. OnPropertyChanged(nameof( GroupName_Str));
  1296. }
  1297. }
  1298. }
  1299. private System.Decimal _Value_Dec;
  1300. /// <summary>
  1301. ///
  1302. /// </summary>
  1303. public System.Decimal Value_Dec
  1304. {
  1305. get {return _Value_Dec;}
  1306. set{
  1307. if(value!=(_Value_Dec))
  1308. {
  1309. _Value_Dec=value;
  1310. OnPropertyChanged(nameof( Value_Dec));
  1311. }
  1312. }
  1313. }
  1314. private System.String _Remark_Str;
  1315. /// <summary>
  1316. ///
  1317. /// </summary>
  1318. public System.String Remark_Str
  1319. {
  1320. get {return _Remark_Str;}
  1321. set{
  1322. if(value!=(_Remark_Str))
  1323. {
  1324. _Remark_Str=value;
  1325. OnPropertyChanged(nameof( Remark_Str));
  1326. }
  1327. }
  1328. }
  1329. private System.DateTime _CreateTime_Dt;
  1330. /// <summary>
  1331. ///
  1332. /// </summary>
  1333. public System.DateTime CreateTime_Dt
  1334. {
  1335. get {return _CreateTime_Dt;}
  1336. set{
  1337. if(value!=(_CreateTime_Dt))
  1338. {
  1339. _CreateTime_Dt=value;
  1340. OnPropertyChanged(nameof( CreateTime_Dt));
  1341. }
  1342. }
  1343. }
  1344. private System.String _CreateUser_Str;
  1345. /// <summary>
  1346. ///
  1347. /// </summary>
  1348. public System.String CreateUser_Str
  1349. {
  1350. get {return _CreateUser_Str;}
  1351. set{
  1352. if(value!=(_CreateUser_Str))
  1353. {
  1354. _CreateUser_Str=value;
  1355. OnPropertyChanged(nameof( CreateUser_Str));
  1356. }
  1357. }
  1358. }
  1359. private System.Boolean _IsSync_bit;
  1360. /// <summary>
  1361. ///
  1362. /// </summary>
  1363. public System.Boolean IsSync_bit
  1364. {
  1365. get {return _IsSync_bit;}
  1366. set{
  1367. if(value!=(_IsSync_bit))
  1368. {
  1369. _IsSync_bit=value;
  1370. OnPropertyChanged(nameof( IsSync_bit));
  1371. }
  1372. }
  1373. }
  1374. }
  1375. /// <summary>
  1376. ///
  1377. /// </summary>
  1378. public class SysApp_YearStatistics:ObservableObject
  1379. {
  1380. private System.Int64 _ID;
  1381. /// <summary>
  1382. ///
  1383. /// </summary>
  1384. public System.Int64 ID
  1385. {
  1386. get {return _ID;}
  1387. set{
  1388. if(value!=(_ID))
  1389. {
  1390. _ID=value;
  1391. OnPropertyChanged(nameof( ID));
  1392. }
  1393. }
  1394. }
  1395. private System.Int32 _OrgID_Int;
  1396. /// <summary>
  1397. ///
  1398. /// </summary>
  1399. public System.Int32 OrgID_Int
  1400. {
  1401. get {return _OrgID_Int;}
  1402. set{
  1403. if(value!=(_OrgID_Int))
  1404. {
  1405. _OrgID_Int=value;
  1406. OnPropertyChanged(nameof( OrgID_Int));
  1407. }
  1408. }
  1409. }
  1410. private System.Int32 _SubINV_Int;
  1411. /// <summary>
  1412. ///
  1413. /// </summary>
  1414. public System.Int32 SubINV_Int
  1415. {
  1416. get {return _SubINV_Int;}
  1417. set{
  1418. if(value!=(_SubINV_Int))
  1419. {
  1420. _SubINV_Int=value;
  1421. OnPropertyChanged(nameof( SubINV_Int));
  1422. }
  1423. }
  1424. }
  1425. private System.String _Year_Str;
  1426. /// <summary>
  1427. ///
  1428. /// </summary>
  1429. public System.String Year_Str
  1430. {
  1431. get {return _Year_Str;}
  1432. set{
  1433. if(value!=(_Year_Str))
  1434. {
  1435. _Year_Str=value;
  1436. OnPropertyChanged(nameof( Year_Str));
  1437. }
  1438. }
  1439. }
  1440. private System.DateTime _YearStartTime_Dt;
  1441. /// <summary>
  1442. ///
  1443. /// </summary>
  1444. public System.DateTime YearStartTime_Dt
  1445. {
  1446. get {return _YearStartTime_Dt;}
  1447. set{
  1448. if(value!=(_YearStartTime_Dt))
  1449. {
  1450. _YearStartTime_Dt=value;
  1451. OnPropertyChanged(nameof( YearStartTime_Dt));
  1452. }
  1453. }
  1454. }
  1455. private System.DateTime _YearEndTime_Dt;
  1456. /// <summary>
  1457. ///
  1458. /// </summary>
  1459. public System.DateTime YearEndTime_Dt
  1460. {
  1461. get {return _YearEndTime_Dt;}
  1462. set{
  1463. if(value!=(_YearEndTime_Dt))
  1464. {
  1465. _YearEndTime_Dt=value;
  1466. OnPropertyChanged(nameof( YearEndTime_Dt));
  1467. }
  1468. }
  1469. }
  1470. private System.String _Source_Str;
  1471. /// <summary>
  1472. ///
  1473. /// </summary>
  1474. public System.String Source_Str
  1475. {
  1476. get {return _Source_Str;}
  1477. set{
  1478. if(value!=(_Source_Str))
  1479. {
  1480. _Source_Str=value;
  1481. OnPropertyChanged(nameof( Source_Str));
  1482. }
  1483. }
  1484. }
  1485. private System.String _AppName_Str;
  1486. /// <summary>
  1487. ///
  1488. /// </summary>
  1489. public System.String AppName_Str
  1490. {
  1491. get {return _AppName_Str;}
  1492. set{
  1493. if(value!=(_AppName_Str))
  1494. {
  1495. _AppName_Str=value;
  1496. OnPropertyChanged(nameof( AppName_Str));
  1497. }
  1498. }
  1499. }
  1500. private System.String _GroupName_Str;
  1501. /// <summary>
  1502. ///
  1503. /// </summary>
  1504. public System.String GroupName_Str
  1505. {
  1506. get {return _GroupName_Str;}
  1507. set{
  1508. if(value!=(_GroupName_Str))
  1509. {
  1510. _GroupName_Str=value;
  1511. OnPropertyChanged(nameof( GroupName_Str));
  1512. }
  1513. }
  1514. }
  1515. private System.Decimal _Value_Dec;
  1516. /// <summary>
  1517. ///
  1518. /// </summary>
  1519. public System.Decimal Value_Dec
  1520. {
  1521. get {return _Value_Dec;}
  1522. set{
  1523. if(value!=(_Value_Dec))
  1524. {
  1525. _Value_Dec=value;
  1526. OnPropertyChanged(nameof( Value_Dec));
  1527. }
  1528. }
  1529. }
  1530. private System.String _Remark_Str;
  1531. /// <summary>
  1532. ///
  1533. /// </summary>
  1534. public System.String Remark_Str
  1535. {
  1536. get {return _Remark_Str;}
  1537. set{
  1538. if(value!=(_Remark_Str))
  1539. {
  1540. _Remark_Str=value;
  1541. OnPropertyChanged(nameof( Remark_Str));
  1542. }
  1543. }
  1544. }
  1545. private System.DateTime _CreateTime_Dt;
  1546. /// <summary>
  1547. ///
  1548. /// </summary>
  1549. public System.DateTime CreateTime_Dt
  1550. {
  1551. get {return _CreateTime_Dt;}
  1552. set{
  1553. if(value!=(_CreateTime_Dt))
  1554. {
  1555. _CreateTime_Dt=value;
  1556. OnPropertyChanged(nameof( CreateTime_Dt));
  1557. }
  1558. }
  1559. }
  1560. private System.String _CreateUser_Str;
  1561. /// <summary>
  1562. ///
  1563. /// </summary>
  1564. public System.String CreateUser_Str
  1565. {
  1566. get {return _CreateUser_Str;}
  1567. set{
  1568. if(value!=(_CreateUser_Str))
  1569. {
  1570. _CreateUser_Str=value;
  1571. OnPropertyChanged(nameof( CreateUser_Str));
  1572. }
  1573. }
  1574. }
  1575. private System.Boolean _IsSync_bit;
  1576. /// <summary>
  1577. ///
  1578. /// </summary>
  1579. public System.Boolean IsSync_bit
  1580. {
  1581. get {return _IsSync_bit;}
  1582. set{
  1583. if(value!=(_IsSync_bit))
  1584. {
  1585. _IsSync_bit=value;
  1586. OnPropertyChanged(nameof( IsSync_bit));
  1587. }
  1588. }
  1589. }
  1590. }
  1591. /// <summary>
  1592. ///
  1593. /// </summary>
  1594. public class Sys_Table_Comment:ObservableObject
  1595. {
  1596. private System.Int64 _ID;
  1597. /// <summary>
  1598. ///
  1599. /// </summary>
  1600. public System.Int64 ID
  1601. {
  1602. get {return _ID;}
  1603. set{
  1604. if(value!=(_ID))
  1605. {
  1606. _ID=value;
  1607. OnPropertyChanged(nameof( ID));
  1608. }
  1609. }
  1610. }
  1611. private System.String _Type_Str;
  1612. /// <summary>
  1613. ///
  1614. /// </summary>
  1615. public System.String Type_Str
  1616. {
  1617. get {return _Type_Str;}
  1618. set{
  1619. if(value!=(_Type_Str))
  1620. {
  1621. _Type_Str=value;
  1622. OnPropertyChanged(nameof( Type_Str));
  1623. }
  1624. }
  1625. }
  1626. private System.String _Group_Str;
  1627. /// <summary>
  1628. ///
  1629. /// </summary>
  1630. public System.String Group_Str
  1631. {
  1632. get {return _Group_Str;}
  1633. set{
  1634. if(value!=(_Group_Str))
  1635. {
  1636. _Group_Str=value;
  1637. OnPropertyChanged(nameof( Group_Str));
  1638. }
  1639. }
  1640. }
  1641. private System.String _TableName_Str;
  1642. /// <summary>
  1643. ///
  1644. /// </summary>
  1645. public System.String TableName_Str
  1646. {
  1647. get {return _TableName_Str;}
  1648. set{
  1649. if(value!=(_TableName_Str))
  1650. {
  1651. _TableName_Str=value;
  1652. OnPropertyChanged(nameof( TableName_Str));
  1653. }
  1654. }
  1655. }
  1656. private System.Object _Comment_Str;
  1657. /// <summary>
  1658. ///
  1659. /// </summary>
  1660. public System.Object Comment_Str
  1661. {
  1662. get {return _Comment_Str;}
  1663. set{
  1664. if(value!=(_Comment_Str))
  1665. {
  1666. _Comment_Str=value;
  1667. OnPropertyChanged(nameof( Comment_Str));
  1668. }
  1669. }
  1670. }
  1671. private System.DateTime _CreateTime_Dt;
  1672. /// <summary>
  1673. ///
  1674. /// </summary>
  1675. public System.DateTime CreateTime_Dt
  1676. {
  1677. get {return _CreateTime_Dt;}
  1678. set{
  1679. if(value!=(_CreateTime_Dt))
  1680. {
  1681. _CreateTime_Dt=value;
  1682. OnPropertyChanged(nameof( CreateTime_Dt));
  1683. }
  1684. }
  1685. }
  1686. }
  1687. /// <summary>
  1688. ///
  1689. /// </summary>
  1690. public class sqlite_stat1:ObservableObject
  1691. {
  1692. private System.Object _tbl;
  1693. /// <summary>
  1694. ///
  1695. /// </summary>
  1696. public System.Object tbl
  1697. {
  1698. get {return _tbl;}
  1699. set{
  1700. if(value!=(_tbl))
  1701. {
  1702. _tbl=value;
  1703. OnPropertyChanged(nameof( tbl));
  1704. }
  1705. }
  1706. }
  1707. private System.Object _idx;
  1708. /// <summary>
  1709. ///
  1710. /// </summary>
  1711. public System.Object idx
  1712. {
  1713. get {return _idx;}
  1714. set{
  1715. if(value!=(_idx))
  1716. {
  1717. _idx=value;
  1718. OnPropertyChanged(nameof( idx));
  1719. }
  1720. }
  1721. }
  1722. private System.Object _stat;
  1723. /// <summary>
  1724. ///
  1725. /// </summary>
  1726. public System.Object stat
  1727. {
  1728. get {return _stat;}
  1729. set{
  1730. if(value!=(_stat))
  1731. {
  1732. _stat=value;
  1733. OnPropertyChanged(nameof( stat));
  1734. }
  1735. }
  1736. }
  1737. }
  1738. /// <summary>
  1739. ///
  1740. /// </summary>
  1741. public class App_Common_ProductLog:ObservableObject
  1742. {
  1743. private System.Int64 _ID;
  1744. /// <summary>
  1745. ///
  1746. /// </summary>
  1747. public System.Int64 ID
  1748. {
  1749. get {return _ID;}
  1750. set{
  1751. if(value!=(_ID))
  1752. {
  1753. _ID=value;
  1754. OnPropertyChanged(nameof( ID));
  1755. }
  1756. }
  1757. }
  1758. private System.Int32 _OrgID_Int;
  1759. /// <summary>
  1760. ///
  1761. /// </summary>
  1762. public System.Int32 OrgID_Int
  1763. {
  1764. get {return _OrgID_Int;}
  1765. set{
  1766. if(value!=(_OrgID_Int))
  1767. {
  1768. _OrgID_Int=value;
  1769. OnPropertyChanged(nameof( OrgID_Int));
  1770. }
  1771. }
  1772. }
  1773. private System.Int32 _SubINV_Int;
  1774. /// <summary>
  1775. ///
  1776. /// </summary>
  1777. public System.Int32 SubINV_Int
  1778. {
  1779. get {return _SubINV_Int;}
  1780. set{
  1781. if(value!=(_SubINV_Int))
  1782. {
  1783. _SubINV_Int=value;
  1784. OnPropertyChanged(nameof( SubINV_Int));
  1785. }
  1786. }
  1787. }
  1788. private System.String _Line_Str;
  1789. /// <summary>
  1790. ///
  1791. /// </summary>
  1792. public System.String Line_Str
  1793. {
  1794. get {return _Line_Str;}
  1795. set{
  1796. if(value!=(_Line_Str))
  1797. {
  1798. _Line_Str=value;
  1799. OnPropertyChanged(nameof( Line_Str));
  1800. }
  1801. }
  1802. }
  1803. private System.String _DeviceID_Str;
  1804. /// <summary>
  1805. ///
  1806. /// </summary>
  1807. public System.String DeviceID_Str
  1808. {
  1809. get {return _DeviceID_Str;}
  1810. set{
  1811. if(value!=(_DeviceID_Str))
  1812. {
  1813. _DeviceID_Str=value;
  1814. OnPropertyChanged(nameof( DeviceID_Str));
  1815. }
  1816. }
  1817. }
  1818. private System.String _BarCode_Str;
  1819. /// <summary>
  1820. ///
  1821. /// </summary>
  1822. public System.String BarCode_Str
  1823. {
  1824. get {return _BarCode_Str;}
  1825. set{
  1826. if(value!=(_BarCode_Str))
  1827. {
  1828. _BarCode_Str=value;
  1829. OnPropertyChanged(nameof( BarCode_Str));
  1830. }
  1831. }
  1832. }
  1833. private System.String _ProductModel_Str;
  1834. /// <summary>
  1835. ///
  1836. /// </summary>
  1837. public System.String ProductModel_Str
  1838. {
  1839. get {return _ProductModel_Str;}
  1840. set{
  1841. if(value!=(_ProductModel_Str))
  1842. {
  1843. _ProductModel_Str=value;
  1844. OnPropertyChanged(nameof( ProductModel_Str));
  1845. }
  1846. }
  1847. }
  1848. private System.Int32 _TestResult_Int;
  1849. /// <summary>
  1850. ///
  1851. /// </summary>
  1852. public System.Int32 TestResult_Int
  1853. {
  1854. get {return _TestResult_Int;}
  1855. set{
  1856. if(value!=(_TestResult_Int))
  1857. {
  1858. _TestResult_Int=value;
  1859. OnPropertyChanged(nameof( TestResult_Int));
  1860. }
  1861. }
  1862. }
  1863. private System.String _NGDesc_Str;
  1864. /// <summary>
  1865. ///
  1866. /// </summary>
  1867. public System.String NGDesc_Str
  1868. {
  1869. get {return _NGDesc_Str;}
  1870. set{
  1871. if(value!=(_NGDesc_Str))
  1872. {
  1873. _NGDesc_Str=value;
  1874. OnPropertyChanged(nameof( NGDesc_Str));
  1875. }
  1876. }
  1877. }
  1878. private System.Int32 _Index_int;
  1879. /// <summary>
  1880. ///
  1881. /// </summary>
  1882. public System.Int32 Index_int
  1883. {
  1884. get {return _Index_int;}
  1885. set{
  1886. if(value!=(_Index_int))
  1887. {
  1888. _Index_int=value;
  1889. OnPropertyChanged(nameof( Index_int));
  1890. }
  1891. }
  1892. }
  1893. private System.Int32 _LotQty_int;
  1894. /// <summary>
  1895. ///
  1896. /// </summary>
  1897. public System.Int32 LotQty_int
  1898. {
  1899. get {return _LotQty_int;}
  1900. set{
  1901. if(value!=(_LotQty_int))
  1902. {
  1903. _LotQty_int=value;
  1904. OnPropertyChanged(nameof( LotQty_int));
  1905. }
  1906. }
  1907. }
  1908. private System.String _CreateUser_Str;
  1909. /// <summary>
  1910. ///
  1911. /// </summary>
  1912. public System.String CreateUser_Str
  1913. {
  1914. get {return _CreateUser_Str;}
  1915. set{
  1916. if(value!=(_CreateUser_Str))
  1917. {
  1918. _CreateUser_Str=value;
  1919. OnPropertyChanged(nameof( CreateUser_Str));
  1920. }
  1921. }
  1922. }
  1923. private System.DateTime _CreateTime_Dt;
  1924. /// <summary>
  1925. ///
  1926. /// </summary>
  1927. public System.DateTime CreateTime_Dt
  1928. {
  1929. get {return _CreateTime_Dt;}
  1930. set{
  1931. if(value!=(_CreateTime_Dt))
  1932. {
  1933. _CreateTime_Dt=value;
  1934. OnPropertyChanged(nameof( CreateTime_Dt));
  1935. }
  1936. }
  1937. }
  1938. private System.DateTime _ModifyTime_Dt;
  1939. /// <summary>
  1940. ///
  1941. /// </summary>
  1942. public System.DateTime ModifyTime_Dt
  1943. {
  1944. get {return _ModifyTime_Dt;}
  1945. set{
  1946. if(value!=(_ModifyTime_Dt))
  1947. {
  1948. _ModifyTime_Dt=value;
  1949. OnPropertyChanged(nameof( ModifyTime_Dt));
  1950. }
  1951. }
  1952. }
  1953. private System.String _ModifyUser_Str;
  1954. /// <summary>
  1955. ///
  1956. /// </summary>
  1957. public System.String ModifyUser_Str
  1958. {
  1959. get {return _ModifyUser_Str;}
  1960. set{
  1961. if(value!=(_ModifyUser_Str))
  1962. {
  1963. _ModifyUser_Str=value;
  1964. OnPropertyChanged(nameof( ModifyUser_Str));
  1965. }
  1966. }
  1967. }
  1968. private System.String _Remark_Str;
  1969. /// <summary>
  1970. ///
  1971. /// </summary>
  1972. public System.String Remark_Str
  1973. {
  1974. get {return _Remark_Str;}
  1975. set{
  1976. if(value!=(_Remark_Str))
  1977. {
  1978. _Remark_Str=value;
  1979. OnPropertyChanged(nameof( Remark_Str));
  1980. }
  1981. }
  1982. }
  1983. }
  1984. /// <summary>
  1985. ///
  1986. /// </summary>
  1987. public class Sys_JobSchedulerExcuteLog:ObservableObject
  1988. {
  1989. private System.Int64 _ID;
  1990. /// <summary>
  1991. ///
  1992. /// </summary>
  1993. public System.Int64 ID
  1994. {
  1995. get {return _ID;}
  1996. set{
  1997. if(value!=(_ID))
  1998. {
  1999. _ID=value;
  2000. OnPropertyChanged(nameof( ID));
  2001. }
  2002. }
  2003. }
  2004. private System.Int32 _JobId_Int;
  2005. /// <summary>
  2006. ///
  2007. /// </summary>
  2008. public System.Int32 JobId_Int
  2009. {
  2010. get {return _JobId_Int;}
  2011. set{
  2012. if(value!=(_JobId_Int))
  2013. {
  2014. _JobId_Int=value;
  2015. OnPropertyChanged(nameof( JobId_Int));
  2016. }
  2017. }
  2018. }
  2019. private System.String _JobType_Str;
  2020. /// <summary>
  2021. ///
  2022. /// </summary>
  2023. public System.String JobType_Str
  2024. {
  2025. get {return _JobType_Str;}
  2026. set{
  2027. if(value!=(_JobType_Str))
  2028. {
  2029. _JobType_Str=value;
  2030. OnPropertyChanged(nameof( JobType_Str));
  2031. }
  2032. }
  2033. }
  2034. private System.Decimal _ElapsedTime_Dec;
  2035. /// <summary>
  2036. ///
  2037. /// </summary>
  2038. public System.Decimal ElapsedTime_Dec
  2039. {
  2040. get {return _ElapsedTime_Dec;}
  2041. set{
  2042. if(value!=(_ElapsedTime_Dec))
  2043. {
  2044. _ElapsedTime_Dec=value;
  2045. OnPropertyChanged(nameof( ElapsedTime_Dec));
  2046. }
  2047. }
  2048. }
  2049. private System.DateTime _ExcuteStartTime_Dt;
  2050. /// <summary>
  2051. ///
  2052. /// </summary>
  2053. public System.DateTime ExcuteStartTime_Dt
  2054. {
  2055. get {return _ExcuteStartTime_Dt;}
  2056. set{
  2057. if(value!=(_ExcuteStartTime_Dt))
  2058. {
  2059. _ExcuteStartTime_Dt=value;
  2060. OnPropertyChanged(nameof( ExcuteStartTime_Dt));
  2061. }
  2062. }
  2063. }
  2064. private System.DateTime _ExcuteFinishTime_Dt;
  2065. /// <summary>
  2066. ///
  2067. /// </summary>
  2068. public System.DateTime ExcuteFinishTime_Dt
  2069. {
  2070. get {return _ExcuteFinishTime_Dt;}
  2071. set{
  2072. if(value!=(_ExcuteFinishTime_Dt))
  2073. {
  2074. _ExcuteFinishTime_Dt=value;
  2075. OnPropertyChanged(nameof( ExcuteFinishTime_Dt));
  2076. }
  2077. }
  2078. }
  2079. private System.DateTime _NextExcuteTime_Dt;
  2080. /// <summary>
  2081. ///
  2082. /// </summary>
  2083. public System.DateTime NextExcuteTime_Dt
  2084. {
  2085. get {return _NextExcuteTime_Dt;}
  2086. set{
  2087. if(value!=(_NextExcuteTime_Dt))
  2088. {
  2089. _NextExcuteTime_Dt=value;
  2090. OnPropertyChanged(nameof( NextExcuteTime_Dt));
  2091. }
  2092. }
  2093. }
  2094. private System.Boolean _ExcuteResult_Bit;
  2095. /// <summary>
  2096. ///
  2097. /// </summary>
  2098. public System.Boolean ExcuteResult_Bit
  2099. {
  2100. get {return _ExcuteResult_Bit;}
  2101. set{
  2102. if(value!=(_ExcuteResult_Bit))
  2103. {
  2104. _ExcuteResult_Bit=value;
  2105. OnPropertyChanged(nameof( ExcuteResult_Bit));
  2106. }
  2107. }
  2108. }
  2109. private System.String _Message_Str;
  2110. /// <summary>
  2111. ///
  2112. /// </summary>
  2113. public System.String Message_Str
  2114. {
  2115. get {return _Message_Str;}
  2116. set{
  2117. if(value!=(_Message_Str))
  2118. {
  2119. _Message_Str=value;
  2120. OnPropertyChanged(nameof( Message_Str));
  2121. }
  2122. }
  2123. }
  2124. private System.String _CreateUser_Str;
  2125. /// <summary>
  2126. ///
  2127. /// </summary>
  2128. public System.String CreateUser_Str
  2129. {
  2130. get {return _CreateUser_Str;}
  2131. set{
  2132. if(value!=(_CreateUser_Str))
  2133. {
  2134. _CreateUser_Str=value;
  2135. OnPropertyChanged(nameof( CreateUser_Str));
  2136. }
  2137. }
  2138. }
  2139. private System.DateTime _CreateDate_Dt;
  2140. /// <summary>
  2141. ///
  2142. /// </summary>
  2143. public System.DateTime CreateDate_Dt
  2144. {
  2145. get {return _CreateDate_Dt;}
  2146. set{
  2147. if(value!=(_CreateDate_Dt))
  2148. {
  2149. _CreateDate_Dt=value;
  2150. OnPropertyChanged(nameof( CreateDate_Dt));
  2151. }
  2152. }
  2153. }
  2154. private System.Boolean _IsSync_Bit;
  2155. /// <summary>
  2156. ///
  2157. /// </summary>
  2158. public System.Boolean IsSync_Bit
  2159. {
  2160. get {return _IsSync_Bit;}
  2161. set{
  2162. if(value!=(_IsSync_Bit))
  2163. {
  2164. _IsSync_Bit=value;
  2165. OnPropertyChanged(nameof( IsSync_Bit));
  2166. }
  2167. }
  2168. }
  2169. }
  2170. /// <summary>
  2171. ///
  2172. /// </summary>
  2173. public class Sys_JobScheduler:ObservableObject
  2174. {
  2175. private System.Int64 _ID;
  2176. /// <summary>
  2177. ///
  2178. /// </summary>
  2179. public System.Int64 ID
  2180. {
  2181. get {return _ID;}
  2182. set{
  2183. if(value!=(_ID))
  2184. {
  2185. _ID=value;
  2186. OnPropertyChanged(nameof( ID));
  2187. }
  2188. }
  2189. }
  2190. private System.String _JobName_Str;
  2191. /// <summary>
  2192. ///
  2193. /// </summary>
  2194. public System.String JobName_Str
  2195. {
  2196. get {return _JobName_Str;}
  2197. set{
  2198. if(value!=(_JobName_Str))
  2199. {
  2200. _JobName_Str=value;
  2201. OnPropertyChanged(nameof( JobName_Str));
  2202. }
  2203. }
  2204. }
  2205. private System.String _JobState_Str;
  2206. /// <summary>
  2207. ///
  2208. /// </summary>
  2209. public System.String JobState_Str
  2210. {
  2211. get {return _JobState_Str;}
  2212. set{
  2213. if(value!=(_JobState_Str))
  2214. {
  2215. _JobState_Str=value;
  2216. OnPropertyChanged(nameof( JobState_Str));
  2217. }
  2218. }
  2219. }
  2220. private System.String _JobType_Str;
  2221. /// <summary>
  2222. ///
  2223. /// </summary>
  2224. public System.String JobType_Str
  2225. {
  2226. get {return _JobType_Str;}
  2227. set{
  2228. if(value!=(_JobType_Str))
  2229. {
  2230. _JobType_Str=value;
  2231. OnPropertyChanged(nameof( JobType_Str));
  2232. }
  2233. }
  2234. }
  2235. private System.String _ExcutePolicy_Str;
  2236. /// <summary>
  2237. ///
  2238. /// </summary>
  2239. public System.String ExcutePolicy_Str
  2240. {
  2241. get {return _ExcutePolicy_Str;}
  2242. set{
  2243. if(value!=(_ExcutePolicy_Str))
  2244. {
  2245. _ExcutePolicy_Str=value;
  2246. OnPropertyChanged(nameof( ExcutePolicy_Str));
  2247. }
  2248. }
  2249. }
  2250. private System.String _JobParameter_Str;
  2251. /// <summary>
  2252. ///
  2253. /// </summary>
  2254. public System.String JobParameter_Str
  2255. {
  2256. get {return _JobParameter_Str;}
  2257. set{
  2258. if(value!=(_JobParameter_Str))
  2259. {
  2260. _JobParameter_Str=value;
  2261. OnPropertyChanged(nameof( JobParameter_Str));
  2262. }
  2263. }
  2264. }
  2265. private System.DateTime _LastExcuteTime_Dt;
  2266. /// <summary>
  2267. ///
  2268. /// </summary>
  2269. public System.DateTime LastExcuteTime_Dt
  2270. {
  2271. get {return _LastExcuteTime_Dt;}
  2272. set{
  2273. if(value!=(_LastExcuteTime_Dt))
  2274. {
  2275. _LastExcuteTime_Dt=value;
  2276. OnPropertyChanged(nameof( LastExcuteTime_Dt));
  2277. }
  2278. }
  2279. }
  2280. private System.DateTime _NextExcuteTime_Dt;
  2281. /// <summary>
  2282. ///
  2283. /// </summary>
  2284. public System.DateTime NextExcuteTime_Dt
  2285. {
  2286. get {return _NextExcuteTime_Dt;}
  2287. set{
  2288. if(value!=(_NextExcuteTime_Dt))
  2289. {
  2290. _NextExcuteTime_Dt=value;
  2291. OnPropertyChanged(nameof( NextExcuteTime_Dt));
  2292. }
  2293. }
  2294. }
  2295. private System.String _JobDescribe_Str;
  2296. /// <summary>
  2297. ///
  2298. /// </summary>
  2299. public System.String JobDescribe_Str
  2300. {
  2301. get {return _JobDescribe_Str;}
  2302. set{
  2303. if(value!=(_JobDescribe_Str))
  2304. {
  2305. _JobDescribe_Str=value;
  2306. OnPropertyChanged(nameof( JobDescribe_Str));
  2307. }
  2308. }
  2309. }
  2310. private System.String _JobMessage_Str;
  2311. /// <summary>
  2312. ///
  2313. /// </summary>
  2314. public System.String JobMessage_Str
  2315. {
  2316. get {return _JobMessage_Str;}
  2317. set{
  2318. if(value!=(_JobMessage_Str))
  2319. {
  2320. _JobMessage_Str=value;
  2321. OnPropertyChanged(nameof( JobMessage_Str));
  2322. }
  2323. }
  2324. }
  2325. private System.Boolean _TriggerWhenStart_bit;
  2326. /// <summary>
  2327. ///
  2328. /// </summary>
  2329. public System.Boolean TriggerWhenStart_bit
  2330. {
  2331. get {return _TriggerWhenStart_bit;}
  2332. set{
  2333. if(value!=(_TriggerWhenStart_bit))
  2334. {
  2335. _TriggerWhenStart_bit=value;
  2336. OnPropertyChanged(nameof( TriggerWhenStart_bit));
  2337. }
  2338. }
  2339. }
  2340. private System.Boolean _IsEnable_Bit;
  2341. /// <summary>
  2342. ///
  2343. /// </summary>
  2344. public System.Boolean IsEnable_Bit
  2345. {
  2346. get {return _IsEnable_Bit;}
  2347. set{
  2348. if(value!=(_IsEnable_Bit))
  2349. {
  2350. _IsEnable_Bit=value;
  2351. OnPropertyChanged(nameof( IsEnable_Bit));
  2352. }
  2353. }
  2354. }
  2355. private System.Boolean _NeedRestart_Bit;
  2356. /// <summary>
  2357. ///
  2358. /// </summary>
  2359. public System.Boolean NeedRestart_Bit
  2360. {
  2361. get {return _NeedRestart_Bit;}
  2362. set{
  2363. if(value!=(_NeedRestart_Bit))
  2364. {
  2365. _NeedRestart_Bit=value;
  2366. OnPropertyChanged(nameof( NeedRestart_Bit));
  2367. }
  2368. }
  2369. }
  2370. private System.String _CreateUser_Str;
  2371. /// <summary>
  2372. ///
  2373. /// </summary>
  2374. public System.String CreateUser_Str
  2375. {
  2376. get {return _CreateUser_Str;}
  2377. set{
  2378. if(value!=(_CreateUser_Str))
  2379. {
  2380. _CreateUser_Str=value;
  2381. OnPropertyChanged(nameof( CreateUser_Str));
  2382. }
  2383. }
  2384. }
  2385. private System.DateTime _CreateDate_Dt;
  2386. /// <summary>
  2387. ///
  2388. /// </summary>
  2389. public System.DateTime CreateDate_Dt
  2390. {
  2391. get {return _CreateDate_Dt;}
  2392. set{
  2393. if(value!=(_CreateDate_Dt))
  2394. {
  2395. _CreateDate_Dt=value;
  2396. OnPropertyChanged(nameof( CreateDate_Dt));
  2397. }
  2398. }
  2399. }
  2400. private System.Boolean _IsSync_Bit;
  2401. /// <summary>
  2402. ///
  2403. /// </summary>
  2404. public System.Boolean IsSync_Bit
  2405. {
  2406. get {return _IsSync_Bit;}
  2407. set{
  2408. if(value!=(_IsSync_Bit))
  2409. {
  2410. _IsSync_Bit=value;
  2411. OnPropertyChanged(nameof( IsSync_Bit));
  2412. }
  2413. }
  2414. }
  2415. }
  2416. /// <summary>
  2417. ///
  2418. /// </summary>
  2419. public class Sys_Service:ObservableObject
  2420. {
  2421. private System.Int64 _ID;
  2422. /// <summary>
  2423. ///
  2424. /// </summary>
  2425. public System.Int64 ID
  2426. {
  2427. get {return _ID;}
  2428. set{
  2429. if(value!=(_ID))
  2430. {
  2431. _ID=value;
  2432. OnPropertyChanged(nameof( ID));
  2433. }
  2434. }
  2435. }
  2436. private System.String _ServiceName_Str;
  2437. /// <summary>
  2438. ///
  2439. /// </summary>
  2440. public System.String ServiceName_Str
  2441. {
  2442. get {return _ServiceName_Str;}
  2443. set{
  2444. if(value!=(_ServiceName_Str))
  2445. {
  2446. _ServiceName_Str=value;
  2447. OnPropertyChanged(nameof( ServiceName_Str));
  2448. }
  2449. }
  2450. }
  2451. private System.String _ServiceState_Str;
  2452. /// <summary>
  2453. ///
  2454. /// </summary>
  2455. public System.String ServiceState_Str
  2456. {
  2457. get {return _ServiceState_Str;}
  2458. set{
  2459. if(value!=(_ServiceState_Str))
  2460. {
  2461. _ServiceState_Str=value;
  2462. OnPropertyChanged(nameof( ServiceState_Str));
  2463. }
  2464. }
  2465. }
  2466. private System.String _ServiceType_Str;
  2467. /// <summary>
  2468. ///
  2469. /// </summary>
  2470. public System.String ServiceType_Str
  2471. {
  2472. get {return _ServiceType_Str;}
  2473. set{
  2474. if(value!=(_ServiceType_Str))
  2475. {
  2476. _ServiceType_Str=value;
  2477. OnPropertyChanged(nameof( ServiceType_Str));
  2478. }
  2479. }
  2480. }
  2481. private System.DateTime _StartTime_Dt;
  2482. /// <summary>
  2483. ///
  2484. /// </summary>
  2485. public System.DateTime StartTime_Dt
  2486. {
  2487. get {return _StartTime_Dt;}
  2488. set{
  2489. if(value!=(_StartTime_Dt))
  2490. {
  2491. _StartTime_Dt=value;
  2492. OnPropertyChanged(nameof( StartTime_Dt));
  2493. }
  2494. }
  2495. }
  2496. private System.Int32 _StartSquence_Int;
  2497. /// <summary>
  2498. ///
  2499. /// </summary>
  2500. public System.Int32 StartSquence_Int
  2501. {
  2502. get {return _StartSquence_Int;}
  2503. set{
  2504. if(value!=(_StartSquence_Int))
  2505. {
  2506. _StartSquence_Int=value;
  2507. OnPropertyChanged(nameof( StartSquence_Int));
  2508. }
  2509. }
  2510. }
  2511. private System.Int32 _StartDelay_Int;
  2512. /// <summary>
  2513. ///
  2514. /// </summary>
  2515. public System.Int32 StartDelay_Int
  2516. {
  2517. get {return _StartDelay_Int;}
  2518. set{
  2519. if(value!=(_StartDelay_Int))
  2520. {
  2521. _StartDelay_Int=value;
  2522. OnPropertyChanged(nameof( StartDelay_Int));
  2523. }
  2524. }
  2525. }
  2526. private System.String _ServiceDescribe_Str;
  2527. /// <summary>
  2528. ///
  2529. /// </summary>
  2530. public System.String ServiceDescribe_Str
  2531. {
  2532. get {return _ServiceDescribe_Str;}
  2533. set{
  2534. if(value!=(_ServiceDescribe_Str))
  2535. {
  2536. _ServiceDescribe_Str=value;
  2537. OnPropertyChanged(nameof( ServiceDescribe_Str));
  2538. }
  2539. }
  2540. }
  2541. private System.String _ServiceMessage_Str;
  2542. /// <summary>
  2543. ///
  2544. /// </summary>
  2545. public System.String ServiceMessage_Str
  2546. {
  2547. get {return _ServiceMessage_Str;}
  2548. set{
  2549. if(value!=(_ServiceMessage_Str))
  2550. {
  2551. _ServiceMessage_Str=value;
  2552. OnPropertyChanged(nameof( ServiceMessage_Str));
  2553. }
  2554. }
  2555. }
  2556. private System.String _ServiceConfig_Str;
  2557. /// <summary>
  2558. ///
  2559. /// </summary>
  2560. public System.String ServiceConfig_Str
  2561. {
  2562. get {return _ServiceConfig_Str;}
  2563. set{
  2564. if(value!=(_ServiceConfig_Str))
  2565. {
  2566. _ServiceConfig_Str=value;
  2567. OnPropertyChanged(nameof( ServiceConfig_Str));
  2568. }
  2569. }
  2570. }
  2571. private System.Boolean _IsEnable_Bit;
  2572. /// <summary>
  2573. ///
  2574. /// </summary>
  2575. public System.Boolean IsEnable_Bit
  2576. {
  2577. get {return _IsEnable_Bit;}
  2578. set{
  2579. if(value!=(_IsEnable_Bit))
  2580. {
  2581. _IsEnable_Bit=value;
  2582. OnPropertyChanged(nameof( IsEnable_Bit));
  2583. }
  2584. }
  2585. }
  2586. private System.String _CreateUser_Str;
  2587. /// <summary>
  2588. ///
  2589. /// </summary>
  2590. public System.String CreateUser_Str
  2591. {
  2592. get {return _CreateUser_Str;}
  2593. set{
  2594. if(value!=(_CreateUser_Str))
  2595. {
  2596. _CreateUser_Str=value;
  2597. OnPropertyChanged(nameof( CreateUser_Str));
  2598. }
  2599. }
  2600. }
  2601. private System.DateTime _CreateDate_Dt;
  2602. /// <summary>
  2603. ///
  2604. /// </summary>
  2605. public System.DateTime CreateDate_Dt
  2606. {
  2607. get {return _CreateDate_Dt;}
  2608. set{
  2609. if(value!=(_CreateDate_Dt))
  2610. {
  2611. _CreateDate_Dt=value;
  2612. OnPropertyChanged(nameof( CreateDate_Dt));
  2613. }
  2614. }
  2615. }
  2616. private System.Boolean _IsSync_Bit;
  2617. /// <summary>
  2618. ///
  2619. /// </summary>
  2620. public System.Boolean IsSync_Bit
  2621. {
  2622. get {return _IsSync_Bit;}
  2623. set{
  2624. if(value!=(_IsSync_Bit))
  2625. {
  2626. _IsSync_Bit=value;
  2627. OnPropertyChanged(nameof( IsSync_Bit));
  2628. }
  2629. }
  2630. }
  2631. }
  2632. }
  2633. namespace DIL
  2634. {
  2635. public class DILDB:SQLiteDB
  2636. {
  2637. #region Auto Declare
  2638. /// <summary>
  2639. ///
  2640. /// </summary>
  2641. public BaseTable sqlite_sequence{get;private set;}
  2642. /// <summary>
  2643. ///
  2644. /// </summary>
  2645. public BaseTable Sys_User_Session{get;private set;}
  2646. /// <summary>
  2647. ///
  2648. /// </summary>
  2649. public BaseTable SysApp_DayStatistics{get;private set;}
  2650. /// <summary>
  2651. ///
  2652. /// </summary>
  2653. public BaseTable SysApp_MonthStatistics{get;private set;}
  2654. /// <summary>
  2655. ///
  2656. /// </summary>
  2657. public BaseTable SysApp_YearStatistics{get;private set;}
  2658. /// <summary>
  2659. ///
  2660. /// </summary>
  2661. public BaseTable Sys_Table_Comment{get;private set;}
  2662. /// <summary>
  2663. ///
  2664. /// </summary>
  2665. public BaseTable sqlite_stat1{get;private set;}
  2666. /// <summary>
  2667. ///
  2668. /// </summary>
  2669. public BaseTable App_Common_ProductLog{get;private set;}
  2670. /// <summary>
  2671. ///
  2672. /// </summary>
  2673. public BaseTable Sys_JobSchedulerExcuteLog{get;private set;}
  2674. /// <summary>
  2675. ///
  2676. /// </summary>
  2677. public BaseTable Sys_JobScheduler{get;private set;}
  2678. /// <summary>
  2679. ///
  2680. /// </summary>
  2681. public BaseTable Sys_Service{get;private set;}
  2682. public DILDB(string folderPath, string fileName,string username=null,string password=null):base(folderPath, fileName,username,password)
  2683. {
  2684. sqlite_sequence=CreateTable("ID","sqlite_sequence");
  2685. Sys_User_Session=CreateTable("ID","Sys_User_Session");
  2686. SysApp_DayStatistics=CreateTable("ID","SysApp_DayStatistics");
  2687. SysApp_MonthStatistics=CreateTable("ID","SysApp_MonthStatistics");
  2688. SysApp_YearStatistics=CreateTable("ID","SysApp_YearStatistics");
  2689. Sys_Table_Comment=CreateTable("ID","Sys_Table_Comment");
  2690. sqlite_stat1=CreateTable("ID","sqlite_stat1");
  2691. App_Common_ProductLog=CreateTable("ID","App_Common_ProductLog");
  2692. Sys_JobSchedulerExcuteLog=CreateTable("ID","Sys_JobSchedulerExcuteLog");
  2693. Sys_JobScheduler=CreateTable("ID","Sys_JobScheduler");
  2694. Sys_Service=CreateTable("ID","Sys_Service");
  2695. }
  2696. #endregion
  2697. }
  2698. #region V1版本数据库架构
  2699. public class DILDBV1:BaseDB
  2700. {
  2701. /// <summary>
  2702. ///
  2703. /// </summary>
  2704. public BaseTable sqlite_sequence{get;private set;}
  2705. /// <summary>
  2706. ///
  2707. /// </summary>
  2708. public BaseTable Sys_User_Session{get;private set;}
  2709. /// <summary>
  2710. ///
  2711. /// </summary>
  2712. public BaseTable SysApp_DayStatistics{get;private set;}
  2713. /// <summary>
  2714. ///
  2715. /// </summary>
  2716. public BaseTable SysApp_MonthStatistics{get;private set;}
  2717. /// <summary>
  2718. ///
  2719. /// </summary>
  2720. public BaseTable SysApp_YearStatistics{get;private set;}
  2721. /// <summary>
  2722. ///
  2723. /// </summary>
  2724. public BaseTable Sys_Table_Comment{get;private set;}
  2725. /// <summary>
  2726. ///
  2727. /// </summary>
  2728. public BaseTable sqlite_stat1{get;private set;}
  2729. /// <summary>
  2730. ///
  2731. /// </summary>
  2732. public BaseTable App_Common_ProductLog{get;private set;}
  2733. /// <summary>
  2734. ///
  2735. /// </summary>
  2736. public BaseTable Sys_JobSchedulerExcuteLog{get;private set;}
  2737. /// <summary>
  2738. ///
  2739. /// </summary>
  2740. public BaseTable Sys_JobScheduler{get;private set;}
  2741. /// <summary>
  2742. ///
  2743. /// </summary>
  2744. public BaseTable Sys_Service{get;private set;}
  2745. private BaseDB innerDb = null;
  2746. public DILDBV1(BaseDB db )
  2747. {
  2748. innerDb = db;
  2749. SO = db.SO;
  2750. DatabaseType = db.DatabaseType;
  2751. DatabaseInfo = db.DatabaseInfo;
  2752. ServerName = db.ServerName;
  2753. sqlite_sequence=innerDb.CreateTable("ID","sqlite_sequence");
  2754. Sys_User_Session=innerDb.CreateTable("ID","Sys_User_Session");
  2755. SysApp_DayStatistics=innerDb.CreateTable("ID","SysApp_DayStatistics");
  2756. SysApp_MonthStatistics=innerDb.CreateTable("ID","SysApp_MonthStatistics");
  2757. SysApp_YearStatistics=innerDb.CreateTable("ID","SysApp_YearStatistics");
  2758. Sys_Table_Comment=innerDb.CreateTable("ID","Sys_Table_Comment");
  2759. sqlite_stat1=innerDb.CreateTable("ID","sqlite_stat1");
  2760. App_Common_ProductLog=innerDb.CreateTable("ID","App_Common_ProductLog");
  2761. Sys_JobSchedulerExcuteLog=innerDb.CreateTable("ID","Sys_JobSchedulerExcuteLog");
  2762. Sys_JobScheduler=innerDb.CreateTable("ID","Sys_JobScheduler");
  2763. Sys_Service=innerDb.CreateTable("ID","Sys_Service");
  2764. }
  2765. public override BaseTable CreateTable(string tableName)
  2766. {
  2767. return innerDb.CreateTable(tableName);
  2768. }
  2769. public override BaseTable CreateTable(string id, string tableName)
  2770. {
  2771. return innerDb.CreateTable(id, tableName);
  2772. }
  2773. protected override string GetCnn()
  2774. {
  2775. return innerDb.ConnectionString;
  2776. }
  2777. public override void Init(string server, string database, string username, string password)
  2778. {
  2779. throw new NotImplementedException();
  2780. }
  2781. public override DateTime? GetDate()
  2782. {
  2783. return innerDb.GetDate();
  2784. }
  2785. public override List<TableInfo> GetTables()
  2786. {
  2787. return innerDb.GetTables();
  2788. }
  2789. public override List<ColumnInfo> GetTableColumns()
  2790. {
  2791. return innerDb.GetTableColumns();
  2792. }
  2793. public override List<TableInfo> GetViews()
  2794. {
  2795. return innerDb.GetViews();
  2796. }
  2797. public override List<ColumnInfo> GetViewColumns()
  2798. {
  2799. return innerDb.GetViewColumns();
  2800. }
  2801. public override ExecuteResult UpdateTableComment(string tableName, string comment)
  2802. {
  2803. return innerDb.UpdateTableComment(tableName, comment);
  2804. }
  2805. public override ExecuteResult UpdateColumnComment(string tableName, string columnName, string comment)
  2806. {
  2807. return innerDb.UpdateColumnComment(tableName,columnName, comment);
  2808. }
  2809. #endregion
  2810. }
  2811. }
  2812. }