|
@@ -275,24 +275,22 @@ namespace OTSMeasureApp
|
|
|
}
|
|
|
private void DoSplash()
|
|
|
{
|
|
|
-
|
|
|
- string path = @".\Config\SysData\OTSProgMgrParam.pmf";
|
|
|
- XmlDocument xmlDocument = new XmlDocument();
|
|
|
- xmlDocument.Load(path);
|
|
|
- XmlNode node = xmlDocument.SelectSingleNode("XMLData");
|
|
|
- XmlElement xe = (XmlElement)node;
|
|
|
- string str = xe.GetAttribute("SysType");
|
|
|
- if (str == "IncA")
|
|
|
- {
|
|
|
- sp = new OTSSplashScreen_IncA();
|
|
|
+ string path = @".\Config\SysData\OTSProgMgrParam.pmf";
|
|
|
+ XmlDocument xmlDocument = new XmlDocument();
|
|
|
+ xmlDocument.Load(path);
|
|
|
+ XmlNode node = xmlDocument.SelectSingleNode("XMLData");
|
|
|
+ XmlElement xe = (XmlElement)node;
|
|
|
+ string str = xe.GetAttribute("SysType");
|
|
|
+ if (str == "IncA")
|
|
|
+ {
|
|
|
+ sp = new OTSSplashScreen_IncA();
|
|
|
sp.ShowDialog();
|
|
|
- }
|
|
|
- else if (str == "CleannessA")
|
|
|
- {
|
|
|
- sp = new OTSSplashScreen_Cleanness();
|
|
|
+ }
|
|
|
+ else if (str == "TCCleannessA" || str == "BatteryCleannessA")
|
|
|
+ {
|
|
|
+ sp = new OTSSplashScreen_Cleanness();
|
|
|
sp.ShowDialog();
|
|
|
- }
|
|
|
-
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private void rbReport_Click(object sender, EventArgs e)
|