43 lines
908 B
C#
43 lines
908 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace MesWork
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public partial class Temp { }
|
|
/// <summary>
|
|
/// 延时刷新(框架通用方法)
|
|
/// </summary>
|
|
public partial class MesWorkForm
|
|
{
|
|
// timer_OnLine_Show_Tick 已移至 MAIN_PAGE.cs 中统一管理
|
|
|
|
/// <summary>
|
|
/// 值处理函数
|
|
/// </summary>
|
|
/// <param name="value"></param>
|
|
/// <returns></returns>
|
|
public static bool ValueT(string value)
|
|
{
|
|
bool success = false;
|
|
if (value == "true" | value == "1")
|
|
{
|
|
success = true;
|
|
}
|
|
return success;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|