⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pneumaticpumpdriver.cs

📁 yongle jpscxsd j cxksk xdkl sna
💻 CS
字号:
using System;

namespace PowerStation
{
	/// <summary>
	/// Summary description for PneumaticPumpDriver.
	/// </summary>
	public class PneumaticPumpDriver
	{
		public PneumaticPumpDriver()
		{
			//
			// TODO: Add constructor logic here
			//
		}

		//Event handler for the event CoreOverheating
		//Controls the Pnuematic pump
		public void SwitchOn(object sender, CoreOverheatingArgs args)
		{
			
			if(args.CoreTemperature >= 34.00 && args.CoreTemperature<=50.00)
			{
				Console.Write("气动泵最低启动速度为"+ "\n");
			}
			else if(args.CoreTemperature >=51.00)
			{
				Console.Write("气动泵最高启动速度为"+ "\n");
			}
			// Code to send signal to make all pneumatic pumps ON 
			

		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -