• このライブラリについて
  • サンプルコード
  • リファレンス
  • ドライバAPI
目次の表示/非表示
  • Y2.UsbIO
    • AinFunctions
    • AoutFunctions
    • ConnectMode
    • DeviceException
    • DeviceResult
    • DeviceSwitch
    • DinFunctions
    • DoutFunctions
    • OnOffValue
    • OnOffValues
    • OutputValue
    • OutputValues
    • RlyFunctions
    • Voltage
  • Y2.UsbIO.Abstractions
    • IAinDevice
    • IAinDinDevice
    • IAinDioDevice
    • IAinDoutDevice
    • IAinRlyDevice
    • IAioDevice
    • IAioDinDevice
    • IAioDioDevice
    • IAioDoutDevice
    • IAioRlyDevice
    • IAoutDevice
    • IDevice
    • IDinDevice
    • IDioDevice
    • IDoutDevice
    • IPmcsDioDevice
    • IRlyDevice
    • IRlyDinDevice
    • IRlyDioDevice
    • IRlyDoutDevice
  • Y2.UsbIO.Pmcs
    • AccelerationMode
    • AccelerationTime
    • Axes
    • Axis
    • ContinuousSetting
    • ContinuousSettings
    • Direction
    • IdlingPulse
    • MotorControlLsi
    • NumberOfPulses
    • OperationMode
    • OperationStatus
    • OriginReturnSetting
    • OriginReturnSettings
    • OutputLogic
    • OutputSpeed
    • PcdCommand
    • PcdRegister
    • PcdRegisterValue
    • PcdStatus
    • PcdStatusValue
    • PmcsFunctions
    • Position
    • PositioningSetting
    • PositioningSettings
    • PulseMode
    • RemainingPulse
    • SdSensorConfig
    • SensorLogic
    • SensorStatus
    • Speed
    • SpeedPattern
    • SpeedRate
    • StaStpConfig
    • StopMode
  • Y2.UsbIO.Ub
    • Dio88bUbc
    • Dio88bUbt
    • Dio88cUbt
    • RlyP420bUbt
  • Y2.UsbIO.UsbPc104.Aio
    • Aio16000N64aU
    • Aio1601632aU
    • Aio160aU
    • Aio160N6400aU
    • Aio16400N64aU
    • Aio1641632aU
    • Aio164aU
    • Aio164N6400aU
    • Aio8000N128aU
    • Aio8000N64aU
    • Aio801632aU
    • Aio803264aU
    • Aio80aU
    • Aio80N12800aU
    • Aio80N6400aU
    • Aio80N64N64aU
    • Aio80R24aU
    • Aio8400N128aU
    • Aio8400N64aU
    • Aio841616aU
    • Aio841632aU
    • Aio843264aU
    • Aio84aU
    • Aio84N12800aU
    • Aio84N6400aU
    • Aio84N64N64aU
    • Aio84R24aU
  • Y2.UsbIO.UsbPc104.Dio
    • Dio00N128aU
    • Dio00N192aU
    • Dio00N64aU
    • Dio1616aU
    • Dio1632aU
    • Dio16N112aU
    • Dio16N176aU
    • Dio16N48aU
    • Dio3232aU
    • Dio3264aU
    • Dio32N160aU
    • Dio32N96aU
    • Dio4848aU
    • Dio4896aU
    • Dio48N144aU
    • DioN12800aU
    • DioN128N64aU
    • DioN19200aU
    • DioN6400aU
    • DioN64N128aU
    • DioN64N64aU
  • Y2.UsbIO.UsbPc104.Pmc
    • PmcS40000aU
    • PmcS400N128aU
    • PmcS400N64aU
    • PmcS41632aU
    • PmcS416N112aU
    • PmcS416N48aU
    • PmcS43264aU
    • PmcS432N96aU
    • PmcS80000aU
    • PmcS800N64aU
    • PmcS81632aU
    • PmcS816N48aU
  • Y2.UsbIO.UsbPc104.Rly
    • Rly2400N128aU
    • Rly241616aU
    • Rly241632aU
    • Rly243264aU
    • Rly24aU
    • Rly481616aU
    • Rly481632aU
    • Rly48aU
    • Rly72aU
    • Rly800N128aU
    • Rly81632aU
    • Rly83264aU
    • Rly8aU

Voltage 構造体

電圧値

名前空間: Y2.UsbIO
アセンブリ: Y2.UsbIO.Core.dll
構文
public readonly struct Voltage : IEquatable<Voltage>, IComparable<Voltage>, IComparable

プロパティ

Millivolts

ミリボルト値

public readonly float Millivolts { get; }
プロパティ値
型 説明
System.Single

Volts

ボルト値

public readonly float Volts { get; }
プロパティ値
型 説明
System.Single

Zero

0V

public static readonly Voltage Zero { get; }
プロパティ値
型 説明
Voltage

メソッド

CompareTo(Object)

public readonly int CompareTo(object obj)
パラメーター
型 名前 説明
System.Object obj
戻り値
型 説明
System.Int32

CompareTo(Voltage)

