1234567891011121314151617181920212223242526272829303132333435 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Ips.Library.Entity
- {
- public class CfqOptions
- {
- public CfqOptions()
- {
- }
- public CfqOptions(string cfqAddr, long freqPoint)
- {
- CfqAddr = cfqAddr;
- FreqPoint = freqPoint;
- var addrInfo = CfqAddrInfo.Parse(cfqAddr);
- Addr = addrInfo.Addr;
- Port = addrInfo.Port;
- ChNum = addrInfo.ChNum;
- }
- public string CfqAddr { get; set; }
- public long FreqPoint { get; set; }
- public string Addr { get; private set; }
- public int Port { get; private set; }
- public int ChNum { get; private set; }
- }
- }
|