简体   繁体   English

Django(PySCADA):HTML(通过文本框输入的代码)没有从 Django 获得价值

[英]Django(PySCADA) : HTML (code fed thru textbox) is not getting Value from Django

I have Text box at backend-admin where admin can add HTML code which is required for display on Users-Screens.我在后端管理员有文本框,管理员可以在其中添加在用户屏幕上显示所需的 HTML 代码。

HTML code is getting executed but values of Django veriables are not fetched.正在执行 HTML 代码,但未获取 Django veriables 的值。 (Please refer input & output screens) (请参阅输入和输出屏幕)

Input Screen输入画面

Output Screen输出画面

Following tag will return value in HTML from PySCADA以下标签将从 PySCADA 返回 HTML 中的值

<span class="type-numeric var-aACB">NaN</span>

here, value of variable "aACB" is required to be displayed in HTML这里,变量“aACB”的值需要在 HTML 中显示

https://cwraig.id.au/2017/09/24/pyscada-on-raspberry-pi-for-temperature-monitoring-with-ds18b20-on-1-wire-part-4-pyscada-hmi-configuration/amp/ https://cwraig.id.au/2017/09/24/pyscada-on-raspberry-pi-for-temperature-monitoring-with-ds18b20-on-1-wire-part-4-pyscada-hmi-configuration/放大器/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM