From bec944fa75ec61eb81e42ec35784532d52de98fb Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Wed, 3 Jul 2024 16:00:00 +0800 Subject: [PATCH] Add Fast Servo to shop Signed-off-by: Egor Savkin --- static/images/shop/graphic-03_Fast-Servo.svg | 3 ++ static/js/shop_data.js | 44 ++++++++++++++++++-- 2 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 static/images/shop/graphic-03_Fast-Servo.svg diff --git a/static/images/shop/graphic-03_Fast-Servo.svg b/static/images/shop/graphic-03_Fast-Servo.svg new file mode 100644 index 0000000..d404d1a --- /dev/null +++ b/static/images/shop/graphic-03_Fast-Servo.svg @@ -0,0 +1,3 @@ + diff --git a/static/js/shop_data.js b/static/js/shop_data.js index 7dfe246..9330f36 100644 --- a/static/js/shop_data.js +++ b/static/js/shop_data.js @@ -1066,6 +1066,41 @@ const shop_data = { eem: 1 }, }, + 'fast_servo': { + id: 'fast_servo', + name: 'Fast DSP', + name_number: '8462', + name_codename: 'Fast Servo', + price: 2900, + image: '/images/shop/graphic-03_Fast-Servo.svg', + specs: [ + 'High-speed, low-latency servo (Stabilizer-compatible) module.', + 'Trenz TE0715-04 SoC module (XC7Z015).', + '2 channel 125MHz 16bit ADC (LTC2195).', + '2 channel 125MHz 14bit DAC (AD9117).', + '100Base-T Ethernet.', + 'Can work stand-alone with PoE or DC supply.' + ], + options: [ + {type: "SwitchLine", args: {title: "IP", outvar: "ip", + validator: {name: "ipv4or6"}, + fallback: {text: "DHCP", checked: false}, + tip: "Set up IP address used by the device"}}, + {type: "Switch", args: {title: "Ext power", outvar: "ext_pwr", "tip": "Use external power supply in order to reduce number of used EEM connectors"}}, + {type: "Switch", args: {title: "Term #0", outvar: "term_0", tip: "Enable termination on ADC channel #0"}}, + {type: "Switch", args: {title: "Term #1", outvar: "term_1", tip: "Enable termination on ADC channel #1"}} + ], + options_class: "stabilizer", + size: 'small', + type: null, + warnings: [ + "no_eem_source" + ], + consumes: { + hp: 4, + eem: 1 + }, + }, 'mirny': { id: 'mirny', name: 'Synthesizer', @@ -1285,12 +1320,15 @@ const shop_data = { 'idc-sma-adapter', 'hd68-idc-adapter', 'vhdcicarrier']}, + { name: 'Servos', + itemIds: [ + 'stabilizer', + 'fast_servo', + 'pounder', + 'thermostat-eem']}, { name: 'Misc', itemIds: [ 'koster', - 'stabilizer', - 'pounder', - 'thermostat-eem', 'eem_pwr_mod', ]} ],