添加微信登录密钥和ID
This commit is contained in:
parent
2ee574e62b
commit
39f22007d8
@ -2,8 +2,8 @@
|
|||||||
oauth:
|
oauth:
|
||||||
wx:
|
wx:
|
||||||
miniapp:
|
miniapp:
|
||||||
appId: appId
|
appId: wx9f9b7d747d261686
|
||||||
appSecret: appSecret
|
appSecret: b55d707dbe4e98d5db23648694a8ce8e
|
||||||
url: https://api.weixin.qq.com/sns/jscode2session
|
url: https://api.weixin.qq.com/sns/jscode2session
|
||||||
pub:
|
pub:
|
||||||
appId: appId
|
appId: appId
|
||||||
|
|||||||
@ -366,12 +366,14 @@ public class DpFlowCalc {
|
|||||||
// 6. 计算标况流量(GB/T 21446-2008 式(1))
|
// 6. 计算标况流量(GB/T 21446-2008 式(1))
|
||||||
double Qn = flowProps.getdVFlowf() * (flowProps.getdFpv()*flowProps.getdFpv() * P1 / flowProps.getdPb_M())
|
double Qn = flowProps.getdVFlowf() * (flowProps.getdFpv()*flowProps.getdFpv() * P1 / flowProps.getdPb_M())
|
||||||
* (flowProps.getdTb_M()) / Tf;
|
* (flowProps.getdTb_M()) / Tf;
|
||||||
flowProps.setdVFlowb(FormatUtil.format(Qn,Optional.of(4)));
|
flowProps.setdVFlowb(FormatUtil.format(Qn,Optional.of(5)));
|
||||||
|
|
||||||
|
flowProps.setdBk(BkTable());
|
||||||
|
|
||||||
//标况质量流量
|
//标况质量流量
|
||||||
flowProps.setdMFlowb(FormatUtil.format(flowProps.getdVFlowb() * gasProps.dRhob,Optional.of(4)));
|
flowProps.setdMFlowb(FormatUtil.format(flowProps.getdVFlowb() * gasProps.dRhob,Optional.of(5)));
|
||||||
//标况能量流量
|
//标况能量流量
|
||||||
flowProps.setdEFlowb(FormatUtil.format(flowProps.getdVFlowb() * gasProps.dHhvv,Optional.of(4)));
|
flowProps.setdEFlowb(FormatUtil.format(flowProps.getdVFlowb() * gasProps.dHhvv,Optional.of(5)));
|
||||||
//管道内天然气流速
|
//管道内天然气流速
|
||||||
flowProps.setdVelocityFlow(FormatUtil.format(flowProps.getdVFlowf() / (Math.PI * Math.pow((flowProps.getdPipeD() / 2000), 2)),Optional.of(3)));
|
flowProps.setdVelocityFlow(FormatUtil.format(flowProps.getdVFlowf() / (Math.PI * Math.pow((flowProps.getdPipeD() / 2000), 2)),Optional.of(3)));
|
||||||
//压力损失
|
//压力损失
|
||||||
@ -887,7 +889,7 @@ public class DpFlowCalc {
|
|||||||
return returnValue;
|
return returnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
private double BkTable(double temPrk, double tempKj, int tempBkjsff) {
|
private static double BkTable(double temPrk, double tempKj, int tempBkjsff) {
|
||||||
double[] BkTable_x = new double[10];
|
double[] BkTable_x = new double[10];
|
||||||
double[] BkTable_Y = new double[10];
|
double[] BkTable_Y = new double[10];
|
||||||
//On Error Resume Next VBConversions Warning: On Error Resume Next not supported in C#
|
//On Error Resume Next VBConversions Warning: On Error Resume Next not supported in C#
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user