Ocean を介してユーザー定義のウェル属性を作成し、読み書きすることは可能ですか? もしそうなら、それはどのように行われますか?そうでない場合、今後のリリースの予定はありますか?
「ユーザー定義のウェル属性」とは、ウェル属性フォルダーとウェル マネージャーに表示される属性を意味します。
Ocean を介してユーザー定義のウェル属性を作成し、読み書きすることは可能ですか? もしそうなら、それはどのように行われますか?そうでない場合、今後のリリースの予定はありますか?
「ユーザー定義のウェル属性」とは、ウェル属性フォルダーとウェル マネージャーに表示される属性を意味します。
(連続/離散)を介してユーザー定義のウェル属性を作成できます。
BoreholePropertyCollection.CreateProperty(Template, String);
BoreholePropertyCollection.CreateDictionaryProperty(Template, String);
次に、次の方法で、井戸(海の用語ではBorehole)のこの属性(海の用語ではBoreholeProperty)の値を設定できます。
Borehole.PropertyAccess.SetPropertyValue(thePropertyCreatedAbove, propertyValue);
Oceanで作成された属性は、Petrelから作成された他のユーザー属性と同じように動作します。
string および DateTime 属性は、Ocean では DictionaryBoreholeProperties として表され、次のようなタイプを指定して作成できます。
BoreholePropertyCollection.CreateDictionaryProperty(typeof(string), "Test property");
BoreholePropertyCollection.CreateDictionaryProperty(typeof(DateTime), "Test property");
次を呼び出すことで文字列属性を作成できます。
BoreholePropertyCollection.CreateDictionaryProperty(typeof(string), "My string attribute")
以下を呼び出すことにより、bool属性を作成できます。
BoreholePropertyCollection.CreateDictionaryProperty(typeof(bool), "My bool attribute")
また、次を呼び出すことで日時属性を作成できます。
BoreholePropertyCollection.CreateProperty(typeof(System.DateTime), "My date attribute")