This commit is contained in:
parent
7b97af0dba
commit
20ae0dc713
|
|
@ -51,8 +51,13 @@ public class ReportUploadDate
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ReportUploadManager : SingletonMono<LoginManager>
|
public class ReportUploadManager : SingletonMono<LoginManager>
|
||||||
{
|
{
|
||||||
|
public static ReportUploadManager instance;
|
||||||
private string url = "http://172.16.1.254:13030/Handler/Repair.ashx?action=AddReport";
|
private string url = "http://172.16.1.254:13030/Handler/Repair.ashx?action=AddReport";
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
instance = this;
|
||||||
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ÉÏ´«±¨¸æ
|
/// ÉÏ´«±¨¸æ
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -123,25 +128,25 @@ public class ReportUploadManager : SingletonMono<LoginManager>
|
||||||
switch (toggleName)
|
switch (toggleName)
|
||||||
{
|
{
|
||||||
case "5-1-1":
|
case "5-1-1":
|
||||||
return "/实验报告图片/比例微分1.png";
|
return "实验报告图片/比例1倍_511.png";
|
||||||
case "5-1-2":
|
case "5-1-2":
|
||||||
return "/实验报告图片/比例微分2.png";
|
return "实验报告图片/比例1倍_522.png";
|
||||||
case "5-2-1":
|
case "5-2-1":
|
||||||
return "/实验报告图片/积分1.png";
|
return "实验报告图片/1uf积分_521.png";
|
||||||
case "5-2-2":
|
case "5-2-2":
|
||||||
return "/实验报告图片/积分2.png";
|
return "实验报告图片/1uf积分_522.png";
|
||||||
case "5-3-1":
|
case "5-3-1":
|
||||||
return "/实验报告图片/比例1.png";
|
return "实验报告图片/比例积分0.png";
|
||||||
case "5-3-2":
|
case "5-3-2":
|
||||||
return "/实验报告图片/比例2.png";
|
return "实验报告图片/比例积分1.png";
|
||||||
case "5-4-1":
|
case "5-4-1":
|
||||||
return "/实验报告图片/微分1.png";
|
return "实验报告图片/比例微分1.png";
|
||||||
case "5-4-2":
|
case "5-4-2":
|
||||||
return "/实验报告图片/微分2.png";
|
return "实验报告图片/比例微分2.png";
|
||||||
case "5-5-1":
|
case "5-5-1":
|
||||||
return "/实验报告图片/比例积分1.png";
|
return "实验报告图片/惯性环节1.png";
|
||||||
case "5-5-2":
|
case "5-5-2":
|
||||||
return "/实验报告图片/比例积分2.png";
|
return "实验报告图片/惯性环节2.png";
|
||||||
default:
|
default:
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,9 @@ public class UI_ReportUploadPanel : BasePanel
|
||||||
case "关闭按钮":
|
case "关闭按钮":
|
||||||
FadeOut(0.5f);
|
FadeOut(0.5f);
|
||||||
break;
|
break;
|
||||||
|
case "Ìá½»Btn":
|
||||||
|
StartCoroutine(ReportUploadManager.instance.ReportUpload());
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue