Utils.Print C# (CSharp) Méthode

Print() public static méthode

public static Print ( ) : void
Résultat void
    public static void Print(params object []obj) {
        Printl(obj);
    }
    

Usage Example

        public async Task SetValueToMtu(
            dynamic value = null)
        {
            Utils.PrintDeep(Environment.NewLine + "------WRITE_TO_MTU-------");
            Utils.Print("Register -> SetValueToMtu -> " + this.id + ((value != null) ? " = " + value : ""));

            // Set value in temporary memory map before write it to the MTU
            if (value != null)
            {
                await this.SetValue(value);
            }

            // Write value set in memory map to the MTU
            if (valueType == RegType.BOOL)
            {
                await this.SetBitToMtu();
            }
            else
            {
                // Recover byte array with length equals to the value to set,
                // not the length ( sizeGet ) that will be used to recover/get
                await this.lexi.Write(( uint )this.address, this.funcGetByteArray ( false ));
            }

            Utils.PrintDeep("---WRITE_TO_MTU_FINISH---" + Environment.NewLine);
        }
All Usage Examples Of Utils::Print