|
|
@ -2,6 +2,7 @@ |
|
|
|
#pragma once
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "configs/project_setting.hpp"
|
|
|
|
namespace iflytop { |
|
|
|
|
|
|
|
#define PI 3.14159265358979323846
|
|
|
@ -30,7 +31,29 @@ class VolumeConvertor { |
|
|
|
* |rb| |
|
|
|
* |
|
|
|
*/ |
|
|
|
#ifdef PROJECT_TYPE_SMALL_SPACE_DISINFECTION
|
|
|
|
|
|
|
|
float container_h4 = 1.8569; |
|
|
|
float container_ru4 = 0.67; |
|
|
|
float container_rb4 = 0.67; |
|
|
|
|
|
|
|
float container_h3 = 0.15; |
|
|
|
float container_ru3 = 0.67; |
|
|
|
float container_rb3 = 0.52; |
|
|
|
|
|
|
|
float container_h2 = 0.0976; |
|
|
|
float container_ru2 = 0.52; |
|
|
|
float container_rb2 = 0.52; |
|
|
|
|
|
|
|
float container_h1 = 0.0411; |
|
|
|
float container_ru1 = 0.52; |
|
|
|
float container_rb1 = 0.05; |
|
|
|
|
|
|
|
float density = 1000; // kg/m^3
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef PROJECT_TYPE_LARGE_SPACE_DISINFECTION
|
|
|
|
float container_h4 = 2.2069; |
|
|
|
float container_ru4 = 0.82; |
|
|
|
float container_rb4 = 0.82; |
|
|
@ -49,6 +72,8 @@ class VolumeConvertor { |
|
|
|
|
|
|
|
float density = 1000; // kg/m^3
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
public: |
|
|
|
float pressurePa2VolumeG(float _pa); |
|
|
|
|
|
|
|