Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.TVP.CBA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘龙飞
VIZ.TVP.CBA
Commits
5138ff3f
Commit
5138ff3f
authored
Apr 24, 2023
by
wangonghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交点球的处理,以及提示信息处理
parent
da31d838
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
15 deletions
+15
-15
VIZ.TVP.FTB.Module/Common/JsonModel.cs
+8
-8
VIZ.TVP.FTB.Module/FDayMatch/ViewModel/FDayMatchViewModel.cs
+1
-1
VIZ.TVP.FTB.Module/FTeamStandings/ViewModel/FTeamStandingViewModel.cs
+1
-1
VIZ.TVP.FTB.Module/HeaderPage/View/DateHeaderView.xaml
+1
-1
VIZ.TVP.FTB.Module/ShootPlayerRank/Model/ShootPlayerRank.cs
+1
-1
VIZ.TVP.FTB.Module/ShootPlayerRank/View/ShootPlayerRankView.xaml
+1
-1
VIZ.TVP.FTB.Module/ShootPlayerRank/ViewModel/ShootPlayerRankViewModel.cs
+2
-2
No files found.
VIZ.TVP.FTB.Module/Common/JsonModel.cs
View file @
5138ff3f
...
@@ -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
();
...
...
VIZ.TVP.FTB.Module/FDayMatch/ViewModel/FDayMatchViewModel.cs
View file @
5138ff3f
...
@@ -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
;
...
...
VIZ.TVP.FTB.Module/FTeamStandings/ViewModel/FTeamStandingViewModel.cs
View file @
5138ff3f
...
@@ -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
);
}
}
...
...
VIZ.TVP.FTB.Module/HeaderPage/View/DateHeaderView.xaml
View file @
5138ff3f
...
@@ -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"
...
...
VIZ.TVP.FTB.Module/ShootPlayerRank/Model/ShootPlayerRank.cs
View file @
5138ff3f
...
@@ -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>
/// 球队名称简称
/// 球队名称简称
...
...
VIZ.TVP.FTB.Module/ShootPlayerRank/View/ShootPlayerRankView.xaml
View file @
5138ff3f
...
@@ -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"
...
...
VIZ.TVP.FTB.Module/ShootPlayerRank/ViewModel/ShootPlayerRankViewModel.cs
View file @
5138ff3f
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment