Class Register
Inheritance
System.Object
Register
Implements
System.IComparable
System.IDisposable
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
[TypeConverter(typeof(ObjectConverter))]
[Serializable]
public abstract class Register : IComparable, IEntityNotification, IEntity, IRegister, IDisposable
Fields
autoselect
Declaration
protected bool autoselect
Field Value
Type |
Description |
System.Boolean |
|
connection
Declaration
protected IConnection connection
Field Value
Properties
Active
Declaration
[Browsable(false)]
public virtual bool Active { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Address
Declaration
[Browsable(false)]
public virtual int Address { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Bit
Declaration
[PropertyAttributesProvider("DynamicPropertyBits")]
[PropertyOrder(5)]
protected virtual string Bit { get; set; }
Property Value
Type |
Description |
System.String |
|
BitNo
Declaration
[Browsable(false)]
public virtual short BitNo { get; set; }
Property Value
Type |
Description |
System.Int16 |
|
ByteNo
Declaration
[Browsable(false)]
public int ByteNo { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Connection
Declaration
[Browsable(false)]
public IConnection Connection { get; protected set; }
Property Value
DataSize
Declaration
[PropertyAttributesProvider("DynamicPropertyUser")]
[PropertyOrder(6)]
public virtual DataSize DataSize { get; set; }
Property Value
DataSizeType
Declaration
[Browsable(false)]
public Type DataSizeType { get; }
Property Value
Type |
Description |
System.Type |
|
Deletable
Declaration
[Browsable(false)]
public bool Deletable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Description
Declaration
[PropertyOrder(1)]
public string Description { get; set; }
Property Value
Type |
Description |
System.String |
|
Disposed
Declaration
[Browsable(false)]
public bool Disposed { get; }
Property Value
Type |
Description |
System.Boolean |
|
Enabled
Declaration
[Browsable(false)]
public virtual bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EntityId
Declaration
[Browsable(false)]
public ulong EntityId { get; set; }
Property Value
Type |
Description |
System.UInt64 |
|
Error
Declaration
[Browsable(false)]
public virtual bool Error { get; }
Property Value
Type |
Description |
System.Boolean |
|
Id
Declaration
[Browsable(false)]
public virtual int Id { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Image
Declaration
[Browsable(false)]
public abstract ImageSource Image { get; }
Property Value
Type |
Description |
System.Windows.Media.ImageSource |
|
Last
Declaration
[Browsable(false)]
public object Last { get; }
Property Value
Type |
Description |
System.Object |
|
Length
Declaration
[PropertyOrder(7)]
[PropertyAttributesProvider("DynamicPropertyLength")]
public virtual int Length { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
[Browsable(false)]
public bool ListInputOutputWindow { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ListSolutionExplorer
Declaration
[Browsable(false)]
public bool ListSolutionExplorer { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
MaxValue
Declaration
[Browsable(false)]
public ulong MaxValue { get; }
Property Value
Type |
Description |
System.UInt64 |
|
MinValue
Declaration
[Browsable(false)]
public long MinValue { get; }
Property Value
Type |
Description |
System.Int64 |
|
Name
Declaration
[Browsable(false)]
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
NoNc
Declaration
[PropertyAttributesProvider("DynamicPropertyNoNc")]
[PropertyOrder(8)]
[TypeConverter(typeof(Register.NoNcConverter))]
protected virtual string NoNc { get; set; }
Property Value
Type |
Description |
System.String |
|
NormallyClose
Declaration
[Browsable(false)]
public bool NormallyClose { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Notification
Declaration
[Browsable(false)]
public string Notification { get; }
Property Value
Type |
Description |
System.String |
|
Parent
Declaration
[Browsable(false)]
public virtual IEntity Parent { get; set; }
Property Value
Path
Declaration
[Browsable(false)]
public string Path { get; set; }
Property Value
Type |
Description |
System.String |
|
Selected
Declaration
[Browsable(false)]
public virtual bool Selected { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Size
Declaration
[Browsable(false)]
[PropertyOrder(0)]
public virtual DataSize Size { get; set; }
Property Value
Source
Declaration
[Browsable(false)]
public virtual string Source { get; set; }
Property Value
Type |
Description |
System.String |
|
Symbol
Declaration
[Browsable(false)]
public virtual string Symbol { get; set; }
Property Value
Type |
Description |
System.String |
|
SymbolName
Declaration
[Browsable(false)]
public string SymbolName { get; set; }
Property Value
Type |
Description |
System.String |
|
UserData
Declaration
public object UserData { get; set; }
Property Value
Type |
Description |
System.Object |
|
Value
Declaration
public virtual object Value { get; set; }
Property Value
Type |
Description |
System.Object |
|
Warning
Declaration
[Browsable(false)]
public bool Warning { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
CompareTo(Object)
Declaration
public virtual int CompareTo(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Int32 |
|
ConnectionConnected(Connection)
Declaration
protected void ConnectionConnected(Connection sender)
Parameters
ConnectionDisconnected(Connection)
Declaration
protected void ConnectionDisconnected(Connection sender)
Parameters
ConnectionIdChanged(Connection)
Declaration
protected void ConnectionIdChanged(Connection sender)
Parameters
Dispose()
Declaration
public virtual void Dispose()
Export()
Declaration
public abstract List<string> Export()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Get(Connection, String)
Declaration
public static Register Get(Connection connection, string symbol)
Parameters
Type |
Name |
Description |
Connection |
connection |
|
System.String |
symbol |
|
Returns
GetValideSymbol(String, String[])
Declaration
public static string GetValideSymbol(string prefix, string[] exclude)
Parameters
Type |
Name |
Description |
System.String |
prefix |
|
System.String[] |
exclude |
|
Returns
Type |
Description |
System.String |
|
Refresh()
Declaration
public virtual void Refresh()
Removed()
Declaration
public virtual void Removed()
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Update(Connection, String, Int32, Int16, String, String)
Declaration
public static bool Update(Connection connection, string symbol, int byteno, short bitno, string dbno, string description)
Parameters
Type |
Name |
Description |
Connection |
connection |
|
System.String |
symbol |
|
System.Int32 |
byteno |
|
System.Int16 |
bitno |
|
System.String |
dbno |
|
System.String |
description |
|
Returns
Type |
Description |
System.Boolean |
|
Used(Int32, String)
Declaration
public static bool Used(int id, string symbol)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
System.String |
symbol |
|
Returns
Type |
Description |
System.Boolean |
|
Used(String)
Declaration
public static bool Used(string symbol)
Parameters
Type |
Name |
Description |
System.String |
symbol |
|
Returns
Type |
Description |
System.Boolean |
|
Events
OnConnected
Declaration
public event Register.ConnectedEvent OnConnected
Event Type
OnDisconnected
Declaration
public event Register.DiconnectedEvent OnDisconnected
Event Type
OnNameChanged
Declaration
public event EventHandler<NameChangedEventArgs> OnNameChanged
Event Type
OnNoNcChanged
Declaration
public event Register.NoNcChangedEvent OnNoNcChanged
Event Type
OnPropertiesChanged
Declaration
public event Register.PropertiesChangedEvent OnPropertiesChanged
Event Type
OnSelected
Declaration
public event Register.SelectedEvent OnSelected
Event Type
Implements
System.IComparable
System.IDisposable