tangxu
2022-10-24 1682e6f97774455726d63a856b9b5f724ce3263f
Socket/IStation.DataDockingSocket4NT/helper/HandleDataHelper.cs
@@ -37,29 +37,13 @@
        }
        /// <summary>
        /// 获取查询指令(开机)
        /// </summary>
        /// <returns></returns>
        public static byte[] GetControlMsg开机()
        {
            return new byte[] { 0x01, 0x06, 0x00, 0x0F, 0x00, 0x01, 0x78, 0x09 };
        }
        /// <summary>
        /// 获取查询指令(关机)
        /// </summary>
        /// <returns></returns>
        public static byte[] GetControlMsg关机()
        {
            return new byte[] { 0x01, 0x06, 0x00, 0x10, 0x00, 0x01, 0x49, 0xCF };
        }
        /// <summary>
        /// 获取控制指令(调频)
        /// </summary>
        /// <returns></returns>
        public static byte[] GetControlMsg调频(double frequece)
        public byte[] GetControlMsg调频(double frequece)
        {
            var iFrequece = (int)(frequece * 10);
@@ -74,7 +58,7 @@
        /// 获取查询指令(监控值)
        /// </summary>
        /// <returns></returns>
        public static byte[] GetMonitorMsg监控值()
        public byte[] GetMonitorMsg监控值()
        {
            return new byte[] { 0x01, 0x03, 0x00, 0x19, 0x00, 0x19, 0x55, 0xC7 };
        }
@@ -85,7 +69,7 @@
        /// 获取查询指令(状态值)
        /// </summary>
        /// <returns></returns>
        public  static byte[] GetMonitorMsg状态值()
        public static byte[] GetMonitorMsg状态值()
        {
            return new byte[] { 0x01, 0x03, 0x00, 0x19, 0x00, 0x23, 0xD5, 0xD4 };
        }