LocalDB.cs 95 KB

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