AACA/readme1 (2).md

32 lines
894 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## python打包成exe
Pyinstaller -F service.py
## 通讯协议TCP控制脚本作为server端
192.168.6.**:2016
# 如果客户不手动点击制图则调用如下方法:
# 打包
## 制图
makeGraph:*** (注意: ***为:氨氮、氨氮&总磷、总磷 三个之一)
(如果客户手动点制图就无需发送)
## 设置分析:
createTask:{"sampleList":[
{"sampleCode":"111","position":"1"},
{"sampleCode":"112","position":"2"}]
}
position为料盘实际的编号脚本自己转化仪器需要的位置
## 发送启动(确认制图没问题之后发送,如果提前确认好制图那么在设置分析之后发送):
<del>start:*** (注意: ***为:氨氮、氨氮&总磷、总磷 三个之一)<br/></del>
start
注:现在均用总磷&氨氮这一个方法
## 状态查询命令:
status
返回: 0停止 1运行 <del>2完成</del>