1 Star 0 Fork 1

上位机/Sonar_GUI

forked from yxpworks/Sonar_GUI 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tankdata.cpp 3.51 KB
一键复制 编辑 原始数据 按行查看 历史
#include "tankdata.h"
struct pack_Control_To_PC_SystemTime m_pack_Control_To_PC_SystemTime;
struct pack_PC_To_Control_TVG_Gain m_pack_PC_To_Control_TVG_Gain;
struct pack_PC_To_Control_WorkPower m_pack_PC_To_Control_WorkPower;
struct pack_PC_To_Control_WorkMode m_pack_PC_To_Control_WorkMode;
struct pack_Control_To_PC_TEMP m_pack_Control_To_PC_TEMP;
struct pack_Control_To_PC_Humidity m_pack_Control_To_PC_Humidity;
struct pack_Control_To_PC_SASTankStatus m_pack_Control_To_PC_SASTankStatus;
struct pack_Control_To_PC_PressureHeight m_pack_Control_To_PC_PressureHeight;
struct pack_PC_To_Control_PressureHeight_EN m_pack_PC_To_Control_PressureHeight_EN;
struct pack_Control_To_PC_AltitudeSensor m_pack_Control_To_PC_AltitudeSensor;
struct pack_PC_To_Control_AltitudeSensor_EN m_pack_PC_To_Control_AltitudeSensor_EN;
struct pack_PC_To_Control_SoundVelocity m_pack_PC_To_Control_SoundVelocity;
struct pack_Control_To_PC_Altimeter m_pack_Control_To_PC_Altimeter;
struct pack_PC_To_Control_Signal_H m_pack_PC_To_Control_Signal_H;
struct pack_PC_To_Control_Signal_L m_pack_PC_To_Control_Signal_L;
struct pack_PC_To_Control_WokingStart m_pack_PC_To_Control_WokingStart;
struct pack_PC_To_Control_L_Sonar m_pack_PC_To_Control_L_Sonar;
struct pack_PC_To_Control_TrigerMode m_pack_PC_To_Control_TrigerMode;
struct Device_Information m_Device_Information;
struct pack_PC_To_Control_Voltage_And_Current m_Voltage_And_Current;
struct pack_PC_To_Control_Activity m_pack_PC_To_Control_Activity;
struct pack_PC_To_Control_L_Delay m_pack_PC_To_Control_L_Delay;
struct pack_PC_To_Control_SATA_Flag m_pack_PC_To_Control_SATA_Flag;
struct pack_Control_To_SignalType_H m_pack_Control_To_SignalType_H;
struct pack_Control_To_SignalType_L m_pack_Control_To_SignalType_L;
struct pack_PC_To_Control_TVG_H m_pack_PC_To_Control_TVG_H;
struct pack_PC_To_Control_TVG_L m_pack_PC_To_Control_TVG_L;
struct pack_PC_To_Control_GPS_SCOUNT m_pack_PC_To_Control_GPS_SCOUNT; // 查询GPS星数
struct pack_PC_To_Control_GPS_UTC m_pack_PC_To_Control_GPS_UTC; // GPS查询UTC
struct pack_PC_To_Control_HCC_STATE m_pack_PC_To_Control_HCC_STATE; // 原子钟状态查询
struct pack_PC_To_Control_HCC_MODE m_pack_PC_To_Control_HCC_MODE; // 原子钟驯服模式
struct pack_PC_To_Control_HCC_MODE m_pack_Control_To_PC_HCC_MODE; // 原子钟驯服模式查询
struct pack_PC_To_Control_HCC_SYNC m_pack_PC_To_Control_HCC_SYNC; // 原子钟PPS校准
int fSystemTime_flag = 0;
int fSignalType_flag_H = 0;
int fSignalType_flag_L = 0;
int fGain_flag = 0;
int fWorkPower_flag = 0;
int fTVG_flag_H = 0;
int fTVG_flag_L = 0;
int fWorkMode_flag = 0;
int fTEMP_flag = 0;
int fHumidity_flag = 0;
int fSASTankStatus_flag = 0;
int fPressureHeight_flag = 0;
int fPressureHeightEN_flag = 0;
int fAltitudeSensor_flag = 0;
int fAltitudeSensorEN_flag = 0;
int fSoundVelocity_flag = 0;
int fAltimeter_flag = 0;
int finformation_flag = 0;
int finVA_flag = 0;
int fActivity_flag = 0;
int fWorken_flag = 0;
// 显控->湿端
struct pack_PC_To_Control_Working_Status m_pack_PC_To_Control_Working_Status;
struct pack_PC_To_Control_Cur_Time m_pack_PC_To_Control_Cur_Time;
struct pack_PC_To_Control_AltimeterEnable m_pack_PC_To_Control_AltimeterEnable;
struct pack_PC_To_Control_SaveEnable m_pack_PC_To_Control_SaveEnable;
// 湿端->显控
struct pack_Control_To_PC_Sonar_data SonarDataHead;
int fPressureHeight;
int fSASTankStatus = 0;
int fSonarWorkingStatus = 0;
int fAltitudeSensor = 0;
int fAltimeter = 0;
int fAltimeter_data;
unsigned char Altimeterdata[256]; // 高度计数据
char sonardatabuf[8000]; // 声纳数据
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/upper-computer_1688/sonar_-gui.git
[email protected]:upper-computer_1688/sonar_-gui.git
upper-computer_1688
sonar_-gui
Sonar_GUI
main

搜索帮助