async SetTextState(sStateName, sDisplayName, sDescription, sValue, sRole = "state"){
		try{
			if (this.isUnloaded === false){
				await this.Fahrplan.setObjectNotExistsAsync(sStateName, {
					type: "state",
					common: {
						name: sDisplayName,
						type: "string",
						role: sRole,
						read: true,
						write: false,
						desc: sDescription
					},
					native: {},
				});
				await this.Fahrplan.setStateAsync(sStateName, { val: sValue, ack: true });
			}
			return true;
		}catch(e){
			this.ReportingError(e, `Exception writing State`, "fHelpers", "SetTextState", "", {name: sStateName, displayname: sDisplayName, description: sDescription, value: sValue});
		}
	}
/**
	* Sets Text State
	* @param {string} sStateName Name of the State
	* @param {string} sDisplayName Displayed Name of the State
	* @param {string} sDescription Description of the State
	* @param {string} sValue Value of the State
	*/
Sets Text State
@param {string} sStateName Name of the State
@param {string} sDisplayName Displayed Name of the State
@param {string} sDescription Description of the State
@param {string} sValue Value of the State
Sets Text State @param { string } sStateName Name of the State @param { string } sDisplayName Displayed Name of the State @param { string } sDescription Description of the State @param { string } sValue Value of the State
async SetTextState(sStateName, sDisplayName, sDescription, sValue, sRole = "state"){
		try{
			if (this.isUnloaded === false){
				await this.Fahrplan.setObjectNotExistsAsync(sStateName, {
					type: "state",
					common: {
						name: sDisplayName,
						type: "string",
						role: sRole,
						read: true,
						write: false,
						desc: sDescription
					},
					native: {},
				});
				await this.Fahrplan.setStateAsync(sStateName, { val: sValue, ack: true });
			}
			return true;
		}catch(e){
			this.ReportingError(e, `Exception writing State`, "fHelpers", "SetTextState", "", {name: sStateName, displayname: sDisplayName, description: sDescription, value: sValue});
		}
	}
async SetTextState ( sStateName , sDisplayName , sDescription , sValue , sRole = "state" ) { try { if ( this . isUnloaded === false ) { await this . Fahrplan . setObjectNotExistsAsync ( sStateName , { type : "state" , common : { name : sDisplayName , type : "string" , role : sRole , read : true , write : false , desc : sDescription } , native : { } , } ) ; await this . Fahrplan . setStateAsync ( sStateName , { val : sValue , ack : true } ) ; } return true ; } catch ( e ) { this . ReportingError ( e , ` ` , "fHelpers" , "SetTextState" , "" , { name : sStateName , displayname : sDisplayName , description : sDescription , value : sValue } ) ; } }
Sets Text State
 @param {string} sStateName Name of the State
 @param {string} sDisplayName Displayed Name of the State
 @param {string} sDescription Description of the State
 @param {string} sValue Value of the State
Sets Text State @param { string } sStateName Name of the State @param { string } sDisplayName Displayed Name of the State @param { string } sDescription Description of the State @param { string } sValue Value of the State