1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Diagnostics;
- using System.IO.Ports;
- namespace IControls_FireManager
- {
-
-
- public static class _Serial
- {
-
- public static string MyPort()
- {
- string result = null;
- string[] ports = SerialPort.GetPortNames();
- foreach (string port in ports)
- result = result + port + _Text.SemiColon;
- result = result.TrimEnd(_Convert.Split_Key);
- return result;
- }
- }
-
- }
|