本文整理汇总了C#中Transformation.Insert方法的典型用法代码示例。如果您正苦于以下问题:C# Transformation.Insert方法的具体用法?C# Transformation.Insert怎么用?C# Transformation.Insert使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Transformation
的用法示例。
在下文中一共展示了Transformation.Insert方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddTransformationForm
private Parameter _parameter; // калибруемый параметр
#endregion Fields
#region Constructors
public AddTransformationForm(SGT.SgtApplication _app)
{
app = _app;
app.Commutator.onUpdated +=new CommutatorEventHandler(Converter_OnComplete);
InitializeComponent();
transformation = new Transformation();
transformation.OnInsert += new Transformation.TConditionEventHandle(transformation_OnInsert);
transformation.OnEdit += new Transformation.TConditionEventHandle(transformation_OnEdit);
transformation.OnRemove += new Transformation.TConditionEventHandle(transformation_OnRemove);
transformation.OnClear += new EventHandler(transformation_OnClear);
transformation.OnError += new Transformation.ErrorEventHandle(transformation_OnError);
transformation.OnExist += new Transformation.TConditionEventHandle(transformation_OnExist);
Transformation.TCondition t1 = new Transformation.TCondition();
Transformation.TCondition t2 = new Transformation.TCondition();
t1.Result = 0;
t1.Signal = 0;
t2.Result = 65535;
t2.Signal = 65535;
transformation.Insert(t1);
transformation.Insert(t2);
first = new Argument();
second = new Argument();
calibrationGraphic.CalculateScale();
t_inserter = new InsertToText(InserterText);
/*
media = new Media();
media.Args[0].Index = 0;
media.Args[1].Index = 1;
med = new Float[2];
for (int i = 0; i < med.Length; i++)
{
med[i] = new Float();
}
*/
}