2 커밋 611f42c145 ... 70d3ef514c

작성자 SHA1 메시지 날짜
  Jessica Tseng 70d3ef514c 台泥簡訊服務帳密變更 2 년 전
  Jessica Tseng edb5f5e10a 1. 關閉台泥開始 & 結束充電通知JOB 2 년 전
3개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  1. 4 4
      EVCB_OCPP.TaskScheduler/App.config
  2. 2 2
      EVCB_OCPP.TaskScheduler/Jobs/CheckEVSEOnlineJob.cs
  3. 2 2
      EVCB_OCPP.TaskScheduler/Program.cs

+ 4 - 4
EVCB_OCPP.TaskScheduler/App.config

@@ -10,12 +10,12 @@
     <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
   </startup>
   <connectionStrings>
-    <add name="OnlineLogDBContext" connectionString="data source=172.1.2.187\SQLEXPRESS2017;initial catalog=StandardOCPP_OnlineRecord;;persist security info=True;user id=sa;password=Ph0930118811;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
-    <add name="MainDBContext" connectionString="data source=172.1.2.187\SQLEXPRESS2017;initial catalog=StandardOCPP_Main;;persist security info=True;user id=sa;password=Ph0930118811;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
-    <add name="WebDBContext" connectionString="data source=172.1.2.216\SQLEXPRESS;initial catalog=StandardOCPP_Web;;persist security info=True;user id=tccdev;password=tccdevtest;MultipleActiveResultSets=True;App=EntityFramework; Max Pool Size=500" providerName="System.Data.SqlClient" />
+    <add name="OnlineLogDBContext" connectionString="data source=172.1.2.199;initial catalog=StandardOCPP_OnlineRecord;;persist security info=True;user id=Phihong;password=GOGOGO;MultipleActiveResultSets=True;App=EntityFramework; Max Pool Size=500" providerName="System.Data.SqlClient" />
+    <add name="MainDBContext" connectionString="data source=172.1.2.199;initial catalog=StandardOCPP_Main;;persist security info=True;user id=Phihong;password=GOGOGO;MultipleActiveResultSets=True;App=EntityFramework; Max Pool Size=500" providerName="System.Data.SqlClient" />
+    <add name="WebDBContext" connectionString="data source=172.1.2.199;initial catalog=StandardOCPP_Web;;persist security info=True;user id=Phihong;password=GOGOGO;MultipleActiveResultSets=True;App=EntityFramework; Max Pool Size=500" providerName="System.Data.SqlClient" />
   </connectionStrings>
   <appSettings>
-    <add key="OnlineChanged_Receivers" value="0987865916,0987865916" />  
+    <add key="OnlineChanged_Receivers" value="0987865916" />  
   </appSettings>
   
   <runtime>

+ 2 - 2
EVCB_OCPP.TaskScheduler/Jobs/CheckEVSEOnlineJob.cs

@@ -253,9 +253,9 @@ namespace EVCB_OCPP.TaskScheduler.Jobs
                 errorMsg = string.Empty;
                 HttpClient client = new HttpClient();
                 StringBuilder url = new StringBuilder("http://smexpress.mitake.com.tw:7002/SpSendUtf?");
-                url.Append("username=").Append(HttpUtility.UrlEncode("30435973",
+                url.Append("username=").Append(HttpUtility.UrlEncode("83196607SMS",
                     Encoding.UTF8));
-                url.Append("&password=").Append(HttpUtility.UrlEncode("PH3275300",
+                url.Append("&password=").Append(HttpUtility.UrlEncode("83196607SMS@nhoa.tcc",
                     Encoding.UTF8));
                 url.Append("&encoding=UTF8");
                 url.Append("&dstaddr=").Append(phoneNumber);

+ 2 - 2
EVCB_OCPP.TaskScheduler/Program.cs

@@ -115,8 +115,8 @@ namespace EVCB_OCPP.TaskScheduler
 
                 // Tell quartz to schedule the job using our trigger
                 await scheduler.ScheduleJob(_CheckEVSEOnlineJob, _CheckEVSEOnlineTrigger);
-                await scheduler.ScheduleJob(_StartTransacionReportJob, _StartTransacionReportTrigger);
-                await scheduler.ScheduleJob(_StopTransacionReportJob, _StopTransacionReportTrigger);
+               // await scheduler.ScheduleJob(_StartTransacionReportJob, _StartTransacionReportTrigger);
+               // await scheduler.ScheduleJob(_StopTransacionReportJob, _StopTransacionReportTrigger);
                 await scheduler.ScheduleJob(_CheckExecutionCmdJob, _CheckExecutionCmdTrigger);
                 await scheduler.ScheduleJob(_ExecutionCmdReportJob, _ExecutionCmdReportTrigger);