inizio fix warnings vari
This commit is contained in:
@@ -558,25 +558,31 @@ namespace MTC_Adapter
|
||||
dataRefList = baseElem.dataRefList;
|
||||
try
|
||||
{
|
||||
mAxType = new Event(dataRefList[0].Key);
|
||||
mAxType.Value = dataRefList[0].Value;
|
||||
mAxType = new Event(dataRefList[0].Key)
|
||||
{
|
||||
Value = dataRefList[0].Value
|
||||
};
|
||||
}
|
||||
catch
|
||||
{
|
||||
mAxType = new Event(string.Format("{0}_Type", ident));
|
||||
mAxType.Value = "LINEAR";
|
||||
|
||||
mAxType = new Event(string.Format("{0}_Type", ident))
|
||||
{
|
||||
Value = "LINEAR"
|
||||
};
|
||||
}
|
||||
try
|
||||
{
|
||||
mAxGrp = new Event(dataRefList[1].Key);
|
||||
mAxGrp.Value = dataRefList[1].Value;
|
||||
mAxGrp = new Event(dataRefList[1].Key)
|
||||
{
|
||||
Value = dataRefList[1].Value
|
||||
};
|
||||
}
|
||||
catch
|
||||
{
|
||||
mAxGrp = new Event(string.Format("{0}_Grp", ident));
|
||||
mAxGrp.Value = "00";
|
||||
|
||||
mAxGrp = new Event(string.Format("{0}_Grp", ident))
|
||||
{
|
||||
Value = "00"
|
||||
};
|
||||
}
|
||||
// valori standard
|
||||
mAxDescr = new Event(string.Format("{0}_Descr", ident));
|
||||
|
||||
Reference in New Issue
Block a user