From 07f9ac2234bbc367d7203f094233867f360671f5 Mon Sep 17 00:00:00 2001
From: jinlicong <493886250@qq.com>
Date: Fri, 26 Apr 2024 17:25:32 +0800
Subject: [PATCH] 继续完善,开始增加阀控相关
---
Function/UPPER_COMPUTER/upper_com.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Function/UPPER_COMPUTER/upper_com.c b/Function/UPPER_COMPUTER/upper_com.c
index db64d8a..a34139b 100644
--- a/Function/UPPER_COMPUTER/upper_com.c
+++ b/Function/UPPER_COMPUTER/upper_com.c
@@ -35,7 +35,7 @@
}
- //������֤
+ //?������֤
if(uc_recv_data_union_p->uc_protocol_head_s.uc_admin==UC_SUPPER_ADMIN)
{
//����Ҫ��֤����
@@ -103,7 +103,7 @@
{
data_category_ID= BSWAP_16(uc_recv_data_union_p->uc_protocol_head_s.data_table_id);
data_p = uc_recv_data_union_p->uc_recv_buf + UC_PROTOCOL_HEAD_LENGTH +sizeof (uc_recv_data_union_p->uc_protocol_head_s.data_table_id);
- switch(data_category_ID)
+ switch(data_category_ID)//?��Ҫ����
{
case EQUIPMENT_BASIC_INF_ID : COM_equipment_basic_inf_handle(uc_recv_data_union_p->uc_protocol_head_s.cmd_code,data_category_ID,data_p,uc_respond_data_p) ;break;
// case MAIN_EQUIPM_HARDWARE_SOFTWARE_INF_ID : COM_main_equipment_hardware_software_inf_handle(WriteOrRead,com_frame_receive_inf_in.data_category_ID,(DataPtr +2)) ;break;
@@ -176,7 +176,7 @@
void upperComPro(void)
{
- //DMA���������ж�
+ //?DMA���������ж�
//֡��ʽ�����ж�
@@ -227,7 +227,7 @@
break;
case UC_CMD_GET_LOG_RECENT: //�����
break;
- case UC_CMD_GET_LOG_TIME: //��ʱ��
+ case UC_CMD_GET_LOG_TIME: //?��ʱ��
// if (uc_login_state_g == UC_OK && local_random_code_g == uc_rec_para_p->uc_recv_buf_union.uc_protocol_head_s.random_number)
// {
// uc_rw_result_g = Upper_ComputerLogProcess(Upper_ComputerPermissionsGet(uc_rec_para_p->uc_recv_buf_union.uc_recv_buf[2]),
@@ -236,7 +236,7 @@
// __SYS_DELAY_SEC_TIME_SET_(UC_active_time,UC_ACTIVE_TIME);//���ü���ʱ��//���ü���ʱ��
// }
break;
- case UC_CMD_IAP:
+ case UC_CMD_IAP://?
// uc_rw_result_g = Upper_ComputerIapProcess(uc_table_id, &uc_rec_para_p->uc_recv_buf_union.uc_recv_buf[UC_PROTOCOL_HEAD_LENGTH + UC_DATA_TABLE_BYTES_LENGTH]);
// __SYS_DELAY_SEC_TIME_SET_(UC_active_time,UC_ACTIVE_TIME);//���ü���ʱ��//���ü���ʱ��
break;
--
Gitblit v1.9.3