|
|
@@ -39,14 +39,25 @@ namespace UAS_MES_NEW.CustomControl.TextBoxWithIcon
|
|
|
{
|
|
|
if (SystemInf.UpperCollection && !base.Text.Contains("CHANGEUSER:"))
|
|
|
{
|
|
|
- return base.Text.ToUpper();
|
|
|
+ if (!base.Text.ToUpper().Contains("DID="))
|
|
|
+ {
|
|
|
+ return base.Text.ToUpper();
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ return Substring(base.Text.ToUpper(), "DID=", "V=");
|
|
|
+ }
|
|
|
}
|
|
|
- else if (Text.Contains("did="))
|
|
|
{
|
|
|
- return Substring(base.Text, "did=", "wifiCfg=");
|
|
|
+ if (!base.Text.Contains("did="))
|
|
|
+ {
|
|
|
+ return base.Text;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ return Substring(base.Text, "did=", "V=");
|
|
|
+ }
|
|
|
}
|
|
|
- else
|
|
|
- return base.Text;
|
|
|
}
|
|
|
|
|
|
set
|