固井可视解释读取数据编码问题。
This commit is contained in:
parent
ca8aa6b544
commit
92cff7ad53
|
|
@ -569,7 +569,7 @@ void WellLogTableDialogNew::slotSave()
|
||||||
delete logio;
|
delete logio;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int iIndex=logio->OpenTable(UTF8ToGBK(m_pWellLogs[0]->GetName()));
|
int iIndex=logio->OpenTable(m_pWellLogs[0]->GetName().toStdString().c_str());
|
||||||
if (iIndex >=0)
|
if (iIndex >=0)
|
||||||
{
|
{
|
||||||
int fc=logio->GetTableFieldCount(iIndex);
|
int fc=logio->GetTableFieldCount(iIndex);
|
||||||
|
|
|
||||||
|
|
@ -2929,7 +2929,7 @@ bool QMyCustomPlot::SaveToSLF_Gujing()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int iIndex=logio->OpenTable(UTF8ToGBK(m_strLineName));
|
int iIndex=logio->OpenTable(m_strLineName.toStdString().c_str());
|
||||||
bool isfirst=false;
|
bool isfirst=false;
|
||||||
if (iIndex < 0)
|
if (iIndex < 0)
|
||||||
{
|
{
|
||||||
|
|
@ -4485,7 +4485,7 @@ bool QMyCustomPlot::LoadFromSLF_Gujing(QString strSlfName, QString strLineName)
|
||||||
zoneOrder_Gujing.insert(lines[i],QString::number(i));
|
zoneOrder_Gujing.insert(lines[i],QString::number(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
int iIndex=logio->OpenTable(UTF8ToGBK(strLineName));
|
int iIndex=logio->OpenTable(strLineName.toStdString().c_str());
|
||||||
if(iIndex>-1) {
|
if(iIndex>-1) {
|
||||||
//------------------------------------//
|
//------------------------------------//
|
||||||
//判断
|
//判断
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user