本文整理汇总了C#中PFSSection.AddKeyword方法的典型用法代码示例。如果您正苦于以下问题:C# PFSSection.AddKeyword方法的具体用法?C# PFSSection.AddKeyword怎么用?C# PFSSection.AddKeyword使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PFSSection
的用法示例。
在下文中一共展示了PFSSection.AddKeyword方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: MOUSE_RUNOFF_parameters
public MOUSE_RUNOFF_parameters(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
_pfsHandle.AddKeyword(new PFSKeyword("TRAP_Computation", PFSParameterType.Boolean, true));
_pfsHandle.AddKeyword(new PFSKeyword("Simulation_start", PFSParameterType.String, ""));
_pfsHandle.AddKeyword(new PFSKeyword("Simulation_end", PFSParameterType.String, ""));
_pfsHandle.AddKeyword(new PFSKeyword("Dt_FixedSec", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("Dt_WetPeriodSec", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("Dt_DryPeriodSec", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("RDII_dtSRC_hour", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("RDII_dtFRC_sec", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("Allow_OverWrite", PFSParameterType.Boolean, true));
Model_type = new Model_type("Model_type");
_pfsHandle.AddKeyword(Model_type._keyword);
}
示例2: AddNewSingleWellCommandArea
/// <summary>
/// Adds a new command area that only contains the necessary sections and keywords for a single well.
/// </summary>
public void AddNewSingleWellCommandArea()
{
PFSSection Nc = new PFSSection("CommandArea");
Nc.AddKeyword(new PFSKeyword("AreaName", PFSParameterType.String,""));
Nc.AddKeyword(new PFSKeyword("AreaCodeID", PFSParameterType.String, ""));
Nc.AddKeyword(new PFSKeyword("AreaCode", PFSParameterType.Integer, 0));
PFSSection Sources = new PFSSection("Sources");
Sources.AddKeyword(new PFSKeyword("NumberOfSources", PFSParameterType.Integer, 1));
PFSSection Source1 = new PFSSection("Source1");
Source1.AddKeyword(new PFSKeyword("SourceTypeCode", PFSParameterType.Integer, 2));
Source1.AddKeyword(new PFSKeyword("WaterApplication", PFSParameterType.Integer, 1));
Source1.AddKeyword(new PFSKeyword("DirectApplication", PFSParameterType.Integer, 1));
Source1.AddKeyword(new PFSKeyword("WellXposSIWS", PFSParameterType.Double, 1));
Source1.AddKeyword(new PFSKeyword("WellYposSIWS", PFSParameterType.Double, 1));
Source1.AddKeyword(new PFSKeyword("ScreenTopDepthSIWS", PFSParameterType.Double, 1));
Source1.AddKeyword(new PFSKeyword("CapacitySIWS", PFSParameterType.Double, 100));
Source1.AddKeyword(new PFSKeyword("ThresholdDepthSIWS", PFSParameterType.Double, 1));
Source1.AddKeyword(new PFSKeyword("ScreenBottomDepthSIWS", PFSParameterType.Double, 1));
Source1.AddKeyword(new PFSKeyword("IrrigationLicenseIncluded", PFSParameterType.Integer, 0));
Source1.AddKeyword(new PFSKeyword("TYPE", PFSParameterType.Integer, 2));
Sources.AddSection(Source1);
Nc.AddSection(Sources);
CommandArea CA = new CommandArea(Nc);
_commandAreas.Add(CA);
_pfsHandle.AddSection(Nc);
NO_AREAS++;
}
示例3: Foreground
public Foreground(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
_pfsHandle.AddKeyword(new PFSKeyword("Touched", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("NumberOfLayers", PFSParameterType.Integer, 0));
}
示例4: LITOGRAFIDATA
public LITOGRAFIDATA(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
_pfsHandle.AddKeyword(new PFSKeyword("Touched", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("NoLitografiLayers", PFSParameterType.Integer, 0));
}
示例5: OPERATOR
public OPERATOR(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
_pfsHandle.AddKeyword(new PFSKeyword("OPERATOR_TYPE", PFSParameterType.String, ""));
_pfsHandle.AddKeyword(new PFSKeyword("T_RETENTION", PFSParameterType.String, ""));
}
示例6: DEFAULT_DATA
public DEFAULT_DATA(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
_pfsHandle.AddKeyword(new PFSKeyword("SoilTextOn", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("MapTextOn", PFSParameterType.Integer, 0));
}
示例7: CROSSSECTIONS
public CROSSSECTIONS(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
_pfsHandle.AddKeyword(new PFSKeyword("CrossSectionDataBridge", PFSParameterType.String, ""));
_pfsHandle.AddKeyword(new PFSKeyword("CrossSectionFile", PFSParameterType.FileName, ""));
}
示例8: Rows
public Rows(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
rHeader = new rHeader("rHeader");
_pfsHandle.AddKeyword(rHeader._keyword);
r = new r("r");
_pfsHandle.AddKeyword(r._keyword);
}
示例9: MOUSE_PASSIVE_CONTROL
public MOUSE_PASSIVE_CONTROL(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
Passive_Controls = new List<Passive_Control>();
_pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0));
}
示例10: DataSet
public DataSet(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
Datas = new List<Data>();
_pfsHandle.AddKeyword(new PFSKeyword("DataSetID", PFSParameterType.String, ""));
_pfsHandle.AddKeyword(new PFSKeyword("TypeNo", PFSParameterType.Integer, 0));
}
示例11: MOUSE_TABULAR_DATA
public MOUSE_TABULAR_DATA(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
DataSets = new List<DataSet>();
_pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0));
}
示例12: FILTERDATA1
public FILTERDATA1(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
FILTERITEM_1s = new List<FILTERITEM_1>();
_pfsHandle.AddKeyword(new PFSKeyword("Touched", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("NoFilters", PFSParameterType.Integer, 0));
}
示例13: MOUSE_CROSS_SECTIONS
public MOUSE_CROSS_SECTIONS(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
Cross_Sections = new List<Cross_Section>();
_pfsHandle.AddKeyword(new PFSKeyword("SYNTAX_VERSION", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("UNIT_TYPE", PFSParameterType.Integer, 0));
}
示例14: WELLFIELD
public WELLFIELD(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
WellFieldItems = new List<WellFieldItem>();
_pfsHandle.AddKeyword(new PFSKeyword("Touched", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("NoWellFields", PFSParameterType.Integer, 0));
}
示例15: WellFieldItem
public WellFieldItem(string pfsname)
{
_pfsHandle = new PFSSection(pfsname);
_pfsHandle.AddKeyword(new PFSKeyword("WellFieldName", PFSParameterType.String, ""));
_pfsHandle.AddKeyword(new PFSKeyword("WellFieldShow", PFSParameterType.Integer, 0));
_pfsHandle.AddKeyword(new PFSKeyword("WellFieldID", PFSParameterType.Integer, 0));
}