コード例 #1
0
 public override string ToString()
 {
     return(base.ToString() + ",\r\n" +
            " \"PollPeriod\" : " + PollPeriod.ToString() + ",\r\n" +
            " \"NorthVoltToFreqSlope\" : " + NorthVoltToFreqSlope.ToString() + ",\r\n" +
            " \"SouthVoltToFreqSlope\" : " + SouthVoltToFreqSlope.ToString() + ",\r\n" +
            " \"FreqToCurrentSlope\" : " + FreqToCurrentSlope.ToString() + ",\r\n" +
            " \"NorthOffset\" : " + NorthOffset.ToString() + ",\r\n" +
            " \"SouthOffset\" : " + SouthOffset.ToString() + ",\r\n" +
            " \"NorthCurrent\" : " + NorthCurrent.ToString() + ",\r\n" +
            " \"SouthCurrent\" : " + SouthCurrent.ToString());
 }
コード例 #2
0
 public override string ToString()
 {
     return(base.ToString() + ",\r\n" +
            " \"PollPeriod\" : " + PollPeriod.ToString() + ",\r\n" +
            " \"NorthVoltToFreqSlope\" : " + NorthVoltToFreqSlope.ToString() + ",\r\n" +
            " \"SouthVoltToFreqSlope\" : " + SouthVoltToFreqSlope.ToString() + ",\r\n" +
            " \"FreqToCurrentSlope\" : " + FreqToCurrentSlope.ToString() + ",\r\n" +
            " \"NorthOffset\" : " + NorthOffset.ToString() + ",\r\n" +
            " \"SouthOffset\" : " + SouthOffset.ToString() + ",\r\n" +
            " \"NorthCurrent\" : " + NorthCurrent.ToString() + ",\r\n" +
            " \"SouthCurrent\" : " + SouthCurrent.ToString() + ",\r\n" +
            " \"ESwitching\" : " + "\"" + IsESwitching.ToString() + "\"" + ",\r\n" +
            " \"EFieldPolarity\" : " + "\"" + EFieldPolarity.ToString() + "\"");
 }