河北水利局项目

This commit is contained in:
2025-12-15 16:07:49 +08:00
commit f11a7c2b95
1146 changed files with 452892 additions and 0 deletions

46
yw/isreport.c Normal file
View File

@@ -0,0 +1,46 @@
#include "stdafx.h"
#include "isreport.h"
/*
ÉĎą¨ÍŁÖš
*/
static u8 isreport = 0xAA;
bool isreport_get()
{
if(isreport == 0x55)
{
return true;
}
return false;
}
u8 isreport_getval()
{
return isreport;
}
void isreport_set(bool isrp)
{
if(isrp)
{
isreport = 0x55;
}
else
{
isreport = 0xAA;
}
}
void isreport_write()
{
isrp_writefile((u8*)&isreport,sizeof(isreport));
}
void isreport_read()
{
isrp_readfile((u8*)&isreport,sizeof(isreport));
}