InvokeHelper.cs 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. /******************************************************************************
  2. * 文件名称: InvokeHelper.cs
  3. * 文件说明: 调用助手,调用方法的封装
  4. * 当前版本: V1.0
  5. * 创建日期: 2022-04-12
  6. *
  7. * 2020-04-12: 增加 businessDLLInvoke 方法
  8. * 2020-04-12: 增加 writeLog 方法
  9. * 2020-04-14: 增加 businessDLLInvoke(重载) 方法
  10. * 2020-04-14: 增加 irisServiceInvoke 方法
  11. ******************************************************************************/
  12. using Newtonsoft.Json.Linq;
  13. using System;
  14. using System.Collections.Generic;
  15. using System.IO;
  16. using System.Linq;
  17. using System.Net;
  18. using System.Text;
  19. using System.Threading.Tasks;
  20. using System.Windows.Forms;
  21. using PTMedicalInsurance.Helper;
  22. using Newtonsoft.Json;
  23. using PTMedicalInsurance.Common;
  24. using PTMedicalInsurance.Variables;
  25. using System.Runtime.InteropServices;
  26. using chsinterfaceyn;
  27. using System.Reflection;
  28. namespace PTMedicalInsurance.Helper
  29. {
  30. class InvokeHelper
  31. {
  32. private string serviceURL;
  33. private string authorization;
  34. //广西南宁基线版医保接口调用COM
  35. //string progID1 = "YinHai.XJ.Actual.Interface.New";
  36. //System.Type YinHaiComType;
  37. //object YinHaiComInstance;
  38. public void Call(string infno, string input, out string output)
  39. {
  40. try
  41. {
  42. Type YinHaiComType = System.Type.GetTypeFromProgID("YinHai.XJ.Actual.Interface.New");
  43. if (YinHaiComType != null)
  44. {
  45. //创建实例,不能再次创建,否则会提示没有初始化
  46. object YinHaiComInstance = System.Activator.CreateInstance(YinHaiComType);
  47. if (YinHaiComInstance != null)
  48. {
  49. Global.writeLog("实例创建成功,准备调用Call服务");
  50. }
  51. else
  52. {
  53. output = "实例不存在!";
  54. Global.writeLog("实例不存在");
  55. return;
  56. }
  57. //GlobalVariables.writeLog("入参infno:" + infno);
  58. //GlobalVariables.writeLog("入参input:" + input);
  59. //设置需要设置的参数值
  60. object[] ParamArray = new object[3];
  61. ParamArray[0] = infno;
  62. ParamArray[1] = input;
  63. ParamArray[2] = "";
  64. ParameterModifier[] ParamMods = new ParameterModifier[1];
  65. ParamMods[0] = new ParameterModifier(3); // 初始化为接口参数的个数
  66. //ParamMods[0][0] = false;
  67. //ParamMods[0][1] = false;
  68. ParamMods[0][2] = true;
  69. YinHaiComType.InvokeMember("gxyb_call", // 接口函数名
  70. BindingFlags.Default | BindingFlags.InvokeMethod,
  71. null,
  72. YinHaiComInstance, // 调用的COM组件
  73. ParamArray, // 参数数组
  74. ParamMods, // 指定返回参数的ParameterModifier数组
  75. null,
  76. null);
  77. output = ParamArray[2].ToString();
  78. Global.writeLog("Com输出:" + output);
  79. }
  80. else
  81. {
  82. output = "COM加载失败!";
  83. Global.writeLog("COM加载失败!");
  84. }
  85. }
  86. catch (Exception ex)
  87. {
  88. output = ex.Message;
  89. Global.writeLog("COM加载失败!" + output);
  90. }
  91. }
  92. /// <summary>
  93. /// iris服务调用的封装
  94. /// </summary>
  95. /// <param name="data"></param>
  96. /// <returns></returns>
  97. public JObject invokeIrisService(string data, string serviceDesc)
  98. {
  99. string rtn = "", url = "";
  100. JObject joRtn = new JObject();
  101. try
  102. {
  103. //先根据用户请求的uri构造请求地址
  104. url = serviceURL;
  105. ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
  106. ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
  107. //创建Web访问对象
  108. HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(url);
  109. //把用户传过来的数据转成“UTF-8”的字节流
  110. byte[] buf = System.Text.Encoding.GetEncoding("UTF-8").GetBytes(data);
  111. //添加头部信息
  112. myRequest.Method = "POST";
  113. myRequest.ContentLength = buf.Length;
  114. myRequest.ContentType = "application/json";
  115. myRequest.Headers.Add("Authorization", authorization);
  116. myRequest.MaximumAutomaticRedirections = 1;
  117. myRequest.AllowAutoRedirect = true;
  118. //发送请求
  119. Stream stream = myRequest.GetRequestStream();
  120. stream.Write(buf, 0, buf.Length);
  121. stream.Close();
  122. //获取接口返回值
  123. //通过Web访问对象获取响应内容
  124. HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse();
  125. //通过响应内容流创建StreamReader对象,因为StreamReader更高级更快
  126. StreamReader reader = new StreamReader(myResponse.GetResponseStream(), Encoding.UTF8);
  127. //string rtn = HttpUtility.UrlDecode(reader.ReadToEnd());//如果有编码问题就用这个方法
  128. rtn = reader.ReadToEnd();//利用StreamReader就可以从响应内容从头读到尾
  129. reader.Close();
  130. myResponse.Close();
  131. joRtn = JObject.Parse(rtn);
  132. return joRtn;
  133. }
  134. catch (Exception ex)
  135. {
  136. joRtn = JsonHelper.setExceptionJson(-1, serviceDesc, ex.Message);
  137. rtn = JsonConvert.SerializeObject(joRtn);
  138. return joRtn;
  139. }
  140. }
  141. /// <summary>
  142. /// HIS服务调用的封装
  143. /// </summary>
  144. /// <param name="data"></param>
  145. /// <returns></returns>
  146. public JObject invokeHISService(string data, string serviceDesc)
  147. {
  148. JObject joRtn = new JObject();
  149. try
  150. {
  151. //先根据用户请求的uri构造请求地址
  152. serviceURL = string.Format("{0}/{1}", Global.hisConfig.ip, Global.hisConfig.url);
  153. authorization = Global.hisConfig.authorization;
  154. joRtn = invokeIrisService(data, serviceDesc);
  155. return joRtn;
  156. }
  157. catch (Exception ex)
  158. {
  159. joRtn = JsonHelper.setExceptionJson(-1, serviceDesc, ex.Message);
  160. return joRtn;
  161. }
  162. finally
  163. {
  164. Global.writeLog_Iris(serviceDesc + "(" + serviceURL + ")" + "Authorization:" + (authorization), JsonHelper.Compress(data), JsonHelper.Compress(joRtn));
  165. }
  166. }
  167. /// <summary>
  168. /// 医保平台服务调用的封装
  169. /// </summary>
  170. /// <param name="data"></param>
  171. /// <returns></returns>
  172. public JObject invokeInsuService(string data, string serviceDesc)
  173. {
  174. string rtn = "";
  175. JObject joRtn = new JObject();
  176. try
  177. {
  178. //先根据用户请求的uri构造请求地址
  179. serviceURL = string.Format("{0}/{1}", Global.insuConfig.ip, Global.insuConfig.url);
  180. authorization = Global.insuConfig.authorization;
  181. joRtn = invokeIrisService(data, serviceDesc);
  182. rtn = JsonConvert.SerializeObject(joRtn);
  183. return joRtn;
  184. }
  185. catch (Exception ex)
  186. {
  187. joRtn = JsonHelper.setExceptionJson(-1, serviceDesc, ex.Message);
  188. rtn = JsonConvert.SerializeObject(joRtn);
  189. return joRtn;
  190. }
  191. finally
  192. {
  193. Global.writeLog_Iris(serviceDesc + "(" + serviceURL + ")" + "Authorization:" + (authorization), JsonHelper.Compress(data), rtn);
  194. }
  195. }
  196. /// <summary>
  197. /// 医保中心Post服务调用封装
  198. /// </summary>
  199. /// <param name="data"></param>
  200. /// <returns></returns>
  201. private JObject invokeCenterService(string data)
  202. {
  203. string postContent = "";
  204. JObject joRtn = new JObject();
  205. try
  206. {
  207. //创建一个HTTP请求
  208. HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Global.curEvt.URL);
  209. //Post请求方式
  210. request.Method = "POST";
  211. /*
  212. //昆明增加头部信息
  213. string nonce = Guid.NewGuid().ToString(); //非重复的随机字符串(十分钟内不能重复)
  214. string timestamp = TimeStamp.get13().ToString(); //当前时间戳(秒)
  215. string BusinessID = Global.inf.BusinessID; //服务商ID
  216. string InsuHosID = Global.inf.hospitalNO; //医疗机构ID
  217. string CreditID = Global.inf.CreditID; //服务商统一社会信用代码
  218. string sTemp = timestamp + BusinessID + nonce;
  219. //Sha256 加密生成的签名 signature = sha256(hsf_timestamp + infosyssign + hsf_nonce)
  220. string signature = Encrypt.SHA256EncryptStr(sTemp);
  221. request.Headers.Add("hsf_signature", signature);
  222. request.Headers.Add("hsf_timestamp", timestamp);
  223. request.Headers.Add("hsf_nonce", nonce);
  224. request.Headers.Add("fixmedins_code", InsuHosID);
  225. request.Headers.Add("infosyscode", CreditID);
  226. */
  227. //内容类型
  228. request.ContentType = "application/json";
  229. //设置参数,并进行URL编码
  230. string paraUrlCoded = data;//System.Web.HttpUtility.UrlEncode(jsonParas);
  231. byte[] payload;
  232. //将Json字符串转化为字节
  233. payload = System.Text.Encoding.UTF8.GetBytes(paraUrlCoded);
  234. //设置请求的ContentLength
  235. request.ContentLength = payload.Length;
  236. //发送请求,获得请求流
  237. Stream writer;
  238. writer = request.GetRequestStream();//获取用于写入请求数据的Stream对象
  239. //将请求参数写入流
  240. writer.Write(payload, 0, payload.Length);
  241. writer.Close();//关闭请求流
  242. // String strValue = "";//strValue为http响应所返回的字符流
  243. HttpWebResponse response;
  244. try
  245. {
  246. //获得响应流
  247. response = (HttpWebResponse)request.GetResponse();
  248. }
  249. catch (WebException ex)
  250. {
  251. response = ex.Response as HttpWebResponse;
  252. return JsonHelper.setExceptionJson(-99, "centerServeiceInvok中获得响应流异常", ex.Message);
  253. }
  254. Stream s = response.GetResponseStream();
  255. StreamReader sRead = new StreamReader(s);
  256. postContent = sRead.ReadToEnd();
  257. sRead.Close();
  258. joRtn = JObject.Parse(postContent);//返回Json数据
  259. return joRtn;
  260. }
  261. catch (Exception ex)
  262. {
  263. postContent = "调用中心服务异常" + ex.Message;
  264. joRtn.Add("infcode", -1);
  265. joRtn.Add("err_msg", "invokeCenterService(1):" + ex.Message);
  266. return joRtn;
  267. }
  268. }
  269. /// <summary>
  270. /// 这个是调用业务服务的invokeCenterService
  271. /// </summary>
  272. /// <param name="funNO"></param>
  273. /// <param name="data"></param>
  274. /// <returns></returns>
  275. public JObject invokeCenterService(string funNO, JObject data)
  276. {
  277. JObject joRtn = new JObject();
  278. string outPar = "";
  279. string input = "";
  280. try
  281. {
  282. Global.curEvt.URL = Global.inf.centerURL;
  283. //if ((funNO == "3101") || (funNO == "3102"))
  284. //{
  285. // if (Global.pat.mdtrtarea_admvs == "450100")
  286. // Global.curEvt.URL = "http://10.98.49.232/fsi/web/api/fsi/callService";
  287. // else if (Global.pat.mdtrtarea_admvs == "459900")
  288. // Global.curEvt.URL = "http://10.98.49.233/fsi/web/api/fsi/callService";
  289. //}
  290. input = JsonHelper.setCenterInpar(funNO, data.ToString());
  291. joRtn = invokeCenterService(data.ToString());
  292. outPar = JsonHelper.Compress(joRtn);
  293. return joRtn;
  294. }
  295. catch (Exception ex)
  296. {
  297. if (joRtn["infcode"] == null)
  298. { joRtn.Add("infcode", -1); }
  299. if (joRtn["err_msg"] == null)
  300. { joRtn.Add("err_msg", "invokeCenterService(2):" + ex.Message); }
  301. outPar = JsonHelper.Compress(joRtn);
  302. return joRtn;
  303. }
  304. finally
  305. {
  306. Global.writeLog(funNO + "(" + Global.curEvt.URL + ")", JsonHelper.Compress(data), joRtn.ToString());
  307. this.saveCenterLog(JsonHelper.Compress(data), outPar, JsonHelper.Compress(data), outPar);
  308. }
  309. }
  310. /// <summary>
  311. /// 这个是下载目录用的invokeCenterService
  312. /// </summary>
  313. /// <param name="funNO"></param>
  314. /// <param name="data"></param>
  315. /// <returns></returns>
  316. public JObject invokeCenterService(string funNO, string data)
  317. {
  318. JObject joRtn = new JObject();
  319. int iInt = 0;
  320. String outPar = "";
  321. string input = "";
  322. try
  323. {
  324. Global.curEvt.URL = Global.inf.centerURL ;
  325. //if ((funNO == "3101") || (funNO == "3102"))
  326. //{
  327. // if (Global.pat.mdtrtarea_admvs == "450100")
  328. // Global.curEvt.URL = "http://10.98.49.232/fsi/web/api/fsi/callService";
  329. // else if (Global.pat.mdtrtarea_admvs == "459900")
  330. // Global.curEvt.URL = "http://10.98.49.233/fsi/web/api/fsi/callService";
  331. //}
  332. //input = JsonHelper.setCenterInpar(funNO, data.ToString());
  333. joRtn = invokeCenterService(data);
  334. outPar = JsonHelper.Compress(joRtn);
  335. return joRtn;
  336. }
  337. catch (Exception ex)
  338. {
  339. if (joRtn["infcode"] == null)
  340. { joRtn.Add("infcode", -1); }
  341. if (joRtn["err_msg"] == null)
  342. { joRtn.Add("err_msg", "invokeCenterService(3):" + ex.Message); }
  343. outPar = JsonHelper.Compress(joRtn);
  344. return joRtn;
  345. }
  346. finally
  347. {
  348. Global.writeLog(funNO + "(" + Global.curEvt.URL + ")", JsonHelper.Compress(data), joRtn.ToString());
  349. this.saveCenterLog(JsonHelper.Compress(data), outPar, JsonHelper.Compress(data), outPar);
  350. }
  351. }
  352. /// <summary>
  353. /// 医保账户代支结算用
  354. /// </summary>
  355. /// <param name="funNO"></param>
  356. /// <param name="data"></param>
  357. /// <returns></returns>
  358. public JObject invokeCenterServiceOfMutualAid(string funNO, string data)
  359. {
  360. JObject joRtn = new JObject();
  361. int iInt = 0;
  362. String outPar = "";
  363. string input = "";
  364. try
  365. {
  366. Global.curEvt.URL = Global.inf.mutualAidCenterURL;
  367. //input = JsonHelper.setCenterInpar(funNO, data.ToString());
  368. joRtn = invokeCenterService(data);
  369. outPar = JsonHelper.Compress(joRtn);
  370. return joRtn;
  371. }
  372. catch (Exception ex)
  373. {
  374. if (joRtn["infcode"] == null)
  375. { joRtn.Add("infcode", -1); }
  376. if (joRtn["err_msg"] == null)
  377. { joRtn.Add("err_msg", "invokeCenterService(3):" + ex.Message); }
  378. outPar = JsonHelper.Compress(joRtn);
  379. return joRtn;
  380. }
  381. finally
  382. {
  383. Global.writeLog(funNO + "(" + Global.curEvt.URL + ")", JsonHelper.Compress(data), joRtn.ToString());
  384. this.saveCenterLog(JsonHelper.Compress(data), outPar, JsonHelper.Compress(data), outPar);
  385. }
  386. }
  387. /// <summary>
  388. /// 医保目录txt文件下载
  389. /// </summary>
  390. /// <param name="data"></param>
  391. /// <returns></returns>
  392. public JObject DownloadCenterFileByAPI(string data)
  393. {
  394. string error = string.Empty; int errorCode = 0;
  395. string sRtn = "";
  396. try
  397. {
  398. JObject jsonInParam = JObject.Parse(data);
  399. string fileName = (string)jsonInParam["input"]["fsDownloadIn"]["filename"];
  400. string filePath = Global.curEvt.path + "\\Download\\" + fileName;
  401. //MessageBox.Show("9102下载文件入参:"+jsonInParam.ToString());
  402. //如果不存在目录,则创建目录
  403. if (!Directory.Exists(Global.curEvt.path + "\\Download"))
  404. {
  405. //创建文件夹
  406. DirectoryInfo dirInfo = Directory.CreateDirectory(Global.curEvt.path + "\\Download");
  407. }
  408. if (File.Exists(filePath))
  409. {
  410. File.Delete(filePath);
  411. }
  412. FileStream fs = new FileStream(filePath, FileMode.Append, FileAccess.Write, FileShare.ReadWrite);
  413. //创建一个HTTP请求
  414. //Global.curEvt.URL = Global.inf.centerURL + "/hsa-fsi-9102";
  415. Global.curEvt.URL = Global.inf.centerURL;
  416. HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Global.curEvt.URL);
  417. //Post请求方式
  418. request.Method = "POST";
  419. string timestamp = TimeStamp.get13().ToString(); //当前时间戳(秒)
  420. string nonce = Guid.NewGuid().ToString(); //非重复的随机字符串(十分钟内不能重复)
  421. string InsuHosID = Global.inf.hospitalNO; //医疗机构ID
  422. string CreditID = Global.inf.CreditID; //服务商统一社会信用代码
  423. string BusinessID = Global.inf.BusinessID; //服务商ID
  424. //内容类型
  425. request.ContentType = "application/json";
  426. /*
  427. //昆明增加头部信息
  428. string sTemp = timestamp + BusinessID + nonce;
  429. //Sha256 加密生成的签名 signature = sha256(hsf_timestamp + infosyssign + hsf_nonce)
  430. string signature = Encrypt.SHA256EncryptStr(sTemp);
  431. request.Headers.Add("hsf_signature", signature);
  432. request.Headers.Add("hsf_timestamp", timestamp);
  433. request.Headers.Add("hsf_nonce", nonce);
  434. request.Headers.Add("fixmedins_code", InsuHosID);
  435. request.Headers.Add("infosyscode", CreditID);
  436. */
  437. //设置参数,并进行URL编码
  438. string paraUrlCoded = data;//System.Web.HttpUtility.UrlEncode(jsonParas);
  439. byte[] payload;
  440. //将Json字符串转化为字节
  441. payload = System.Text.Encoding.UTF8.GetBytes(paraUrlCoded);
  442. //设置请求的ContentLength
  443. request.ContentLength = payload.Length;
  444. Stream writer;
  445. try
  446. {
  447. writer = request.GetRequestStream();//获取用于写入请求数据的Stream对象
  448. }
  449. catch (Exception)
  450. {
  451. writer = null;
  452. errorCode = -100;
  453. error = "连接服务器失败!";
  454. }
  455. //将请求参数写入流
  456. writer.Write(payload, 0, payload.Length);
  457. writer.Close();//关闭请求流
  458. // String strValue = "";//strValue为http响应所返回的字符流
  459. //发送请求并获取相应回应数据
  460. HttpWebResponse response = request.GetResponse() as HttpWebResponse;
  461. //直到request.GetResponse()程序才开始向目标网页发送Post请求
  462. Stream responseStream = response.GetResponseStream();
  463. //创建本地文件写入流
  464. byte[] bArr = new byte[1024];
  465. int iTotalSize = 0;
  466. int size = responseStream.Read(bArr, 0, (int)bArr.Length);
  467. while (size > 0)
  468. {
  469. iTotalSize += size;
  470. fs.Write(bArr, 0, size);
  471. size = responseStream.Read(bArr, 0, (int)bArr.Length);
  472. }
  473. fs.Close();
  474. responseStream.Close();
  475. dynamic joReturn = new JObject();
  476. joReturn.errorCode = errorCode;
  477. joReturn.errorMessage = error;
  478. joReturn.filePath = filePath;
  479. sRtn = joReturn.ToString();
  480. return joReturn;
  481. }
  482. catch (Exception ex)
  483. {
  484. errorCode = -100;
  485. error = ex.Message;
  486. dynamic joReturn = new JObject();
  487. joReturn.errorCode = errorCode;
  488. joReturn.errorMessage = error;
  489. sRtn = joReturn.ToString();
  490. return joReturn;
  491. }
  492. finally
  493. {
  494. Global.writeLog("DownloadCenterFile" +"(" + Global.curEvt.URL + ")", data, sRtn);
  495. }
  496. }
  497. /// <summary>
  498. /// 保存中心交易日志到数据库
  499. /// </summary>
  500. /// <param name="inParam"></param>
  501. /// <param name="outParam"></param>
  502. /// <param name="inParamPlain"></param>
  503. /// <param name="outParamPlain"></param>
  504. private void saveCenterLog(string inParam, string outParam, string inParamPlain, string outParamPlain)
  505. {
  506. dynamic joIris = new JObject();
  507. string sRtn = "";
  508. try
  509. {
  510. //解析postContent,插入医保交易日志表
  511. JObject joIn = new JObject(JObject.Parse(inParam));
  512. JObject joOut = new JObject(JObject.Parse(outParam));
  513. JObject joInPlain = new JObject(JObject.Parse(inParamPlain));
  514. JObject joOutPlain = new JObject(JObject.Parse(outParamPlain));
  515. JArray jaParams = new JArray();
  516. JObject joParam = new JObject();
  517. joParam.Add("inParam", JObject.FromObject(joIn));
  518. joParam.Add("outParam", JObject.FromObject(joOut));
  519. joParam.Add("inParamPlain", JObject.FromObject(joInPlain));
  520. joParam.Add("outParamPlain", JObject.FromObject(joOutPlain));
  521. joParam.Add("HospitalDr", Global.inf.hospitalDr);
  522. joParam.Add("InterfaceDr", Global.inf.interfaceDr);
  523. joParam.Add("updateUserID", Global.user.ID);
  524. joParam.Add("psn_no", Global.pat.psn_no);
  525. jaParams.Add(joParam);
  526. joIris.code = "09010021";
  527. joIris.Add("params", jaParams);
  528. //InvokeHelper invoker = new InvokeHelper();
  529. sRtn = invokeInsuService(joIris.ToString(), "保存日志到数据库").ToString();
  530. }
  531. catch (Exception ex)
  532. {
  533. sRtn = JsonHelper.setExceptionJson(-100, "保存日志异常", ex.Message).ToString();
  534. Global.writeLog_Iris("保存日志异常:" + sRtn.ToString());
  535. }
  536. }
  537. /**********************************************************调用DLL方式**************************************************************/
  538. }
  539. }