@iot9x.com/ipc-utils
Version:
九星云、九星小程序、九星配置工具所共用的库方法
16 lines (15 loc) • 429 B
TypeScript
import { JL800_CMD_CODE, JL800_ErrorType } from './constant';
/** 文件信息 */
export interface JL800_FileInfo {
/** 文件编号 */
fileNumber: number;
}
/** 串口返回数据解析内容 */
export type JL800_ResData = JL800_FileInfo | JL800_ErrorType;
/** 串口接收数据解析结果 */
export interface JL800_Res {
/** 命令编码 */
code: JL800_CMD_CODE;
/** 内容 */
data?: JL800_ResData;
}