法安通 Fant 6805 用户传输装置程序流程图
树图思维导图提供 程序流程图 在线思维导图免费制作,点击“编辑”按钮,可对 程序流程图 进行在线思维导图编辑,本思维导图属于思维导图模板主题,文件编号是:ce737e3fa649cd7fb9151f8a7de3db77
Fant 6805思维导图模板大纲
显示
上传心跳
HeartBeat_DeviceUp
上传数据
if ((_key_Led.Info_Trans.Ld > Ld__Off)) { if (_key_Led.Info_Trans.Ld == Ld__On)_key_Led.Info_Trans.Ld = Ld__Slow; if (__Gb26875_UserInfoDevice_Communication_State) { __Gb__TimeOut->HeartBeatUpOutTime = 0; } else if (FontSave_NorFlash->App) return; FontSave_NorFlash->tim_FlashSR1_1mSTick = 10; __Gb__TimeOut->Communication = 10; FontSave_NorFlash->Fun = User_Information_Transmission_Recording; FontSave_NorFlash->App = SendToHost__Create_RealRecordingToMemory; }
GB26875\Gb26875_DeviceBuildUnit.C FontSave_NorFlash->Fun = User_Information_Transmission_Recording; FontSave_NorFlash->App = SendToHost__Create_RealRecordingToMemory
User_Information_Transmission_Recording02://读出记录指针 getNorFlashSaving__RecordPointer()//获取记录指针 Save_GB26875Status_TypeDef* _pGbRecord = (Save_GB26875Status_TypeDef*)(uint8_t*)&_pRecord_Info[3];//保存数据指针
User_Information_Transmission_Recording15://读出本机状态记录
get_Gb26875RecordSending_Memory())// 获取Gb26875发送缓存
SendToHost__Real_Loc__StateUpToMemory((Record_SendToHostInfo_TypeDef*)&FontSave_NorFlash->u_SaveRecord__Buffer[FLASH_SAVEUNIT_SIZE],//
Flash_SaveSECTOR_UserInfoTran_LocState Flash_SaveSECTOR_UserInfoTran_LocStateEnd
_pRecord_Send->iHost__Address 当前上传读出记录指针
Get__GoodTCP_Link==1
SendToHost_App();//上传数据到监控中心
Gb26875_Rec_Enter_Cl
GB26875\Gb26875_DeviceBuildUnit.C
FontSave_NorFlash->iQPI_Cnt = Gb_26875_3.Record_CuSend->Fun; FontSave_NorFlash->App = SendToHost__Create_RealRecordingToMemory; FontSave_NorFlash->iQPI_Address = Gb_26875_3.Record_CuSend->iHost__Address; FontSave_NorFlash->Fun = User_Information_Transmission_Recording40;
读出Flash记录
FontSave_NorFlash->i_SaveRecord__Cnt = 0x5a5a5a5a; FontSave_NorFlash->Fun = User_Information_Transmission_Recording45; setSave__SendToHost__Address(_pGbRecord->Fun, FontSave_NorFlash->iQPI_Address + FLASH_SAVEUNIT_SIZE);
FontSave_NorFlash->iQPI_Address 已保存地址 FontSave_NorFlash->iQPI_Cnt 已保存上传功能码 _pRecord_Info->Fun
_pRecord_Info->Fun=Get_SendToReal_BuildingParts___DeviceFun(FontSave_NorFlash->iQPI_Cnt);//获取当前上传记录指针
e__Real_Fire,//实时火警 e__Real_fault,//实时故障 e__Real_UnitBuildingState,//实时状态 e__Save_Fire,//历史火警 e__Save_fault,//历史故障 e__Save_UnitBuildingState,//实时状态 e__key_Operation,//本机操作菜单 e__Real_Operation, e__Real_LocState,
typedef enum { e__None, e__Real_Fire,//实时火警 e__Real_fault,//实时故障 e__Real_UnitBuildingState,//实时状态 e__Save_Fire,//历史火警 e__Save_fault,//历史故障 e__Save_UnitBuildingState,//实时状态 e__key_Operation,//本机操作菜单 e__Real_Operation, e__Real_LocState, e__Save_Operation, e__Save_LocState, e__RD_Fire,//实时火警 e__RD_fault,//实时故障 e__RD_UnitBuildingState,//实时状态 e__RDkey_Fire,//历史火警 e__RDkey_fault,//历史故障 e__RDkey_UnitBuildingState,//实时状态 e__RDkey_xx,//本机操作菜单 e__RD_Operation, e__RD_LocState, e__ToHost_Fire, e__ToHost_fault, e__ToHost_UnitBuildingState, e__ToHost_SysBuildingState, e__HostRead_Operation_Info, e__ToHost_Operation, e__ToHost_LocState, e__ToHost_heartbeat, e__ToHost_Switch, e__ToHost_4_20mA, e__ToHost_Send, e__ToHost_OnLineDown, e__ToHost_ANSWER, e__ToHost_End, e__End, } Record__SaveNumTypeDef;
get_SendToHost__RecordAddress(FontSave_NorFlash->iQPI_Cnt, _pRecord_Info);
进入 Key_AppMenu
未登录(Tft_DEVICE->App = Key_AppMenuMain__Exit;) __pKey__Access == User_Operator_Exit
按下F1
FontSave_NorFlash->App = FontImage__LoginApp; FontSave_NorFlash->Fun = QPIFlash_TftImage_Login;
按下F2
FontSave_NorFlash->App = FontImage__DispApp; FontSave_NorFlash->Fun = QPIFlash_TftImage_MainMenu;
按下F3
TFT\TFT__FontIQuery.c FontSave_NorFlash->App = FontImage__QueryApp; FontSave_NorFlash->Fun = QPIFlash_QueryKey__MenuMain;
Key
TFT\TFT__FontIQuery.c(269) FontSave_NorFlash->Fun = SerialFlash_End; Key_SetWaitApp(Key_Query__SelectMenu); 等待按键结束
按下F1
__keyFun=__keyFun+1
FontSave_NorFlash->App = FontImage__QueryApp; FontSave_NorFlash->Fun = QPIFlash_QueryKey__MenuMain;
按下F2
__keyFun=__keyFun-1
管理员登录(Tft_DEVICE->App = Key_AppMenuMain_Administrator) __pKey__Access == User_Administrator_Access
按下F1
操作员登录(Tft_DEVICE->App = Key_AppMenuMain_Operator) __pKey__Access == User_Operator_Access
按下F1
教学
工作进度
报告(年度/季度/月度/周报)
演讲/演示
沟通效率
个人简历
超时应答时间 __Gb__TimeOut->Wait_Answer = pRecHead->Data;
当没超时按下查岗应答 if ((__Gb__TimeOut->Wait_Answer > 0) && (FontSave_NorFlash->U.S.Is_Wait_Answer))
上传查岗应答信息 Save_App__OperationToMem(ORDER_Answer);// 查岗应答
LED显示 快闪 _key_Led.Answer.Ld = Ld__Fast;
已发生火警 启动火警音效否则启动 查岗音效 GB26875\Gb26875_Control.C if (__Gb26875_UserInfoDevice_Fire_State == 1) { if (key__Wave != Wave__Fire) { key__Wave = Wave__Answer; } } else { key__Wave = Wave__Answer; }
Record__SaveNumTypeDef
e__None, e__Real_Fire,//实时火警 e__Real_fault,//实时故障 e__Real_UnitBuildingState,//实时状态 e__Save_Fire,//历史火警 e__Save_fault,//历史故障 e__Save_UnitBuildingState,//实时状态 e__key_Operation,//本机操作菜单 e__Real_Operation, e__Real_LocState, e__Save_Operation=0xa, e__Save_LocState, e__RD_Fire,//实时火警 e__RD_fault,//实时故障 e__RD_UnitBuildingState,//实时状态 e__RDkey_Fire,//历史火警 e__RDkey_fault,//历史故障 e__RDkey_UnitBuildingState,//实时状态 e__RDkey_xx,//本机操作菜单 e__RD_Operation, e__RD_LocState, e__ToHost_Fire, e__ToHost_fault, e__ToHost_UnitBuildingState, e__ToHost_SysBuildingState, e__HostRead_Operation_Info, e__ToHost_Operation, e__ToHost_LocState, e__ToHost_heartbeat, e__ToHost_Switch, e__ToHost_4_20mA, e__ToHost_Send, e__ToHost_OnLineDown, e__ToHost_ANSWER, e__ToHost_End, e__End,
Get_SendToReal_BuildingParts___DeviceFun
e__Real_Fire,//实时火警 e__Real_fault,//实时故障 e__Real_UnitBuildingState,//实时状态 e__Real_Operation, e__Real_LocState,
{ Ld__Off, Ld__On, //常亮 Ld__Slow, //慢闪 Ld__Slow1, //慢闪 Ld__Fast, //快闪 Ld__Fast1, //快闪 }Ld_ControlStater_enumDef;
子主题 1
火警查询
Tft_DEVICE->i_Record__Address 显示记录地址
Tft_DEVICE->i_Order 显示记录号
Tft_DEVICE->Is_KeyUp 当为1时记录向下翻页
CON__SaveRecordSECTOR__SIZE 最小保存地址
转换为实时保存功能 Get_SendToReal_BuildingParts___DeviceFun
e__Real_Fire,//实时火警 e__Real_fault,//实时故障 e__Real_UnitBuildingState,//实时状态 e__Real_Operation, e__Real_LocState,
读出火警记录Flash地址 (Get__RecordMax(_pRecord_MaxInfo,(Re cord__SaveNumTypeDef)__keyFun))
读出最新的一条记灵录 Get_ReadFlash__Record(_pGbRecord, FontSave_NorFlash->i_SaveRecord__Address) FontSave_NorFlash->Fun =User_Information_Transmission_Recording00
写操作
FUN=20 GB代码=0x15 order=0xE9
FontSave_NorFlash->Fun0xA0 SerialFlash_End
备电故障
Save_App__LocStatusToMem(ORDER_BatElectError);
_pGbStatus->Fun = e__Real_LocState; _pGbStatus->Order = OrderState; _pGbStatus->Lengths = 1; _pGbStatus->Data[0] = __Gb__UserInfoDevice__State->S; _pGbStatus->S_Data = (uint8_t*)&_pGbStatus->iLen; _pGbStatus->iLen = (uint8_t*)&_pGbStatus->Data[4] - _pGbStatus->S_Data; _pGbStatus->iLen += 2; _pGbStatus->S_Data[_pGbStatus->iLen] = 0x55; _pGbStatus->S_Data[_pGbStatus->iLen + 1] = 0xa5;
UserInformationTransmission__SaveRecordingToFlash
_pSave_Gb_Recording = _pGbStatus; FontSave_NorFlash->App = SaveNorFlash_Data__Recording;//保存数据到Falsh FontSave_NorFlash->Fun = User_Information_Transmission_Recording;
保存上传地址 思维导图模板大纲
树图思维导图提供 环境设计各业务版块流程图 在线思维导图免费制作,点击“编辑”按钮,可对 环境设计各业务版块流程图 进行在线思维导图编辑,本思维导图属于思维导图模板主题,文件编号是:bb759aacdf9404fdef4191a557718654
树图思维导图提供 工艺流程图 在线思维导图免费制作,点击“编辑”按钮,可对 工艺流程图 进行在线思维导图编辑,本思维导图属于思维导图模板主题,文件编号是:a8e31ea83041e28a9ece5f7d7121fc30