Commit 5138ff3f by wangonghui

提交点球的处理,以及提示信息处理

parent da31d838
...@@ -92,11 +92,11 @@ namespace VIZ.TVP.FTB.Module ...@@ -92,11 +92,11 @@ namespace VIZ.TVP.FTB.Module
if(dataFromSource) if(dataFromSource)
{ {
Log.Info($"轮次数据接口新:主数据来源:{GameRoundDataPath}=======>:" + str); Log.Info($"{DateHeaderViewModel.FoolballType} 轮次数据接口新:主数据来源:{GameRoundDataPath}=======>:" + str);
} }
else else
{ {
Log.Info($"轮次数据接口新:备份数据来源:{GameRoundDataPath}=======>:" + str); Log.Info($"{DateHeaderViewModel.FoolballType} 轮次数据接口新:备份数据来源:{GameRoundDataPath}=======>:" + str);
} }
JsonSerializerSettings settings = new JsonSerializerSettings(); JsonSerializerSettings settings = new JsonSerializerSettings();
...@@ -147,11 +147,11 @@ namespace VIZ.TVP.FTB.Module ...@@ -147,11 +147,11 @@ namespace VIZ.TVP.FTB.Module
if(dataFromSource) if(dataFromSource)
{ {
Log.Info($"球队积分排行数据:主数据来源:{TeamScoreDataPath}==>:" + result); Log.Info($"{DateHeaderViewModel.FoolballType}球队积分排行数据:主数据来源:{TeamScoreDataPath}==>:" + result);
} }
else else
{ {
Log.Info($"球队积分排行数据:备份数据来源:{TeamScoreDataPath}==>:" + result); Log.Info($"{DateHeaderViewModel.FoolballType}球队积分排行数据:备份数据来源:{TeamScoreDataPath}==>:" + result);
} }
JsonSerializerSettings settings = new JsonSerializerSettings(); JsonSerializerSettings settings = new JsonSerializerSettings();
...@@ -197,11 +197,11 @@ namespace VIZ.TVP.FTB.Module ...@@ -197,11 +197,11 @@ namespace VIZ.TVP.FTB.Module
if (dataFromSource) if (dataFromSource)
{ {
Log.Info($"足球赛季数据:主数据来源:{MatchDataPath}==>" + result); Log.Info($"{DateHeaderViewModel.FoolballType} 足球赛季数据:主数据来源:{MatchDataPath}==>" + result);
} }
else else
{ {
Log.Info($"足球赛季数据:备份数据来源:{MatchDataPath}==>" + result); Log.Info($"{DateHeaderViewModel.FoolballType} 足球赛季数据:备份数据来源:{MatchDataPath}==>" + result);
} }
JsonSerializerSettings settings = new JsonSerializerSettings(); JsonSerializerSettings settings = new JsonSerializerSettings();
...@@ -257,11 +257,11 @@ namespace VIZ.TVP.FTB.Module ...@@ -257,11 +257,11 @@ namespace VIZ.TVP.FTB.Module
if (dataFromSource) if (dataFromSource)
{ {
Log.Info($"足球球员射手排行:主数据来源:{shootPath}==>" + result); Log.Info($"{DateHeaderViewModel.FoolballType} 足球球员射手排行:主数据来源:{shootPath}==>" + result);
} }
else else
{ {
Log.Info($"足球球员射手排行:备份数据来源:{shootPath}==>" + result); Log.Info($"{DateHeaderViewModel.FoolballType} 足球球员射手排行:备份数据来源:{shootPath}==>" + result);
} }
JsonSerializerSettings settings = new JsonSerializerSettings(); JsonSerializerSettings settings = new JsonSerializerSettings();
......
...@@ -170,7 +170,7 @@ namespace VIZ.TVP.FTB.Module ...@@ -170,7 +170,7 @@ namespace VIZ.TVP.FTB.Module
if (RoundMatchData != null) if (RoundMatchData != null)
{ {
string teamSeasonLastDate = $"足球轮次接口更新时间:{RoundMatchData.LastPushDataDateTime}"; string teamSeasonLastDate = $"{FoolballType}:足球轮次接口更新时间:{RoundMatchData.LastPushDataDateTime}";
vm.OnErrorLogMessage(teamSeasonLastDate); vm.OnErrorLogMessage(teamSeasonLastDate);
} }
messageLastRecordDate.Visibility = System.Windows.Visibility.Visible; messageLastRecordDate.Visibility = System.Windows.Visibility.Visible;
......
...@@ -267,7 +267,7 @@ namespace VIZ.TVP.FTB.Module ...@@ -267,7 +267,7 @@ namespace VIZ.TVP.FTB.Module
MessageLRDateViewModel vm = messageLastRecordDate.DataContext as MessageLRDateViewModel; MessageLRDateViewModel vm = messageLastRecordDate.DataContext as MessageLRDateViewModel;
if (teamStands != null) if (teamStands != null)
{ {
string LastDate = $"足球积分接口更新时间:{teamStands.LastPushDataDateTime}"; string LastDate = $"{FoolballType}:足球积分接口更新时间:{teamStands.LastPushDataDateTime}";
vm.OnErrorLogMessage(LastDate); vm.OnErrorLogMessage(LastDate);
} }
......
...@@ -373,7 +373,7 @@ ...@@ -373,7 +373,7 @@
<dxg:GridColumn FieldName="teamLogo" Header="球队名称" Width="112"/> <dxg:GridColumn FieldName="teamLogo" Header="球队名称" Width="112"/>
<dxg:GridColumn FieldName="figureName" Header="球员名称" Width="112" /> <dxg:GridColumn FieldName="figureName" Header="球员名称" Width="112" />
<dxg:GridColumn FieldName="goals" Header="进球数" Width="180" /> <dxg:GridColumn FieldName="goals" Header="进球数" Width="180" />
<dxg:GridColumn FieldName="PenaltyGoal" Header="点球" Width="100" /> <dxg:GridColumn FieldName="penaltyGoals" Header="点球" Width="100" />
<dxg:GridControl.View> <dxg:GridControl.View>
<!--<dxg:TableView AutoWidth="True" ShowGroupPanel="False" <!--<dxg:TableView AutoWidth="True" ShowGroupPanel="False"
......
...@@ -47,7 +47,7 @@ namespace VIZ.TVP.FTB.Module ...@@ -47,7 +47,7 @@ namespace VIZ.TVP.FTB.Module
/// <summary> /// <summary>
/// 点球数量 /// 点球数量
/// </summary> /// </summary>
public string PenaltyGoal { get; set; } = "0"; public string penaltyGoals { get; set; } = "0";
/// <summary> /// <summary>
/// 球队名称简称 /// 球队名称简称
......
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
<dxg:GridColumn FieldName="teamLogo" Header="球队队徽" Width="112"/> <dxg:GridColumn FieldName="teamLogo" Header="球队队徽" Width="112"/>
<dxg:GridColumn FieldName="figureName" Header="球员名称" Width="112" /> <dxg:GridColumn FieldName="figureName" Header="球员名称" Width="112" />
<dxg:GridColumn FieldName="goals" Header="进球数" Width="180" /> <dxg:GridColumn FieldName="goals" Header="进球数" Width="180" />
<dxg:GridColumn FieldName="PenaltyGoal" Header="点球" Width="100" /> <dxg:GridColumn FieldName="penaltyGoals" Header="点球" Width="100" />
<dxg:GridControl.View> <dxg:GridControl.View>
<!--<dxg:TableView AutoWidth="True" ShowGroupPanel="False" <!--<dxg:TableView AutoWidth="True" ShowGroupPanel="False"
......
...@@ -136,7 +136,7 @@ namespace VIZ.TVP.FTB.Module ...@@ -136,7 +136,7 @@ namespace VIZ.TVP.FTB.Module
data += "*"; data += "*";
data += tempTeamRankModel.PenaltyGoal.ToString().Replace(" ", ""); data += tempTeamRankModel.penaltyGoals.ToString().Replace(" ", "");
data += ";"; data += ";";
...@@ -292,7 +292,7 @@ namespace VIZ.TVP.FTB.Module ...@@ -292,7 +292,7 @@ namespace VIZ.TVP.FTB.Module
MessageLRDateViewModel vm = messageLastRecordDate.DataContext as MessageLRDateViewModel; MessageLRDateViewModel vm = messageLastRecordDate.DataContext as MessageLRDateViewModel;
if (shootPlayerRanks != null) if (shootPlayerRanks != null)
{ {
string LastDate = $"射手榜积分接口更新时间:{shootPlayerRanks.LastPushDataDateTime}"; string LastDate = $"{FoolballType}:射手榜积分接口更新时间:{shootPlayerRanks.LastPushDataDateTime}";
vm.OnErrorLogMessage(LastDate); vm.OnErrorLogMessage(LastDate);
} }
......
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