Subject: RAMMAP Error refreshing database
Posted: 29 December 2015 at 5:59am
ok, I've asked Mark again. When I get an answer, I'll post it here.
<FracFocus3_0 xmlns=”FracFocus3_0.xsd”>
<JobStartDate>2015-02-01T00:00:00</JobStartDate>
<JobEndDate>2015-02-02T00:00:00</JobEndDate>
<OperatorNumber>A1210004</OperatorNumber>
<APINumber>01007212500000</APINumber>
<WellName>ExampleWell</WellName>
<SurfLongitude>-87.09730002</SurfLongitude>
<SurfLatitude>33.1352902</SurfLatitude>
<TotalBaseWaterVolume>315210</TotalBaseWaterVolume>
<TotalBaseNonWaterVolume>0</TotalBaseNonWaterVolume>
<EntryMethod>MSDS+</EntryMethod>
<Purpose>Carrier/BaseFluid</Purpose>
<IngredientName>Water</IngredientName>
<CASNumber>7732-18-5</CASNumber>
<PercentHighAdditive>100.0</PercentHighAdditive>
<PercentHFJob>90.220</PercentHFJob>
I see this and I’m trying to build an object that Ican serialize into xml that will be like what is above.
When I look at TypeIngredient, I can build that as far asthe IngredientName, CASNumber, etc. However, I don’t know how to get itto tag IngredientMSDS or IngredientOther.
objChpurp.TypeIngredient = new XmlHandler30.DataObjects.ChemPurposeTypeIngredient3_0();
objChpurp.TypeIngredient.Items = new XmlHandler30.DataObjects.Ingredient3_0[ewiQ.Count()];
I want to set objChpurp.ItemsElementName? Is thatcorrect?
What do I do, so that when serialized, the xml will containIngredientOther ?
In the FracFocus3_0.cs, here’s a snippet that shows how theIngredients items array is definied:
[System.Xml.Serialization.XmlElementAttribute("IngredientMSDS", typeof(Ingredient3_0))]
[System.Xml.Serialization.XmlElementAttribute("IngredientOther", typeof(Ingredient3_0))]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
public Ingredient3_0[] Items
{
get
{
return this.itemsField;
}
set
{
this.itemsField = value;
}
}
somehow, I need to denote in the object that it needs the xmlelement attribute of IngredientMSDS or else IngredientOther. But I don't understand how to do this.
![]() the crashing procexp64.exe loads to just over 72,000K of Memory Utilization before crashing on all the servers that are having this issue. |
In the Options menu select "Configure colors". This will open a dialog which shows what the colors mean.