implement function InsertPowerOnOffEventToPublicGpsLogAndToAvlsLog and modify for power on off relation code