Commit 5138ff3f by wangonghui

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

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