温度真空度计算温度真空度计算
if (dataReceived == null || dataReceived.Count == 0)
{
return null;
}
dataReceived = base.DataProcess(dataReceived);
this._Voltage = dataReceived[0] = 10)
{
this._Voltage = 0.01f;
}
else if (this._Voltage >= 7.97)
{
this._Voltage = -1.9578f * thi...
温度真空度计算
if (dataReceived == null || dataReceived.Count == 0)
{
return null;
}
dataReceived = base.DataProcess(dataReceived);
this._Voltage = dataReceived[0] << 8 | dataReceived[1];
this._Voltage = this._Voltage / 1024.0f * 4.99f * 1000.0f / 450.0f;
if (this._Voltage >= 10)
{
this._Voltage = 0.01f;
}
else if (this._Voltage >= 7.97)
{
this._Voltage = -1.9578f * this._Voltage + 19.524f;
}
else if (this._Voltage >= 6.12)
{
this._Voltage = -3.0393f * this._Voltage + 27.848f;
}
else if (this._Voltage >= 4.05)
{
this._Voltage = 0.9796f * this._Voltage * this._Voltage - 14.987f * this._Voltage + 64.485f;
}
else if (this._Voltage >= 2.89)
{
this._Voltage = 3.6104f * this._Voltage * this._Voltage - 36.422f * this._Voltage + 108.29f;
}
else if (this._Voltage >= 1.89)
{
this._Voltage = 10.977f * this._Voltage * this._Voltage - 78.734f * this._Voltage + 169.47f;
}
else if (this._Voltage >= 0.89)
{
this._Voltage = 134.32f * this._Voltage * this._Voltage - 489.64f * this._Voltage + 512.33f;
}
else this._Voltage = 101325.0f;
this._Voltage = (this._Voltage < 0) ? 0 : this._Voltage;
this._Temperature = (dataReceived[2] & 0x0f) << 8 | dataReceived[3];
this._Temperature = this._Temperature * 4.99f / 1024.0f * 10;
本文档为【温度真空度计算】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑,
图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。