Example #1
0
 /// <summary>
 /// Sets the wire pilot mode.
 /// </summary>
 /// <param name="id">The FP identifier (FP00, FP01, FP16).</param>
 /// <param name="mode">The mode.</param>
 /// <exception cref="System.ArgumentNullException">id - The identifier is required</exception>
 public void SetWirePilot(string id, WirePilotMode mode)
 {
     if (string.IsNullOrEmpty(id))
     {
         throw new ArgumentNullException(nameof(id), "The identifier is required");
     }
     this.SetValue(SetArgument.WirePilot, id, ((int)mode).ToString());
 }
 public void SetWirePilot(string id, WirePilotMode mode)
 {
     PackageHost.WriteInfo("Setting {0} to {1}", id, mode.ToString());
     this.ipx.SetWirePilot(id, mode);
 }