// Stop heartbeat
await this._stopHeartbeat();
// Stop the ATG
if (Utils.convertToBoolean(this._stationInfo.AutomaticTransactionGenerator.enable) &&
this._automaticTransactionGeneration &&
!this._automaticTransactionGeneration.timeToStop) {
// Stop heartbeat
await this._stopHeartbeat();
// Stop the ATG
if (Utils.convertToBoolean(this._stationInfo.AutomaticTransactionGenerator.enable) &&
this._automaticTransactionGeneration &&
!this._automaticTransactionGeneration.timeToStop) {