Example #1
0
        /// <summary>
        /// 报警联动预置位
        /// </summary>
        /// <param name="VideoGuid"></param>
        /// <param name="PresetName"></param>
        /// <param name="UserGuid"></param>
        public static void PresetAlarmSetInterface(Guid VideoGuid, string PresetName, Guid?UserGuid)
        {
            TurntablePresetData tmp_TurntablePresetData = new TurntablePresetData();

            tmp_TurntablePresetData.VideoGuid  = VideoGuid;
            tmp_TurntablePresetData.PresetName = PresetName;
            PresetData.SetPreset(tmp_TurntablePresetData);
        }
Example #2
0
 /// <summary>
 /// 预置位调用
 /// </summary>
 /// <param name="tmp_TurntablePresetData"></param>
 public static void PresetSetInterface(TurntablePresetData tmp_TurntablePresetData)
 {
     PresetData.SetPreset(tmp_TurntablePresetData);
 }