コード例 #1
0
        public Target(string name, IPAddress address)
        {
            var file = FileHelper.CreateTargetFile(Guid.NewGuid().ToString());

            sync       = new FileSync(file, name, address);
            dataPoints = new List <DataPoint>();
        }
コード例 #2
0
 public Target(FileInfo info)
 {
     sync       = new FileSync(info);
     dataPoints = new List <DataPoint>(sync.ReadPoints());
     AutoPing   = Config.AutoStartPinging;
 }