如何解决如何为表格或矩阵视觉创建参数列/可编辑列?
我需要表格视觉对象或矩阵视觉对象上的一列,其中值可以在发布的仪表板上插入或编辑,仅用于视觉目的(不保留数据或将其写入任何地方)。就像在 Excel 表格中插入参数或值一样。
该表有一个 Proposed Purchase 列,我只需要在它旁边有一个可编辑的列,以便用户输入他们打算进行的实际购买,这样表末尾的 Total 就会显示实际购买的总和插入在每一行上。
例如:
import array
import multiprocessing
import threading
from multiprocessing import Process
# 1- write a simple add function that will add two given numbers and print their sum
x = 5
y = 10
def add(a,b):
sum = int(a) + int(b)
print ("The sum is: ",sum)
add(x,y)
# 2 Declare an array of 10 numbers
a_list = list(range(1,11))
print ('an array of 10 numbers: ' + str(a_list))
# 3 call sum function in parallel threads and pass the numbers form above array to function as per following rules
# --> sum(array[thread_id],array[9-thread_id])
如果有人知道此问题的解决方案或我可以使用的组件,我将不胜感激。
解决方法
如果 what-if parameters 不够用,那么您需要一个更强大的解决方案,例如:
或者其他类似的产品
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。