예제 #1
0
 /// <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));
 }
예제 #2
0
 /// <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);
 }