public readonly int CompareTo(Voltage other)
パラメーター
型 名前 説明
Voltage other
戻り値
型 説明
System.Int32

Equals(Voltage)

public readonly bool Equals(Voltage other)
パラメーター
型 名前 説明
Voltage other
戻り値
型 説明
System.Boolean

FromMillivolts(Double)

ミリボルト値からインスタンスを生成

public static Voltage FromMillivolts(double value)
パラメーター
型 名前 説明
System.Double value

ミリボルト値

戻り値
型 説明
Voltage

FromMillivolts(Single)

ミリボルト値からインスタンスを生成

public static Voltage FromMillivolts(float value)
パラメーター
型 名前 説明
System.Single value

ミリボルト値

戻り値
型 説明
Voltage

FromVolts(Double)

ボルト値からインスタンスを生成

public static Voltage FromVolts(double value)
パラメーター
型 名前 説明
System.Double value

ボルト値

戻り値
型 説明
Voltage

FromVolts(Single)

ボルト値からインスタンスを生成

public static Voltage FromVolts(float value)
パラメーター
型 名前 説明
System.Single value

ボルト値

戻り値
型 説明
Voltage

ToString()

public override readonly string ToString()
戻り値
型 説明
System.String
オーバーライド
System.ValueType.ToString()

オペレーター

Addition(Voltage, Voltage)

public static Voltage operator +(Voltage left, Voltage right)
パラメーター
型 名前 説明
Voltage left
Voltage right
戻り値
型 説明
Voltage

Division(Voltage, Double)

public static Voltage operator /(Voltage left, double right)
パラメーター
型 名前 説明
Voltage left
System.Double right
戻り値
型 説明
Voltage

Division(Voltage, Single)

public static Voltage operator /(Voltage left, float right)
パラメーター
型 名前 説明
Voltage left
System.Single right
戻り値
型 説明
Voltage

Division(Voltage, Voltage)

public static double operator /(Voltage left, Voltage right)
パラメーター
型 名前 説明
Voltage left
Voltage right
戻り値
型 説明
System.Double

Equality(Voltage, Voltage)

public static bool operator ==(Voltage left, Voltage right)
パラメーター
型 名前 説明
Voltage left
Voltage right
戻り値
型 説明
System.Boolean

Explicit(Voltage to Double)

public static explicit operator double (Voltage value)
パラメーター
型 名前 説明
Voltage value
戻り値
型 説明
System.Double

Explicit(Voltage to Single)

public static explicit operator float (Voltage value)
パラメーター
型 名前 説明
Voltage value
戻り値
型 説明
System.Single

GreaterThan(Voltage, Voltage)

public static bool operator>(Voltage left, Voltage right)
パラメーター
型 名前 説明
Voltage left
Voltage right
戻り値
型 説明
System.Boolean

GreaterThanOrEqual(Voltage, Voltage)

public static bool operator >=(Voltage left, Voltage right)
パラメーター
型 名前 説明
Voltage left
Voltage right
戻り値
型 説明
System.Boolean

Implicit(Double to Voltage)

public static implicit operator Voltage(double value)
パラメーター
型 名前 説明
System.Double value
戻り値
型 説明
Voltage

Implicit(Single to Voltage)

public static implicit operator Voltage(float value)
パラメーター
型 名前 説明
System.Single value
戻り値
型 説明
Voltage

Inequality(Voltage, Voltage)

public static bool operator !=(Voltage left, Voltage right)
パラメーター
型 名前 説明
Voltage left
Voltage right
戻り値
型 説明
System.Boolean

LessThan(Voltage, Voltage)

public static bool operator <(Voltage left, Voltage right)
パラメーター
型 名前 説明
Voltage left
Voltage right
戻り値
型 説明
System.Boolean

LessThanOrEqual(Voltage, Voltage)

public static bool operator <=(Voltage left, Voltage right)
パラメーター
型 名前 説明
Voltage left
Voltage right
戻り値
型 説明
System.Boolean

Multiply(Double, Voltage)

public static Voltage operator *(double left, Voltage right)
パラメーター
型 名前 説明
System.Double left
Voltage right
戻り値
型 説明
Voltage

Multiply(Single, Voltage)

public static Voltage operator *(float left, Voltage right)
パラメーター
型 名前 説明
System.Single left
Voltage right
戻り値
型 説明
Voltage

Multiply(Voltage, Double)

public static Voltage operator *(Voltage left, double right)
パラメーター
型 名前 説明
Voltage left
System.Double right
戻り値
型 説明
Voltage

Multiply(Voltage, Single)

public static Voltage operator *(Voltage left, float right)
パラメーター
型 名前 説明
Voltage left
System.Single right
戻り値
型 説明
Voltage

Subtraction(Voltage, Voltage)

public static Voltage operator -(Voltage left, Voltage right)
パラメーター
型 名前 説明
Voltage left
Voltage right
戻り値
型 説明
Voltage

UnaryNegation(Voltage)

public static Voltage operator -(Voltage right)
パラメーター
型 名前 説明
Voltage right
戻り値
型 説明
Voltage
このページの内容
トップに戻る Copyright © Y2 Corporation