Loading…

Method Name: SetFluidSelector1

Method ID: 0x45E4

Method Label: set fluid

Method Help: set fluid


  • {
  • _get_dev_var_value(literal_string(2206),0,17881);
  • switch (gdc_02094_32_FluidSelector1)
  • {
  • case 1:
  • switch (gdc_42202_32_Einheit_Geschwindigkeit)
  • {
  • case 21:
  • gdc_02057_32_FluidC1 = gdc_02530_32_VoSWater;
  • break;
  • case 120:
  • gdc_02057_32_FluidC1 = gdc_02530_32_VoSWater * 3600.0000;
  • break;
  • case 20:
  • gdc_02057_32_FluidC1 = gdc_02530_32_VoSWater * 3.280839895;
  • break;
  • case 116:
  • gdc_02057_32_FluidC1 = gdc_02530_32_VoSWater * 196.8503937;
  • break;
  • case 114:
  • gdc_02057_32_FluidC1 = gdc_02530_32_VoSWater * 39.37007874;
  • break;
  • case 115:
  • gdc_02057_32_FluidC1 = gdc_02530_32_VoSWater * 2362.204724;
  • break;
  • default:
  • gdc_02057_32_FluidC1 = gdc_02530_32_VoSWater;
  • break;
  • }
  • switch (gdc_42197_32_Einheit_Dichte)
  • {
  • case 91:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 1.0E-3;
  • break;
  • case 95:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 1.0E-3;
  • break;
  • case 97:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater;
  • break;
  • case 92:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater;
  • break;
  • case 96:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 0.001;
  • break;
  • case 98:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 36.12729200E-6;
  • break;
  • case 94:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 62.42796058E-3;
  • break;
  • case 93:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 8.345404452E-3;
  • break;
  • case 90:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 0.00100096;
  • break;
  • case 99:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 842.7774678E-6;
  • break;
  • case 104:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 141233.0;
  • break;
  • case 146:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 1.0E6;
  • break;
  • case 147:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 1.0E9;
  • break;
  • case 170:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater * 1.0E3;
  • break;
  • default:
  • gdc_02055_32_FluidDensity1 = gdc_02520_32_DensityWater;
  • break;
  • }
  • break;
  • case 12:
  • switch (gdc_42202_32_Einheit_Geschwindigkeit)
  • {
  • case 21:
  • gdc_02057_32_FluidC1 = gdc_02560_32_VoSWater_glycol;
  • break;
  • case 120:
  • gdc_02057_32_FluidC1 = gdc_02560_32_VoSWater_glycol * 3600.0000;
  • break;
  • case 20:
  • gdc_02057_32_FluidC1 = gdc_02560_32_VoSWater_glycol * 3.280839895;
  • break;
  • case 116:
  • gdc_02057_32_FluidC1 = gdc_02560_32_VoSWater_glycol * 196.8503937;
  • break;
  • case 114:
  • gdc_02057_32_FluidC1 = gdc_02560_32_VoSWater_glycol * 39.37007874;
  • break;
  • case 115:
  • gdc_02057_32_FluidC1 = gdc_02560_32_VoSWater_glycol * 2362.204724;
  • break;
  • default:
  • gdc_02057_32_FluidC1 = gdc_02560_32_VoSWater_glycol;
  • break;
  • }
  • switch (gdc_42197_32_Einheit_Dichte)
  • {
  • case 91:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 1.0E-3;
  • break;
  • case 95:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 1.0E-3;
  • break;
  • case 97:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol;
  • break;
  • case 92:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol;
  • break;
  • case 96:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 0.001;
  • break;
  • case 98:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 36.12729200E-6;
  • break;
  • case 94:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 62.42796058E-3;
  • break;
  • case 93:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 8.345404452E-3;
  • break;
  • case 90:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 0.00100096;
  • break;
  • case 99:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 842.7774678E-6;
  • break;
  • case 104:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 141233.0;
  • break;
  • case 146:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 1.0E6;
  • break;
  • case 147:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 1.0E9;
  • break;
  • case 170:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol * 1.0E3;
  • break;
  • default:
  • gdc_02055_32_FluidDensity1 = gdc_02519_32_DensityWater_glycol;
  • break;
  • }
  • break;
  • case 2:
  • switch (gdc_42202_32_Einheit_Geschwindigkeit)
  • {
  • case 21:
  • gdc_02057_32_FluidC1 = gdc_02531_32_VoSAlkanes;
  • break;
  • case 120:
  • gdc_02057_32_FluidC1 = gdc_02531_32_VoSAlkanes * 3600.0000;
  • break;
  • case 20:
  • gdc_02057_32_FluidC1 = gdc_02531_32_VoSAlkanes * 3.280839895;
  • break;
  • case 116:
  • gdc_02057_32_FluidC1 = gdc_02531_32_VoSAlkanes * 196.8503937;
  • break;
  • case 114:
  • gdc_02057_32_FluidC1 = gdc_02531_32_VoSAlkanes * 39.37007874;
  • break;
  • case 115:
  • gdc_02057_32_FluidC1 = gdc_02531_32_VoSAlkanes * 2362.204724;
  • break;
  • default:
  • gdc_02057_32_FluidC1 = gdc_02531_32_VoSAlkanes;
  • break;
  • }
  • switch (gdc_42197_32_Einheit_Dichte)
  • {
  • case 91:


Please login for more