You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Rs.MotionPlat.Commom
|
|
|
|
|
{
|
|
|
|
|
public class DeviceTemprature
|
|
|
|
|
{
|
|
|
|
|
private static DeviceTemprature instance;
|
|
|
|
|
public static DeviceTemprature Instance
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
if(instance==null)
|
|
|
|
|
instance = new DeviceTemprature();
|
|
|
|
|
return instance;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double CurTemprature { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目标温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double TargetTemprature { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|