sensor_height.js 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853
  1. $(function () {
  2. // var whdef = 100/1920;// 表示1920的设计图,使用100PX的默认值
  3. var whdef = 100/916;// 表示1920的设计图,使用100PX的默认值
  4. var wH = window.innerHeight;// 当前窗口的高度
  5. var wW = window.innerWidth;// 当前窗口的宽度
  6. // var rem = wW * whdef;// 以默认比例值乘以当前窗口宽度,得到该宽度下的相应FONT-SIZE值
  7. var rem = wH * whdef;// 以默认比例值乘以当前窗口宽度,得到该宽度下的相应FONT-SIZE值
  8. $('html').css('font-size', rem + "px");
  9. loadoOption_ec_dixiacheku();
  10. loadoOption_ec_fengjifang();
  11. loadoOption_ec_bengfangjishuijing();
  12. //loadoOption_ec_bengfangshuixiang();
  13. loadoOption_ec_wushuijing();
  14. }) ;
  15. function loadoOption_ec_wushuijing(){
  16. ec_wushuijing.clear();
  17. var option = {
  18. title: {
  19. //text: '污水井',
  20. show: true,
  21. textStyle: {
  22. fontWeight: 'normal',
  23. fontSize: 22,
  24. color: '#3db3cb'
  25. },
  26. left: '2%',
  27. top: '2%'
  28. },
  29. tooltip: {
  30. trigger: 'axis',
  31. extraCssText:'width:180px;',
  32. position: function (point, params, dom, rect, size) {
  33. // 鼠标坐标和提示框位置的参考坐标系是:以外层div的左上角那一点为原点,x轴向右,y轴向下
  34. // 提示框位置
  35. var x = 0; // x坐标位置
  36. var y = 0; // y坐标位置
  37. // 当前鼠标位置
  38. var pointX = point[0];
  39. var pointY = point[1];
  40. // 外层div大小
  41. // var viewWidth = size.viewSize[0];
  42. // var viewHeight = size.viewSize[1];
  43. // 提示框大小
  44. var boxWidth = size.contentSize[0];
  45. var boxHeight = size.contentSize[1];
  46. // boxWidth > pointX 说明鼠标左边放不下提示框
  47. if (boxWidth > pointX) {
  48. x = 5;
  49. } else { // 左边放的下
  50. x = pointX - boxWidth;
  51. }
  52. // boxHeight > pointY 说明鼠标上边放不下提示框
  53. if (boxHeight > pointY) {
  54. y = 5;
  55. } else { // 上边放得下
  56. y = pointY - boxHeight;
  57. }
  58. return [x, y];
  59. }
  60. },
  61. grid: {
  62. left: '3%',
  63. right: '4%',
  64. bottom: '3%',
  65. containLabel: true
  66. },
  67. xAxis: [{
  68. type: 'category',
  69. boundaryGap: false,
  70. axisLine: {
  71. lineStyle: {
  72. color: 'rgba(128, 128, 128, 0.5)'
  73. }
  74. },
  75. axisLabel: {
  76. margin: 10,
  77. textStyle: {
  78. fontSize: 14,
  79. color: '#999'
  80. }
  81. },
  82. data: ['12:00:00', '12:00:05', '12:00:10', '12:00:15', '12:00:20', '12:00:25']
  83. }],
  84. yAxis: [{
  85. type: 'value',
  86. name: '',
  87. axisTick: {
  88. show: false
  89. },
  90. axisLine: {
  91. show:false,
  92. lineStyle: {
  93. color: '#fff'
  94. }
  95. },
  96. min: function(value) {
  97. return Math.round(value.min - 10);
  98. },
  99. max: function(value) {
  100. return Math.round(value.min + 10);
  101. },
  102. axisLabel: {
  103. margin: 10,
  104. textStyle: {
  105. fontSize: 14,
  106. color: '#799dff'
  107. }
  108. },
  109. splitLine: {
  110. lineStyle: {
  111. type: 'dashed',
  112. color: 'rgba(121, 157, 255, 0.5)'
  113. }
  114. }
  115. }],
  116. series: [{
  117. name: '污水井',
  118. type: 'line',
  119. smooth: true,
  120. symbol: 'circle',
  121. symbolSize: 15,
  122. showSymbol: true,
  123. lineStyle: {
  124. normal: {
  125. width: 3
  126. }
  127. },
  128. markPoint : {
  129. data : [
  130. {type : 'max', name: '最大值'},
  131. {type : 'min', name: '最小值'}
  132. ]
  133. },
  134. markLine : {
  135. data : [
  136. {type : 'average', name: '平均值'},
  137. ]
  138. },
  139. data: [12, 11, 14, 12, 16, 15]
  140. }]
  141. }
  142. ec_wushuijing.setOption(option);
  143. }
  144. function loadoOption_ec_bengfangjishuijing(){
  145. ec_bengfangjishuijing.clear();
  146. var option = {
  147. title: {
  148. // text: '泵房集水井',
  149. show: true,
  150. textStyle: {
  151. fontWeight: 'normal',
  152. fontSize: 22,
  153. color: '#3db3cb'
  154. },
  155. left: '2%',
  156. top: '2%'
  157. },
  158. tooltip: {
  159. trigger: 'axis',
  160. extraCssText:'width:180px;',
  161. position: function (point, params, dom, rect, size) {
  162. // 鼠标坐标和提示框位置的参考坐标系是:以外层div的左上角那一点为原点,x轴向右,y轴向下
  163. // 提示框位置
  164. var x = 0; // x坐标位置
  165. var y = 0; // y坐标位置
  166. // 当前鼠标位置
  167. var pointX = point[0];
  168. var pointY = point[1];
  169. // 外层div大小
  170. // var viewWidth = size.viewSize[0];
  171. // var viewHeight = size.viewSize[1];
  172. // 提示框大小
  173. var boxWidth = size.contentSize[0];
  174. var boxHeight = size.contentSize[1];
  175. // boxWidth > pointX 说明鼠标左边放不下提示框
  176. if (boxWidth > pointX) {
  177. x = 5;
  178. } else { // 左边放的下
  179. x = pointX - boxWidth;
  180. }
  181. // boxHeight > pointY 说明鼠标上边放不下提示框
  182. if (boxHeight > pointY) {
  183. y = 5;
  184. } else { // 上边放得下
  185. y = pointY - boxHeight;
  186. }
  187. return [x, y];
  188. }
  189. },
  190. legend: {
  191. data:['泵房集水井','泵房水箱'],
  192. textStyle: {
  193. fontSize: 14,
  194. color: '#799dff'
  195. }
  196. },
  197. grid: {
  198. left: '3%',
  199. right: '4%',
  200. bottom: '3%',
  201. containLabel: true
  202. },
  203. xAxis: [{
  204. type: 'category',
  205. boundaryGap: false,
  206. axisLine: {
  207. lineStyle: {
  208. color: 'rgba(128, 128, 128, 0.5)'
  209. }
  210. },
  211. axisLabel: {
  212. margin: 10,
  213. textStyle: {
  214. fontSize: 14,
  215. color: '#999'
  216. }
  217. },
  218. data: ['12:00:00', '12:00:05', '12:00:10', '12:00:15', '12:00:20', '12:00:25']
  219. }],
  220. yAxis: [{
  221. type: 'value',
  222. name: '',
  223. axisTick: {
  224. show: false
  225. },
  226. axisLine: {
  227. show:false,
  228. lineStyle: {
  229. color: '#fff'
  230. }
  231. },
  232. axisLabel: {
  233. margin: 10,
  234. textStyle: {
  235. fontSize: 14,
  236. color: '#799dff'
  237. }
  238. },
  239. min: function(value) {
  240. return Math.round(value.min - 10);
  241. },
  242. max: function(value) {
  243. return Math.round(value.min + 10);
  244. },
  245. splitLine: {
  246. lineStyle: {
  247. type: 'dashed',
  248. color: 'rgba(121, 157, 255, 0.5)'
  249. }
  250. }
  251. }],
  252. series: [{
  253. name: '泵房集水井',
  254. type: 'bar',
  255. smooth: true,
  256. symbol: 'circle',
  257. symbolSize: 15,
  258. showSymbol: true,
  259. lineStyle: {
  260. normal: {
  261. width: 3
  262. }
  263. },
  264. markPoint : {
  265. data : [
  266. {type : 'max', name: '最大值'},
  267. {type : 'min', name: '最小值'}
  268. ]
  269. },
  270. markLine : {
  271. data : [
  272. {type : 'average', name: '平均值'},
  273. ]
  274. },
  275. data: [12, 11, 14, 12, 16, 15]
  276. },
  277. {
  278. name: '泵房水箱',
  279. type: 'line',
  280. smooth: true,
  281. symbol: 'circle',
  282. symbolSize: 15,
  283. showSymbol: true,
  284. lineStyle: {
  285. normal: {
  286. width: 3
  287. }
  288. },
  289. markPoint : {
  290. data : [
  291. {type : 'max', name: '最大值'},
  292. {type : 'min', name: '最小值'}
  293. ]
  294. },
  295. markLine : {
  296. data : [
  297. {type : 'average', name: '平均值'},
  298. ]
  299. },
  300. data: [12, 11, 14, 12, 16, 15]
  301. }]
  302. }
  303. ec_bengfangjishuijing.setOption(option);
  304. }
  305. function loadoOption_ec_bengfangshuixiang(){
  306. ec_bengfangshuixiang.clear();
  307. var option = {
  308. title: {
  309. // text: '泵房水箱',
  310. show: true,
  311. textStyle: {
  312. fontWeight: 'normal',
  313. fontSize: 22,
  314. color: '#3db3cb'
  315. },
  316. left: '2%',
  317. top: '2%'
  318. },
  319. tooltip: {
  320. trigger: 'axis',
  321. extraCssText:'width:180px;',
  322. position: function (point, params, dom, rect, size) {
  323. // 鼠标坐标和提示框位置的参考坐标系是:以外层div的左上角那一点为原点,x轴向右,y轴向下
  324. // 提示框位置
  325. var x = 0; // x坐标位置
  326. var y = 0; // y坐标位置
  327. // 当前鼠标位置
  328. var pointX = point[0];
  329. var pointY = point[1];
  330. // 外层div大小
  331. // var viewWidth = size.viewSize[0];
  332. // var viewHeight = size.viewSize[1];
  333. // 提示框大小
  334. var boxWidth = size.contentSize[0];
  335. var boxHeight = size.contentSize[1];
  336. // boxWidth > pointX 说明鼠标左边放不下提示框
  337. if (boxWidth > pointX) {
  338. x = 5;
  339. } else { // 左边放的下
  340. x = pointX - boxWidth;
  341. }
  342. // boxHeight > pointY 说明鼠标上边放不下提示框
  343. if (boxHeight > pointY) {
  344. y = 5;
  345. } else { // 上边放得下
  346. y = pointY - boxHeight;
  347. }
  348. return [x, y];
  349. }
  350. },
  351. grid: {
  352. left: '3%',
  353. right: '4%',
  354. bottom: '3%',
  355. containLabel: true
  356. },
  357. xAxis: [{
  358. type: 'category',
  359. boundaryGap: false,
  360. axisLine: {
  361. lineStyle: {
  362. color: 'rgba(128, 128, 128, 0.5)'
  363. }
  364. },
  365. axisLabel: {
  366. margin: 10,
  367. textStyle: {
  368. fontSize: 14,
  369. color: '#999'
  370. }
  371. },
  372. data: ['12:00:00', '12:00:05', '12:00:10', '12:00:15', '12:00:20', '12:00:25']
  373. }],
  374. yAxis: [{
  375. type: 'value',
  376. name: '',
  377. axisTick: {
  378. show: false
  379. },
  380. axisLine: {
  381. show:false,
  382. lineStyle: {
  383. color: '#fff'
  384. }
  385. },
  386. axisLabel: {
  387. margin: 10,
  388. textStyle: {
  389. fontSize: 14,
  390. color: '#799dff'
  391. }
  392. },
  393. min: function(value) {
  394. return Math.round(value.min - 10);
  395. },
  396. max: function(value) {
  397. return Math.round(value.min + 10);
  398. },
  399. splitLine: {
  400. lineStyle: {
  401. type: 'dashed',
  402. color: 'rgba(121, 157, 255, 0.5)'
  403. }
  404. }
  405. }],
  406. series: [{
  407. name: '泵房水箱',
  408. type: 'line',
  409. smooth: true,
  410. symbol: 'circle',
  411. symbolSize: 15,
  412. showSymbol: true,
  413. lineStyle: {
  414. normal: {
  415. width: 3
  416. }
  417. },
  418. markPoint : {
  419. data : [
  420. {type : 'max', name: '最大值'},
  421. {type : 'min', name: '最小值'}
  422. ]
  423. },
  424. markLine : {
  425. data : [
  426. {type : 'average', name: '平均值'},
  427. ]
  428. },
  429. data: [220, 210, 245, 222, 265, 250]
  430. }]
  431. }
  432. ec_bengfangshuixiang.setOption(option);
  433. }
  434. function loadoOption_ec_fengjifang(){
  435. ec_fengjifang.clear();
  436. var option = {
  437. title: {
  438. //text: '风机房集水井',
  439. show: true,
  440. textStyle: {
  441. fontWeight: 'normal',
  442. fontSize: 22,
  443. color: '#3db3cb'
  444. },
  445. left: '2%',
  446. top: '2%'
  447. },
  448. tooltip: {
  449. trigger: 'axis',
  450. extraCssText:'width:180px;',
  451. position: function (point, params, dom, rect, size) {
  452. // 鼠标坐标和提示框位置的参考坐标系是:以外层div的左上角那一点为原点,x轴向右,y轴向下
  453. // 提示框位置
  454. var x = 0; // x坐标位置
  455. var y = 0; // y坐标位置
  456. // 当前鼠标位置
  457. var pointX = point[0];
  458. var pointY = point[1];
  459. // 外层div大小
  460. // var viewWidth = size.viewSize[0];
  461. // var viewHeight = size.viewSize[1];
  462. // 提示框大小
  463. var boxWidth = size.contentSize[0];
  464. var boxHeight = size.contentSize[1];
  465. // boxWidth > pointX 说明鼠标左边放不下提示框
  466. if (boxWidth > pointX) {
  467. x = 5;
  468. } else { // 左边放的下
  469. x = pointX - boxWidth;
  470. }
  471. // boxHeight > pointY 说明鼠标上边放不下提示框
  472. if (boxHeight > pointY) {
  473. y = 5;
  474. } else { // 上边放得下
  475. y = pointY - boxHeight;
  476. }
  477. return [x, y];
  478. }
  479. },
  480. grid: {
  481. left: '3%',
  482. right: '4%',
  483. bottom: '3%',
  484. containLabel: true
  485. },
  486. xAxis: [{
  487. type: 'category',
  488. boundaryGap: false,
  489. axisLine: {
  490. lineStyle: {
  491. color: 'rgba(128, 128, 128, 0.5)'
  492. }
  493. },
  494. axisLabel: {
  495. margin: 10,
  496. textStyle: {
  497. fontSize: 14,
  498. color: '#999'
  499. }
  500. },
  501. data: ['12:00:00', '12:00:05', '12:00:10', '12:00:15', '12:00:20', '12:00:25']
  502. }],
  503. yAxis: [{
  504. type: 'value',
  505. name: '',
  506. axisTick: {
  507. show: false
  508. },
  509. axisLine: {
  510. show:false,
  511. lineStyle: {
  512. color: '#fff'
  513. }
  514. },
  515. axisLabel: {
  516. margin: 10,
  517. textStyle: {
  518. fontSize: 14,
  519. color: '#799dff'
  520. }
  521. },
  522. min: function(value) {
  523. return Math.round(value.min - 10);
  524. },
  525. max: function(value) {
  526. return Math.round(value.min + 10);
  527. },
  528. splitLine: {
  529. lineStyle: {
  530. type: 'dashed',
  531. color: 'rgba(121, 157, 255, 0.5)'
  532. }
  533. }
  534. }],
  535. series: [{
  536. name: '风机房集水井',
  537. type: 'line',
  538. smooth: true,
  539. symbol: 'circle',
  540. symbolSize: 15,
  541. showSymbol: true,
  542. lineStyle: {
  543. normal: {
  544. width: 3
  545. }
  546. },
  547. markPoint : {
  548. data : [
  549. {type : 'max', name: '最大值'},
  550. {type : 'min', name: '最小值'}
  551. ]
  552. },
  553. markLine : {
  554. data : [
  555. {type : 'average', name: '平均值'},
  556. ]
  557. },
  558. data: [12, 11, 14, 12, 16, 15]
  559. }]
  560. }
  561. ec_fengjifang.setOption(option);
  562. }
  563. function loadoOption_ec_dixiacheku(){
  564. ec_dixiacheku.clear();
  565. var option = {
  566. title: {
  567. // text: '集水井',
  568. show: true,
  569. textStyle: {
  570. fontWeight: 'normal',
  571. fontSize: 22,
  572. color: '#3db3cb'
  573. },
  574. left: '2%',
  575. top: '2%'
  576. },
  577. tooltip: {
  578. trigger: 'axis',
  579. extraCssText:'width:180px;',
  580. position: function (point, params, dom, rect, size) {
  581. // 鼠标坐标和提示框位置的参考坐标系是:以外层div的左上角那一点为原点,x轴向右,y轴向下
  582. // 提示框位置
  583. var x = 0; // x坐标位置
  584. var y = 0; // y坐标位置
  585. // 当前鼠标位置
  586. var pointX = point[0];
  587. var pointY = point[1];
  588. // 外层div大小
  589. // var viewWidth = size.viewSize[0];
  590. // var viewHeight = size.viewSize[1];
  591. // 提示框大小
  592. var boxWidth = size.contentSize[0];
  593. var boxHeight = size.contentSize[1];
  594. // boxWidth > pointX 说明鼠标左边放不下提示框
  595. if (boxWidth > pointX) {
  596. x = 5;
  597. } else { // 左边放的下
  598. x = pointX - boxWidth;
  599. }
  600. // boxHeight > pointY 说明鼠标上边放不下提示框
  601. if (boxHeight > pointY) {
  602. y = 5;
  603. } else { // 上边放得下
  604. y = pointY - boxHeight;
  605. }
  606. return [x, y];
  607. }
  608. },
  609. legend: {
  610. data:['地下车库西南','地下车库东南','地下车库东中','地下车库西中','地下车库西北'],
  611. textStyle: {
  612. fontSize: 14,
  613. color: '#799dff'
  614. }
  615. },
  616. grid: {
  617. left: '3%',
  618. right: '4%',
  619. bottom: '3%',
  620. containLabel: true
  621. },
  622. xAxis: [{
  623. type: 'category',
  624. boundaryGap: false,
  625. axisLine: {
  626. lineStyle: {
  627. color: 'rgba(128, 128, 128, 0.5)'
  628. }
  629. },
  630. axisLabel: {
  631. margin: 10,
  632. textStyle: {
  633. fontSize: 14,
  634. color: '#999'
  635. }
  636. },
  637. data: ['12:00:00', '12:00:05', '12:00:10', '12:00:15', '12:00:20', '12:00:25']
  638. }],
  639. yAxis: [{
  640. type: 'value',
  641. name: '',
  642. axisTick: {
  643. show: false
  644. },
  645. axisLine: {
  646. show:false,
  647. lineStyle: {
  648. color: '#fff'
  649. }
  650. },
  651. axisLabel: {
  652. margin: 10,
  653. textStyle: {
  654. fontSize: 14,
  655. color: '#799dff'
  656. }
  657. },
  658. min: function(value) {
  659. return Math.round(value.min - 10);
  660. },
  661. max: function(value) {
  662. return Math.round(value.min + 10);
  663. },
  664. splitLine: {
  665. lineStyle: {
  666. type: 'dashed',
  667. color: 'rgba(121, 157, 255, 0.5)'
  668. }
  669. }
  670. }],
  671. series: [{
  672. name: '地下车库西南',
  673. type: 'line',
  674. smooth: true,
  675. symbol: 'circle',
  676. symbolSize: 15,
  677. showSymbol: true,
  678. lineStyle: {
  679. normal: {
  680. width: 3
  681. }
  682. },
  683. markPoint : {
  684. data : [
  685. {type : 'max', name: '最大值'},
  686. {type : 'min', name: '最小值'}
  687. ]
  688. },
  689. markLine : {
  690. data : [
  691. {type : 'average', name: '平均值'},
  692. ]
  693. },
  694. data: [12, 11, 14, 12, 16, 15]
  695. },{
  696. name: '地下车库东南',
  697. type: 'line',
  698. smooth: true,
  699. symbol: 'circle',
  700. symbolSize: 15,
  701. showSymbol: true,
  702. lineStyle: {
  703. normal: {
  704. width: 3
  705. }
  706. },
  707. markPoint : {
  708. data : [
  709. {type : 'max', name: '最大值'},
  710. {type : 'min', name: '最小值'}
  711. ]
  712. },
  713. markLine : {
  714. data : [
  715. {type : 'average', name: '平均值'},
  716. ]
  717. },
  718. data: [12, 11, 14, 12, 16, 15]
  719. },
  720. {
  721. name: '地下车库东中',
  722. type: 'line',
  723. smooth: true,
  724. symbol: 'circle',
  725. symbolSize: 15,
  726. showSymbol: true,
  727. lineStyle: {
  728. normal: {
  729. width: 3
  730. }
  731. },
  732. markPoint : {
  733. data : [
  734. {type : 'max', name: '最大值'},
  735. {type : 'min', name: '最小值'}
  736. ]
  737. },
  738. markLine : {
  739. data : [
  740. {type : 'average', name: '平均值'},
  741. ]
  742. },
  743. data: [12, 11, 14, 12, 16, 15]
  744. },
  745. {
  746. name: '地下车库西中',
  747. type: 'line',
  748. smooth: true,
  749. symbol: 'circle',
  750. symbolSize: 15,
  751. showSymbol: true,
  752. lineStyle: {
  753. normal: {
  754. width: 3
  755. }
  756. },
  757. markPoint : {
  758. data : [
  759. {type : 'max', name: '最大值'},
  760. {type : 'min', name: '最小值'}
  761. ]
  762. },
  763. markLine : {
  764. data : [
  765. {type : 'average', name: '平均值'},
  766. ]
  767. },
  768. data: [12, 11, 14, 12, 16, 15]
  769. },
  770. {
  771. name: '地下车库西北',
  772. type: 'line',
  773. smooth: true,
  774. symbol: 'circle',
  775. symbolSize: 15,
  776. showSymbol: true,
  777. lineStyle: {
  778. normal: {
  779. width: 3
  780. }
  781. }, markPoint : {
  782. data : [
  783. {type : 'max', name: '最大值'},
  784. {type : 'min', name: '最小值'}
  785. ]
  786. },
  787. markLine : {
  788. data : [
  789. {type : 'average', name: '平均值'},
  790. ]
  791. },
  792. data: [12, 11, 14, 12, 16, 15]
  793. },]
  794. }
  795. ec_dixiacheku.setOption(option);
  796. }