[saco] Implement/match CVehicle::SetAlarmState(...)

This commit is contained in:
RD42 2024-08-20 23:21:24 +08:00
parent 08ec2c3591
commit d9504f067d
2 changed files with 8 additions and 0 deletions

View File

@ -211,5 +211,12 @@ BOOL CVehicle::IsSirenOn()
//----------------------------------------------------------- //-----------------------------------------------------------
void CVehicle::SetAlarmState(WORD wState)
{
m_pVehicle->wAlarmState = wState;
}
//-----------------------------------------------------------
//----------------------------------------------------------- //-----------------------------------------------------------

View File

@ -46,6 +46,7 @@ public:
void SetSirenOn(BYTE byteState); void SetSirenOn(BYTE byteState);
BOOL IsSirenOn(); BOOL IsSirenOn();
void SetAlarmState(WORD wState);
void SetEngineState(BOOL bState); void SetEngineState(BOOL bState);