12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Threading;
- using MECF.Framework.Simulator.Core.Driver;
- namespace VirgoSimulator.Devices
- {
- //class SMCChillerMockPMA : SerialPortDeviceSimulator
- //{
- // public enum SMCChillerStatus
- // {
- // Open,
- // Close,
- // }
- // public static SMCChillerStatus _simPumpStatus;
- // private const string EOF = "\r\n";
- // private const char MSG_DELIMITER = ' ';
- // private const string MOCKUP_PORT = "COM43";
- // public SMCChillerMockPMA(string port=MOCKUP_PORT) : base(port, -1, EOF, MSG_DELIMITER)
- // {
- // _simPumpStatus = SMCChillerStatus.Close;
- // }
- // protected override void ProcessUnsplitMessage(string message)
- // {
- // if (string.IsNullOrEmpty(message))
- // throw new ArgumentException("Hardware command message is invalid");
- // }
- //}
- }
|