CNAS取数仪器端升级
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
560B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Diagnostics;
  6. using System.Linq;
  7. using System.ServiceProcess;
  8. using System.Text;
  9. namespace CNAS_SyncService
  10. {
  11. public partial class SyncSerivice : ServiceBase
  12. {
  13. public SyncSerivice()
  14. {
  15. InitializeComponent();
  16. }
  17. protected override void OnStart(string[] args)
  18. {
  19. new SyncServiceOperation().Start();
  20. }
  21. protected override void OnStop()
  22. {
  23. }
  24. }
  25. }