using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Core.StlMes.Client.Mcp.Control.Entity
{
public class HttControlLogEntityPlus : HttControlLogEntity
{
///
/// 小时能力
///
private string hrCapcty = "";
///
/// GUID主键
///
[Description("小时能力(支/小时)")]
[JsonProperty("controlId")]
public string HrCapcty
{
get { return hrCapcty; }
set { hrCapcty = value; }
}
///
/// GUID主键
///
[Description("小时节奏(支/小时)")]
public double HrRhythm
{
get
{
double Product = 0d;
double Num = 0d;
if (double.TryParse(ProductTime, out Product) && double.TryParse(qualifiedNum.ToString3(), out Num))
{
return Math.Round(Num/Product*60d);
}
return 0;
}
}
}
}