吃吃
This commit is contained in:
parent
fb1707bff7
commit
fc8fd43196
@ -79,7 +79,7 @@ namespace Wpf_AiSportsMicrospace
|
|||||||
{
|
{
|
||||||
_sportOperate = new SportOperate();
|
_sportOperate = new SportOperate();
|
||||||
_webcamClient = _sportOperate.CreateRTSP();
|
_webcamClient = _sportOperate.CreateRTSP();
|
||||||
|
|
||||||
_webcamClient.OnExtractFrame += frame =>
|
_webcamClient.OnExtractFrame += frame =>
|
||||||
{
|
{
|
||||||
if (frame != null)
|
if (frame != null)
|
||||||
@ -96,17 +96,14 @@ namespace Wpf_AiSportsMicrospace
|
|||||||
if (item.ImageUri.ToString().EndsWith("1.jpg"))
|
if (item.ImageUri.ToString().EndsWith("1.jpg"))
|
||||||
{
|
{
|
||||||
// 跳转到页面1
|
// 跳转到页面1
|
||||||
MessageBox.Show("1.jpg");
|
|
||||||
}
|
}
|
||||||
else if (item.ImageUri.ToString().EndsWith("2.jpg"))
|
else if (item.ImageUri.ToString().EndsWith("2.jpg"))
|
||||||
{
|
{
|
||||||
// 跳转到页面2
|
// 跳转到页面2
|
||||||
MessageBox.Show("2.jpg");
|
|
||||||
}
|
}
|
||||||
else if (item.ImageUri.ToString().EndsWith("3.jpg"))
|
else if (item.ImageUri.ToString().EndsWith("3.jpg"))
|
||||||
{
|
{
|
||||||
// 跳转到页面3
|
// 跳转到页面3
|
||||||
MessageBox.Show("3.jpg");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user