diff --git a/repo/js/ParametricTrans/assets/baikuan.bmp b/repo/js/ParametricTrans/assets/baikuan.bmp deleted file mode 100644 index dccb4c21..00000000 Binary files a/repo/js/ParametricTrans/assets/baikuan.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/baikuan.png b/repo/js/ParametricTrans/assets/baikuan.png new file mode 100644 index 00000000..f8b4f117 Binary files /dev/null and b/repo/js/ParametricTrans/assets/baikuan.png differ diff --git a/repo/js/ParametricTrans/assets/bh.bmp b/repo/js/ParametricTrans/assets/bh.bmp deleted file mode 100644 index 76659a39..00000000 Binary files a/repo/js/ParametricTrans/assets/bh.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/bh.png b/repo/js/ParametricTrans/assets/bh.png new file mode 100644 index 00000000..c2a8bbbb Binary files /dev/null and b/repo/js/ParametricTrans/assets/bh.png differ diff --git a/repo/js/ParametricTrans/assets/cai.bmp b/repo/js/ParametricTrans/assets/cai.bmp deleted file mode 100644 index 4219b7c0..00000000 Binary files a/repo/js/ParametricTrans/assets/cai.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/cai.png b/repo/js/ParametricTrans/assets/cai.png new file mode 100644 index 00000000..e67cfcb4 Binary files /dev/null and b/repo/js/ParametricTrans/assets/cai.png differ diff --git a/repo/js/ParametricTrans/assets/cl.bmp b/repo/js/ParametricTrans/assets/cl.bmp deleted file mode 100644 index b1a7355c..00000000 Binary files a/repo/js/ParametricTrans/assets/cl.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/cl.png b/repo/js/ParametricTrans/assets/cl.png new file mode 100644 index 00000000..bd5ff3fc Binary files /dev/null and b/repo/js/ParametricTrans/assets/cl.png differ diff --git a/repo/js/ParametricTrans/assets/jit.bmp b/repo/js/ParametricTrans/assets/jit.bmp deleted file mode 100644 index 247c1f91..00000000 Binary files a/repo/js/ParametricTrans/assets/jit.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/jit.png b/repo/js/ParametricTrans/assets/jit.png new file mode 100644 index 00000000..76500dd1 Binary files /dev/null and b/repo/js/ParametricTrans/assets/jit.png differ diff --git a/repo/js/ParametricTrans/assets/jx.bmp b/repo/js/ParametricTrans/assets/jx.bmp deleted file mode 100644 index e68004d2..00000000 Binary files a/repo/js/ParametricTrans/assets/jx.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/jx.png b/repo/js/ParametricTrans/assets/jx.png new file mode 100644 index 00000000..b3bfecd7 Binary files /dev/null and b/repo/js/ParametricTrans/assets/jx.png differ diff --git a/repo/js/ParametricTrans/assets/mg.bmp b/repo/js/ParametricTrans/assets/mg.bmp deleted file mode 100644 index 110fd4ba..00000000 Binary files a/repo/js/ParametricTrans/assets/mg.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/mg.png b/repo/js/ParametricTrans/assets/mg.png new file mode 100644 index 00000000..928956d4 Binary files /dev/null and b/repo/js/ParametricTrans/assets/mg.png differ diff --git a/repo/js/ParametricTrans/assets/nd.bmp b/repo/js/ParametricTrans/assets/nd.bmp deleted file mode 100644 index 57cc185a..00000000 Binary files a/repo/js/ParametricTrans/assets/nd.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/nd.png b/repo/js/ParametricTrans/assets/nd.png new file mode 100644 index 00000000..a6624767 Binary files /dev/null and b/repo/js/ParametricTrans/assets/nd.png differ diff --git a/repo/js/ParametricTrans/assets/nj1.bmp b/repo/js/ParametricTrans/assets/nj1.bmp deleted file mode 100644 index 7648d187..00000000 Binary files a/repo/js/ParametricTrans/assets/nj1.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/nj1.png b/repo/js/ParametricTrans/assets/nj1.png new file mode 100644 index 00000000..e513c558 Binary files /dev/null and b/repo/js/ParametricTrans/assets/nj1.png differ diff --git a/repo/js/ParametricTrans/assets/nj2.bmp b/repo/js/ParametricTrans/assets/nj2.bmp deleted file mode 100644 index 48ca872d..00000000 Binary files a/repo/js/ParametricTrans/assets/nj2.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/nj2.png b/repo/js/ParametricTrans/assets/nj2.png new file mode 100644 index 00000000..f0066013 Binary files /dev/null and b/repo/js/ParametricTrans/assets/nj2.png differ diff --git a/repo/js/ParametricTrans/assets/nj3.bmp b/repo/js/ParametricTrans/assets/nj3.bmp deleted file mode 100644 index ad8d7ae8..00000000 Binary files a/repo/js/ParametricTrans/assets/nj3.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/nj3.png b/repo/js/ParametricTrans/assets/nj3.png new file mode 100644 index 00000000..ab564017 Binary files /dev/null and b/repo/js/ParametricTrans/assets/nj3.png differ diff --git a/repo/js/ParametricTrans/assets/qr.bmp b/repo/js/ParametricTrans/assets/qr.bmp deleted file mode 100644 index 2b998301..00000000 Binary files a/repo/js/ParametricTrans/assets/qr.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/qr.png b/repo/js/ParametricTrans/assets/qr.png new file mode 100644 index 00000000..6b4de66d Binary files /dev/null and b/repo/js/ParametricTrans/assets/qr.png differ diff --git a/repo/js/ParametricTrans/assets/shuijink.bmp b/repo/js/ParametricTrans/assets/shuijink.bmp deleted file mode 100644 index 876cfc04..00000000 Binary files a/repo/js/ParametricTrans/assets/shuijink.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/shuijink.png b/repo/js/ParametricTrans/assets/shuijink.png new file mode 100644 index 00000000..3b3e5f60 Binary files /dev/null and b/repo/js/ParametricTrans/assets/shuijink.png differ diff --git a/repo/js/ParametricTrans/assets/tth.bmp b/repo/js/ParametricTrans/assets/tth.bmp deleted file mode 100644 index 06479ae8..00000000 Binary files a/repo/js/ParametricTrans/assets/tth.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/tth.png b/repo/js/ParametricTrans/assets/tth.png new file mode 100644 index 00000000..5ff3778b Binary files /dev/null and b/repo/js/ParametricTrans/assets/tth.png differ diff --git a/repo/js/ParametricTrans/assets/zhibian.bmp b/repo/js/ParametricTrans/assets/zhibian.bmp deleted file mode 100644 index a26732b4..00000000 Binary files a/repo/js/ParametricTrans/assets/zhibian.bmp and /dev/null differ diff --git a/repo/js/ParametricTrans/assets/zhibian.png b/repo/js/ParametricTrans/assets/zhibian.png new file mode 100644 index 00000000..c3949563 Binary files /dev/null and b/repo/js/ParametricTrans/assets/zhibian.png differ diff --git a/repo/js/ParametricTrans/main.js b/repo/js/ParametricTrans/main.js index 960b5cfe..71c1e60b 100644 --- a/repo/js/ParametricTrans/main.js +++ b/repo/js/ParametricTrans/main.js @@ -1,8 +1,8 @@ (async function () { //初始化配置====================================================================================== - var BH = typeof settings.BH === 'string' && settings.BH.trim() !== '' ? settings.BH : "assets/bh.bmp"; - var ZHIBIANYI = typeof settings.ZHIBIANY === 'string' && settings.ZHIBIANYI.trim() !== '' ? settings.ZHIBIANYI : "assets/zhibian.bmp"; + var BH = typeof settings.BH === 'string' && settings.BH.trim() !== '' ? settings.BH : "assets/bh.png"; + var ZHIBIANYI = typeof settings.ZHIBIANY === 'string' && settings.ZHIBIANYI.trim() !== '' ? settings.ZHIBIANYI : "assets/zhibian.png"; var actiontime = settings.actiontime != undefined && ~~settings.actiontime > 0 ? ~~settings.actiontime : 50; var TEAM const ITEM = settings.ITEM !== undefined ? ( diff --git a/repo/js/ParametricTrans/settings.json b/repo/js/ParametricTrans/settings.json index 752b73a9..65fb2c0e 100644 --- a/repo/js/ParametricTrans/settings.json +++ b/repo/js/ParametricTrans/settings.json @@ -7,14 +7,14 @@ { "name": "BH", "type": "input-text", - "label": "选填,默认薄荷,识别物料的图片路径(默认assets/bh.bmp)", - "default": "assets/bh.bmp" + "label": "选填,默认薄荷,识别物料的图片路径(默认assets/bh.png)", + "default": "assets/bh.png" }, { "name": "ZHIBIANYI", "type": "input-text", - "label": "选填,质变仪的图片路径(默认assets/zhibian.bmp)", - "default": "assets/zhibian.bmp" + "label": "选填,质变仪的图片路径(默认assets/zhibian.png)", + "default": "assets/zhibian.png" }, { "name": "actiontime",