Commit b427b58d by wangonghui

插件CBA合并插件

parent 0a9d5f53
......@@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.Common
namespace VIZ.TVP.CBA.Module
{
public static class AppConfigUtil
{
......
......@@ -11,7 +11,7 @@ using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.Common
namespace VIZ.TVP.CBA.Module
{
public static class JsonHelper
{
......
......@@ -9,13 +9,9 @@ using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using VIZ.TVP.CBA.Module.DayMatch.Model;
using VIZ.TVP.CBA.Module.OnAirData;
using VIZ.TVP.CBA.Module.RoundMatch.Model;
using VIZ.TVP.CBA.Module.SeasonData;
using VIZ.TVP.CBA.Module.TeamStandings.Model;
namespace VIZ.TVP.CBA.Module.Common
namespace VIZ.TVP.CBA.Module
{
public static class JsonModel
{
......
......@@ -4,13 +4,9 @@ using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using VIZ.TVP.CBA.Module.Main.ViewModel;
using VIZ.TVP.CBA.Module.OnAirData;
using VIZ.TVP.CBA.Module.SinglePlayer.ViewModel;
using VIZ.TVP.CBA.Module.TeamStats.Model;
using VIZ.TVP.CBA.Module.TeamStats.ViewModel;
namespace VIZ.TVP.CBA.Module.Common
namespace VIZ.TVP.CBA.Module
{
public static class Utils
{
......
......@@ -3,14 +3,15 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.TVP.CBA.Module.DayMatch.View;
using VIZ.TVP.CBA.Module.DayMatch.ViewModel;
using VIZ.Package.Plugin;
using VIZ.Package.Domain;
using VIZ.Package.Module;
namespace VIZ.TVP.CBA.Module.DayMatch
{
/// <summary>
/// 比赛日期插件
/// </summary>
public class DayMatchPlugin : IPluginLifeCycle
{
/// <summary>
......@@ -19,12 +20,12 @@ namespace VIZ.TVP.CBA.Module.DayMatch
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public const string PLUGIN_ID = "DayMatchUI";
public const string PLUGIN_ID = "DayMatchView";
/// <summary>
/// 插件显示名称
/// </summary>
public const string PLUGIN_NAME = "比赛日程";
public const string PLUGIN_NAME = "今日赛程";
public void Dispose()
{
......@@ -37,9 +38,9 @@ namespace VIZ.TVP.CBA.Module.DayMatch
info.ID = PLUGIN_ID;
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
info.ViewType = typeof(DayMatchUI);
//info.SettingViewType = typeof(DayMatchUI);
info.ViewType = typeof(DayMatchView);
//info.SettingViewType = typeof(DayMatchUI);
return info;
}
}
......
......@@ -6,9 +6,8 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.TempEnum;
namespace VIZ.TVP.CBA.Module.DayMatch.Model
namespace VIZ.TVP.CBA.Module
{
public class Dayschedule: ViewModelBase
{
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.DayMatch.Model
namespace VIZ.TVP.CBA.Module
{
public class Dayschedules
{
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.DayMatch.Model
namespace VIZ.TVP.CBA.Module
{
public class LightHigts
{
......
<UserControl x:Class="VIZ.TVP.CBA.Module.DayMatch.View.DayMatchUI"
<UserControl x:Class="VIZ.TVP.CBA.Module.DayMatchView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
......@@ -9,7 +9,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:core="clr-namespace:VIZ.Framework.Core;assembly=VIZ.Framework.Core"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module.TempEnum"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module"
mc:Ignorable="d"
d:DesignHeight="400"
d:DesignWidth="650"
......
using System;
using DevExpress.Xpf.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
......@@ -13,29 +14,31 @@ using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.Package.Domain;
using VIZ.TVP.CBA.Module.DayMatch.ViewModel;
namespace VIZ.TVP.CBA.Module.DayMatch.View
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// Interaction logic for DayMatchUI.xaml
/// </summary>
public partial class DayMatchUI : UserControl, IPluginView
public partial class DayMatchView : UserControl, IPluginView
{
public DayMatchUI()
DayMatchViewModel vm = null;
public DayMatchView()
{
InitializeComponent();
WPFHelper.BindingViewModel(this, new DayMatchViewModel());
vm=this.DataContext as DayMatchViewModel;
}
/// <summary>
/// 上版
/// </summary>
/// <param name="conns">连接</param>
public void TakIn(IList<ConnModel> conns)
{
DayMatchViewModel vm = this.DataContext as DayMatchViewModel;
//DayMatchViewModel vm = thi DayMatchViewModel
//ApplicationDomainEx.PreviewConn.EndpointManager.Send("");
}
......@@ -72,7 +75,11 @@ namespace VIZ.TVP.CBA.Module.DayMatch.View
/// <param name="conn">连接</param>
public void PreviewIn(ConnModel conn)
{
if(conn.IsConnected)
{
//SCRIPT_INVOKE
ApplicationDomainEx.PreviewConn.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE,"Data",vm.CombineMatchData()));
}
}
/// <summary>
......@@ -100,5 +107,25 @@ namespace VIZ.TVP.CBA.Module.DayMatch.View
{
}
public void TakIn(ConnModel conn)
{
throw new NotImplementedException();
}
public void TakeContinue(ConnModel conn)
{
throw new NotImplementedException();
}
public void TakeOut(ConnModel conn)
{
throw new NotImplementedException();
}
public void TakeUpdate(ConnModel conn)
{
throw new NotImplementedException();
}
}
}
......@@ -5,13 +5,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Common;
using VIZ.TVP.CBA.Module.DayMatch.Model;
using VIZ.TVP.CBA.Module.TempEnum;
using VIZ.TVP.CBA.Domain;
using log4net;
namespace VIZ.TVP.CBA.Module.DayMatch.ViewModel
namespace VIZ.TVP.CBA.Module
{
public class DayMatchViewModel : ViewModelBase
{
......@@ -62,7 +58,7 @@ namespace VIZ.TVP.CBA.Module.DayMatch.ViewModel
private void BtnMatchDayUpData()
{
Log.Info("比赛日期上版和数据:"+ CombineMatchData());
ApplicationDomainEx.VizEngineModel.STAGE_START("Default/JRSCBEN", "Data", CombineMatchData());
//ApplicationDomainEx.VizEngineModel.STAGE_START("Default/JRSCBEN", "Data", CombineMatchData());
}
......@@ -172,7 +168,7 @@ namespace VIZ.TVP.CBA.Module.DayMatch.ViewModel
/// 组装往包装发送得数据
/// </summary>
/// <returns></returns>
private string CombineMatchData()
public string CombineMatchData()
{
string data="";
data += title+"&";
......
......@@ -4,13 +4,8 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:my="clr-namespace:VIZ.TVP.CBA.Module.DayMatch.View"
xmlns:team="clr-namespace:VIZ.TVP.CBA.Module.TeamStandings.View"
xmlns:round="clr-namespace:VIZ.TVP.CBA.Module.RoundMatch.View"
xmlns:teamStats="clr-namespace:VIZ.TVP.CBA.Module.TeamStats.View"
xmlns:single="clr-namespace:VIZ.TVP.CBA.Module.SinglePlayer.View"
xmlns:playCom="clr-namespace:VIZ.TVP.CBA.Module.PlayerCompare.View"
x:Class="VIZ.TVP.CBA.Module.MainView"
xmlns:moduel="clr-namespace:VIZ.TVP.CBA.Module"
mc:Ignorable="d"
d:DesignHeight="800" d:DesignWidth="1300">
......@@ -138,40 +133,40 @@
<TabControl Grid.Row="1" >
<TabItem Header="今日赛程" FontSize="20">
<Grid >
<my:DayMatchUI>
</my:DayMatchUI>
<moduel:DayMatchView>
</moduel:DayMatchView>
</Grid>
</TabItem>
<TabItem Header="球队排行榜" FontSize="20">
<Grid >
<team:TeamStandingUI>
</team:TeamStandingUI>
<moduel:TeamStandingView>
</moduel:TeamStandingView>
</Grid>
</TabItem>
<TabItem Header="本轮和下轮对阵" FontSize="20">
<Grid>
<round:RoundMatchUI>
<moduel:RoundMatchView>
</round:RoundMatchUI>
</moduel:RoundMatchView>
</Grid>
</TabItem>
<TabItem Header="球队数据对比" FontSize="20">
<Grid>
<teamStats:TeamStatsUI>
<moduel:TeamStatsView>
</teamStats:TeamStatsUI>
</moduel:TeamStatsView>
</Grid>
</TabItem>
<TabItem Header="单人球员" FontSize="20">
<Grid>
<single:SinglePlayerUI Grid.ColumnSpan="3">
<moduel:SinglePlayerView>
</single:SinglePlayerUI>
</moduel:SinglePlayerView>
</Grid>
</TabItem>
......@@ -179,9 +174,9 @@
<TabItem Header="球员数据对比" FontSize="20">
<Grid>
<playCom:PlayerComPareUI>
<moduel:PlayerComPareView>
</playCom:PlayerComPareUI>
</moduel:PlayerComPareView>
</Grid>
</TabItem>
......
......@@ -12,14 +12,6 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Common;
using VIZ.TVP.CBA.Module.DayMatch.ViewModel;
using VIZ.TVP.CBA.Module.Main.ViewModel;
using VIZ.TVP.CBA.Module.OnAirData;
using VIZ.TVP.CBA.Module.PlayerCompare.ViewModel;
using VIZ.TVP.CBA.Module.SinglePlayer.Model;
using VIZ.TVP.CBA.Module.SinglePlayer.ViewModel;
using VIZ.TVP.CBA.Module.TeamStats.ViewModel;
namespace VIZ.TVP.CBA.Module
{
......
......@@ -6,14 +6,9 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Common;
using VIZ.TVP.CBA.Module.DayMatch.Model;
using VIZ.TVP.CBA.Module.OnAirData;
using VIZ.TVP.CBA.Module.SeasonData;
using VIZ.TVP.CBA.Domain;
using log4net;
namespace VIZ.TVP.CBA.Module.Main.ViewModel
namespace VIZ.TVP.CBA.Module
{
public class MainViewModel : ViewModelBase
{
......@@ -40,7 +35,7 @@ namespace VIZ.TVP.CBA.Module.Main.ViewModel
public MainViewModel()
{
//matchDate = DateTime.Today.ToShortDateString();
ApplicationDomainEx.VizEngineModel = new VizEngineModel();
// ApplicationDomainEx.VizEngineModel = new VizEngineModel();
// GetSchedule();
// InitCommand();
InitProperty();
......@@ -280,7 +275,8 @@ namespace VIZ.TVP.CBA.Module.Main.ViewModel
#region VizEngineModel -- VIZ引擎模型
private VizEngineModel vizEngineModel = ApplicationDomainEx.VizEngineModel;
private VizEngineModel vizEngineModel = null;
//ApplicationDomainEx.VizEngineModel;
/// <summary>
/// VIZ引擎模型
/// </summary>
......@@ -324,13 +320,13 @@ namespace VIZ.TVP.CBA.Module.Main.ViewModel
Task.Run(() =>
{
bool result = ApplicationDomainEx.VizEngineModel.Connection(this.SelectedVizConnection.IP, this.SelectedVizConnection.Port);
IsConnected = ApplicationDomainEx.VizEngineModel.IsConnected;
// bool result = ApplicationDomainEx.VizEngineModel.Connection(this.SelectedVizConnection.IP, this.SelectedVizConnection.Port);
// IsConnected = ApplicationDomainEx.VizEngineModel.IsConnected;
if (!result)
{
MessageBox.Show($"连接 {this.SelectedVizConnection?.IP}:{this.SelectedVizConnection?.Port} 失败");
}
// if (!result)
// {
// MessageBox.Show($"连接 {this.SelectedVizConnection?.IP}:{this.SelectedVizConnection?.Port} 失败");
// }
this.IsConnectButtonEnabled = true;
});
......@@ -350,8 +346,8 @@ namespace VIZ.TVP.CBA.Module.Main.ViewModel
/// </summary>
private void Disconnect()
{
ApplicationDomainEx.VizEngineModel.Disconnect();
IsConnected = ApplicationDomainEx.VizEngineModel.IsConnected;
//ApplicationDomainEx.VizEngineModel.Disconnect();
//IsConnected = ApplicationDomainEx.VizEngineModel.IsConnected;
}
#endregion
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.OnAirData
namespace VIZ.TVP.CBA.Module
{
public class Events
{
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.OnAirData
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// 主队队员
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.OnAirData
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// 客队队员
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.OnAirData
namespace VIZ.TVP.CBA.Module
{
public class LiveTeamInfo
{
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.OnAirData
namespace VIZ.TVP.CBA.Module
{
/// <summary>
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.OnAirData
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// 客队球队
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.OnAirData
namespace VIZ.TVP.CBA.Module
{
public class OnAirDataModel
{
......
......@@ -6,10 +6,8 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.PlayerCompare.ViewModel;
using VIZ.TVP.CBA.Module.TempEnum;
namespace VIZ.TVP.CBA.Module.PlayerCompare.Model
namespace VIZ.TVP.CBA.Module
{
public class PlayerComModel: ViewModelBase
{
......
......@@ -3,16 +3,14 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Plugin;
using VIZ.TVP.CBA.Module.DayMatch.View;
using VIZ.TVP.CBA.Module.DayMatch.ViewModel;
using VIZ.TVP.CBA.Module.PlayerCompare.View;
using VIZ.TVP.CBA.Module.PlayerCompare.ViewModel;
using VIZ.TVP.Plugin;
using VIZ.Package.Domain;
namespace VIZ.TVP.CBA.Module.PlayerCompare
namespace VIZ.TVP.CBA.Module
{
public class PlayerComparePlugin : ITemplatePluginLifeCycle
/// <summary>
/// 球员对比数据
/// </summary>
public class PlayerComparePlugin : IPluginLifeCycle
{
/// <summary>
......@@ -21,12 +19,12 @@ namespace VIZ.TVP.CBA.Module.PlayerCompare
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public const string PLUGIN_ID = "PlayerComPareUI";
public const string PLUGIN_ID = "PlayerComPareView";
/// <summary>
/// 插件显示名称
/// </summary>
public const string PLUGIN_DISPLAY_NAME = "PlayerComPareUI";
public const string PLUGIN_NAME = "球员对比数据";
public void Dispose()
{
......@@ -41,10 +39,12 @@ namespace VIZ.TVP.CBA.Module.PlayerCompare
{
PluginInfo info = new PluginInfo();
info.ID = PLUGIN_ID;
info.DisplayName = PLUGIN_DISPLAY_NAME;
info.HasView = true;
info.HasSettingView = false;
info.ViewInfo = new PluginViewInfo(typeof(PlayerComPareUI), typeof(PlayerCompareViewModel));
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
info.ViewType = typeof(PlayerComPareView);
//info.SettingViewType = typeof(DayMatchUI);
return info;
}
}
......
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Main.ViewModel;
using VIZ.TVP.CBA.Module.PlayerCompare.Model;
using VIZ.TVP.CBA.Module.PlayerCompare.ViewModel;
using VIZ.TVP.CBA.Module.TempEnum;
namespace VIZ.TVP.CBA.Module.PlayerCompare.View
{
/// <summary>
/// Interaction logic for PlayerComPareUI.xaml
/// </summary>
public partial class PlayerComPareUI : UserControl
{
public PlayerCompareViewModel vm = PlayerCompareViewModel.CreateInstance;
public MainViewModel mainViewModel = MainViewModel.CreateInstance;
public PlayerComPareUI()
{
InitializeComponent();
WPFHelper.BindingViewModel(this, vm);
}
//private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
//{
// if (Convert.ToInt32(vm.MatchStatsId) == 7)
// {
// vm.PlayerComModels = new ObservableCollection<PlayerComModel>()
// {
// new PlayerComModel()
// {
// TechStats=TechStats.Goal
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Rebounds
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Assists
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Blocks
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Steals
// },
// new PlayerComModel()
// {
// TechStats=TechStats.ShootingGoalP
// },
// new PlayerComModel()
// {
// TechStats=TechStats.ThreeShootingGoalP
// }
// };
// }
// else if (Convert.ToInt32(vm.MatchStatsId) == 6)
// {
// vm.PlayerComModels = new ObservableCollection<PlayerComModel>()
// {
// new PlayerComModel()
// {
// TechStats=TechStats.Goal
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Rebounds
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Assists
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Blocks
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Steals
// },
// new PlayerComModel()
// {
// TechStats=TechStats.ShootingGoalP
// }
// };
// }
// else if (Convert.ToInt32(vm.MatchStatsId) == 5)
// {
// vm.PlayerComModels = new ObservableCollection<PlayerComModel>()
// {
// new PlayerComModel()
// {
// TechStats=TechStats.Goal
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Rebounds
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Assists
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Blocks
// },
// new PlayerComModel()
// {
// TechStats=TechStats.Steals
// }
// };
// }
// SetHData();
// SetAData();
//}
//private void com_HPlayer_SelectionChanged(object sender, SelectionChangedEventArgs e)
//{
// if (vm.HNameNums.ContainsKey(vm.HPlayer))
// {
// vm.HNums = vm.HNameNums[vm.HPlayer];
// }
// SetHData();
//}
//private void com_APlayer_SelectionChanged(object sender, SelectionChangedEventArgs e)
//{
// if (vm.VNameNums.ContainsKey(vm.APlayer))
// {
// vm.ANums = vm.VNameNums[vm.APlayer];
// }
// SetAData();
//}
//private void SetHData()
//{
// if (mainViewModel.MvpHomePlayerCompareNumDictionary.ContainsKey(vm?.HPlayer))
// {
// var playSeaSonData = mainViewModel.MvpHomePlayerCompareNumDictionary[vm.HPlayer];
// foreach (var teamPlayer in vm.PlayerComModels)
// {
// if (playSeaSonData.ContainsKey(teamPlayer.TechStats.ToString()))
// {
// teamPlayer.HScore = playSeaSonData[teamPlayer.TechStats.ToString()];
// }
// }
// }
// if (vm != null)
// {
// //var singlePlayerData = mainViewModel.PlayerSeasonData.PlayerstatsList.Where(a => a.CNAlias == vm.SelectPlayer).FirstOrDefault();
// if (mainViewModel.CNAliasPlayerSportsDictionary.ContainsKey(vm?.HPlayer))
// {
// var playSeaSonData = mainViewModel.CNAliasPlayerSportsDictionary[vm.HPlayer];
// foreach (var teamPlayer in vm.PlayerComModels)
// {
// if (playSeaSonData.ContainsKey(teamPlayer.TechStats.ToString()))
// {
// teamPlayer.HSeasonScore = playSeaSonData[teamPlayer.TechStats.ToString()];
// }
// }
// }
// }
//}
//private void SetAData()
//{
// if (mainViewModel.MvpVisitPlayerCompareNumDictionary.ContainsKey(vm?.APlayer))
// {
// var playSeaSonData = mainViewModel.MvpVisitPlayerCompareNumDictionary[vm.APlayer];
// foreach (var teamPlayer in vm.PlayerComModels)
// {
// if (playSeaSonData.ContainsKey(teamPlayer.TechStats.ToString()))
// {
// teamPlayer.AScore = playSeaSonData[teamPlayer.TechStats.ToString()];
// }
// }
// }
// if (vm != null)
// {
// //var singlePlayerData = mainViewModel.PlayerSeasonData.PlayerstatsList.Where(a => a.CNAlias == vm.SelectPlayer).FirstOrDefault();
// if (mainViewModel.CNAliasPlayerSportsDictionary.ContainsKey(vm?.APlayer))
// {
// var playSeaSonData = mainViewModel.CNAliasPlayerSportsDictionary[vm.APlayer];
// foreach (var teamPlayer in vm.PlayerComModels)
// {
// if (playSeaSonData.ContainsKey(teamPlayer.TechStats.ToString()))
// {
// teamPlayer.ASeasonScore = playSeaSonData[teamPlayer.TechStats.ToString()];
// }
// }
// }
// }
//}
//private void ComboBox_SelectionChanged_1(object sender, SelectionChangedEventArgs e)
//{
// SetAData();
// SetHData();
//}
}
}
<UserControl x:Class="VIZ.TVP.CBA.Module.PlayerCompare.View.PlayerComPareUI"
<UserControl x:Class="VIZ.TVP.CBA.Module.PlayerComPareView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
......@@ -9,7 +9,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:core="clr-namespace:VIZ.Framework.Core;assembly=VIZ.Framework.Core"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module.TempEnum"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module"
mc:Ignorable="d"
d:DesignHeight="800" d:DesignWidth="650" >
<UserControl.Resources>
......
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.Package.Domain;
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// Interaction logic for PlayerComPareUI.xaml
/// </summary>
public partial class PlayerComPareView : UserControl, IPluginView
{
public PlayerCompareViewModel vm = PlayerCompareViewModel.CreateInstance;
public PlayerComPareView()
{
InitializeComponent();
WPFHelper.BindingViewModel(this, vm);
}
public void Dispose()
{
}
public void PreviewContinue(ConnModel conn)
{
}
public void PreviewIn(ConnModel conn)
{
if(conn.IsConnected)
{
ApplicationDomainEx.PreviewConn.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "dqyData", vm.CombinePlayerCommand()));
}
}
public void PreviewOut(ConnModel conn)
{
}
public void TakeContinue(IList<ConnModel> conns)
{
}
public void TakeOut(IList<ConnModel> conns)
{
}
public void TakeUpdate(IList<ConnModel> conns)
{
}
public void TakIn(IList<ConnModel> conns)
{
}
}
}
......@@ -8,20 +8,11 @@ using System.Windows;
using System.Windows.Input;
using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Common;
using VIZ.TVP.CBA.Module.Main.ViewModel;
using VIZ.TVP.CBA.Module.PlayerCompare.Model;
using VIZ.TVP.CBA.Module.SinglePlayer.Model;
using VIZ.TVP.CBA.Module.SinglePlayer.ViewModel;
using VIZ.TVP.CBA.Module.TempEnum;
using VIZ.TVP.CBA.Domain;
using VIZ.TVP.CBA.Module.OnAirData;
using VIZ.TVP.CBA.Module.SeasonData;
using DevExpress.Mvvm.POCO;
using System.ComponentModel;
using log4net;
namespace VIZ.TVP.CBA.Module.PlayerCompare.ViewModel
namespace VIZ.TVP.CBA.Module
{
public class PlayerCompareViewModel : ViewModelBase
{
......@@ -754,7 +745,7 @@ namespace VIZ.TVP.CBA.Module.PlayerCompare.ViewModel
else
{
Log.Info("球员对比上版和数据:"+ CombinePlayerCommand());
ApplicationDomainEx.VizEngineModel.STAGE_START("Default/SQY", "dqyData", CombinePlayerCommand());
// ApplicationDomainEx.VizEngineModel.STAGE_START("Default/SQY", "dqyData", CombinePlayerCommand());
// CombinePlayerCommand();
}
}
......@@ -764,7 +755,7 @@ namespace VIZ.TVP.CBA.Module.PlayerCompare.ViewModel
/// 组装包装发送的球员信息
/// </summary>
/// <returns></returns>
private string CombinePlayerCommand()
public string CombinePlayerCommand()
{
string data = "";
......
......@@ -4,9 +4,8 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.TempEnum;
namespace VIZ.TVP.CBA.Module.RoundMatch.Model
namespace VIZ.TVP.CBA.Module
{
public class RoundSchedule: ViewModelBase
{
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.RoundMatch.Model
namespace VIZ.TVP.CBA.Module
{
public class RoundSchedules
{
......
......@@ -3,16 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Plugin;
using VIZ.TVP.CBA.Module.DayMatch.View;
using VIZ.TVP.CBA.Module.DayMatch.ViewModel;
using VIZ.TVP.CBA.Module.RoundMatch.View;
using VIZ.TVP.CBA.Module.RoundMatch.ViewModel;
using VIZ.TVP.Plugin;
namespace VIZ.TVP.CBA.Module.RoundMatch
using VIZ.Package.Domain;
namespace VIZ.TVP.CBA.Module
{
public class RoundMatchPlugin : ITemplatePluginLifeCycle
public class RoundMatchPlugin : IPluginLifeCycle
{
/// <summary>
......@@ -21,12 +16,12 @@ namespace VIZ.TVP.CBA.Module.RoundMatch
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public const string PLUGIN_ID = "RoundMatchUI";
public const string PLUGIN_ID = "RoundMatchView";
/// <summary>
/// 插件显示名称
/// </summary>
public const string PLUGIN_DISPLAY_NAME = "RoundMatchUI";
public const string PLUGIN_NAME = "本轮赛程";
public void Dispose()
{
......@@ -42,10 +37,12 @@ namespace VIZ.TVP.CBA.Module.RoundMatch
{
PluginInfo info = new PluginInfo();
info.ID = PLUGIN_ID;
info.DisplayName = PLUGIN_DISPLAY_NAME;
info.HasView = true;
info.HasSettingView = false;
info.ViewInfo = new PluginViewInfo(typeof(RoundMatchUI), typeof(RoundMatchViewModel));
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
info.ViewType = typeof(RoundMatchView);
//info.SettingViewType = typeof(DayMatchUI);
return info;
}
}
......
<UserControl x:Class=" VIZ.TVP.CBA.Module.RoundMatch.View.RoundMatchUI"
<UserControl x:Class=" VIZ.TVP.CBA.Module.RoundMatchView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
......@@ -9,7 +9,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:core="clr-namespace:VIZ.Framework.Core;assembly=VIZ.Framework.Core"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module.TempEnum"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module"
mc:Ignorable="d"
d:DesignHeight="800" d:DesignWidth="650">
<UserControl.Resources>
......
......@@ -12,20 +12,65 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.RoundMatch.ViewModel;
using VIZ.Package.Domain;
namespace VIZ.TVP.CBA.Module.RoundMatch.View
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// Interaction logic for RoundMatchUI.xaml
/// </summary>
public partial class RoundMatchUI : UserControl
public partial class RoundMatchView : UserControl, IPluginView
{
public RoundMatchUI()
RoundMatchViewModel vm = null;
public RoundMatchView()
{
InitializeComponent();
WPFHelper.BindingViewModel(this,new RoundMatchViewModel());
vm = this.DataContext as RoundMatchViewModel;
}
public void Dispose()
{
}
public void PreviewContinue(ConnModel conn)
{
}
public void PreviewIn(ConnModel conn)
{
if(conn.IsConnected)
{
ApplicationDomainEx.PreviewConn.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "Data", vm.CombineMatchData()));
}
}
public void PreviewOut(ConnModel conn)
{
}
public void TakeContinue(IList<ConnModel> conns)
{
}
public void TakeOut(IList<ConnModel> conns)
{
}
public void TakeUpdate(IList<ConnModel> conns)
{
}
public void TakIn(IList<ConnModel> conns)
{
}
}
}
......@@ -5,14 +5,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Common;
using VIZ.TVP.CBA.Module.DayMatch.Model;
using VIZ.TVP.CBA.Module.RoundMatch.Model;
using VIZ.TVP.CBA.Module.TempEnum;
using VIZ.TVP.CBA.Domain;
using log4net;
namespace VIZ.TVP.CBA.Module.RoundMatch.ViewModel
namespace VIZ.TVP.CBA.Module
{
public class RoundMatchViewModel: ViewModelBase
{
......@@ -160,12 +155,12 @@ namespace VIZ.TVP.CBA.Module.RoundMatch.ViewModel
private void BtnCmdDataUp()
{
Log.Info("轮次比赛上版信息和数据:" + CombineMatchData());
ApplicationDomainEx.VizEngineModel.STAGE_START("Default/JRSCBEN", "Data", CombineMatchData());
//ApplicationDomainEx.VizEngineModel.STAGE_START("Default/JRSCBEN", "Data", CombineMatchData());
}
private string CombineMatchData()
public string CombineMatchData()
{
string data = "";
data += title;
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.SeasonData
namespace VIZ.TVP.CBA.Module
{
public class PlayerSeasonData
{
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.SeasonData
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// 球员信息
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.SeasonData
namespace VIZ.TVP.CBA.Module
{
public class SportsLiveTeamInfo
{
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.SeasonData
namespace VIZ.TVP.CBA.Module
{
public class TeamSeasonData
{
......
......@@ -5,10 +5,8 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Main.ViewModel;
using VIZ.TVP.CBA.Module.TempEnum;
namespace VIZ.TVP.CBA.Module.SinglePlayer.Model
namespace VIZ.TVP.CBA.Module
{
public class SinglePlayerModel: ViewModelBase
{
......
......@@ -3,16 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Plugin;
using VIZ.TVP.CBA.Module.RoundMatch.View;
using VIZ.TVP.CBA.Module.RoundMatch.ViewModel;
using VIZ.TVP.CBA.Module.SinglePlayer.View;
using VIZ.TVP.CBA.Module.SinglePlayer.ViewModel;
using VIZ.TVP.Plugin;
namespace VIZ.TVP.CBA.Module.SinglePlayer
using VIZ.Package.Domain;
namespace VIZ.TVP.CBA.Module
{
public class SinglePlayerPlugin : ITemplatePluginLifeCycle
public class SinglePlayerPlugin : IPluginLifeCycle
{
/// <summary>
......@@ -21,12 +16,12 @@ namespace VIZ.TVP.CBA.Module.SinglePlayer
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public const string PLUGIN_ID = "SinglePlayerUI";
public const string PLUGIN_ID = "SinglePlayerView";
/// <summary>
/// 插件显示名称
/// </summary>
public const string PLUGIN_DISPLAY_NAME = "SinglePlayerUI";
public const string PLUGIN_NAME = "单个球员";
public void Dispose()
{
......@@ -42,10 +37,12 @@ namespace VIZ.TVP.CBA.Module.SinglePlayer
{
PluginInfo info = new PluginInfo();
info.ID = PLUGIN_ID;
info.DisplayName = PLUGIN_DISPLAY_NAME;
info.HasView = true;
info.HasSettingView = false;
info.ViewInfo = new PluginViewInfo(typeof(SinglePlayerUI), typeof(SinglePlayerViewModel));
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
info.ViewType = typeof(SinglePlayerView);
//info.SettingViewType = typeof(DayMatchUI);
return info;
}
}
......
<UserControl x:Class="VIZ.TVP.CBA.Module.SinglePlayer.View.SinglePlayerUI"
<UserControl x:Class="VIZ.TVP.CBA.Module.SinglePlayerView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
......@@ -9,7 +9,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:core="clr-namespace:VIZ.Framework.Core;assembly=VIZ.Framework.Core"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module.TempEnum"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module"
mc:Ignorable="d"
d:DesignHeight="800" d:DesignWidth="650" >
<UserControl.Resources>
......
using DevExpress.Office.Crypto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.Package.Domain;
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// Interaction logic for SinglePlayerUI.xaml
/// </summary>
public partial class SinglePlayerView : UserControl, IPluginView
{
SinglePlayerViewModel vm = SinglePlayerViewModel.CreateInstance;
public SinglePlayerView()
{
InitializeComponent();
//vm = new SinglePlayerViewModel(); dqyData
WPFHelper.BindingViewModel(this, vm);
}
public void Dispose()
{
}
public void PreviewContinue(ConnModel conn)
{
}
public void PreviewIn(ConnModel conn)
{
if (conn.IsConnected)
{
ApplicationDomainEx.PreviewConn.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "dqyData", vm.CombineSingleData()));
}
}
public void PreviewOut(ConnModel conn)
{
}
public void TakeContinue(IList<ConnModel> conns)
{
}
public void TakeOut(IList<ConnModel> conns)
{
}
public void TakeUpdate(IList<ConnModel> conns)
{
}
public void TakIn(IList<ConnModel> conns)
{
}
}
}
......@@ -6,20 +6,10 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Common;
using VIZ.TVP.CBA.Module.Main.ViewModel;
using VIZ.TVP.CBA.Module.SinglePlayer.Model;
using VIZ.TVP.CBA.Module.TempEnum;
using VIZ.TVP.CBA.Domain;
using VIZ.TVP.CBA.Module.PlayerCompare.ViewModel;
using VIZ.TVP.CBA.Module.TeamStats.ViewModel;
using VIZ.TVP.CBA.Module.SeasonData;
using VIZ.TVP.CBA.Module.OnAirData;
using VIZ.TVP.CBA.Module.PlayerCompare.Model;
using System.ComponentModel;
using log4net;
namespace VIZ.TVP.CBA.Module.SinglePlayer.ViewModel
namespace VIZ.TVP.CBA.Module
{
public class SinglePlayerViewModel: ViewModelBase
{
......@@ -408,7 +398,7 @@ namespace VIZ.TVP.CBA.Module.SinglePlayer.ViewModel
// mainViewModel.MvpHomePlayerCompareNumDictionary.Add(teamLive.CNAlias, CompareItemToNumber);
Common.Utils.SetTechStatsInfo(this, index, teamLive, null);
Utils.SetTechStatsInfo(this, index, teamLive, null);
......@@ -429,7 +419,7 @@ namespace VIZ.TVP.CBA.Module.SinglePlayer.ViewModel
VNameNums.Add(teamLive.CNAlias, teamLive.Number);
}
Common.Utils.SetTechStatsInfo(this, index, null, teamLive);
Utils.SetTechStatsInfo(this, index, null, teamLive);
// Dictionary<string, string> CompareItemToNumber = new Dictionary<string, string>();
......@@ -824,7 +814,7 @@ namespace VIZ.TVP.CBA.Module.SinglePlayer.ViewModel
else
{
Log.Info("单人球员数据:"+ CombineSingleData());
ApplicationDomainEx.VizEngineModel.STAGE_START("Default/DQY", "dqyData", CombineSingleData());
//ApplicationDomainEx.VizEngineModel.STAGE_START("Default/DQY", "dqyData", CombineSingleData());
}
}
......@@ -846,7 +836,7 @@ namespace VIZ.TVP.CBA.Module.SinglePlayer.ViewModel
else
{
Log.Info("MVP球员数据:"+ CombineSingleData());
ApplicationDomainEx.VizEngineModel.STAGE_START("Default/DQY", "dqyData", CombineSingleData());
//ApplicationDomainEx.VizEngineModel.STAGE_START("Default/DQY", "dqyData", CombineSingleData());
}
}
......@@ -1118,7 +1108,7 @@ namespace VIZ.TVP.CBA.Module.SinglePlayer.ViewModel
/// 组装数据
/// </summary>
/// <returns></returns>
private string CombineSingleData()
public string CombineSingleData()
{
string data = "";
......@@ -1214,7 +1204,7 @@ namespace VIZ.TVP.CBA.Module.SinglePlayer.ViewModel
// mainViewModel.MvpHomePlayerCompareNumDictionary.Add(teamLive.CNAlias, CompareItemToNumber);
Common.Utils.SetTechStatsInfo(this, SelectedIndex, teamLive, null);
Utils.SetTechStatsInfo(this, SelectedIndex, teamLive, null);
......@@ -1235,7 +1225,7 @@ namespace VIZ.TVP.CBA.Module.SinglePlayer.ViewModel
// VNameNums.Add(teamLive.CNAlias, teamLive.Number);
//}
Common.Utils.SetTechStatsInfo(this, SelectedIndex, null, teamLive);
Utils.SetTechStatsInfo(this, SelectedIndex, null, teamLive);
// Dictionary<string, string> CompareItemToNumber = new Dictionary<string, string>();
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.TeamStandings.Model
namespace VIZ.TVP.CBA.Module
{
public class TeamRanks
{
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.TeamStandings.Model
namespace VIZ.TVP.CBA.Module
{
public class Teamrank
{
......
......@@ -3,16 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Plugin;
using VIZ.TVP.CBA.Module.RoundMatch.View;
using VIZ.TVP.CBA.Module.RoundMatch.ViewModel;
using VIZ.TVP.CBA.Module.TeamStandings.View;
using VIZ.TVP.CBA.Module.TeamStandings.ViewModel;
using VIZ.TVP.Plugin;
namespace VIZ.TVP.CBA.Module.TeamStandings
using VIZ.Package.Domain;
namespace VIZ.TVP.CBA.Module
{
public class TeamStandingPlugin : ITemplatePluginLifeCycle
public class TeamStandingPlugin : IPluginLifeCycle
{
/// <summary>
......@@ -21,12 +16,12 @@ namespace VIZ.TVP.CBA.Module.TeamStandings
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public const string PLUGIN_ID = "TeamStandingUI";
public const string PLUGIN_ID = "TeamStandingView";
/// <summary>
/// 插件显示名称
/// </summary>
public const string PLUGIN_DISPLAY_NAME = "TeamStandingUI";
public const string PLUGIN_NAME = "球队积分排名";
public void Dispose()
{
......@@ -42,10 +37,12 @@ namespace VIZ.TVP.CBA.Module.TeamStandings
{
PluginInfo info = new PluginInfo();
info.ID = PLUGIN_ID;
info.DisplayName = PLUGIN_DISPLAY_NAME;
info.HasView = true;
info.HasSettingView = false;
info.ViewInfo = new PluginViewInfo(typeof(TeamStandingUI), typeof(TeamStandingViewModel));
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
info.ViewType = typeof(TeamStandingView);
//info.SettingViewType = typeof(DayMatchUI);
return info;
}
}
......
<UserControl x:Class="VIZ.TVP.CBA.Module.TeamStandings.View.TeamStandingUI"
<UserControl x:Class="VIZ.TVP.CBA.Module.TeamStandingView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
......@@ -9,7 +9,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:core="clr-namespace:VIZ.Framework.Core;assembly=VIZ.Framework.Core"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module.TempEnum"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module"
mc:Ignorable="d"
d:DesignHeight="800" d:DesignWidth="650">
<UserControl.Resources>
......
......@@ -12,20 +12,67 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.TeamStandings.ViewModel;
using VIZ.Package.Domain;
namespace VIZ.TVP.CBA.Module.TeamStandings.View
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// Interaction logic for TeamStandingUI.xaml
/// </summary>
public partial class TeamStandingUI : UserControl
public partial class TeamStandingView : UserControl, IPluginView
{
public TeamStandingUI()
TeamStandingViewModel vm = null;
public TeamStandingView()
{
InitializeComponent();
WPFHelper.BindingViewModel(this,new TeamStandingViewModel());
vm = this.DataContext as TeamStandingViewModel;
}
public void Dispose()
{
}
public void PreviewContinue(ConnModel conn)
{
}
public void PreviewIn(ConnModel conn)
{
//Data
if (conn.IsConnected)
{
ApplicationDomainEx.PreviewConn.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "Data", vm.CombineTeamStandingData()));
}
}
public void PreviewOut(ConnModel conn)
{
}
public void TakeContinue(IList<ConnModel> conns)
{
}
public void TakeOut(IList<ConnModel> conns)
{
}
public void TakeUpdate(IList<ConnModel> conns)
{
}
public void TakIn(IList<ConnModel> conns)
{
}
}
}
......@@ -5,13 +5,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Common;
using VIZ.TVP.CBA.Module.DayMatch.Model;
using VIZ.TVP.CBA.Module.TeamStandings.Model;
using VIZ.TVP.CBA.Domain;
using log4net;
namespace VIZ.TVP.CBA.Module.TeamStandings.ViewModel
namespace VIZ.TVP.CBA.Module
{
public class TeamStandingViewModel: ViewModelBase
{
......@@ -136,8 +132,8 @@ namespace VIZ.TVP.CBA.Module.TeamStandings.ViewModel
}
private ObservableCollection<Model.Teamrank> teamRanksModel;
public ObservableCollection<Model.Teamrank> TeamRanksModel
private ObservableCollection<Teamrank> teamRanksModel;
public ObservableCollection<Teamrank> TeamRanksModel
{
get { return teamRanksModel; }
......@@ -182,7 +178,7 @@ namespace VIZ.TVP.CBA.Module.TeamStandings.ViewModel
if(TeamRanksModel!=null)
{
Log.Info("球队排名上版信息和数据:"+ CombineTeamStandingData());
ApplicationDomainEx.VizEngineModel.STAGE_START("Default/JFB", "Data", CombineTeamStandingData());
//ApplicationDomainEx.VizEngineModel.STAGE_START("Default/JFB", "Data", CombineTeamStandingData());
}
}
......@@ -196,7 +192,7 @@ namespace VIZ.TVP.CBA.Module.TeamStandings.ViewModel
// ApplicationDomainEx.VizEngineModel.CONTINUE();
}
private string CombineTeamStandingData()
public string CombineTeamStandingData()
{
string data = "";
......
......@@ -6,9 +6,8 @@ using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.TVP.CBA.Module.TempEnum;
namespace VIZ.TVP.CBA.Module.TeamStats.Model
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// 技术统计类
......
......@@ -3,16 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Plugin;
using VIZ.TVP.CBA.Module.RoundMatch.View;
using VIZ.TVP.CBA.Module.RoundMatch.ViewModel;
using VIZ.TVP.CBA.Module.TeamStats.View;
using VIZ.TVP.CBA.Module.TeamStats.ViewModel;
using VIZ.TVP.Plugin;
using VIZ.Package.Domain;
namespace VIZ.TVP.CBA.Module.TeamStats
namespace VIZ.TVP.CBA.Module
{
public class TeamStatsPlugin : ITemplatePluginLifeCycle
public class TeamStatsPlugin : IPluginLifeCycle
{
/// <summary>
/// 插件ID
......@@ -20,12 +15,12 @@ namespace VIZ.TVP.CBA.Module.TeamStats
/// <remarks>
/// 插件ID不能包含点号
/// </remarks>
public const string PLUGIN_ID = "TeamStatsUI";
public const string PLUGIN_ID = "TeamStatsView";
/// <summary>
/// 插件显示名称
/// </summary>
public const string PLUGIN_DISPLAY_NAME = "TeamStatsUI";
public const string PLUGIN_NAME = "TeamStatsUI";
public void Dispose()
{
......@@ -41,10 +36,12 @@ namespace VIZ.TVP.CBA.Module.TeamStats
{
PluginInfo info = new PluginInfo();
info.ID = PLUGIN_ID;
info.DisplayName = PLUGIN_DISPLAY_NAME;
info.HasView = true;
info.HasSettingView = false;
info.ViewInfo = new PluginViewInfo(typeof(TeamStatsUI), typeof(TeamStatsViewModel));
info.Name = PLUGIN_NAME;
info.PluginType = PluginType.Page;
info.ViewType = typeof(TeamStatsView);
//info.SettingViewType = typeof(DayMatchUI);
return info;
}
}
......
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Main.ViewModel;
using VIZ.TVP.CBA.Module.TeamStats.Model;
using VIZ.TVP.CBA.Module.TeamStats.ViewModel;
using VIZ.TVP.CBA.Module.TempEnum;
namespace VIZ.TVP.CBA.Module.TeamStats.View
{
/// <summary>
/// Interaction logic for TeamStatsUI.xaml
/// </summary>
public partial class TeamStatsUI : UserControl
{
public TeamStatsViewModel vm = TeamStatsViewModel.CreateInstance;
//public MainViewModel mianViewModel=MainViewModel.CreateInstance;
public TeamStatsUI()
{
InitializeComponent();
WPFHelper.BindingViewModel(this, vm);
}
//private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
//{
// if(Convert.ToInt32(vm.MatchStatsId)==7)
// {
// vm. MatchStatsNumbers = new ObservableCollection<MatchStatsNumbers>()
// {
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Goal
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Rebounds,
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Assists
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Blocks
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Steals
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.ShootingGoalP
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.ThreeShootingGoalP
// }
// };
// }
// else if(Convert.ToInt32(vm.MatchStatsId) == 6)
// {
// vm. MatchStatsNumbers = new ObservableCollection<MatchStatsNumbers>()
// {
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Goal
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Rebounds,
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Assists
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Blocks
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Steals
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.ShootingGoalP
// }
// };
// }
// else if(Convert.ToInt32(vm.MatchStatsId) == 5)
// {
// vm. MatchStatsNumbers = new ObservableCollection<MatchStatsNumbers>()
// {
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Goal
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Rebounds,
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Assists
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Blocks
// },
// new MatchStatsNumbers()
// {
// TechStats=TechStats.Steals
// }
// };
// }
// SetHData();
// SetAData();
//}
//private void SetHData()
//{
// foreach (var teamStats in vm.MatchStatsNumbers)
// {
// if (mianViewModel.HomeTeamCompareOptionDictionary.ContainsKey(teamStats.TechStats.ToString()))
// {
// teamStats.HomeScore = mianViewModel.HomeTeamCompareOptionDictionary[teamStats.TechStats.ToString()];
// }
// }
// if (vm != null)
// {
// //var singlePlayerData = mainViewModel.PlayerSeasonData.PlayerstatsList.Where(a => a.CNAlias == vm.SelectPlayer).FirstOrDefault();
// if (vm?.HomeTeam !=null&& mianViewModel.CNAliasVisitSportsDictionary.ContainsKey(vm?.HomeTeam))
// {
// var teamSeasonData = mianViewModel.CNAliasVisitSportsDictionary[vm?.HomeTeam];
// foreach (var teamStats in vm.MatchStatsNumbers)
// {
// if (teamSeasonData.ContainsKey(teamStats.TechStats.ToString()))
// {
// teamStats.HSeasonScore = teamSeasonData[teamStats.TechStats.ToString()];
// }
// }
// }
// }
//}
//private void SetAData()
//{
// foreach (var teamStats in vm.MatchStatsNumbers)
// {
// if (mianViewModel.VisitTeamCompareOptionDictionary.ContainsKey(teamStats.TechStats.ToString()))
// {
// teamStats.AwayScore = mianViewModel.VisitTeamCompareOptionDictionary[teamStats.TechStats.ToString()];
// }
// }
// if (vm != null)
// {
// //var singlePlayerData = mainViewModel.PlayerSeasonData.PlayerstatsList.Where(a => a.CNAlias == vm.SelectPlayer).FirstOrDefault();
// if (vm?.AwayTeam !=null&& mianViewModel.CNAliasVisitSportsDictionary.ContainsKey(vm?.AwayTeam))
// {
// var teamSeasonData = mianViewModel.CNAliasVisitSportsDictionary[vm?.AwayTeam];
// foreach (var teamStats in vm.MatchStatsNumbers)
// {
// if (teamSeasonData.ContainsKey(teamStats.TechStats.ToString()))
// {
// teamStats.ASeasonScore = teamSeasonData[teamStats.TechStats.ToString()];
// }
// }
// }
// }
//}
//private void ComboBox_SelectionChanged_1(object sender, SelectionChangedEventArgs e)
//{
// SetHData();
// SetAData();
//}
}
}
<UserControl x:Class="VIZ.TVP.CBA.Module.TeamStats.View.TeamStatsUI"
<UserControl x:Class="VIZ.TVP.CBA.Module.TeamStatsView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
......@@ -9,7 +9,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:core="clr-namespace:VIZ.Framework.Core;assembly=VIZ.Framework.Core"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module.TempEnum"
xmlns:storage="clr-namespace:VIZ.TVP.CBA.Module"
mc:Ignorable="d"
d:DesignHeight="800" d:DesignWidth="650" >
<UserControl.Resources>
......
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core;
using VIZ.Package.Domain;
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// Interaction logic for TeamStatsUI.xaml
/// </summary>
public partial class TeamStatsView : UserControl, IPluginView
{
public TeamStatsViewModel vm = TeamStatsViewModel.CreateInstance;
public TeamStatsView()
{
InitializeComponent();
WPFHelper.BindingViewModel(this, vm);
}
public void Dispose()
{
}
public void PreviewContinue(ConnModel conn)
{
}
public void PreviewIn(ConnModel conn)
{
if (conn.IsConnected)
{
ApplicationDomainEx.PreviewConn.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "dqyData", vm.CombineTeamComData()));
}
}
public void PreviewOut(ConnModel conn)
{
}
public void TakeContinue(IList<ConnModel> conns)
{
}
public void TakeOut(IList<ConnModel> conns)
{
}
public void TakeUpdate(IList<ConnModel> conns)
{
}
public void TakIn(IList<ConnModel> conns)
{
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace VIZ.MIGU.CBA.Module.TeamStats.ViewModel
{
public class ComboBoxWithCommand:ComboBox, ICommandSource
{
private static EventHandler canExecuteChangedHandler;
public static readonly DependencyProperty CommandProperty = DependencyProperty.Register("Command",
typeof(ICommand),
typeof(ComboBoxWithCommand),
new PropertyMetadata((ICommand)null,
new PropertyChangedCallback(CommandChanged)));
public ICommand Command
{
get
{
return (ICommand)GetValue(CommandProperty);
}
set
{
SetValue(CommandProperty, value);
}
}
public static readonly DependencyProperty CommandTargetProperty = DependencyProperty.Register("CommandTarget",
typeof(IInputElement),
typeof(ComboBoxWithCommand),
new PropertyMetadata((IInputElement)null));
public IInputElement CommandTarget
{
get
{
return (IInputElement)GetValue(CommandTargetProperty);
}
set
{
SetValue(CommandTargetProperty, value);
}
}
public static readonly DependencyProperty CommandParameterProperty = DependencyProperty.Register("CommandParameter",
typeof(object),
typeof(ComboBoxWithCommand),
new PropertyMetadata((object)null));
public object CommandParameter
{
get
{
return (object)GetValue(CommandParameterProperty);
}
set
{
SetValue(CommandParameterProperty, value);
}
}
public ComboBoxWithCommand() : base() { }
private static void CommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
ComboBoxWithCommand cb = (ComboBoxWithCommand)d;
cb.HookUpCommand((ICommand)e.OldValue, (ICommand)e.NewValue);
}
private void HookUpCommand(ICommand oldCommand, ICommand newCommand)
{
if (oldCommand != null)
{
RemoveCommand(oldCommand, newCommand);
}
AddCommand(oldCommand, newCommand);
}
private void RemoveCommand(ICommand oldCommand, ICommand newCommand)
{
EventHandler handler = CanExecuteChanged;
oldCommand.CanExecuteChanged -= handler;
}
private void AddCommand(ICommand oldCommand, ICommand newCommand)
{
EventHandler handler = new EventHandler(CanExecuteChanged);
canExecuteChangedHandler = handler;
if (newCommand != null)
{
newCommand.CanExecuteChanged += canExecuteChangedHandler;
}
}
private void CanExecuteChanged(object sender, EventArgs e)
{
if (this.Command != null)
{
RoutedCommand command = this.Command as RoutedCommand;
// If a RoutedCommand.
if (command != null)
{
if (command.CanExecute(this.CommandParameter, this.CommandTarget))
{
this.IsEnabled = true;
}
else
{
this.IsEnabled = false;
}
}
// If a not RoutedCommand.
else
{
if (Command.CanExecute(CommandParameter))
{
this.IsEnabled = true;
}
else
{
this.IsEnabled = false;
}
}
}
}
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
{
base.OnSelectionChanged(e);
if (this.Command != null)
{
RoutedCommand command = this.Command as RoutedCommand;
if (command != null)
{
command.Execute(this.CommandParameter, this.CommandTarget);
}
else
{
((ICommand)Command).Execute(CommandParameter);
}
}
}
}
}
......@@ -5,19 +5,10 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
using VIZ.TVP.CBA.Module.Common;
using VIZ.TVP.CBA.Module.Main.ViewModel;
using VIZ.TVP.CBA.Module.SinglePlayer.Model;
using VIZ.TVP.CBA.Module.SinglePlayer.ViewModel;
using VIZ.TVP.CBA.Module.TeamStats.Model;
using VIZ.TVP.CBA.Module.TempEnum;
using VIZ.TVP.CBA.Domain;
using VIZ.TVP.CBA.Module.SeasonData;
using VIZ.TVP.CBA.Module.OnAirData;
using System.ComponentModel;
using log4net;
namespace VIZ.TVP.CBA.Module.TeamStats.ViewModel
namespace VIZ.TVP.CBA.Module
{
public class TeamStatsViewModel : ViewModelBase
{
......@@ -453,11 +444,11 @@ namespace VIZ.TVP.CBA.Module.TeamStats.ViewModel
Log.Info("球队对比数据:"+CombineTeamComData());
ApplicationDomainEx.VizEngineModel.STAGE_START("Default/SQD", "dqyData", CombineTeamComData());
//ApplicationDomainEx.VizEngineModel.STAGE_START("Default/SQD", "dqyData", CombineTeamComData());
}
private string CombineTeamComData()
public string CombineTeamComData()
{
string data = "";
......
......@@ -6,7 +6,7 @@ using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.TempEnum
namespace VIZ.TVP.CBA.Module
{
/// <summary>
/// 枚举辅助类
......
......@@ -6,7 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
namespace VIZ.TVP.CBA.Module.TempEnum
namespace VIZ.TVP.CBA.Module
{
public class EnumModel : ModelBase
{
......
......@@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.TempEnum
namespace VIZ.TVP.CBA.Module
{
public enum HighLightEnum
{
......
......@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.TempEnum
namespace VIZ.TVP.CBA.Module
{
public static class StaticEnumInfos
{
......
......@@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.TVP.CBA.Module.TempEnum
namespace VIZ.TVP.CBA.Module
{
public enum TechStats
{
......
......@@ -129,15 +129,15 @@
<Compile Include="PlayerCompare\Model\PlayerComModel.cs" />
<Compile Include="PlayerCompare\PlayerComparePlugin.cs" />
<Compile Include="PlayerCompare\ViewModel\PlayerCompareViewModel.cs" />
<Compile Include="PlayerCompare\View\PlayerComPareUI.xaml.cs">
<DependentUpon>PlayerComPareUI.xaml</DependentUpon>
<Compile Include="PlayerCompare\View\PlayerComPareView.xaml.cs">
<DependentUpon>PlayerComPareView.xaml</DependentUpon>
</Compile>
<Compile Include="RoundMatch\Model\RoundSchedule.cs" />
<Compile Include="RoundMatch\Model\RoundSchedules.cs" />
<Compile Include="RoundMatch\RoundMatchPlugin.cs" />
<Compile Include="RoundMatch\ViewModel\RoundMatchViewModel.cs" />
<Compile Include="RoundMatch\View\RoundMatchUI.xaml.cs">
<DependentUpon>RoundMatchUI.xaml</DependentUpon>
<Compile Include="RoundMatch\View\RoundMatchView.xaml.cs">
<DependentUpon>RoundMatchView.xaml</DependentUpon>
</Compile>
<Compile Include="SeasonData\PlayerSeasonData.cs" />
<Compile Include="SeasonData\Playerstats.cs" />
......@@ -146,22 +146,21 @@
<Compile Include="SinglePlayer\Model\SinglePlayerModel.cs" />
<Compile Include="SinglePlayer\SinglePlayerPlugin.cs" />
<Compile Include="SinglePlayer\ViewModel\SinglePlayerViewModel.cs" />
<Compile Include="SinglePlayer\View\SinglePlayerUI.xaml.cs">
<DependentUpon>SinglePlayerUI.xaml</DependentUpon>
<Compile Include="SinglePlayer\View\SinglePlayerView.xaml.cs">
<DependentUpon>SinglePlayerView.xaml</DependentUpon>
</Compile>
<Compile Include="TeamStandings\Model\Teamrank.cs" />
<Compile Include="TeamStandings\Model\TeamRanks.cs" />
<Compile Include="TeamStandings\TeamStandingPlugin.cs" />
<Compile Include="TeamStandings\ViewModel\TeamStandingViewModel.cs" />
<Compile Include="TeamStandings\View\TeamStandingUI.xaml.cs">
<DependentUpon>TeamStandingUI.xaml</DependentUpon>
<Compile Include="TeamStandings\View\TeamStandingView.xaml.cs">
<DependentUpon>TeamStandingView.xaml</DependentUpon>
</Compile>
<Compile Include="TeamStats\Model\MatchStatsNumbers.cs" />
<Compile Include="TeamStats\TeamStatsPlugin.cs" />
<Compile Include="TeamStats\ViewModel\ComboBoxWithCommand.cs" />
<Compile Include="TeamStats\ViewModel\TeamStatsViewModel.cs" />
<Compile Include="TeamStats\View\TeamStatsUI.xaml.cs">
<DependentUpon>TeamStatsUI.xaml</DependentUpon>
<Compile Include="TeamStats\View\TeamStatsView.xaml.cs">
<DependentUpon>TeamStatsView.xaml</DependentUpon>
</Compile>
<Compile Include="TempEnum\EnumHelper.cs" />
<Compile Include="TempEnum\EnumModel.cs" />
......@@ -173,8 +172,8 @@
<Compile Include="DayMatch\Model\Dayschedule.cs" />
<Compile Include="DayMatch\Model\LightHigts.cs" />
<Compile Include="DayMatch\ViewModel\DayMatchViewModel.cs" />
<Compile Include="DayMatch\View\DayMatchUI.xaml.cs">
<DependentUpon>DayMatchUI.xaml</DependentUpon>
<Compile Include="DayMatch\View\DayMatchView.xaml.cs">
<DependentUpon>DayMatchView.xaml</DependentUpon>
</Compile>
<Compile Include="Main\MainView.xaml.cs">
<DependentUpon>MainView.xaml</DependentUpon>
......@@ -266,7 +265,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Page Include="DayMatch\View\DayMatchUI.xaml">
<Page Include="DayMatch\View\DayMatchView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
......@@ -274,15 +273,15 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="PlayerCompare\View\PlayerComPareUI.xaml">
<Page Include="PlayerCompare\View\PlayerComPareView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="RoundMatch\View\RoundMatchUI.xaml">
<Page Include="RoundMatch\View\RoundMatchView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="SinglePlayer\View\SinglePlayerUI.xaml">
<Page Include="SinglePlayer\View\SinglePlayerView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
......@@ -294,11 +293,11 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="TeamStandings\View\TeamStandingUI.xaml">
<Page Include="TeamStandings\View\TeamStandingView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="TeamStats\View\TeamStatsUI.xaml">
<Page Include="TeamStats\View\TeamStatsView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
......
......@@ -67,6 +67,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VIZ.Package.Module", "..\VI
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VIZ.Package.Module.Resource", "..\VIZ.Package\VIZ.Package.Module.Resource\VIZ.Package.Module.Resource.csproj", "{327EA1F4-F23C-418A-A2EF-DA4F1039B333}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VIZ.Package.Common", "..\VIZ.Package\VIZ.Package.Common\VIZ.Package.Common.csproj", "{E4912BCE-BC90-4457-9EE3-06435496D979}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
......@@ -227,6 +229,14 @@ Global
{327EA1F4-F23C-418A-A2EF-DA4F1039B333}.Release|Any CPU.Build.0 = Release|Any CPU
{327EA1F4-F23C-418A-A2EF-DA4F1039B333}.Release|x64.ActiveCfg = Release|x64
{327EA1F4-F23C-418A-A2EF-DA4F1039B333}.Release|x64.Build.0 = Release|x64
{E4912BCE-BC90-4457-9EE3-06435496D979}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E4912BCE-BC90-4457-9EE3-06435496D979}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E4912BCE-BC90-4457-9EE3-06435496D979}.Debug|x64.ActiveCfg = Debug|x64
{E4912BCE-BC90-4457-9EE3-06435496D979}.Debug|x64.Build.0 = Debug|x64
{E4912BCE-BC90-4457-9EE3-06435496D979}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E4912BCE-BC90-4457-9EE3-06435496D979}.Release|Any CPU.Build.0 = Release|Any CPU
{E4912BCE-BC90-4457-9EE3-06435496D979}.Release|x64.ActiveCfg = Release|x64
{E4912BCE-BC90-4457-9EE3-06435496D979}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
......@@ -251,6 +261,7 @@ Global
{BF693C2D-3DE8-463B-8394-A0667DCA7B42} = {7E017B1E-FBB4-476B-92E5-57807E52039C}
{6FD4C0F0-8A00-4DB8-924B-A3CD9A45297F} = {2A0D4CA6-9E99-402E-B096-AC403D8386F7}
{327EA1F4-F23C-418A-A2EF-DA4F1039B333} = {2A0D4CA6-9E99-402E-B096-AC403D8386F7}
{E4912BCE-BC90-4457-9EE3-06435496D979} = {84456B23-B182-4B9D-84B1-3CACB1ADACF0}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {DE6BF34A-A1A4-4829-88A8-3A4229F89708}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment