/// <summary> Creates a new <code>OneWireContainer</code> for communication with a DS2413. /// /// </summary> /// <param name="sourceAdapter"> adapter object required to communicate with /// this 1-Wire device /// </param> /// <param name="newAddress"> address of this DS2413 /// /// </param> /// <seealso cref="OneWireContainer3A()"> /// </seealso> /// <seealso cref="OneWireContainer3A(com.dalsemi.onewire.adapter.DSPortAdapter,byte[]) OneWireContainer3A(DSPortAdapter,byte[])"> /// </seealso> /// <seealso cref="OneWireContainer3A(com.dalsemi.onewire.adapter.DSPortAdapter,long) OneWireContainer3A(DSPortAdapter,long)"> /// </seealso> public OneWireContainer3A(DSPortAdapter sourceAdapter, System.String newAddress) : base(sourceAdapter, newAddress) { for (int i = 0; i < FF.Length; i++) { FF[i] = (byte)SupportClass.Identity(0x0FF); } }
/// <summary> /// Creates a new <code>OneWireContainer</code> for communication with a DS2413. /// </summary> /// <param name="sourceAdapter"> adapter object required to communicate with /// this 1-Wire device </param> /// <param name="newAddress"> address of this DS2413 /// </param> /// <seealso cref= #OneWireContainer3A() </seealso> /// <seealso cref= #OneWireContainer3A(com.dalsemi.onewire.adapter.DSPortAdapter,byte[]) OneWireContainer3A(DSPortAdapter,byte[]) </seealso> /// <seealso cref= #OneWireContainer3A(com.dalsemi.onewire.adapter.DSPortAdapter,long) OneWireContainer3A(DSPortAdapter,long) </seealso> public OneWireContainer3A(DSPortAdapter sourceAdapter, string newAddress) : base(sourceAdapter, newAddress) { for (int i = 0; i < FF.Length; i++) { FF[i] = unchecked ((byte)0x0FF); } }
/// <summary> Creates a new <code>OneWireContainer</code> for communication with a DS2408. /// /// </summary> /// <param name="sourceAdapter"> adapter object required to communicate with /// this 1-Wire device /// </param> /// <param name="newAddress"> address of this DS2408 /// /// </param> /// <seealso cref="OneWireContainer29()"> /// </seealso> /// <seealso cref="OneWireContainer29(com.dalsemi.onewire.adapter.DSPortAdapter,byte[]) OneWireContainer29(DSPortAdapter,byte[])"> /// </seealso> /// <seealso cref="OneWireContainer29(com.dalsemi.onewire.adapter.DSPortAdapter,java.lang.String) OneWireContainer29(DSPortAdapter,String)"> /// </seealso> public OneWireContainer29(DSPortAdapter sourceAdapter, long newAddress) : base(sourceAdapter, newAddress) { initmem(); for (int i = 0; i < FF.Length; i++) { FF[i] = (byte)SupportClass.Identity(0x0FF); } }
/// <summary> /// Creates a new <code>OneWireContainer</code> for communication with a DS2405. /// </summary> /// <param name="sourceAdapter"> adapter object required to communicate with /// this 1-Wire device </param> /// <param name="newAddress"> address of this DS2405 /// </param> /// <seealso cref= #OneWireContainer05() </seealso> /// <seealso cref= #OneWireContainer05(com.dalsemi.onewire.adapter.DSPortAdapter,byte[]) OneWireContainer05(DSPortAdapter,byte[]) </seealso> /// <seealso cref= #OneWireContainer05(com.dalsemi.onewire.adapter.DSPortAdapter,long) OneWireContainer05(DSPortAdapter,long) </seealso> public OneWireContainer05(DSPortAdapter sourceAdapter, string newAddress) : base(sourceAdapter, newAddress) { }