集成,总结MES功能
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
453 B

  1. namespace BPA.MES.Base.Core
  2. {
  3. /// <summary>
  4. /// 名 称 :
  5. /// 创 建 人 :yangxiao
  6. /// 创建时间 : 2023/3/4 9:51:33
  7. /// 描 述 :
  8. /// </summary>
  9. public static class EmptyExtensions
  10. {
  11. public static bool HasVal<T>(this T obj)
  12. {
  13. if (obj != null)
  14. {
  15. return !obj.Equals(default(T));
  16. }
  17. return false;
  18. }
  19. }
  20. }