迈速表使用dev控件
- 代码
#region
//昨日派工数
float Getzrpgs = m_logic.Getzrpgs(strYearMonthDay);
//昨日完工数
float Getzrwgs = m_logic.Getzrwgs(strYearMonthDay);
//今日派工数
float GetDPgs = m_logic.GetDPgs(strYearMonthDay);
//今日完工数
float GetDWgs = m_logic.GetDWgs(strYearMonthDay);
//今月派工数
float GetDYpgs = m_logic.GetDYpgs(strYearMonth);
//今月完工数
float GetDYwgs = m_logic.GetDYwgs(strYearMonth);
#endregion
float ZRwcl = 0;
if (Getzrpgs> 0)
{
ZRwcl = (Getzrwgs / Getzrpgs) * 100;
}
float JRwcl = 0;
if (GetDPgs > 0)
{
JRwcl = (GetDWgs / GetDPgs) * 100;
}
float JYwcl = 0;
if (GetDYpgs > 0)
{
JYwcl = (GetDYwgs / GetDYpgs) * 100;
}
//赋值给指针
arcScaleNeedleComponent3.Value = JYwcl;
arcScaleNeedleComponent1.Value = ZRwcl;
arcScaleNeedleComponent2.Value = JRwcl;
- 图片
转载自原文链接, 如需删除请联系管理员。
原文链接:迈速表,转载请注明来源!