Class StaticInfoProvider
Class StaticInfoProvider.
Inherited Members
Namespace: UnityEngine.Industrial.Configuring.Providers
Syntax
[ExecuteInEditMode]
public class StaticInfoProvider : MonoBehaviour, IInfoEngine
Properties
contextCollectionDisplayInfo
Display information of the context collection.
Declaration
public ContextCollectionDisplayInfo contextCollectionDisplayInfo { get; set; }
Property Value
Type | Description |
---|---|
ContextCollectionDisplayInfo | The context collection display information. |
featureDisplayInfos
Display information of the features.
Declaration
public List<FeatureDisplayInfo> featureDisplayInfos { get; set; }
Property Value
Type | Description |
---|---|
List<FeatureDisplayInfo> | The feature display infos. |
featureSetDisplayInfos
Display information of the feature sets.
Declaration
public List<FeatureSetDisplayInfo> featureSetDisplayInfos { get; set; }
Property Value
Type | Description |
---|---|
List<FeatureSetDisplayInfo> | The feature set display infos. |
Methods
FillData()
Fills the data.
Declaration
[ContextMenu("Try Fill Data")]
public void FillData()
Exceptions
Type | Condition |
---|---|
Exception | Please assign the product object into Product Info section |
Initialize(Configurator)
Initializes the specified configurator.
Declaration
public void Initialize(Configurator configurator)
Parameters
Type | Name | Description |
---|---|---|
Configurator | configurator | The configurator. |
Implements
OnContextModified(Context, InfoEngineOperation)
Called when [context modified].
Declaration
public SynchronousProviderOperation<InfoEngineReply> OnContextModified(Context context, InfoEngineOperation operation)
Parameters
Type | Name | Description |
---|---|---|
Context | context | The context. |
InfoEngineOperation | operation | The operation. |
Returns
Type | Description |
---|---|
SynchronousProviderOperation<InfoEngineReply> | SynchronousProviderOperation<InfoEngineReply>. |
Implements
OnFeatureModified(Feature, InfoEngineOperation)
Called when [feature modified].
Declaration
public SynchronousProviderOperation<InfoEngineReply> OnFeatureModified(Feature feature, InfoEngineOperation operation)
Parameters
Type | Name | Description |
---|---|---|
Feature | feature | The feature. |
InfoEngineOperation | operation | The operation. |
Returns
Type | Description |
---|---|
SynchronousProviderOperation<InfoEngineReply> | SynchronousProviderOperation<InfoEngineReply>. |
Implements
OnFeatureSetModified(FeatureSet, InfoEngineOperation)
Called when [feature set modified].
Declaration
public SynchronousProviderOperation<InfoEngineReply> OnFeatureSetModified(FeatureSet featureSet, InfoEngineOperation operation)
Parameters
Type | Name | Description |
---|---|---|
FeatureSet | featureSet | The feature set. |
InfoEngineOperation | operation | The operation. |
Returns
Type | Description |
---|---|
SynchronousProviderOperation<InfoEngineReply> | SynchronousProviderOperation<InfoEngineReply>. |
Implements
OnProductModified(Product, InfoEngineOperation)
Called when [product modified].
Declaration
public SynchronousProviderOperation<InfoEngineReply> OnProductModified(Product product, InfoEngineOperation operation)
Parameters
Type | Name | Description |
---|---|---|
Product | product | The product. |
InfoEngineOperation | operation | The operation. |
Returns
Type | Description |
---|---|
SynchronousProviderOperation<InfoEngineReply> | SynchronousProviderOperation<InfoEngineReply>. |
Implements
QueryContextCollectionDisplayInfo(Context, ContextCollection)
Queries the context collection display information.
Declaration
public ProviderOperation<InfoEngineReply<ContextCollection, ContextCollectionDisplayInfo>> QueryContextCollectionDisplayInfo(Context currentContext, ContextCollection contextCollection)
Parameters
Type | Name | Description |
---|---|---|
Context | currentContext | The current context. |
ContextCollection | contextCollection | The context collection. |
Returns
Type | Description |
---|---|
ProviderOperation<InfoEngineReply<ContextCollection, ContextCollectionDisplayInfo>> | ProviderOperation<InfoEngineReply<ContextCollection, ContextCollectionDisplayInfo>>. |
Implements
QueryFeatureDisplayInfo(Context, Feature)
Queries the feature display information.
Declaration
public ProviderOperation<InfoEngineReply<Feature, FeatureDisplayInfo>> QueryFeatureDisplayInfo(Context currentContext, Feature feature)
Parameters
Type | Name | Description |
---|---|---|
Context | currentContext | The current context. |
Feature | feature | The feature. |
Returns
Type | Description |
---|---|
ProviderOperation<InfoEngineReply<Feature, FeatureDisplayInfo>> | ProviderOperation<InfoEngineReply<Feature, FeatureDisplayInfo>>. |
Implements
QueryFeatureSetDisplayInfo(Context, FeatureSet)
Queries the feature set display information.
Declaration
public ProviderOperation<InfoEngineReply<FeatureSet, FeatureSetDisplayInfo>> QueryFeatureSetDisplayInfo(Context currentContext, FeatureSet featureSet)
Parameters
Type | Name | Description |
---|---|---|
Context | currentContext | The current context. |
FeatureSet | featureSet | The feature set. |
Returns
Type | Description |
---|---|
ProviderOperation<InfoEngineReply<FeatureSet, FeatureSetDisplayInfo>> | ProviderOperation<InfoEngineReply<FeatureSet, FeatureSetDisplayInfo>>. |
Implements
QueryProductInfo(Product)
Queries the product information.
Declaration
public ProviderOperation<InfoEngineReply<Product, ProductDisplayInfo>> QueryProductInfo(Product product)
Parameters
Type | Name | Description |
---|---|---|
Product | product | The product. |
Returns
Type | Description |
---|---|
ProviderOperation<InfoEngineReply<Product, ProductDisplayInfo>> | ProviderOperation<InfoEngineReply<Product, ProductDisplayInfo>>. |
Implements
RecordUndo(String)
Records the undo.
Declaration
public void RecordUndo(string change)
Parameters
Type | Name | Description |
---|---|---|
String | change | The change. |
Implements
SaveData()
Saves the data.
Declaration
public void SaveData()