-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* | ||
/* | ||
This file is part of libEDSsharp. | ||
libEDSsharp is free software: you can redistribute it and/or modify | ||
|
@@ -639,8 +639,8 @@ public ISO15745ProfileContainer convert(EDSsharp eds) | |
NetworkManagement.CANopenGeneralFeatures.bootUpSlave = eds.di.SimpleBootUpSlave; | ||
//NetworkManagment.CANopenGeneralFeatures.dynamicChannels = eds.di.DynamicChannelsSupported; //fix me count of dynamic channels not handled yet eds only has bool | ||
NetworkManagement.CANopenGeneralFeatures.granularity = eds.di.Granularity; | ||
NetworkManagement.CANopenGeneralFeatures.groupMessaging = eds.di.GroupMessaging; | ||
|
||
NetworkManagement.CANopenGeneralFeatures.groupMessaging = eds.di.GroupMessaging; | ||
|
||
NetworkManagement.CANopenGeneralFeatures.ngMaster = eds.di.NG_Master; | ||
NetworkManagement.CANopenGeneralFeatures.ngSlave = eds.di.NG_Slave; | ||
NetworkManagement.CANopenGeneralFeatures.NrOfNG_MonitoredNodes = eds.di.NrOfNG_MonitoredNodes; | ||
|
@@ -918,9 +918,9 @@ public EDSsharp convert(ISO15745ProfileContainer container) | |
} | ||
|
||
eds.di.NG_Master = NetworkManagment.CANopenGeneralFeatures.ngMaster; | ||
eds.di.NG_Slave = NetworkManagment.CANopenGeneralFeatures.ngSlave; | ||
eds.di.NrOfNG_MonitoredNodes = NetworkManagment.CANopenGeneralFeatures.NrOfNG_MonitoredNodes; | ||
|
||
eds.di.NG_Slave = NetworkManagment.CANopenGeneralFeatures.ngSlave; | ||
eds.di.NrOfNG_MonitoredNodes = NetworkManagment.CANopenGeneralFeatures.NrOfNG_MonitoredNodes; | ||
|
||
eds.di.NrOfRXPDO = NetworkManagment.CANopenGeneralFeatures.nrOfRxPDO; | ||
eds.di.NrOfTXPDO = NetworkManagment.CANopenGeneralFeatures.nrOfTxPDO; | ||
|
||
|
@@ -1118,7 +1118,7 @@ public EDSsharp convert(ISO15745ProfileContainer container) | |
|
||
subentry.uniqueID = subobj.uniqueIDRef; | ||
|
||
entry.subobjects.Add(subobj.subIndex[0], subentry); | ||
entry.subobjects.Add(subobj.subIndex[1], subentry); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
trojanobelix
Collaborator
|
||
|
||
} | ||
} | ||
|
@@ -3832,8 +3832,8 @@ public partial class ProfileBody_CommunicationNetwork_CANopenNetworkManagementCA | |
private ushort nrOfTxPDOField; | ||
|
||
private bool ngMasterField; | ||
private bool ngSlaveField; | ||
private ushort NrOfNG_MonitoredNodesField; | ||
private bool ngSlaveField; | ||
private ushort NrOfNG_MonitoredNodesField; | ||
private bool bootUpSlaveField; | ||
|
||
private bool layerSettingServiceSlaveField; | ||
|
@@ -4001,18 +4001,18 @@ public bool ngMaster | |
{ | ||
this.ngMasterField = value; | ||
} | ||
} | ||
|
||
} | ||
|
||
/// <remarks/> | ||
[System.Xml.Serialization.XmlAttributeAttribute()] | ||
[System.ComponentModel.DefaultValueAttribute(typeof(ushort), "0")] | ||
public ushort NrOfNG_MonitoredNodes | ||
public ushort NrOfNG_MonitoredNodes | ||
{ | ||
get | ||
get | ||
{ | ||
return this.NrOfNG_MonitoredNodesField; | ||
} | ||
set | ||
set | ||
{ | ||
this.NrOfNG_MonitoredNodesField = value; | ||
} | ||
|
1 comment
on commit caf9714
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In sum it looks good to me. Let's give it a try.
this change i really want others to take a look at