public static function createRandom($passes = 1) : self
    {
        for($i = 0; $i < $passes; $i++) {
            $sensor = new self(
                Random::randomFloat(-0.3, 0.3),
                Random::randomFloat(-0.2, 2.5),
                Random::randomFloat(-0.2, 5),
                Random::randomFloat(0.08, 0.20),
                Random::randomFloat(0.45, 0.62),
                Random::randomFloat(9, 12),
                Random::randomFloat(40, 50),
                Random::randomFloat(-3, 3),
                Random::randomFloat(-125, -85),
                0,
                0,
                0
            );
        }

        return $sensor;
    }
public static function createRandom($passes = 1) : self
    {
        for($i = 0; $i < $passes; $i++) {
            $sensor = new self(
                Random::randomFloat(-0.3, 0.3),
                Random::randomFloat(-0.2, 2.5),
                Random::randomFloat(-0.2, 5),
                Random::randomFloat(0.08, 0.20),
                Random::randomFloat(0.45, 0.62),
                Random::randomFloat(9, 12),
                Random::randomFloat(40, 50),
                Random::randomFloat(-3, 3),
                Random::randomFloat(-125, -85),
                0,
                0,
                0
            );
        }

        return $sensor;
    }
public static function createRandom ( $ passes = 1 ) : self { for ( $ i = 0 ; $ i < $ passes ; $ i ++ ) { $ sensor = new self ( Random :: randomFloat ( - 0.3 , 0.3 ) , Random :: randomFloat ( - 0.2 , 2.5 ) , Random :: randomFloat ( - 0.2 , 5 ) , Random :: randomFloat ( 0.08 , 0.20 ) , Random :: randomFloat ( 0.45 , 0.62 ) , Random :: randomFloat ( 9 , 12 ) , Random :: randomFloat ( 40 , 50 ) , Random :: randomFloat ( - 3 , 3 ) , Random :: randomFloat ( - 125 , - 85 ) , 0 , 0 , 0 ) ; } return $ sensor ; }
Create random sensor data

@param int $passes

@return Sensors
Create random sensor data