CaliConstants.cs 1.2 KB

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Uestc.Auto6.Dso.ComModel;
  7. namespace Uestc.Auto6.Dso.Hardware.Calibration.Data.Base
  8. {
  9. public class CaliConstants
  10. {
  11. public static Int32 Fixed_MaxPhyCoarseScaleCount = AnalogChannel.PhyChCoarseLevelTableByuV.Count;
  12. public const Int32 Fixed_MaxPhysicsChannelCount = 8;
  13. public const Int32 Fixed_PerChannelMergeAdcMaxCount = 4;
  14. public const Int32 Fixed_PerAdcCoreMaxCount = 4;
  15. public const Int32 Fixed_PerAdcCoreCount = 4;
  16. public const Int32 PerAdcCoreCount = 2;
  17. public const Int32 PerAdcCoreWaveDots = 2000;
  18. public const Int32 DpoHeight = 400;
  19. public const Int32 DpoWidth = 1024;
  20. public const Int32 DpoPerDotBytes = 3;
  21. public static Int32 MaxPhysicsChannelCount => ChannelIdExt.AnaChnlNum;
  22. public static Int32 PerPhysicsChannelDotsCount => Constants.CHNL_DATA_NUM;
  23. public static Int32 AdcResolution => Constants.ADC_BITS;
  24. public static Int32 PerYDivAdcDots => (Int32)Constants.SAMPS_PER_YDIV;
  25. public static Int32 PerAnaChannelAdcCount => Constants.ADC_NUM;
  26. }
  27. }