async deleteConnections(iRoute){
		try{
			const States = await this.Fahrplan.getStatesOfAsync(iRoute.toString());
			for (const State of States){
				if (State["_id"] !== `${this.Fahrplan.name}.${this.Fahrplan.instance}.${iRoute}.Enabled`) {
					// Verify that associated object exists
					const CurrentObj = await this.Fahrplan.getObjectAsync(State.toString());
					if (CurrentObj){
						if (this.isUnloaded === false) await this.Fahrplan.delObjectAsync(State.toString());
					} else{
						const CurrentState = await this.Fahrplan.getStateAsync(State.toString());
						if (CurrentState){
							if (this.isUnloaded === false) await this.Fahrplan.deleteStateAsync(State.toString());
						}
					}
				}
			}
		}catch(e){
			this.ReportingError(e, `Exception removing Connection`, "fHelpers", "deleteConnections");
		}
	}
/**
	* Sets boolean State
	* @param {Number} iRoute Number of Route from configuration
	*/
Sets boolean State
@param {Number} iRoute Number of Route from configuration
Sets boolean State @param { Number } iRoute Number of Route from configuration
async deleteConnections(iRoute){
		try{
			const States = await this.Fahrplan.getStatesOfAsync(iRoute.toString());
			for (const State of States){
				if (State["_id"] !== `${this.Fahrplan.name}.${this.Fahrplan.instance}.${iRoute}.Enabled`) {
					const CurrentObj = await this.Fahrplan.getObjectAsync(State.toString());
					if (CurrentObj){
						if (this.isUnloaded === false) await this.Fahrplan.delObjectAsync(State.toString());
					} else{
						const CurrentState = await this.Fahrplan.getStateAsync(State.toString());
						if (CurrentState){
							if (this.isUnloaded === false) await this.Fahrplan.deleteStateAsync(State.toString());
						}
					}
				}
			}
		}catch(e){
			this.ReportingError(e, `Exception removing Connection`, "fHelpers", "deleteConnections");
		}
	}
async deleteConnections ( iRoute ) { try { const States = await this . Fahrplan . getStatesOfAsync ( iRoute . toString ( ) ) ; for ( const State of States ) { if ( State [ "_id" ] !== ` ${ this . Fahrplan . name } ${ this . Fahrplan . instance } ${ iRoute } ` ) { const CurrentObj = await this . Fahrplan . getObjectAsync ( State . toString ( ) ) ; if ( CurrentObj ) { if ( this . isUnloaded === false ) await this . Fahrplan . delObjectAsync ( State . toString ( ) ) ; } else { const CurrentState = await this . Fahrplan . getStateAsync ( State . toString ( ) ) ; if ( CurrentState ) { if ( this . isUnloaded === false ) await this . Fahrplan . deleteStateAsync ( State . toString ( ) ) ; } } } } } catch ( e ) { this . ReportingError ( e , ` ` , "fHelpers" , "deleteConnections" ) ; } }
Sets boolean State
 @param {Number} iRoute Number of Route from configuration
Sets boolean State @param { Number } iRoute Number of Route from configuration
// Verify that associated object exists