30 lines
753 B
C++
30 lines
753 B
C++
#pragma once
|
|
/**
|
|
* @file eqpalg/utility/equip_prod.h
|
|
* @brief 向数据库写入设备相关的报警
|
|
* @author ZouFuzhou
|
|
* @version 0.1
|
|
* @date 2021-06-10
|
|
*
|
|
* Company: Baosight Co. Ltd.
|
|
* DO NOT COPY/USE WITHOUT PERMISSION
|
|
*
|
|
*/
|
|
#include <mix_cc/type/range.h>
|
|
#include <string>
|
|
|
|
using std::string;
|
|
namespace utility {
|
|
/**
|
|
* @brief 插入设备信息
|
|
* @param ruleId 规则实例id
|
|
* @param entId 钢卷入口id
|
|
* @param start 开始位置
|
|
* @param end 结束位置
|
|
* @param speed 钢卷速度
|
|
* @return int
|
|
*/
|
|
int equip_prod(const string &ruleId, const string &entId, const int start,
|
|
const int end, const float speed);
|
|
}
|