mirror of
				https://gitee.com/ThingsGateway/ThingsGateway.git
				synced 2025-11-04 17:43:58 +08:00 
			
		
		
		
	update GetBoolValue
This commit is contained in:
		@@ -24,6 +24,8 @@ public static class ReadWriteDevicesExHelpers
 | 
			
		||||
    /// <returns></returns>
 | 
			
		||||
    public static bool GetBoolValue(this string value)
 | 
			
		||||
    {
 | 
			
		||||
        if (value == null)
 | 
			
		||||
            return false;
 | 
			
		||||
        if (value == "1")
 | 
			
		||||
            return true;
 | 
			
		||||
        if (value == "0")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user