Преглед на файлове

2022.10.17 / Shayne Lo

    Actions:
    1. Update Generation Naming
	2. add Generation G~Z

    Files:
    1. As follow commit history

    Image version: 1.0.22.0
    Image checksum: XXXXXXXX

    Hardware PWB P/N : XXXXXXX
    Hardware Version : XXXXXXX
Robert преди 2 години
родител
ревизия
3d6a64bed2

+ 4 - 4
20200327.txt

@@ -1,13 +1,13 @@
-    2022.09.08 / Shayne Lo
+    2022.10.17 / Shayne Lo
 
     Actions:
-    1. Update to EVSE Model Name Naming Rule_20220908
-	2. add Connector Type O:CHA 200A boost 350A
+    1. Update Generation Naming
+	2. add Generation G~Z
 
     Files:
     1. As follow commit history 
 
-    Image version: 1.0.21.0
+    Image version: 1.0.22.0
     Image checksum: XXXXXXXX
 
     Hardware PWB P/N : XXXXXXX

BIN
bin/Firmware Header Builder.exe


BIN
release/Firmware Header Builder V1.0.22.0/Firmware Header Builder.exe


+ 250 - 0
release/Firmware Header Builder V1.0.22.0/Release Notes.html

@@ -0,0 +1,250 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+    <title>Release Note</title>
+	<style type="text/css">
+		body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin:0;padding:0;}
+		table {border-collapse:collapse;border-spacing:0;}
+		fieldset,img {border:0;}
+		address,caption,cite,code,dfn,em,strong,th,var {font-style:normal;font-weight:normal;}
+		ol,ul {list-style:none;}
+		caption,th {text-align:left;}
+		h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}
+		q:before,q:after {content:'';}
+		abbr,acronym {border:0;}
+		html, body{margin:0; height: 100%;}
+		body{margin: 0; padding: 0;	color:#000;	font-size:15px;	font-family:arial, helvetica, clean, sans-serif,微軟正黑體;	background: #326990;}
+		ul, li { display: block;}
+		a { text-decoration: none; color:blue;  }
+		a:hover{ text-decoration: none; }
+
+		/*-select-*/
+		select,input{ padding: 5px; margin: 2px; border-radius: 20px; border:0; background: #edf1f3; }
+		input { padding:7px;}
+		/*-table-*/
+		.table{ width: 100%; word-break: break-all;}
+		.table thead th { background: #f4f9fc; border-bottom: 2px solid #e9f0f4; font-size: 15px; font-weight: bold; text-align: center; line-height: 40px;}
+		.table tbody td { padding:8px 3px; border-bottom:1px solid #ddd; border-bottom: 1px solid #e9f0f4;}
+		.table .tr{ background: #f4fafd;}
+		.table tr:hover { background-color: #FFFEEC;}
+		.txtR{ text-align: right;}
+		.txtC{text-align: center;}
+		.txtL{text-align: left;}
+		/*---all----*/
+		#wrapper { width:1000px; margin:0 auto; height: 100%;}
+		#content { background:#fff; color:#385263;  margin-bottom: 20px;}
+		#content .Top { height:5px; background: #68a3c9;}
+			#content #title { height:65px; font-size: 24px;font-weight: bold; line-height: 60px; background: #f4f9fc; padding: 10px; }
+			#content #rightContent { padding: 10px 10px 30px; }
+	</style>
+
+
+</head>
+
+<body>
+	<div id="wrapper">
+
+		<div id="content">
+				<div class="Top"></div>
+				<div id="title">Firmware Header Builder</div>
+				<div id="rightContent">
+					<table class="table">
+						<thead>
+							<tr>
+								<th width="150px">Version</th>
+								<th width="150px">Release Date</th>
+								<th width="150px">Owner</th>
+								<th>Updated Items</th>
+							</tr>
+						</thead>
+						<tbody>
+							<tr>
+								<td class="txtC">0.0.1.0</td>
+								<td class="txtC">2019.07.09</td>
+								<td class="txtC">Jimmy</td>
+								<td class="txtL">
+									1. [新版] 協定實作。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.2.0</td>
+								<td class="txtC">2019.07.30</td>
+								<td class="txtC">Jimmy</td>
+								<td class="txtL">
+									1. [新增] 副檔名選擇功能。<p>
+									2. [新增] 映像檔選擇自動對應副檔名選擇功能。
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.3.0</td>
+								<td class="txtC">2019.09.23</td>
+								<td class="txtC">Jimmy</td>
+								<td class="txtL">
+									1. [修改] 將輸入的module name改成依據命名規則選擇的方式。<p>
+									2. [新增] 檔頭資訊是否已經存在的判斷。
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.4.0</td>
+								<td class="txtC">2019.12.25</td>
+								<td class="txtC">Jimmy</td>
+								<td class="txtL">
+									1. [修改] 修正 AC cord set controller 與 AC wall-mount (low-end) controller的 image type 錯誤。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.5.0</td>
+								<td class="txtC">2020.1.3</td>
+								<td class="txtC">Jimmy</td>
+								<td class="txtL">
+									1. [修改] 修正判斷檔頭已存在的邏輯(加入CRC檢查)。<p>
+									2. [修改] 額定功率改成手動輸入。
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.6.0</td>
+								<td class="txtC">2020.1.20</td>
+								<td class="txtC">Jimmy</td>
+								<td class="txtL">
+									1. [修改] 修正無副檔名時發生創建失敗的問題。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.7.0</td>
+								<td class="txtC">2020.6.5</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">									
+									1. [修改] 新增 Image Type 選項,LED 版 MCU。<p>									
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.8.0</td>
+								<td class="txtC">2020.6.11</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">									
+									1. [修改] 新增 Image Type 選項,F750 PSU primary & secondary controller。<p>									
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.9.0</td>
+								<td class="txtC">2020.6.19</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">									
+									1. [修改] 新增網路選項。<p>
+									2. [新增] 合併檔案名稱加上 Model name。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.10.0</td>
+								<td class="txtC">2020.11.13</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">
+									1. [修改] 新增 AC input 選項。<p>
+									2. [修改] 新增網路選項。<p>
+									3. [新增] 新增 Model name 長度檢查邏輯。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.11.0</td>
+								<td class="txtC">2020.11.13</td>
+								<td class="txtC">Folus Wen</td>
+								<td class="txtL">
+									1. [修改] 新增槍線選項。<p>
+									2. [修正] 修正 Model name 長度檢查邏輯。<p>
+									3. [新增] 新增儲存最後一次 Merge 選項。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.13.0</td>
+								<td class="txtC">2021.03.08</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">
+									1. [新增] 新增主要種類選項DK和DX。<p>
+									2. [新增] 新增充電槍種類7,8,T,D,K,M,N,P,R,C和W。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.14.0</td>
+								<td class="txtC">2021.08.30</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">
+									1. [新增] 新增充電槍種類B,H和A。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.15.0</td>
+								<td class="txtC">2021.11.12</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">
+									1. [新增] 新增主機種種類DB。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.16.0</td>
+								<td class="txtC">2022.01.20</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">
+									1. [新增] 新增Generation數量至16個。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.17.0</td>
+								<td class="txtC">2022.03.09</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">
+									1. [新增] 新增Type,PH:CSU3.0 簡易版。<p>
+									1. [新增] 新增ConnectorType,L: CHAdeMO 80A。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.18.0</td>
+								<td class="txtC">2022.06.22</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">
+									1. [更新] 更新至EVSE Model Name Naming Rule_20220616。<p>
+									2. [新增] 新增ConnectorType,Y: CCS1 150A。<p>
+									3. [新增] 新增ConnectorType,Z: CCS2 150A。<p>
+									4. [新增] 新增ConnectorType,S: CHAdeMO 125A Boost Mode。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.19.0</td>
+								<td class="txtC">2022.08.08</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">
+									1. [更新] 更新至EVSE Model Name Naming Rule_20220806。<p>
+									2. [新增] 新增ConnectorType,I: CCS1 300A Boost mode。<p>
+									3. [新增] 新增ConnectorType,Q: CCS2 300A Boost mode。<p>
+									4. [新增] 新增Safety Regulation,W: CNS / Taiwan Manufacture。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.21.0</td>
+								<td class="txtC">2022.09.08</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">
+									1. [更新] 更新至EVSE Model Name Naming Rule_20220908。<p>
+									2. [新增] 新增ConnectorType,O: CHA 200A boost 350A。<p>
+									3. [更新] 更新ConnectorType,更新標註名稱。<p>
+								</td>
+							</tr>
+							<tr>
+								<td class="txtC">1.0.22.0</td>
+								<td class="txtC">2022.10.17</td>
+								<td class="txtC">Shayne</td>
+								<td class="txtL">
+									1. [更新] 更新Generation命名。<p>
+									2. [新增] 新增Generation G~Z。<p>
+								</td>
+							</tr>
+						</tbody>
+					</table>	
+
+				</div><!--end of rightContent-->
+		</div><!-- end of content-->		
+	</div><!--end of wrapper-->
+</body>
+</html>

+ 46 - 6
src/library/PhihongEv.Lib/Model/Generation.cs

@@ -27,17 +27,57 @@ namespace PhihongEv.Lib.Model
 
         public static Generation N9 = new Generation("9", "Generation 9");
 
-        public static Generation A = new Generation("A", "Generation 10");
+        public static Generation A = new Generation("A", "Generation A");
 
-        public static Generation B = new Generation("B", "Generation 11");
+        public static Generation B = new Generation("B", "Generation B");
 
-        public static Generation C = new Generation("C", "Generation 12");
+        public static Generation C = new Generation("C", "Generation C");
 
-        public static Generation D = new Generation("D", "Generation 13");
+        public static Generation D = new Generation("D", "Generation D");
 
-        public static Generation E = new Generation("E", "Generation 14");
+        public static Generation E = new Generation("E", "Generation E");
 
-        public static Generation F = new Generation("F", "Generation 15");
+        public static Generation F = new Generation("F", "Generation F");
+
+        public static Generation G = new Generation("G", "Generation G");
+
+        public static Generation H = new Generation("H", "Generation H");
+
+        public static Generation I = new Generation("I", "Generation I");
+
+        public static Generation J = new Generation("J", "Generation J");
+
+        public static Generation K = new Generation("K", "Generation K");
+
+        public static Generation L = new Generation("L", "Generation L");
+
+        public static Generation M = new Generation("M", "Generation M");
+
+        public static Generation N = new Generation("N", "Generation N");
+
+        public static Generation O = new Generation("O", "Generation O");
+
+        public static Generation P = new Generation("P", "Generation P");
+
+        public static Generation Q = new Generation("Q", "Generation Q");
+
+        public static Generation R = new Generation("R", "Generation R");
+
+        public static Generation S = new Generation("S", "Generation S");
+
+        public static Generation T = new Generation("T", "Generation T");
+
+        public static Generation U = new Generation("U", "Generation U");
+
+        public static Generation V = new Generation("V", "Generation V");
+
+        public static Generation W = new Generation("W", "Generation W");
+
+        public static Generation X = new Generation("X", "Generation X");
+
+        public static Generation Y = new Generation("Y", "Generation Y");
+
+        public static Generation Z = new Generation("Z", "Generation Z");
     }
 
     public sealed partial class Generation : ModelNameCodeModel

+ 1 - 1
src/library/PhihongEv.Lib/PhihongEv.Lib.csproj

@@ -3,7 +3,7 @@
   <PropertyGroup>
     <TargetFrameworks>netstandard2.0;net40</TargetFrameworks>
     <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
-    <Version>1.0.8</Version>
+    <Version>1.0.9</Version>
   </PropertyGroup>
 
   <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">

+ 2 - 2
src/main/FirmwareHeaderBuilder/Properties/AssemblyInfo.cs

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
 // 您可以指定所有的值,或將組建編號或修訂編號設為預設值
 // 指定為預設值: 
 // [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.21.0")]
-[assembly: AssemblyFileVersion("1.0.21.0")]
+[assembly: AssemblyVersion("1.0.22.0")]
+[assembly: AssemblyFileVersion("1.0.22.0")]