dsFrmLocation.cs 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302
  1. using System;
  2. using System.CodeDom.Compiler;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.ComponentModel.Design;
  6. using System.Data;
  7. using System.Diagnostics;
  8. using System.IO;
  9. using System.Runtime.Serialization;
  10. using System.Xml;
  11. using System.Xml.Schema;
  12. using System.Xml.Serialization;
  13. namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
  14. {
  15. [Serializable]
  16. [HelpKeyword("vs.data.DataSet")]
  17. [DesignerCategory("code")]
  18. [ToolboxItem(true)]
  19. [XmlRoot("dsFrmLocation")]
  20. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  21. [XmlSchemaProvider("GetTypedDataSetSchema")]
  22. public class dsFrmLocation : DataSet
  23. {
  24. public delegate void LocationRowChangeEventHandler(object sender, LocationRowChangeEvent e);
  25. public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
  26. [Serializable]
  27. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  28. [XmlSchemaProvider("GetTypedTableSchema")]
  29. public class LocationDataTable : DataTable, IEnumerable
  30. {
  31. private DataColumn columnNo_Location;
  32. private DataColumn columnName_Location;
  33. private DataColumn columnLevel_Location;
  34. private DataColumn columnLowestLevel_Location;
  35. private DataColumn columnCreateDate_Location;
  36. private DataColumn columnComment_Location;
  37. private DataColumn columnSuspendDate_Location;
  38. private DataColumn columnLastModDate_Location;
  39. private DataColumn columnSubDepot;
  40. private DataColumn columnLastModUser_LocationName;
  41. private DataColumn columnNo_SubLocation;
  42. private DataColumn columnCreateName;
  43. [DebuggerNonUserCode]
  44. public DataColumn No_LocationColumn => columnNo_Location;
  45. [DebuggerNonUserCode]
  46. public DataColumn Name_LocationColumn => columnName_Location;
  47. [DebuggerNonUserCode]
  48. public DataColumn Level_LocationColumn => columnLevel_Location;
  49. [DebuggerNonUserCode]
  50. public DataColumn LowestLevel_LocationColumn => columnLowestLevel_Location;
  51. [DebuggerNonUserCode]
  52. public DataColumn CreateDate_LocationColumn => columnCreateDate_Location;
  53. [DebuggerNonUserCode]
  54. public DataColumn Comment_LocationColumn => columnComment_Location;
  55. [DebuggerNonUserCode]
  56. public DataColumn SuspendDate_LocationColumn => columnSuspendDate_Location;
  57. [DebuggerNonUserCode]
  58. public DataColumn LastModDate_LocationColumn => columnLastModDate_Location;
  59. [DebuggerNonUserCode]
  60. public DataColumn SubDepotColumn => columnSubDepot;
  61. [DebuggerNonUserCode]
  62. public DataColumn LastModUser_LocationNameColumn => columnLastModUser_LocationName;
  63. [DebuggerNonUserCode]
  64. public DataColumn No_SubLocationColumn => columnNo_SubLocation;
  65. [DebuggerNonUserCode]
  66. public DataColumn CreateNameColumn => columnCreateName;
  67. [DebuggerNonUserCode]
  68. [Browsable(false)]
  69. public int Count => base.Rows.Count;
  70. [DebuggerNonUserCode]
  71. public LocationRow this[int index] => (LocationRow)base.Rows[index];
  72. public event LocationRowChangeEventHandler LocationRowChanging;
  73. public event LocationRowChangeEventHandler LocationRowChanged;
  74. public event LocationRowChangeEventHandler LocationRowDeleting;
  75. public event LocationRowChangeEventHandler LocationRowDeleted;
  76. [DebuggerNonUserCode]
  77. public LocationDataTable()
  78. {
  79. base.TableName = "Location";
  80. BeginInit();
  81. InitClass();
  82. EndInit();
  83. }
  84. [DebuggerNonUserCode]
  85. internal LocationDataTable(DataTable table)
  86. {
  87. base.TableName = table.TableName;
  88. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  89. {
  90. base.CaseSensitive = table.CaseSensitive;
  91. }
  92. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  93. {
  94. base.Locale = table.Locale;
  95. }
  96. if (table.Namespace != table.DataSet.Namespace)
  97. {
  98. base.Namespace = table.Namespace;
  99. }
  100. base.Prefix = table.Prefix;
  101. base.MinimumCapacity = table.MinimumCapacity;
  102. }
  103. [DebuggerNonUserCode]
  104. protected LocationDataTable(SerializationInfo info, StreamingContext context)
  105. : base(info, context)
  106. {
  107. InitVars();
  108. }
  109. [DebuggerNonUserCode]
  110. public void AddLocationRow(LocationRow row)
  111. {
  112. base.Rows.Add(row);
  113. }
  114. [DebuggerNonUserCode]
  115. public LocationRow AddLocationRow(string No_Location, string Name_Location, int Level_Location, bool LowestLevel_Location, DateTime CreateDate_Location, string Comment_Location, DateTime SuspendDate_Location, DateTime LastModDate_Location, string SubDepot, string LastModUser_LocationName, string No_SubLocation, string CreateName)
  116. {
  117. LocationRow locationRow = (LocationRow)NewRow();
  118. locationRow.ItemArray = new object[12]
  119. {
  120. No_Location,
  121. Name_Location,
  122. Level_Location,
  123. LowestLevel_Location,
  124. CreateDate_Location,
  125. Comment_Location,
  126. SuspendDate_Location,
  127. LastModDate_Location,
  128. SubDepot,
  129. LastModUser_LocationName,
  130. No_SubLocation,
  131. CreateName
  132. };
  133. base.Rows.Add(locationRow);
  134. return locationRow;
  135. }
  136. [DebuggerNonUserCode]
  137. public virtual IEnumerator GetEnumerator()
  138. {
  139. return base.Rows.GetEnumerator();
  140. }
  141. [DebuggerNonUserCode]
  142. public override DataTable Clone()
  143. {
  144. LocationDataTable locationDataTable = (LocationDataTable)base.Clone();
  145. locationDataTable.InitVars();
  146. return locationDataTable;
  147. }
  148. [DebuggerNonUserCode]
  149. protected override DataTable CreateInstance()
  150. {
  151. return new LocationDataTable();
  152. }
  153. [DebuggerNonUserCode]
  154. internal void InitVars()
  155. {
  156. columnNo_Location = base.Columns["No_Location"];
  157. columnName_Location = base.Columns["Name_Location"];
  158. columnLevel_Location = base.Columns["Level_Location"];
  159. columnLowestLevel_Location = base.Columns["LowestLevel_Location"];
  160. columnCreateDate_Location = base.Columns["CreateDate_Location"];
  161. columnComment_Location = base.Columns["Comment_Location"];
  162. columnSuspendDate_Location = base.Columns["SuspendDate_Location"];
  163. columnLastModDate_Location = base.Columns["LastModDate_Location"];
  164. columnSubDepot = base.Columns["SubDepot"];
  165. columnLastModUser_LocationName = base.Columns["LastModUser_LocationName"];
  166. columnNo_SubLocation = base.Columns["No_SubLocation"];
  167. columnCreateName = base.Columns["CreateName"];
  168. }
  169. [DebuggerNonUserCode]
  170. private void InitClass()
  171. {
  172. columnNo_Location = new DataColumn("No_Location", typeof(string), null, MappingType.Element);
  173. base.Columns.Add(columnNo_Location);
  174. columnName_Location = new DataColumn("Name_Location", typeof(string), null, MappingType.Element);
  175. base.Columns.Add(columnName_Location);
  176. columnLevel_Location = new DataColumn("Level_Location", typeof(int), null, MappingType.Element);
  177. base.Columns.Add(columnLevel_Location);
  178. columnLowestLevel_Location = new DataColumn("LowestLevel_Location", typeof(bool), null, MappingType.Element);
  179. base.Columns.Add(columnLowestLevel_Location);
  180. columnCreateDate_Location = new DataColumn("CreateDate_Location", typeof(DateTime), null, MappingType.Element);
  181. base.Columns.Add(columnCreateDate_Location);
  182. columnComment_Location = new DataColumn("Comment_Location", typeof(string), null, MappingType.Element);
  183. base.Columns.Add(columnComment_Location);
  184. columnSuspendDate_Location = new DataColumn("SuspendDate_Location", typeof(DateTime), null, MappingType.Element);
  185. base.Columns.Add(columnSuspendDate_Location);
  186. columnLastModDate_Location = new DataColumn("LastModDate_Location", typeof(DateTime), null, MappingType.Element);
  187. base.Columns.Add(columnLastModDate_Location);
  188. columnSubDepot = new DataColumn("SubDepot", typeof(string), null, MappingType.Element);
  189. base.Columns.Add(columnSubDepot);
  190. columnLastModUser_LocationName = new DataColumn("LastModUser_LocationName", typeof(string), null, MappingType.Element);
  191. base.Columns.Add(columnLastModUser_LocationName);
  192. columnNo_SubLocation = new DataColumn("No_SubLocation", typeof(string), null, MappingType.Element);
  193. base.Columns.Add(columnNo_SubLocation);
  194. columnCreateName = new DataColumn("CreateName", typeof(string), null, MappingType.Element);
  195. base.Columns.Add(columnCreateName);
  196. }
  197. [DebuggerNonUserCode]
  198. public LocationRow NewLocationRow()
  199. {
  200. return (LocationRow)NewRow();
  201. }
  202. [DebuggerNonUserCode]
  203. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  204. {
  205. return new LocationRow(builder);
  206. }
  207. [DebuggerNonUserCode]
  208. protected override Type GetRowType()
  209. {
  210. return typeof(LocationRow);
  211. }
  212. [DebuggerNonUserCode]
  213. protected override void OnRowChanged(DataRowChangeEventArgs e)
  214. {
  215. base.OnRowChanged(e);
  216. if (this.LocationRowChanged != null)
  217. {
  218. this.LocationRowChanged(this, new LocationRowChangeEvent((LocationRow)e.Row, e.Action));
  219. }
  220. }
  221. [DebuggerNonUserCode]
  222. protected override void OnRowChanging(DataRowChangeEventArgs e)
  223. {
  224. base.OnRowChanging(e);
  225. if (this.LocationRowChanging != null)
  226. {
  227. this.LocationRowChanging(this, new LocationRowChangeEvent((LocationRow)e.Row, e.Action));
  228. }
  229. }
  230. [DebuggerNonUserCode]
  231. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  232. {
  233. base.OnRowDeleted(e);
  234. if (this.LocationRowDeleted != null)
  235. {
  236. this.LocationRowDeleted(this, new LocationRowChangeEvent((LocationRow)e.Row, e.Action));
  237. }
  238. }
  239. [DebuggerNonUserCode]
  240. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  241. {
  242. base.OnRowDeleting(e);
  243. if (this.LocationRowDeleting != null)
  244. {
  245. this.LocationRowDeleting(this, new LocationRowChangeEvent((LocationRow)e.Row, e.Action));
  246. }
  247. }
  248. [DebuggerNonUserCode]
  249. public void RemoveLocationRow(LocationRow row)
  250. {
  251. base.Rows.Remove(row);
  252. }
  253. [DebuggerNonUserCode]
  254. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  255. {
  256. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  257. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  258. dsFrmLocation dsFrmLocation = new dsFrmLocation();
  259. xs.Add(dsFrmLocation.GetSchemaSerializable());
  260. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  261. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  262. xmlSchemaAny.MinOccurs = 0m;
  263. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  264. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  265. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  266. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  267. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  268. xmlSchemaAny2.MinOccurs = 1m;
  269. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  270. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  271. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  272. xmlSchemaAttribute.Name = "namespace";
  273. xmlSchemaAttribute.FixedValue = dsFrmLocation.Namespace;
  274. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  275. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  276. xmlSchemaAttribute2.Name = "tableTypeName";
  277. xmlSchemaAttribute2.FixedValue = "LocationDataTable";
  278. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  279. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  280. return xmlSchemaComplexType;
  281. }
  282. }
  283. [Serializable]
  284. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  285. [XmlSchemaProvider("GetTypedTableSchema")]
  286. public class AppendInfoDataTable : DataTable, IEnumerable
  287. {
  288. private DataColumn columnCurrentCompany;
  289. private DataColumn columnCurrentUser;
  290. [DebuggerNonUserCode]
  291. public DataColumn CurrentCompanyColumn => columnCurrentCompany;
  292. [DebuggerNonUserCode]
  293. public DataColumn CurrentUserColumn => columnCurrentUser;
  294. [DebuggerNonUserCode]
  295. [Browsable(false)]
  296. public int Count => base.Rows.Count;
  297. [DebuggerNonUserCode]
  298. public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index];
  299. public event AppendInfoRowChangeEventHandler AppendInfoRowChanging;
  300. public event AppendInfoRowChangeEventHandler AppendInfoRowChanged;
  301. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting;
  302. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted;
  303. [DebuggerNonUserCode]
  304. public AppendInfoDataTable()
  305. {
  306. base.TableName = "AppendInfo";
  307. BeginInit();
  308. InitClass();
  309. EndInit();
  310. }
  311. [DebuggerNonUserCode]
  312. internal AppendInfoDataTable(DataTable table)
  313. {
  314. base.TableName = table.TableName;
  315. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  316. {
  317. base.CaseSensitive = table.CaseSensitive;
  318. }
  319. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  320. {
  321. base.Locale = table.Locale;
  322. }
  323. if (table.Namespace != table.DataSet.Namespace)
  324. {
  325. base.Namespace = table.Namespace;
  326. }
  327. base.Prefix = table.Prefix;
  328. base.MinimumCapacity = table.MinimumCapacity;
  329. }
  330. [DebuggerNonUserCode]
  331. protected AppendInfoDataTable(SerializationInfo info, StreamingContext context)
  332. : base(info, context)
  333. {
  334. InitVars();
  335. }
  336. [DebuggerNonUserCode]
  337. public void AddAppendInfoRow(AppendInfoRow row)
  338. {
  339. base.Rows.Add(row);
  340. }
  341. [DebuggerNonUserCode]
  342. public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser)
  343. {
  344. AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow();
  345. appendInfoRow.ItemArray = new object[2]
  346. {
  347. CurrentCompany,
  348. CurrentUser
  349. };
  350. base.Rows.Add(appendInfoRow);
  351. return appendInfoRow;
  352. }
  353. [DebuggerNonUserCode]
  354. public virtual IEnumerator GetEnumerator()
  355. {
  356. return base.Rows.GetEnumerator();
  357. }
  358. [DebuggerNonUserCode]
  359. public override DataTable Clone()
  360. {
  361. AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone();
  362. appendInfoDataTable.InitVars();
  363. return appendInfoDataTable;
  364. }
  365. [DebuggerNonUserCode]
  366. protected override DataTable CreateInstance()
  367. {
  368. return new AppendInfoDataTable();
  369. }
  370. [DebuggerNonUserCode]
  371. internal void InitVars()
  372. {
  373. columnCurrentCompany = base.Columns["CurrentCompany"];
  374. columnCurrentUser = base.Columns["CurrentUser"];
  375. }
  376. [DebuggerNonUserCode]
  377. private void InitClass()
  378. {
  379. columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element);
  380. base.Columns.Add(columnCurrentCompany);
  381. columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element);
  382. base.Columns.Add(columnCurrentUser);
  383. }
  384. [DebuggerNonUserCode]
  385. public AppendInfoRow NewAppendInfoRow()
  386. {
  387. return (AppendInfoRow)NewRow();
  388. }
  389. [DebuggerNonUserCode]
  390. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  391. {
  392. return new AppendInfoRow(builder);
  393. }
  394. [DebuggerNonUserCode]
  395. protected override Type GetRowType()
  396. {
  397. return typeof(AppendInfoRow);
  398. }
  399. [DebuggerNonUserCode]
  400. protected override void OnRowChanged(DataRowChangeEventArgs e)
  401. {
  402. base.OnRowChanged(e);
  403. if (this.AppendInfoRowChanged != null)
  404. {
  405. this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  406. }
  407. }
  408. [DebuggerNonUserCode]
  409. protected override void OnRowChanging(DataRowChangeEventArgs e)
  410. {
  411. base.OnRowChanging(e);
  412. if (this.AppendInfoRowChanging != null)
  413. {
  414. this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  415. }
  416. }
  417. [DebuggerNonUserCode]
  418. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  419. {
  420. base.OnRowDeleted(e);
  421. if (this.AppendInfoRowDeleted != null)
  422. {
  423. this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  424. }
  425. }
  426. [DebuggerNonUserCode]
  427. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  428. {
  429. base.OnRowDeleting(e);
  430. if (this.AppendInfoRowDeleting != null)
  431. {
  432. this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  433. }
  434. }
  435. [DebuggerNonUserCode]
  436. public void RemoveAppendInfoRow(AppendInfoRow row)
  437. {
  438. base.Rows.Remove(row);
  439. }
  440. [DebuggerNonUserCode]
  441. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  442. {
  443. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  444. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  445. dsFrmLocation dsFrmLocation = new dsFrmLocation();
  446. xs.Add(dsFrmLocation.GetSchemaSerializable());
  447. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  448. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  449. xmlSchemaAny.MinOccurs = 0m;
  450. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  451. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  452. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  453. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  454. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  455. xmlSchemaAny2.MinOccurs = 1m;
  456. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  457. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  458. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  459. xmlSchemaAttribute.Name = "namespace";
  460. xmlSchemaAttribute.FixedValue = dsFrmLocation.Namespace;
  461. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  462. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  463. xmlSchemaAttribute2.Name = "tableTypeName";
  464. xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable";
  465. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  466. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  467. return xmlSchemaComplexType;
  468. }
  469. }
  470. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  471. public class LocationRow : DataRow
  472. {
  473. private LocationDataTable tableLocation;
  474. [DebuggerNonUserCode]
  475. public string No_Location
  476. {
  477. get
  478. {
  479. try
  480. {
  481. return (string)base[tableLocation.No_LocationColumn];
  482. }
  483. catch (InvalidCastException innerException)
  484. {
  485. throw new StrongTypingException("The value for column 'No_Location' in table 'Location' is DBNull.", innerException);
  486. }
  487. }
  488. set
  489. {
  490. base[tableLocation.No_LocationColumn] = value;
  491. }
  492. }
  493. [DebuggerNonUserCode]
  494. public string Name_Location
  495. {
  496. get
  497. {
  498. try
  499. {
  500. return (string)base[tableLocation.Name_LocationColumn];
  501. }
  502. catch (InvalidCastException innerException)
  503. {
  504. throw new StrongTypingException("The value for column 'Name_Location' in table 'Location' is DBNull.", innerException);
  505. }
  506. }
  507. set
  508. {
  509. base[tableLocation.Name_LocationColumn] = value;
  510. }
  511. }
  512. [DebuggerNonUserCode]
  513. public int Level_Location
  514. {
  515. get
  516. {
  517. try
  518. {
  519. return (int)base[tableLocation.Level_LocationColumn];
  520. }
  521. catch (InvalidCastException innerException)
  522. {
  523. throw new StrongTypingException("The value for column 'Level_Location' in table 'Location' is DBNull.", innerException);
  524. }
  525. }
  526. set
  527. {
  528. base[tableLocation.Level_LocationColumn] = value;
  529. }
  530. }
  531. [DebuggerNonUserCode]
  532. public bool LowestLevel_Location
  533. {
  534. get
  535. {
  536. try
  537. {
  538. return (bool)base[tableLocation.LowestLevel_LocationColumn];
  539. }
  540. catch (InvalidCastException innerException)
  541. {
  542. throw new StrongTypingException("The value for column 'LowestLevel_Location' in table 'Location' is DBNull.", innerException);
  543. }
  544. }
  545. set
  546. {
  547. base[tableLocation.LowestLevel_LocationColumn] = value;
  548. }
  549. }
  550. [DebuggerNonUserCode]
  551. public DateTime CreateDate_Location
  552. {
  553. get
  554. {
  555. try
  556. {
  557. return (DateTime)base[tableLocation.CreateDate_LocationColumn];
  558. }
  559. catch (InvalidCastException innerException)
  560. {
  561. throw new StrongTypingException("The value for column 'CreateDate_Location' in table 'Location' is DBNull.", innerException);
  562. }
  563. }
  564. set
  565. {
  566. base[tableLocation.CreateDate_LocationColumn] = value;
  567. }
  568. }
  569. [DebuggerNonUserCode]
  570. public string Comment_Location
  571. {
  572. get
  573. {
  574. try
  575. {
  576. return (string)base[tableLocation.Comment_LocationColumn];
  577. }
  578. catch (InvalidCastException innerException)
  579. {
  580. throw new StrongTypingException("The value for column 'Comment_Location' in table 'Location' is DBNull.", innerException);
  581. }
  582. }
  583. set
  584. {
  585. base[tableLocation.Comment_LocationColumn] = value;
  586. }
  587. }
  588. [DebuggerNonUserCode]
  589. public DateTime SuspendDate_Location
  590. {
  591. get
  592. {
  593. try
  594. {
  595. return (DateTime)base[tableLocation.SuspendDate_LocationColumn];
  596. }
  597. catch (InvalidCastException innerException)
  598. {
  599. throw new StrongTypingException("The value for column 'SuspendDate_Location' in table 'Location' is DBNull.", innerException);
  600. }
  601. }
  602. set
  603. {
  604. base[tableLocation.SuspendDate_LocationColumn] = value;
  605. }
  606. }
  607. [DebuggerNonUserCode]
  608. public DateTime LastModDate_Location
  609. {
  610. get
  611. {
  612. try
  613. {
  614. return (DateTime)base[tableLocation.LastModDate_LocationColumn];
  615. }
  616. catch (InvalidCastException innerException)
  617. {
  618. throw new StrongTypingException("The value for column 'LastModDate_Location' in table 'Location' is DBNull.", innerException);
  619. }
  620. }
  621. set
  622. {
  623. base[tableLocation.LastModDate_LocationColumn] = value;
  624. }
  625. }
  626. [DebuggerNonUserCode]
  627. public string SubDepot
  628. {
  629. get
  630. {
  631. try
  632. {
  633. return (string)base[tableLocation.SubDepotColumn];
  634. }
  635. catch (InvalidCastException innerException)
  636. {
  637. throw new StrongTypingException("The value for column 'SubDepot' in table 'Location' is DBNull.", innerException);
  638. }
  639. }
  640. set
  641. {
  642. base[tableLocation.SubDepotColumn] = value;
  643. }
  644. }
  645. [DebuggerNonUserCode]
  646. public string LastModUser_LocationName
  647. {
  648. get
  649. {
  650. try
  651. {
  652. return (string)base[tableLocation.LastModUser_LocationNameColumn];
  653. }
  654. catch (InvalidCastException innerException)
  655. {
  656. throw new StrongTypingException("The value for column 'LastModUser_LocationName' in table 'Location' is DBNull.", innerException);
  657. }
  658. }
  659. set
  660. {
  661. base[tableLocation.LastModUser_LocationNameColumn] = value;
  662. }
  663. }
  664. [DebuggerNonUserCode]
  665. public string No_SubLocation
  666. {
  667. get
  668. {
  669. try
  670. {
  671. return (string)base[tableLocation.No_SubLocationColumn];
  672. }
  673. catch (InvalidCastException innerException)
  674. {
  675. throw new StrongTypingException("The value for column 'No_SubLocation' in table 'Location' is DBNull.", innerException);
  676. }
  677. }
  678. set
  679. {
  680. base[tableLocation.No_SubLocationColumn] = value;
  681. }
  682. }
  683. [DebuggerNonUserCode]
  684. public string CreateName
  685. {
  686. get
  687. {
  688. try
  689. {
  690. return (string)base[tableLocation.CreateNameColumn];
  691. }
  692. catch (InvalidCastException innerException)
  693. {
  694. throw new StrongTypingException("The value for column 'CreateName' in table 'Location' is DBNull.", innerException);
  695. }
  696. }
  697. set
  698. {
  699. base[tableLocation.CreateNameColumn] = value;
  700. }
  701. }
  702. [DebuggerNonUserCode]
  703. internal LocationRow(DataRowBuilder rb)
  704. : base(rb)
  705. {
  706. tableLocation = (LocationDataTable)base.Table;
  707. }
  708. [DebuggerNonUserCode]
  709. public bool IsNo_LocationNull()
  710. {
  711. return IsNull(tableLocation.No_LocationColumn);
  712. }
  713. [DebuggerNonUserCode]
  714. public void SetNo_LocationNull()
  715. {
  716. base[tableLocation.No_LocationColumn] = Convert.DBNull;
  717. }
  718. [DebuggerNonUserCode]
  719. public bool IsName_LocationNull()
  720. {
  721. return IsNull(tableLocation.Name_LocationColumn);
  722. }
  723. [DebuggerNonUserCode]
  724. public void SetName_LocationNull()
  725. {
  726. base[tableLocation.Name_LocationColumn] = Convert.DBNull;
  727. }
  728. [DebuggerNonUserCode]
  729. public bool IsLevel_LocationNull()
  730. {
  731. return IsNull(tableLocation.Level_LocationColumn);
  732. }
  733. [DebuggerNonUserCode]
  734. public void SetLevel_LocationNull()
  735. {
  736. base[tableLocation.Level_LocationColumn] = Convert.DBNull;
  737. }
  738. [DebuggerNonUserCode]
  739. public bool IsLowestLevel_LocationNull()
  740. {
  741. return IsNull(tableLocation.LowestLevel_LocationColumn);
  742. }
  743. [DebuggerNonUserCode]
  744. public void SetLowestLevel_LocationNull()
  745. {
  746. base[tableLocation.LowestLevel_LocationColumn] = Convert.DBNull;
  747. }
  748. [DebuggerNonUserCode]
  749. public bool IsCreateDate_LocationNull()
  750. {
  751. return IsNull(tableLocation.CreateDate_LocationColumn);
  752. }
  753. [DebuggerNonUserCode]
  754. public void SetCreateDate_LocationNull()
  755. {
  756. base[tableLocation.CreateDate_LocationColumn] = Convert.DBNull;
  757. }
  758. [DebuggerNonUserCode]
  759. public bool IsComment_LocationNull()
  760. {
  761. return IsNull(tableLocation.Comment_LocationColumn);
  762. }
  763. [DebuggerNonUserCode]
  764. public void SetComment_LocationNull()
  765. {
  766. base[tableLocation.Comment_LocationColumn] = Convert.DBNull;
  767. }
  768. [DebuggerNonUserCode]
  769. public bool IsSuspendDate_LocationNull()
  770. {
  771. return IsNull(tableLocation.SuspendDate_LocationColumn);
  772. }
  773. [DebuggerNonUserCode]
  774. public void SetSuspendDate_LocationNull()
  775. {
  776. base[tableLocation.SuspendDate_LocationColumn] = Convert.DBNull;
  777. }
  778. [DebuggerNonUserCode]
  779. public bool IsLastModDate_LocationNull()
  780. {
  781. return IsNull(tableLocation.LastModDate_LocationColumn);
  782. }
  783. [DebuggerNonUserCode]
  784. public void SetLastModDate_LocationNull()
  785. {
  786. base[tableLocation.LastModDate_LocationColumn] = Convert.DBNull;
  787. }
  788. [DebuggerNonUserCode]
  789. public bool IsSubDepotNull()
  790. {
  791. return IsNull(tableLocation.SubDepotColumn);
  792. }
  793. [DebuggerNonUserCode]
  794. public void SetSubDepotNull()
  795. {
  796. base[tableLocation.SubDepotColumn] = Convert.DBNull;
  797. }
  798. [DebuggerNonUserCode]
  799. public bool IsLastModUser_LocationNameNull()
  800. {
  801. return IsNull(tableLocation.LastModUser_LocationNameColumn);
  802. }
  803. [DebuggerNonUserCode]
  804. public void SetLastModUser_LocationNameNull()
  805. {
  806. base[tableLocation.LastModUser_LocationNameColumn] = Convert.DBNull;
  807. }
  808. [DebuggerNonUserCode]
  809. public bool IsNo_SubLocationNull()
  810. {
  811. return IsNull(tableLocation.No_SubLocationColumn);
  812. }
  813. [DebuggerNonUserCode]
  814. public void SetNo_SubLocationNull()
  815. {
  816. base[tableLocation.No_SubLocationColumn] = Convert.DBNull;
  817. }
  818. [DebuggerNonUserCode]
  819. public bool IsCreateNameNull()
  820. {
  821. return IsNull(tableLocation.CreateNameColumn);
  822. }
  823. [DebuggerNonUserCode]
  824. public void SetCreateNameNull()
  825. {
  826. base[tableLocation.CreateNameColumn] = Convert.DBNull;
  827. }
  828. }
  829. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  830. public class AppendInfoRow : DataRow
  831. {
  832. private AppendInfoDataTable tableAppendInfo;
  833. [DebuggerNonUserCode]
  834. public string CurrentCompany
  835. {
  836. get
  837. {
  838. try
  839. {
  840. return (string)base[tableAppendInfo.CurrentCompanyColumn];
  841. }
  842. catch (InvalidCastException innerException)
  843. {
  844. throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException);
  845. }
  846. }
  847. set
  848. {
  849. base[tableAppendInfo.CurrentCompanyColumn] = value;
  850. }
  851. }
  852. [DebuggerNonUserCode]
  853. public string CurrentUser
  854. {
  855. get
  856. {
  857. try
  858. {
  859. return (string)base[tableAppendInfo.CurrentUserColumn];
  860. }
  861. catch (InvalidCastException innerException)
  862. {
  863. throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException);
  864. }
  865. }
  866. set
  867. {
  868. base[tableAppendInfo.CurrentUserColumn] = value;
  869. }
  870. }
  871. [DebuggerNonUserCode]
  872. internal AppendInfoRow(DataRowBuilder rb)
  873. : base(rb)
  874. {
  875. tableAppendInfo = (AppendInfoDataTable)base.Table;
  876. }
  877. [DebuggerNonUserCode]
  878. public bool IsCurrentCompanyNull()
  879. {
  880. return IsNull(tableAppendInfo.CurrentCompanyColumn);
  881. }
  882. [DebuggerNonUserCode]
  883. public void SetCurrentCompanyNull()
  884. {
  885. base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull;
  886. }
  887. [DebuggerNonUserCode]
  888. public bool IsCurrentUserNull()
  889. {
  890. return IsNull(tableAppendInfo.CurrentUserColumn);
  891. }
  892. [DebuggerNonUserCode]
  893. public void SetCurrentUserNull()
  894. {
  895. base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull;
  896. }
  897. }
  898. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  899. public class LocationRowChangeEvent : EventArgs
  900. {
  901. private LocationRow eventRow;
  902. private DataRowAction eventAction;
  903. [DebuggerNonUserCode]
  904. public LocationRow Row => eventRow;
  905. [DebuggerNonUserCode]
  906. public DataRowAction Action => eventAction;
  907. [DebuggerNonUserCode]
  908. public LocationRowChangeEvent(LocationRow row, DataRowAction action)
  909. {
  910. eventRow = row;
  911. eventAction = action;
  912. }
  913. }
  914. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  915. public class AppendInfoRowChangeEvent : EventArgs
  916. {
  917. private AppendInfoRow eventRow;
  918. private DataRowAction eventAction;
  919. [DebuggerNonUserCode]
  920. public AppendInfoRow Row => eventRow;
  921. [DebuggerNonUserCode]
  922. public DataRowAction Action => eventAction;
  923. [DebuggerNonUserCode]
  924. public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action)
  925. {
  926. eventRow = row;
  927. eventAction = action;
  928. }
  929. }
  930. private LocationDataTable tableLocation;
  931. private AppendInfoDataTable tableAppendInfo;
  932. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  933. [Browsable(false)]
  934. [DebuggerNonUserCode]
  935. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  936. public LocationDataTable Location => tableLocation;
  937. [Browsable(false)]
  938. [DebuggerNonUserCode]
  939. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  940. public AppendInfoDataTable AppendInfo => tableAppendInfo;
  941. [DebuggerNonUserCode]
  942. [Browsable(true)]
  943. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  944. public override SchemaSerializationMode SchemaSerializationMode
  945. {
  946. get
  947. {
  948. return _schemaSerializationMode;
  949. }
  950. set
  951. {
  952. _schemaSerializationMode = value;
  953. }
  954. }
  955. [DebuggerNonUserCode]
  956. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  957. public new DataTableCollection Tables => base.Tables;
  958. [DebuggerNonUserCode]
  959. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  960. public new DataRelationCollection Relations => base.Relations;
  961. [DebuggerNonUserCode]
  962. public dsFrmLocation()
  963. {
  964. BeginInit();
  965. InitClass();
  966. CollectionChangeEventHandler value = SchemaChanged;
  967. base.Tables.CollectionChanged += value;
  968. base.Relations.CollectionChanged += value;
  969. EndInit();
  970. }
  971. [DebuggerNonUserCode]
  972. protected dsFrmLocation(SerializationInfo info, StreamingContext context)
  973. : base(info, context, ConstructSchema: false)
  974. {
  975. if (IsBinarySerialized(info, context))
  976. {
  977. InitVars(initTable: false);
  978. CollectionChangeEventHandler value = SchemaChanged;
  979. Tables.CollectionChanged += value;
  980. Relations.CollectionChanged += value;
  981. return;
  982. }
  983. string s = (string)info.GetValue("XmlSchema", typeof(string));
  984. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  985. {
  986. DataSet dataSet = new DataSet();
  987. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  988. if (dataSet.Tables["Location"] != null)
  989. {
  990. base.Tables.Add(new LocationDataTable(dataSet.Tables["Location"]));
  991. }
  992. if (dataSet.Tables["AppendInfo"] != null)
  993. {
  994. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  995. }
  996. base.DataSetName = dataSet.DataSetName;
  997. base.Prefix = dataSet.Prefix;
  998. base.Namespace = dataSet.Namespace;
  999. base.Locale = dataSet.Locale;
  1000. base.CaseSensitive = dataSet.CaseSensitive;
  1001. base.EnforceConstraints = dataSet.EnforceConstraints;
  1002. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1003. InitVars();
  1004. }
  1005. else
  1006. {
  1007. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  1008. }
  1009. GetSerializationData(info, context);
  1010. CollectionChangeEventHandler value2 = SchemaChanged;
  1011. base.Tables.CollectionChanged += value2;
  1012. Relations.CollectionChanged += value2;
  1013. }
  1014. [DebuggerNonUserCode]
  1015. protected override void InitializeDerivedDataSet()
  1016. {
  1017. BeginInit();
  1018. InitClass();
  1019. EndInit();
  1020. }
  1021. [DebuggerNonUserCode]
  1022. public override DataSet Clone()
  1023. {
  1024. dsFrmLocation dsFrmLocation = (dsFrmLocation)base.Clone();
  1025. dsFrmLocation.InitVars();
  1026. dsFrmLocation.SchemaSerializationMode = SchemaSerializationMode;
  1027. return dsFrmLocation;
  1028. }
  1029. [DebuggerNonUserCode]
  1030. protected override bool ShouldSerializeTables()
  1031. {
  1032. return false;
  1033. }
  1034. [DebuggerNonUserCode]
  1035. protected override bool ShouldSerializeRelations()
  1036. {
  1037. return false;
  1038. }
  1039. [DebuggerNonUserCode]
  1040. protected override void ReadXmlSerializable(XmlReader reader)
  1041. {
  1042. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  1043. {
  1044. Reset();
  1045. DataSet dataSet = new DataSet();
  1046. dataSet.ReadXml(reader);
  1047. if (dataSet.Tables["Location"] != null)
  1048. {
  1049. base.Tables.Add(new LocationDataTable(dataSet.Tables["Location"]));
  1050. }
  1051. if (dataSet.Tables["AppendInfo"] != null)
  1052. {
  1053. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  1054. }
  1055. base.DataSetName = dataSet.DataSetName;
  1056. base.Prefix = dataSet.Prefix;
  1057. base.Namespace = dataSet.Namespace;
  1058. base.Locale = dataSet.Locale;
  1059. base.CaseSensitive = dataSet.CaseSensitive;
  1060. base.EnforceConstraints = dataSet.EnforceConstraints;
  1061. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1062. InitVars();
  1063. }
  1064. else
  1065. {
  1066. ReadXml(reader);
  1067. InitVars();
  1068. }
  1069. }
  1070. [DebuggerNonUserCode]
  1071. protected override XmlSchema GetSchemaSerializable()
  1072. {
  1073. MemoryStream memoryStream = new MemoryStream();
  1074. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  1075. memoryStream.Position = 0L;
  1076. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  1077. }
  1078. [DebuggerNonUserCode]
  1079. internal void InitVars()
  1080. {
  1081. InitVars(initTable: true);
  1082. }
  1083. [DebuggerNonUserCode]
  1084. internal void InitVars(bool initTable)
  1085. {
  1086. tableLocation = (LocationDataTable)base.Tables["Location"];
  1087. if (initTable && tableLocation != null)
  1088. {
  1089. tableLocation.InitVars();
  1090. }
  1091. tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
  1092. if (initTable && tableAppendInfo != null)
  1093. {
  1094. tableAppendInfo.InitVars();
  1095. }
  1096. }
  1097. [DebuggerNonUserCode]
  1098. private void InitClass()
  1099. {
  1100. base.DataSetName = "dsFrmLocation";
  1101. base.Prefix = "";
  1102. base.Namespace = "http://tempuri.org/dsFrmLocation.xsd";
  1103. base.EnforceConstraints = true;
  1104. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  1105. tableLocation = new LocationDataTable();
  1106. base.Tables.Add(tableLocation);
  1107. tableAppendInfo = new AppendInfoDataTable();
  1108. base.Tables.Add(tableAppendInfo);
  1109. }
  1110. [DebuggerNonUserCode]
  1111. private bool ShouldSerializeLocation()
  1112. {
  1113. return false;
  1114. }
  1115. [DebuggerNonUserCode]
  1116. private bool ShouldSerializeAppendInfo()
  1117. {
  1118. return false;
  1119. }
  1120. [DebuggerNonUserCode]
  1121. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  1122. {
  1123. if (e.Action == CollectionChangeAction.Remove)
  1124. {
  1125. InitVars();
  1126. }
  1127. }
  1128. [DebuggerNonUserCode]
  1129. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  1130. {
  1131. dsFrmLocation dsFrmLocation = new dsFrmLocation();
  1132. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1133. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1134. xs.Add(dsFrmLocation.GetSchemaSerializable());
  1135. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1136. xmlSchemaAny.Namespace = dsFrmLocation.Namespace;
  1137. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1138. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1139. return xmlSchemaComplexType;
  1140. }
  1141. }
  1142. }