Class ModbusMaster
Inheritance
System.Object
ModbusMaster
Implements
System.IComparable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
public class ModbusMaster : Connection, IComparable, IConnection, IConnection
Constructors
ModbusMaster(ModbusMasterInfo)
Declaration
public ModbusMaster(ModbusMasterInfo info)
Parameters
Fields
defaultimportsource
Declaration
protected readonly string defaultimportsource
Field Value
Type |
Description |
System.String |
|
Properties
Conversion
Declaration
public override Conversions Conversion { get; }
Property Value
Overrides
Image
Declaration
public override ImageSource Image { get; }
Property Value
Type |
Description |
System.Windows.Media.ImageSource |
|
Overrides
Mode
Declaration
[Browsable(false)]
public override string Mode { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
Port
Declaration
[Browsable(false)]
public override int Port { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Protocol
Declaration
public override string Protocol { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Size
Declaration
[Browsable(false)]
public override Units Size { get; set; }
Property Value
Overrides
Slave
Declaration
[Browsable(true)]
public byte Slave { get; set; }
Property Value
Type |
Description |
System.Byte |
|
SourceDescription
Declaration
[Browsable(false)]
public override string SourceDescription { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
SourceIdentification
Declaration
[Browsable(false)]
public override string SourceIdentification { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
State
Declaration
public override State State { get; }
Property Value
Overrides
Methods
CreateAlarm(UInt32, UInt32, String)
Declaration
protected AlarmInfo CreateAlarm(uint byteno, uint bitno, string description)
Parameters
Type |
Name |
Description |
System.UInt32 |
byteno |
|
System.UInt32 |
bitno |
|
System.String |
description |
|
Returns
Type |
Description |
Experior.Core.Communication.PLC.AlarmInfo |
|
Declaration
protected Symbol CreateInputSymbol(string name, int byteno, short bitno, bool nonc, string source, string type, Registers reg)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Int32 |
byteno |
|
System.Int16 |
bitno |
|
System.Boolean |
nonc |
|
System.String |
source |
|
System.String |
type |
|
Registers |
reg |
|
Returns
DefaultSourceName(Registers)
Declaration
public override string DefaultSourceName(Registers type)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides
Disconnect()
Declaration
public override void Disconnect()
Overrides
Dispose(Boolean)
Declaration
public override bool Dispose(bool force)
Parameters
Type |
Name |
Description |
System.Boolean |
force |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
EstablishConnection()
Declaration
public override void EstablishConnection()
Overrides
Import()
Declaration
protected override void Import()
Overrides
ImportXmlFile(String)
Declaration
protected void ImportXmlFile(string filename)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
Declaration
public override void ShowContextMenu(List<Environment.UI.Toolbar.BarItem> menuitems)
Parameters
Overrides
Sources(IRegister)
Declaration
public override List<string> Sources(IRegister io)
Parameters
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Overrides
UseBitNumber(String)
Declaration
public override bool UseBitNumber(string source)
Parameters
Type |
Name |
Description |
System.String |
source |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements
System.IComparable