Ver Fonte

調整CDFA 收據顯示字樣 $XXXX/kWh

Jessica Tseng há 3 anos atrás
pai
commit
aeab43fa3a

+ 3 - 3
EVCB_OCPP.WSServer/Message/CoreProfileHandler.cs

@@ -636,7 +636,7 @@ namespace EVCB_OCPP.WSServer.Message
                                             var totalHours = Math.Round(DateTime.UtcNow.Subtract(feedto.StartTime).TotalHours, 2, MidpointRounding.AwayFromZero);
                                             sum = Decimal.Multiply((decimal)totalHours, fee);                                         
                                             sum = DollarRounding(sum, session.Currency);
-                                            receipt = totalHours  + "hrs @ " + fee + "$/hr =" + sum;
+                                            receipt = totalHours  + "hrs @ $" + fee + "/hr =" + sum;
                                         }
 
 
@@ -657,7 +657,7 @@ namespace EVCB_OCPP.WSServer.Message
                                                 if (bill.Count == 1)
                                                 {
                                                     confirmbill = bill;
-                                                    receipt = string.Format("{0} kwh @ {1} $/kwh={2}", bill[0].PeriodEnergy, bill[0].Fee, bill[0].Total);
+                                                    receipt = string.Format("{0} kWh @ ${1}/kWh={2}", bill[0].PeriodEnergy, bill[0].Fee, bill[0].Total);
                                                     break;
                                                 }
                                                 if (bill.Count > 1)
@@ -668,7 +668,7 @@ namespace EVCB_OCPP.WSServer.Message
                                                     {
                                                         receipt += "|";
                                                     }
-                                                    receipt += string.Format("{0}~{1} {2} kwh @ {3} $/kwh={4}", confirmbill[confirmbill.Count - 1].StartTime, confirmbill[confirmbill.Count - 1].EndTime,
+                                                    receipt += string.Format("{0}~{1} {2} kWh @ ${3}/kWh={4}", confirmbill[confirmbill.Count - 1].StartTime, confirmbill[confirmbill.Count - 1].EndTime,
                                                         confirmbill[confirmbill.Count - 1].PeriodEnergy, bill[0].Fee, confirmbill[confirmbill.Count - 1].Total);
 
 

+ 1 - 1
EVCB_OCPP.WSServer/Properties/AssemblyInfo.cs

@@ -35,4 +35,4 @@ using System.Runtime.InteropServices;
 [assembly: AssemblyVersion("0.1.0.0")]
 [assembly: AssemblyFileVersion("0.1.0.0")]
 
-[assembly: AssemblyInformationalVersion("ae02c19")]
+[assembly: AssemblyInformationalVersion("2081228")]