|
@@ -535,7 +535,7 @@ namespace OTSIncAReportApp
|
|
|
private void LoadMBSZClass()
|
|
|
{
|
|
|
string path;
|
|
|
- if (m_ReportApp.m_RptConfigFile.Systype == OTS_SysType_ID.CleannessA)
|
|
|
+ if (m_ReportApp.m_RptConfigFile.Systype != OTS_SysType_ID.IncA)
|
|
|
path = SummaryInfoXmluti.Read("M_address", "Path_CA");
|
|
|
else
|
|
|
path = SummaryInfoXmluti.Read("M_address", "Path");
|
|
@@ -550,7 +550,7 @@ namespace OTSIncAReportApp
|
|
|
/// </summary>
|
|
|
private void SaveMBSClass()
|
|
|
{
|
|
|
- if (m_ReportApp.m_RptConfigFile.Systype == OTS_SysType_ID.CleannessA)
|
|
|
+ if (m_ReportApp.m_RptConfigFile.Systype != OTS_SysType_ID.IncA)
|
|
|
//文件路径
|
|
|
SummaryInfoXmluti.Write(m_mbszclass.M_DZ.route.ToString(), "M_address", "Path_CA");
|
|
|
else
|
|
@@ -584,7 +584,7 @@ namespace OTSIncAReportApp
|
|
|
ReadClassification();
|
|
|
else
|
|
|
ReadClassificationNo();
|
|
|
- if (m_ReportApp.m_RptConfigFile.Systype == OTS_SysType_ID.CleannessA)
|
|
|
+ if (m_ReportApp.m_RptConfigFile.Systype != OTS_SysType_ID.IncA)
|
|
|
{
|
|
|
button7.Visible = false;
|
|
|
}
|
|
@@ -614,7 +614,7 @@ namespace OTSIncAReportApp
|
|
|
private void btn_openfilepath_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
string path;
|
|
|
- if (m_ReportApp.m_RptConfigFile.Systype == OTS_SysType_ID.CleannessA)
|
|
|
+ if (m_ReportApp.m_RptConfigFile.Systype != OTS_SysType_ID.IncA)
|
|
|
path = Application.StartupPath + "\\Config\\ReportTemplate\\CleannessA_Template";
|
|
|
else
|
|
|
path = Application.StartupPath + "\\Config\\ReportTemplate\\Inca_Template";
|
|
@@ -639,7 +639,7 @@ namespace OTSIncAReportApp
|
|
|
private void btn_TempDes_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
//预览设置
|
|
|
- if (m_ReportApp.m_RptConfigFile.Systype == OTS_SysType_ID.CleannessA)
|
|
|
+ if (m_ReportApp.m_RptConfigFile.Systype != OTS_SysType_ID.IncA)
|
|
|
{
|
|
|
OTSReport_Template_CleannessA OtsTemDRM = new OTSReport_Template_CleannessA(this, fileName);
|
|
|
if (OtsTemDRM.ShowDialog() == DialogResult.Yes)
|
|
@@ -694,7 +694,7 @@ namespace OTSIncAReportApp
|
|
|
richTextBox1.AppendText(table["loading"].ToString() + Math.Round(d1, length).ToString() + "%\n");
|
|
|
DEVReport.International_language();
|
|
|
bool isINCA = false;
|
|
|
- if (m_ReportApp.m_RptConfigFile.Systype != OTS_SysType_ID.CleannessA)
|
|
|
+ if (m_ReportApp.m_RptConfigFile.Systype == OTS_SysType_ID.IncA)
|
|
|
{
|
|
|
isINCA = true;
|
|
|
}
|
|
@@ -878,7 +878,7 @@ namespace OTSIncAReportApp
|
|
|
private void LoadControlsToXml()
|
|
|
{
|
|
|
string strpath;
|
|
|
- if (m_ReportApp.m_RptConfigFile.Systype == OTS_SysType_ID.CleannessA)
|
|
|
+ if (m_ReportApp.m_RptConfigFile.Systype != OTS_SysType_ID.IncA)
|
|
|
strpath = Application.StartupPath + "\\Config\\ReportTemplate\\CleannessA_Template\\" + fileName;
|
|
|
else
|
|
|
strpath = Application.StartupPath + "\\Config\\ReportTemplate\\Inca_Template\\" + fileName;
|