Skip to content
This repository was archived by the owner on Sep 7, 2023. It is now read-only.

Commit 87e01d2

Browse files
Zhangyr2022futrime
andauthored
Legacy (#93)
* Legacy edition * Limit max generation time of order * Merge branch 'develop' of https://github.com/THU-ASTA/EDC-Host into develop * Fix warnings in actions * Update build.yml --------- Co-authored-by: Futrime <futrime@outlook.com>
1 parent 8289e27 commit 87e01d2

File tree

9 files changed

+88
-392
lines changed

9 files changed

+88
-392
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,32 @@ jobs:
99
build_program:
1010
name: Build the Program
1111
runs-on: windows-latest
12-
12+
1313
steps:
14-
- name: Checkout the repository
15-
uses: actions/checkout@v3
16-
17-
- name: Replace the version strings
18-
run: (Get-Content -path Source/MainWindow.Designer.cs -Raw) -replace 'EDC_HOST_BUILD_REF','${{ github.ref_name }}' | Set-Content -Path Source/MainWindow.Designer.cs
19-
20-
- name: Setup .NET
21-
uses: actions/setup-dotnet@v2
22-
with:
23-
dotnet-version: 6.0.x
24-
25-
- name: Build the program
26-
run: dotnet publish -o Build -c Release -r win10-x64 --self-contained false -p:DebugType=none
27-
28-
- name: Copy the essential files
29-
run: |
30-
cp -r Assets build
31-
cp CHANGELOG.md build
32-
cp README.md build
33-
cp LICENSE build
34-
cp SECURITY.md build
35-
36-
- name: Upload the build artifact
37-
uses: actions/upload-artifact@v3
38-
with:
39-
name: EDC-Host-nightly-${{ github.sha }}
40-
path: build
14+
- name: Checkout the repository
15+
uses: actions/checkout@v3
16+
17+
- name: Replace the version strings
18+
run: (Get-Content -path Source/MainWindow.Designer.cs -Raw) -replace 'EDC_HOST_BUILD_REF','${{ github.ref_name }}' | Set-Content -Path Source/MainWindow.Designer.cs
19+
20+
- name: Setup .NET
21+
uses: actions/setup-dotnet@v2
22+
with:
23+
dotnet-version: 6.0.x
24+
25+
- name: Build the program
26+
run: dotnet publish -o Build -c Release -r win10-x64 --self-contained false
27+
28+
- name: Copy the essential files
29+
run: |
30+
cp -r Assets build
31+
cp CHANGELOG.md build
32+
cp README.md build
33+
cp LICENSE build
34+
cp SECURITY.md build
35+
36+
- name: Upload the build artifact
37+
uses: actions/upload-artifact@v3
38+
with:
39+
name: EDC-Host-nightly-${{ github.sha }}
40+
path: build

CHANGELOG.md

Lines changed: 19 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -5,47 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77

8-
## Unreleased
8+
## [Unreleased]
99

10-
None
1110

12-
## 24.3.1
13-
14-
### Fixed
15-
16-
- Revert order generation and barrier determination bugs introduced in 24.2.0
17-
18-
## 24.3.0
19-
20-
### Added
21-
- Sound effects
22-
23-
### Fixed
24-
- Forcing to take orders
25-
26-
## 24.2.0
27-
28-
### Added
29-
- Default image to show in monitor when camera is not working
30-
- Restriction to only one settings window
31-
- Restriction to only one instance of the program
32-
33-
### Changed
34-
- Bump System.IO.Ports from 6.0.0 to 7.0.0
35-
- Adapt to communication protocol of Rules v24.2.0
36-
- Change default size of main window to 1280x720
37-
38-
### Removed
39-
- Error message when no camera is found
40-
41-
### Fixed
42-
- Crash when receiving malformed packets
43-
- Refresh rate calculation issue
44-
- Not sending own charging pile information in packet 0x01
45-
- Bugs in order generator
46-
47-
48-
## 24.2.0-beta.1
11+
## [24.2.0-beta.1]
4912
### Added
5013
- Default image to show in monitor when camera is not working
5114
- Restriction to only one settings window
@@ -65,7 +28,7 @@ None
6528
- Not sending own charging pile information in packet 0x01
6629

6730

68-
## 24.1.1
31+
## [24.1.1]
6932
### Added
7033
- Sound to play when setting charging piles by @Zhangyr2022
7134

@@ -74,7 +37,7 @@ None
7437
- Invalid 0x01 packets by @Futrime
7538

7639

77-
## 24.1.0
40+
## [24.1.0]
7841
### Added
7942
- Frame rate displaying by @Futrime
8043
- Exception handling in packet construction by @Zhangyr2022
@@ -104,7 +67,7 @@ None
10467
- Improper byte width in protocol parsing by @Zhangyr2022
10568

10669

107-
## 24.1.0-beta.7
70+
## [24.1.0-beta.7]
10871
### Changed
10972
- Update titles of error messages by @Futrime
11073

@@ -113,7 +76,7 @@ None
11376
- Failing to handle packages with packet ID 0x00 by @Zhnagyr2022
11477

11578

116-
## 24.1.0-beta.6
79+
## [24.1.0-beta.6]
11780
### Added
11881
- Frame rate displaying by @Futrime
11982

@@ -127,7 +90,7 @@ None
12790
- Slave being able to set four charging piles by @Futrime and @Zhangyr2022
12891

12992

130-
## 24.1.0-beta.5
93+
## [24.1.0-beta.5]
13194
### Added
13295
- Exception handling in packet construction by @Zhangyr2022
13396

@@ -140,17 +103,17 @@ None
140103
- That more than five orders can be carried simultaneously by @Futrime
141104

142105

143-
## 24.1.0-beta.4
106+
## [24.1.0-beta.4]
144107
### Fixed
145108
- Not sending game status package when no package generated by @Zhangyr2022
146109

147110

148-
## 24.1.0-beta.3
111+
## [24.1.0-beta.3]
149112
### Changed
150113
- Dramatically reduce memeory usage (~10x) by @Futrime
151114

152115

153-
## 24.1.0-beta.2
116+
## [24.1.0-beta.2]
154117
### Changed
155118
- Adapt to EDC Rules v24.1.2 by @Futrime
156119
- Set default values in UI to "N/A" by @Futrime
@@ -160,26 +123,26 @@ None
160123
- Improper byte width in protocol parsing by @Zhangyr2022
161124

162125

163-
## 24.1.0-beta.1
126+
## [24.1.0-beta.1]
164127
### Changed
165128
- Bump YamlDotNet from 12.0.1 to 12.0.2 by @Futrime
166129
- Adapt to EDC Rules v24.1.0 by @Futrime and @Zhangyr2022
167130

168131

169-
## 24.0.3
132+
## [24.0.3]
170133
### Fixed
171134
- Improper distance calculation by @Zhangyr2022
172135

173136

174-
## 24.0.2
137+
## [24.0.2]
175138
### Added
176139
- Error prompt when no camera found by @Futrime
177140

178141
### Changed
179142
- Limit the smallest sizes of windows by @Futrime
180143

181144

182-
## 24.0.1
145+
## [24.0.1]
183146
### Added
184147
- Error message for missing files by @Futrime
185148

@@ -188,7 +151,7 @@ None
188151
- Orders not displaying when no vehicle detected by @Zhangyr2022
189152

190153

191-
## 24.0.0
154+
## [24.0.0]
192155
### Added
193156
- Basic game logic by @Futrime and @Zhangyr2022
194157
- Recognition migrated from host of EDC23 by @Futrime and @Zhangyr2022
@@ -204,20 +167,20 @@ None
204167
- Crash when camera FPS is 0 by @Futrime
205168

206169

207-
## 24.0.0-beta.4
170+
## [24.0.0-beta.4]
208171
### Fixed
209172
- Crash when camera FPS is 0 by @Futrime
210173

211174

212-
## 24.0.0-beta.3
175+
## [24.0.0-beta.3]
213176
### Added
214177
- Bundled .NET 6 runtime by @Futrime
215178

216179
### Changed
217180
- Bundle dependencies into several DLLs by @Futrime
218181

219182

220-
## 24.0.0-beta.2
183+
## [24.0.0-beta.2]
221184
### Added
222185
- Global Exception handler by @Futrime
223186

@@ -226,7 +189,7 @@ None
226189
- Optimize UI by @Futrime
227190

228191

229-
## 24.0.0-beta.1
192+
## [24.0.0-beta.1]
230193
### Added
231194
- Basic game logic by @Futrime and @Zhangyr2022
232195
- Recognition migrated from host of EDC23 by @Futrime and @Zhangyr2022

EdcHost.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<PackageReference Include="OpenCvSharp4.Extensions" Version="4.6.0.20220608" />
2828
<PackageReference Include="OpenCvSharp4.runtime.win" Version="4.6.0.20220608" />
2929
<PackageReference Include="System.IO.Ports" Version="7.0.0" />
30-
<PackageReference Include="YamlDotNet" Version="13.0.2" />
30+
<PackageReference Include="YamlDotNet" Version="12.0.2" />
3131
</ItemGroup>
3232

3333
</Project>

0 commit comments

Comments
 (0)