Loading…
Loading…
方法名称: Method_LookupLimits
方法ID: 0x440D
方法标签: Lookup Limits
方法描述:
- {
- switch (mode)
- {
- case 1:
- case 2:
- case 3:
- if (units == 32)
- {
- switch (sensor)
- {
- case 0:
- case 1:
- case 2:
- case 3:
- case 4:
- case 5:
- upper = 850.0;
- lower = -200.0;
- break;
- case 6:
- case 7:
- case 8:
- case 9:
- case 10:
- upper = 650.0;
- lower = -100.0;
- break;
- case 11:
- upper = 510.0;
- lower = -200.0;
- break;
- case 12:
- upper = 320.0;
- lower = -80.0;
- break;
- case 13:
- upper = 250.0;
- lower = -50.0;
- break;
- }
- }
- else
- if (units == 35)
- {
- switch (sensor)
- {
- case 0:
- case 1:
- case 2:
- case 3:
- case 4:
- case 5:
- upper = 1123.150;
- lower = 73.150;
- break;
- case 6:
- case 7:
- case 8:
- case 9:
- case 10:
- upper = 923.150;
- lower = 173.150;
- break;
- case 11:
- upper = 783.150;
- lower = 73.150;
- break;
- case 12:
- upper = 593.150;
- lower = 193.150;
请登录以获得完整内容