For example, a prosecution scale,Total number of tests in the production process of daily production、Product pass quantity,According to these two data,Interface automatic calculation and product pass rate。
Rate of qualified products=Product BALMUDA烤箱故障代码 pass quantity/Total number of detection*100%
The formula is written like this is correct.,I also wrote this on the interface script.,And in some machines are also working properly,until one day,I found that the script running alarm prompt appears on another machine.,Best can't understand,So continue to track and discover,As long as I cleare the total number of tests,I will pop up the script running the wrong prompt.:Programming should consider the divisor0Case。
if SmartTag(“Total number of tests”)=0 then
SmartTag(“Rate of qualified products”)=0
else
SmartTag(“Rate of qualified products”)=SmartTag(“Product pass quantity”)*1000/ SmartTag(“Total number of tests”)
end if
use“Rate of qualified products”Make a horizontal bar chart indication,The green area of the 巴慕达台灯售后网点 left is expressed,The red area of the right indicates the number of products being removed.,Very intuitive display!
以上就是BALMUDA台灯不工作除法运算时必了,更多BALMUDA巴慕达电器资讯尽在日本BALMUDA巴慕达加湿器维修电话_BALMUDA电风扇售后服务。
本文地址:http://www.bamf.cnhttp://www.bamf.cn/a/xw/1714.html