~~NOTRANS~~ ====== PlcStatus Class ====== **Namespace:** IPS7Lnk.Advanced \\ **Assemblies:** IPS7LnkNet.Advanced.dll Provides all available status metadata provided through the interoperability layer of the software driver. **C#** \\ <code csharp> public class PlcStatus : ISupportInitialize </code> \\ **Inheritance** [[https://docs.microsoft.com/en-us/dotnet/api/system.object|Object]] › PlcStatus \\ **Implements** [[https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.isupportinitialize|ISupportInitialize]] ===== Constructors ===== <panel> ^ Name ^ Description ^ | [[IPS7Lnk.Advanced.PlcStatusMembers#PlcStatus|PlcStatus]] | Initializes a new instance of the [[IPS7Lnk.Advanced.PlcStatus|PlcStatus]] class. | </panel> ===== Events ===== <panel> ^ Name ^ Description ^ | [[IPS7Lnk.Advanced.PlcStatusMembers#Changed|Changed]] | Occurs when the [[IPS7Lnk.Advanced.PlcStatus|PlcStatus]] changed. | </panel> ===== Properties ===== <panel> ^ Name ^ Description ^ | [[IPS7Lnk.Advanced.PlcStatusMembers#Code|Code]] | Gets the recent code of the status represented. | | [[IPS7Lnk.Advanced.PlcStatusMembers#Exception|Exception]] | Gets the [[IPS7Lnk.Advanced.PlcException|PlcException]] which is thrown in case there the evaluation of the [[IPS7Lnk.Advanced.PlcStatus|PlcStatus]] does indicate an exceptional situation. | | [[IPS7Lnk.Advanced.PlcStatusMembers#InnerException|InnerException]] | Gets the [[IPS7Lnk.Advanced.PlcStatusMembers#Exception|Exception]] which occured during the most recent operation. | | [[IPS7Lnk.Advanced.PlcStatusMembers#SocketCode|SocketCode]] | Gets the code of the recent socket operation performed its status is represented. | | [[IPS7Lnk.Advanced.PlcStatusMembers#Text|Text]] | Gets the string representation of the [[IPS7Lnk.Advanced.PlcStatusMembers#Code|Code]]. | | [[IPS7Lnk.Advanced.PlcStatusMembers#TimeStamp|TimeStamp]] | Gets the date and time of the most recent update of the status data provided by this [[IPS7Lnk.Advanced.PlcStatus|PlcStatus]]. | | [[IPS7Lnk.Advanced.PlcStatusMembers#Type|Type]] | Gets the [[IPS7Lnk.Advanced.PlcType|PlcType]] affected by the most recent operation. | </panel> ===== Methods ===== <panel> ^ Name ^ Description ^ | [[IPS7Lnk.Advanced.PlcStatusMembers#GetText-PlcStatusCode|GetText]]([[IPS7Lnk.Advanced.PlcStatusCode|PlcStatusCode]]) | Retrieves a meaningful string value which describes the status represented by the ''code''. | | [[IPS7Lnk.Advanced.PlcStatusMembers#GetText-PlcStatusCode-Int32|GetText]]([[IPS7Lnk.Advanced.PlcStatusCode|PlcStatusCode]], [[https://docs.microsoft.com/en-us/dotnet/api/system.int32|Int32]]) | Retrieves a meaningful string value which describes the status represented by the ''code'' and ''socketCode''. | | [[IPS7Lnk.Advanced.PlcStatusMembers#GetText-PlcStatusCode-Int32-PlcType|GetText]]([[IPS7Lnk.Advanced.PlcStatusCode|PlcStatusCode]], [[https://docs.microsoft.com/en-us/dotnet/api/system.int32|Int32]], [[IPS7Lnk.Advanced.PlcType|PlcType]]) | Retrieves a meaningful string value which describes the status represented by the ''code'', ''socketCode'' and ''type''. | | [[IPS7Lnk.Advanced.PlcStatusMembers#OnChanged-EventArgs|OnChanged]]([[https://docs.microsoft.com/en-us/dotnet/api/system.eventargs|EventArgs]]) | Raises the [[IPS7Lnk.Advanced.PlcStatusMembers#Changed|Changed]] event. | | [[IPS7Lnk.Advanced.PlcStatusMembers#ToString|ToString]] | Returns a string that represents the [[IPS7Lnk.Advanced.PlcStatus|PlcStatus]]. | </panel>