本文整理汇总了C#中DataSet.EncodePd0Ensemble方法的典型用法代码示例。如果您正苦于以下问题:C# DataSet.EncodePd0Ensemble方法的具体用法?C# DataSet.EncodePd0Ensemble怎么用?C# DataSet.EncodePd0Ensemble使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DataSet
的用法示例。
在下文中一共展示了DataSet.EncodePd0Ensemble方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Write
//.........这里部分代码省略.........
else
{
if (!ensemble.IsInstrumentWaterMassAvail)
{
// Set that data set was not used
_options.IsInstrumentWaterMassDataSetOn = false;
}
}
// Check Nmea Data
if (!_options.IsNmeaDataSetOn) { ensemble.IsNmeaAvail = false; }
else
{
if (!ensemble.IsNmeaAvail)
{
// Set that data set was not used
_options.IsNmeaDataSetOn = false;
}
}
// Check Profile Engineering
if (!_options.IsProfileEngineeringDataSetOn) { ensemble.IsProfileEngineeringAvail = false; }
else
{
if (!ensemble.IsProfileEngineeringAvail)
{
// Set that data set was not used
_options.IsProfileEngineeringDataSetOn = false;
}
}
// Check System Setup
if (!_options.IsSystemSetupDataSetOn) { ensemble.IsSystemSetupAvail = false; }
else
{
if (!ensemble.IsSystemSetupAvail)
{
// Set that data set was not used
_options.IsSystemSetupDataSetOn = false;
}
}
// Check ADCP GPS
if (!_options.IsAdcpGpsDataSetOn) { ensemble.IsAdcpGpsDataAvail = false; }
else
{
if (!ensemble.IsAdcpGpsDataAvail)
{
// Set that data set was not used
_options.IsAdcpGpsDataSetOn = false;
}
}
// Check GPS 1
if (!_options.IsGps1DataSetOn) { ensemble.IsGps1DataAvail = false; }
else
{
if (!ensemble.IsGps1DataAvail)
{
// Set that data set was not used
_options.IsGps1DataSetOn = false;
}
}
// Check GPS 2
if (!_options.IsGps2DataSetOn) { ensemble.IsGps2DataAvail = false; }
else
{
if (!ensemble.IsGps2DataAvail)
{
// Set that data set was not used
_options.IsGps2DataSetOn = false;
}
}
// Check NMEA 1
if (!_options.IsNmea1DataSetOn) { ensemble.IsNmea1DataAvail = false; }
else
{
if (!ensemble.IsNmea1DataAvail)
{
// Set that data set was not used
_options.IsNmea1DataSetOn = false;
}
}
// Check NMEA 2
if (!_options.IsNmea2DataSetOn) { ensemble.IsNmea2DataAvail = false; }
else
{
if (!ensemble.IsNmea2DataAvail)
{
// Set that data set was not used
_options.IsNmea2DataSetOn = false;
}
}
// Write the data to the file
_writer.Write(ensemble.EncodePd0Ensemble(_options.CoordinateTransform));
}