/// <summary> /// 设置模块或通道信息的命令 /// </summary> /// <param name="moduleOrChannelInfo">模块或通道信息</param> /// <param name="deviceType">设备类型</param> /// <returns></returns> public Byte[] SettingModuleOrChannelInfoCommand(ModuleOrChannelInfo moduleOrChannelInfo, DeviceType deviceType = DeviceType.Module) { return(SettingModuleOrChannelInfoCommand( moduleOrChannelInfo.PartitionCode, moduleOrChannelInfo.PartitionName, moduleOrChannelInfo.ModuleOrChannelName, moduleOrChannelInfo.Description, moduleOrChannelInfo.ImageName, deviceType)); }
/// <summary> /// 设置模块或通道信息的命令 /// </summary> /// <param name="moduleOrChannelInfo">模块或通道信息</param> /// <param name="deviceType">设备类型</param> /// <returns></returns> public Byte[] SettingModuleOrChannelInfoCommand(ModuleOrChannelInfo moduleOrChannelInfo, DeviceType deviceType = DeviceType.Module) { return SettingModuleOrChannelInfoCommand( moduleOrChannelInfo.PartitionCode, moduleOrChannelInfo.PartitionName, moduleOrChannelInfo.ModuleOrChannelName, moduleOrChannelInfo.Description, moduleOrChannelInfo.ImageName, deviceType); }