1234567891011121314151617181920212223242526272829 |
- using KYFramework;
- namespace SimulationServer;
- public class FireGround : Entity
- {
- public int FirePointName;
-
- public Fire.CountArea countArea = new Fire.CountArea();
- //火点列表
- public DVector FirePoint;
- }
- [ObjectSystem]
- public class FireGroundAwakeSystem : AwakeSystem<FireGround, FirePoint>
- {
- public override void Awake(FireGround self, FirePoint firePoint)
- {
- self.FirePointName = firePoint.FirePointId;
- self.FirePoint = new DVector
- {
- Latitude = firePoint.FirePointLatitude,
- Longitude = firePoint.FirePointLongitude,
- Altitude = firePoint.FirePointHeight
- };
- }
- }
|