| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- 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
- {
- /// <summary>
- /// 小时能力
- /// </summary>
- private string hrCapcty = "";
- /// <summary>
- /// GUID主键
- /// </summary>
- [Description("小时能力(支/小时)")]
- [JsonProperty("controlId")]
- public string HrCapcty
- {
- get { return hrCapcty; }
- set { hrCapcty = value; }
- }
- /// <summary>
- /// GUID主键
- /// </summary>
- [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;
- }
- }
- }
- }
|