コード例 #1
0
        public void TestToString()
        {
            var a = new GlobalPosition(c1, 200);

            Assert.AreEqual(a.ToString(), "45N;9E;200m");
        }
コード例 #2
0
 public override string ToString()
 {
     return(id.ToString() + "," + name + "," + deviceDesc + "," + pos.ToString() + "," + type.ToString());
 }